This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: "error: bp cannot be used in asm here"
- From: Roland McGrath <roland at redhat dot com>
- To: ams at kemisten dot nu (Alfred M. Szmidt)
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sat, 14 Aug 2004 13:18:01 -0700
- Subject: Re: "error: bp cannot be used in asm here"
> What happens if you just remove the "bp" clobber?
>
> Seems to work, though I haven't tested the compiled result yet. Want
> me todo that before you commit the changes?
At least examine the assembly code and see if it changed any from what gcc
produced without the clobber.
> > ../sysdeps/mach/hurd/i386/init-first.c:224: warning: use of cast expressions as lvalues is deprecated
>
> This you should be able to fix by changing the type of NEWSP to int
> * and adding casts to (void *) its other uses. Want to try that?
>
> Done.
Did this in fact eliminate that warning and not introduce any others?
> Could you regenerate sysdeps/mach/configure? It wasn't regenerated
> properly, i.e. it doesn't contain the check to see if mig groks
> retcode.
>
> And just updating the timestamp on sysdeps/mach/hurd/configure would
> be nice, since it gets regenerated when you compile glibc for the
> first time (i.e configure.in is newer then configure).
I regenerated both.
Thanks,
Roland