Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155765 - gcc-4.1.1-r1 ICE
Summary: gcc-4.1.1-r1 ICE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2006-11-20 06:44 UTC by Simon Schäfer
Modified: 2006-12-19 16:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

the test.cpp mentioned in the text (test.cpp,654 bytes, text/plain)
2006-11-20 06:46 UTC, Simon Schäfer
the .out file from gccerror (ccSuLvRF.out,457.69 KB, text/plain)
2006-11-20 06:48 UTC, Simon Schäfer

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Schäfer 2006-11-20 06:44:49 UTC
I have gotten a lot of internal compilation errors with gcc4.1.1-r1 and then some configure told me that gcc is not able to create binarys. So i took the source that fails (from the config.log) and tested it myself:

x86_64-pc-linux-gnu-g++ -c -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=k8 -mno-tls-direct-seg-refs -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor  -fno-check-new -fno-common test.cpp
test.cpp: In function 'int main()':
test.cpp:32: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.
Preprocessed source stored into /tmp/ccSuLvRF.out file, please attach this to your bugreport.

thats what i got. 
then i downgrade to 4.1.1 and the compile went all good

emerge --info:
Gentoo Base System version 1.12.6
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r7 x86_64)
System uname: 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Last Sync: Mon, 20 Nov 2006 14:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
CFLAGS="-O2 -pipe -march=k8 -mno-tls-direct-seg-refs "
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8 -mno-tls-direct-seg-refs "
FEATURES="autoconfig buildpkg candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
LINGUAS="de en en_GB"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
USE="7zip X a52 aac acpi aiglx alsa amd64 amr apache2 apm arts asf asterisk audacious bash-completion berkdb bitmap-fonts bjam branding browserplugin bzip2 cairo cdda cddb cdparanoia cdr cegui cg cgi chardet chroot cli cpudetection cracklib crypt cscope css cups daap dbus devil divx dlloader dmx doc dri dts dvd dvdr dvdread elibc_glibc encode extrafilters fame ffmpeg firefox flac fortran gcc64 gdbm gif glitz gmedia gnome gpm gstreamer hal iconv ieee1394 ifp imagemagick imlib input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog jack jack-tmpfs java javascript jikes jpeg junit kde kernel_linux kipi libg++ libvisual linguas_de linguas_en linguas_en_GB lirc lirc_devices_atiusb lm_sensors logitech-mouse logrotate lzo mad mailwrapper matroska mbrola md5sum mjpeg mng modplug mozilla moznocompose moznoirc moznomail mp3 mp4 mpeg mplayer mtp musepack musicbrainz mysql ncurses netjack network nls nptl nptlonly nsplugin nvidia ogg openal opengl pam pcre pdf perl pmu png portaudio postgres ppds pppd python qt3 qt4 quicktime rar rdesktop readline realmedia reflection restrict-javascript samba savedconfig screen sdl sensord session shout slp smp sndfile snmp soap sox speex spell spl ssl stream subtitles svg tcpd threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vnc vorbis wifi wma wmf wmp x264 xerces-c xforms xine xinerama xml xmlreader xmlrpc xmlwriter xorg xpm xprint xv xvid yv12 zeroconf zip zlib"
Comment 1 Simon Schäfer 2006-11-20 06:46:41 UTC
Created attachment 102399 [details]
the test.cpp mentioned in the text
Comment 2 Simon Schäfer 2006-11-20 06:48:33 UTC
Created attachment 102400 [details]
the .out file from gccerror
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2006-11-20 07:16:28 UTC
did you add those attachments as binary files? That's really annoying.
Comment 4 Simon Schäfer 2006-11-21 09:53:42 UTC
(In reply to comment #3)
> did you add those attachments as binary files? That's really annoying.
i've added them as they are and with autodetect content type
Comment 5 Kevin F. Quinn (RETIRED) gentoo-dev 2006-11-22 01:59:47 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > did you add those attachments as binary files? That's really annoying.
> > 
> i've added them as they are and with autodetect content type

I changed them to text/plain.  The autodetect isn't particularly clever; it's best to set text/plain manually when adding text file attachments.
Comment 6 SpanKY gentoo-dev 2006-12-16 02:30:25 UTC
try gcc-4.1.1-r3
Comment 7 Simon Schäfer 2006-12-19 16:30:09 UTC
I think I got a broken version of my gcc someway.
I resolved this yesterday (hadn't time to do it before). I took gcc-4.1.1 glibc and glib binary packages from a friend of mine who got the same flags as i do. Downgraded and then upgraded my gcc to gcc-4.1.1-r3 and now everything works.