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/50342] gcc/configure fails on Mac OS X Lion/Xcode 4.1 with recent GCCs


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

Matt Fago <fago at earthlink dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fago at earthlink dot net

--- Comment #12 from Matt Fago <fago at earthlink dot net> 2013-01-14 19:35:43 UTC ---
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.


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