[PATCH] PR 10957

Dara Hazeghi dhazeghi@yahoo.com
Fri Jun 20 20:15:00 GMT 2003


> Err, sorry, I don't follow.  libiberty/hashtab.c has
> 
> #ifdef HAVE_STDLIB_H
> #include <stdlib.h>
> #endif

Oops, looks as if I was looking at two bugs at once,
thought they were the same, and got confused.

Right now I can't reproduce the m68k problem, (see bug
9697). What I hit on arm-elf, was different. Cross
compile dies on libiberty/regex.c, with a segfault,
after complaining about an implicit declaration of
free (the two are in fact not related though). The
include for stdlib.h in regex.c is guarded by the
lines I sent above.

So I'll try to find out what's going on with m68k
independently.

For arm-elf, the reason why STDC_HEADERS isn't set is
that collect-ld can't find crt0.o, which has quite
definitely been built. Wonder why it's not being
found...

Dara

P.S. The regex.c crash is Bug bootstrap/11271. I
haven't managed to reduce it yet.

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



More information about the Gcc-patches mailing list