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

--- Comment #6 from Mike Jarvis <michael at jarvis dot net> 2011-06-10 21:04:59 
UTC ---
I figured out how to install a 64 bit version of g++ on my machine, and I also
booted up the machine with 6 and 4 held down to get the 64 bit kernel.  

And this didn't help.  I'm still getting the same "Internal error: Segmentation
fault".  This time it got up to around 1300 MB memory usage before crashing
(which of course could be at the same point in the compiling process, since I'm
sure memory usage by g++ is different now).


$ uname -a
Darwin drl-dhcp42-064.sas.upenn.edu 10.7.0 Darwin Kernel Version 10.7.0: Sat
Jan 29 15:16:10 PST 2011; root:xnu-1504.9.37~1/RELEASE_X86_64 x86_64


$ g++-4 -v -c TMV_TestSmallMatrixArith_6f.ii 
Using built-in specs.
COLLECT_GCC=g++-4
COLLECT_LTO_WRAPPER=/sw64/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin10.7.0/4.5.2/lto-wrapper
Target: x86_64-apple-darwin10.7.0
Configured with: ../gcc-4.5.2/configure --prefix=/sw64
--prefix=/sw64/lib/gcc4.5 --mandir=/sw64/share/man
--infodir=/sw64/lib/gcc4.5/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw64
--with-libiconv-prefix=/sw64 --with-ppl=/sw64 --with-cloog=/sw64
--with-mpc=/sw64 --with-system-zlib --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.5 --enable-lto
Thread model: posix
gcc version 4.5.2 (GCC) 
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.7' '-v' '-c' '-shared-libgcc'
'-mtune=generic'
 /sw64/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin10.7.0/4.5.2/cc1plus
-fpreprocessed TMV_TestSmallMatrixArith_6f.ii -fPIC -quiet -dumpbase
TMV_TestSmallMatrixArith_6f.ii -mmacosx-version-min=10.6.7 -mtune=generic
-auxbase TMV_TestSmallMatrixArith_6f -version -o
/var/folders/UU/UU2-eU61GFOx3d6RzbOM4U+++TI/-Tmp-//cc8rFRK8.s
GNU C++ (GCC) version 4.5.2 (x86_64-apple-darwin10.7.0)
    compiled by GNU C version 4.5.2, GMP version 4.3.2, MPFR version 2.4.2-p3,
MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (GCC) version 4.5.2 (x86_64-apple-darwin10.7.0)
    compiled by GNU C version 4.5.2, GMP version 4.3.2, MPFR version 2.4.2-p3,
MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 43c0c50b4e3b4ab818a4452c96b3c3df
g++-4: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to