[Bug c/40650] New: gcc-4.5-20090702 won't build on OS X 10.5

hal at oz dot net gcc-bugzilla@gcc.gnu.org
Sat Jul 4 15:57:00 GMT 2009

The full 20090702 gcc 4.5 snapshot runs into a problem early in stage 2 on OS
X.  The last few lines of the console output are:

checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU
ld... no
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload
object files... -r
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[2]: *** [configure-stage2-gmp] Error 1
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2

Configuration:  OS X 10.5.7 running on a macbook pro; xcode tools 3.1.3;
gcc-4.5-20090702 full snapshot with gmp-4.3.1 unpacked into the top-level of
the tree as gmp and mpfr-2.4.1 as mpfr.  Configured with default options; no
options specified for the configure script.

The full gcc-4.5-20090618 snapshot builds without trouble on the same machine
using that setup, including the same versions of gmp and mpfr.

           Summary: gcc-4.5-20090702 won't build on OS X 10.5
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hal at oz dot net


More information about the Gcc-bugs mailing list