http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50229

--- Comment #7 from Ruben Van Boxem <vanboxem.ruben at gmail dot com> 
2011-09-19 19:28:48 UTC ---
I'm still experiencing the same behavior.

I don't think the darwinx toolchain has the problems you say? Why do you think
it uses a Darwin9 system framework and headers? It has GCC 4.2.1 and the Mac OS
X 10.5 SDK, which are all pretty Darwin10 as far as I can see.

Something changed in 4.6 vs 4.7. I have sys/malloc.h , objc/malloc.h, and
malloc/malloc.h. Somehow, HAVE_MALLOC_H is being wrongfully defined to 1 when
it should be 0.

auto-host.h has the define commented out.
auto-build.h has it defined.

These are the same for GCC 4.6. So the problem must lie elsewhere...

I noticed the gengtype-lex.o object file is build with i686-apple-darwin10-gcc
for GCC 4.7, and (Linux) gcc for GCC 4.6. This cannot be intended behavior.

Reply via email to