------- Comment #13 from jakub at gcc dot gnu dot org 2009-07-31 07:12 ------- So, you found a glibc bug, which can be easily fixed by: --- libc/malloc/Makefile 2009-05-16 19:23:36.000000000 +0200 +++ libc/malloc/Makefile 2009-07-31 09:09:51.760080072 +0200 @@ -104,6 +104,7 @@ $(objpfx)memusagestat: $(memusagestat-mo include ../Rules
CFLAGS-mcheck-init.c = $(PIC-ccflag) +CFLAGS-obstack.c = $(uses-callbacks) $(objpfx)libmcheck.a: $(objpfx)mcheck-init.o -rm -f $@ The deductions you make from it are wrong. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838