[Bug bootstrap/50342] gcc/configure fails on Mac OS X Lion/Xcode 4.1 with recent GCCs
howarth at nitro dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Mon Jan 14 21:59:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50342
--- Comment #13 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-01-14 21:58:40 UTC ---
(In reply to comment #12)
> FYI, I recently ran into this issue as well building gcc 4.7.2 on MacOS 10.7.5
> with XCode 4.1 installed.
>
> Configured via:
> ../gcc-4.7.2/configure --enable-languages=c,c++,fortran --enable-lto \
> --program-suffix=-4.7 --enable-checking=release
>
> This command will use Apple's gcc 4.2.1. Bootstrap fails due to an ICE (I
> believe during the glibc build).
>
> First setting:
>
> export CC="gcc-4.4"
> export CXX="g++-4.4"
>
> fails with the error described in this bug report, while including
> -D_FORTIFY_SOURCE=0 in the above exports allows gcc to bootstrap.
Make sure you have run 'make check' on the gmp build you installed. The earlier
gmp 5.0.x releases had issues with the change to the llvm-gcc compiler in Xcode
4.1. FYI, since you are on Lion, you can upgrade to Xcode 4.5.2 which provides
a very stable clang compiler as the system cc/cxx compiler.
More information about the Gcc-bugs
mailing list