This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
"error: bp cannot be used in asm here"
- From: ams at kemisten dot nu (Alfred M. Szmidt)
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 13 Aug 2004 20:59:03 +0200 (CEST)
- Subject: "error: bp cannot be used in asm here"
The following change didn't fix the "bp cannot be used in asm here"
error,
2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
* sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
-momit-leaf-frame-pointer.
since Jeroen compiled glibc without profiled libraries. The problem
arises probobly due to the fact that gcc disables
-momit-leaf-frame-pointer when -pg is also passed.
I'm not sure what the fix should be, any tips?
make[2]: Entering directory `/export/ams/libc/csu'
i386-unknown-gnu0.3-gcc ../sysdeps/mach/hurd/i386/init-first.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -Wno-parentheses -mpreferred-stack-boundary=4 -pg -momit-leaf-frame-pointer -I../include -I. -I/home/ams/libc.obj/csu -I.. -I../libio -I../hurd -I/home/ams/libc.obj/hurd/ -I../mach -I/home/ams/libc.obj/mach/ -I/home/ams/libc.obj -I../sysdeps/i386/elf -I../sysdeps/mach/hurd/i386 -I../sysdeps/mach/hurd -I../sysdeps/gnu -I../sysdeps/unix/bsd/bsd4.4 -I../sysdeps/unix/mman -I../sysdeps/mach/i386 -I../sysdeps/mach -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/unix/bsd -I../sysdeps/unix/common -I../sysdeps/unix/inet -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPROF -DHAVE_INITFINI -o /home/ams/libc.obj/csu/init-fir
st.op -MD -MP -MF /home/ams/libc.obj/csu/init-first.op.dt -MT /home/ams/libc.obj/csu/init-first.op
../sysdeps/mach/hurd/i386/init-first.c: In function `init':
../sysdeps/mach/hurd/i386/init-first.c:224: warning: use of cast expressions as lvalues is deprecated
../sysdeps/mach/hurd/i386/init-first.c: In function `_hurd_stack_setup':
../sysdeps/mach/hurd/i386/init-first.c:356: warning: dereferencing type-punned pointer will break strict-aliasing rules
../sysdeps/mach/hurd/i386/init-first.c: In function `doinit':
../sysdeps/mach/hurd/i386/init-first.c:352: error: bp cannot be used in asm here
make[2]: *** [/home/ams/libc.obj/csu/init-first.op] Error 1