command-line: make USE_OBJC_EXCEPTIONS=yes makefile: http://sfrazier.servehttp.com/gcc-crash/GNUmakefile (635bytes) preprocesed source: http://sfrazier.servehttp.com/gcc-crash/preprocessed-src.txt (306K) command output: -----start Making all for tool mymain... Compiling file BigNumber.m ... BigNumber.m: In function `+[BigNumber bigNumberFromString:]': BigNumber.m:214: warning: `NSString' may not respond to `-getCString:maxLength:encoding:' BigNumber.m:214: warning: (Messages without a matching method signature BigNumber.m:214: warning: will be assumed to return `id' and accept BigNumber.m:214: warning: `...' as arguments.) BigNumber.m:222: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/cc5qVlrt.out file, please attach this to your bugreport. make[1]: *** [shared_obj/BigNumber.o] Error 1 make: *** [mymain.all.tool.variables] Error 2 -----end emerge --info gcc says: Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups dri eds emboss encode expat foomaticdb fortran gcj gdbm gif gmp gnome gpm gstreamer gtk gtk2 idn imlib ipv6 java jpeg kde lcms ldap libg++ libwww mad mhash mikmod mng motif mp3 mpeg ncurses nls objc ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
At least include gcc version you are trying to compile and attach the output here, the links are broken. Also, not worth reopening unless it fails repeatedly at *exactly* the same place.
Created attachment 82066 [details] Preprocessed source, as requested by GCC error output Apologies for the broken links. I didn't realize I would be allowed to attach files.
Created attachment 82067 [details] GNUmakefile used during segfault
Not compiling GCC, compiling my own code. GCC suggested that this was a bug. I can recreate it, same line and segfault error everytime.
Reproducible -- see previous comment
I found the revision at which this was fixed, but the patch would be almost 2000 lines, and I'm not going to add that to 3.4. This is fixed in 4.x atleast.