This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/50229] [4.7 Regression] Can't cross compile for i686-apple-darwin10 from x86_64-redhat_linux


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]