From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32156 invoked by alias); 27 Mar 2012 02:35:00 -0000 Received: (qmail 32021 invoked by uid 22791); 27 Mar 2012 02:34:58 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TBC X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Mar 2012 02:34:45 +0000 From: "chris.jonesey at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52733] New: Cannot compile gcc/g++ on Mac OS X 10.6.8 Date: Tue, 27 Mar 2012 04:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chris.jonesey at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-03/txt/msg02284.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52733 Bug #: 52733 Summary: Cannot compile gcc/g++ on Mac OS X 10.6.8 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: chris.jonesey@gmail.com I downloaded GCC 4.7.0 released [2012-03-22] and was unable to build gcc/g+= +. I used the following configure command: % ./configure --prefix=3D`pwd`/inst --enable-languages=3Dc,c++ I also tried it without the --enable-languages with the same result. The e= rror I received is below. I would be happy to provide any other information tha= t is useful to tracking down this error. --- config.status: executing libtool commands config.status: executing include/gstdint.h commands config.status: executing generate-headers commands make[3]: Nothing to be done for `all'. make "AR_FLAGS=3Drc" "CC_FOR_BUILD=3Dgcc" "CC_FOR_TARGET=3D/Users/chrisj/Packages/gcc-4.7.0/host-x86_64-apple-darwin1= 0.8.0/gcc/xgcc -B/Users/chrisj/Packages/gcc-4.7.0/host-x86_64-apple-darwin10.8.0/gcc/" "CFLAGS=3D-g -O2" "CXXFLAGS=3D-g -O2" "CFLAGS_FOR_BUILD=3D-g -O2" "CFLAGS_FOR_TARGET=3D-g -O2" "INSTALL=3D/usr/bin/install -c" "INSTALL_DATA=3D/usr/bin/install -c -m 644" "INSTALL_PROGRAM=3D/usr/bin/ins= tall -c" "INSTALL_SCRIPT=3D/usr/bin/install -c" "LDFLAGS=3D" "LIBCFLAGS=3D-g -O2" "LIBCFLAGS_FOR_TARGET=3D-g -O2" "MAKE=3Dmake" "MAKEINFO=3Dmakeinfo --split-size=3D5000000 --split-size=3D5000000 --split-size=3D5000000 " "PIC= FLAG=3D" "PICFLAG_FOR_TARGET=3D" "SHELL=3D/bin/sh" "RUNTESTFLAGS=3D" "exec_prefix=3D/Users/chrisj/Packages/gcc-4.7.0/inst" "infodir=3D/Users/chrisj/Packages/gcc-4.7.0/inst/share/info" "libdir=3D/Users/chrisj/Packages/gcc-4.7.0/inst/lib" "includedir=3D/Users/chrisj/Packages/gcc-4.7.0/inst/include" "prefix=3D/Users/chrisj/Packages/gcc-4.7.0/inst" "tooldir=3D/Users/chrisj/Packages/gcc-4.7.0/inst/x86_64-apple-darwin10.8.0" "gxx_include_dir=3D/Users/chrisj/Packages/gcc-4.7.0/inst/include/c++/4.7.0" "AR=3Dar" "AS=3D/Users/chrisj/Packages/gcc-4.7.0/host-x86_64-apple-darwin10.8.0/gcc/a= s" "LD=3D/Users/chrisj/Packages/gcc-4.7.0/host-x86_64-apple-darwin10.8.0/gcc/c= ollect-ld" "RANLIB=3Dranlib" "NM=3D/Users/chrisj/Packages/gcc-4.7.0/host-x86_64-apple-darwin10.8.0/gcc/n= m" "NM_FOR_BUILD=3D" "NM_FOR_TARGET=3Dnm" "DESTDIR=3D" "WERROR=3D" all-recursi= ve Making all in include mkdir -p ./x86_64-apple-darwin10.8.0/bits/stdc++.h.gch /Users/chrisj/Packages/gcc-4.7.0/host-x86_64-apple-darwin10.8.0/gcc/xgcc -shared-libgcc -B/Users/chrisj/Packages/gcc-4.7.0/host-x86_64-apple-darwin10.8.0/gcc -nostdinc++ -L/Users/chrisj/Packages/gcc-4.7.0/x86_64-apple-darwin10.8.0/libstdc++-v3/s= rc -L/Users/chrisj/Packages/gcc-4.7.0/x86_64-apple-darwin10.8.0/libstdc++-v3/s= rc/.libs -B/Users/chrisj/Packages/gcc-4.7.0/inst/x86_64-apple-darwin10.8.0/bin/ -B/Users/chrisj/Packages/gcc-4.7.0/inst/x86_64-apple-darwin10.8.0/lib/ -isy= stem /Users/chrisj/Packages/gcc-4.7.0/inst/x86_64-apple-darwin10.8.0/include -isystem /Users/chrisj/Packages/gcc-4.7.0/inst/x86_64-apple-darwin10.8.0/sys-include= =20=20=20 -x c++-header -nostdinc++ -g -O2 -I/Users/chrisj/Packages/gcc-4.7.0/x86_64-apple-darwin10.8.0/libstdc++-v3/i= nclude/x86_64-apple-darwin10.8.0 -I/Users/chrisj/Packages/gcc-4.7.0/x86_64-apple-darwin10.8.0/libstdc++-v3/i= nclude -I/Users/chrisj/Packages/gcc-4.7.0/libstdc++-v3/libsupc++ -O2 -g -std=3Dgnu= ++0x /Users/chrisj/Packages/gcc-4.7.0/libstdc++-v3/include/precompiled/stdc++.h \ -o x86_64-apple-darwin10.8.0/bits/stdc++.h.gch/O2ggnu++0x.gch init2.c:37: MPFR assertion failed: ((32 - 0)+0) =3D=3D (((32 - 0)+0)/8) * 8= && sizeof(mp_limb_t) =3D=3D (((32 - 0)+0)/8) In file included from /Users/chrisj/Packages/gcc-4.7.0/x86_64-apple-darwin10.8.0/libstdc++-v3/inc= lude/random:51:0, from /Users/chrisj/Packages/gcc-4.7.0/x86_64-apple-darwin10.8.0/libstdc++-v3/inc= lude/bits/stl_algo.h:67, from /Users/chrisj/Packages/gcc-4.7.0/x86_64-apple-darwin10.8.0/libstdc++-v3/inc= lude/algorithm:63, from /Users/chrisj/Packages/gcc-4.7.0/libstdc++-v3/include/precompiled/stdc++.h:= 65: /Users/chrisj/Packages/gcc-4.7.0/x86_64-apple-darwin10.8.0/libstdc++-v3/inc= lude/bits/random.tcc: In member function =E2=80=98std::independent_bits_engine<_RandomNumberEngin= e, __w, _UIntType>::result_type std::independent_bits_engine<_RandomNumberEngine, _= _w, _UIntType>::operator()()=E2=80=99: /Users/chrisj/Packages/gcc-4.7.0/x86_64-apple-darwin10.8.0/libstdc++-v3/inc= lude/bits/random.tcc:735:60: in constexpr expansion of =E2=80=98std::log(2.0e+0l)=E2=80=99 /Users/chrisj/Packages/gcc-4.7.0/x86_64-apple-darwin10.8.0/libstdc++-v3/inc= lude/bits/random.tcc:735:60: internal compiler error: Abort trap Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[5]: *** [x86_64-apple-darwin10.8.0/bits/stdc++.h.gch/O2ggnu++0x.gch] E= rror 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-stage1-target-libstdc++-v3] Error 2 make[1]: *** [stage1-bubble] Error 2 make: *** [all] Error 2