Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359239 - sys-devel/gcc-4.4.3 - "gstvalue.c:4926: internal compiler error: Segmentation fault".
Summary: sys-devel/gcc-4.4.3 - "gstvalue.c:4926: internal compiler error: Segmentation...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 01:40 UTC by jorgejch
Modified: 2011-03-24 00:02 UTC (History)
0 users

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


Attachments
build.log (build.log,31.83 KB, text/plain)
2011-03-17 01:42 UTC, jorgejch
Details
New build.log (build.log,31.94 KB, text/plain)
2011-03-18 21:38 UTC, jorgejch
Details
Build log for gcc-4.4.5 (build.log.gcc.tar.bz2,70.10 KB, application/octet-stream)
2011-03-22 03:28 UTC, jorgejch
Details
environment file of gcc 4.4.5 build. (environment.tar.bz2,39.10 KB, application/octet-stream)
2011-03-22 03:29 UTC, jorgejch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jorgejch 2011-03-17 01:40:57 UTC
While emerging gstreamer-0.10.31 as a dependencies for gnome-base/gnome-light=2.32.1 the compilation crashes with the following error:

gstvalue.c:4926: internal compiler error: Segmentation fault

I rebooted the system and revdep-rebuilded it, the crash persists. Also, I tried to build different versions of gstreamer (0.10.32 and 0.10.29), and got similar crashes, only varying the line number.

Reproducible: Always

Steps to Reproduce:
1.sudo emerge gstreamer
Actual Results:  
The compilation crashes with the mentioned error.

Expected Results:  
Compile and install.

Notably, this machine is running:
-apache
-irssi
-eggdrop
-sshd

Output from 'emerge --info':

Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r3, 2.6.33-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Wed, 16 Mar 2011 18:30:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/"
LANG="pt_BR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gnome gpm gstreamer gtk hal iconv java jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nfs nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session smp spell sse sse2 sse3 ssh ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vim-syntax vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 jorgejch 2011-03-17 01:42:33 UTC
Created attachment 266217 [details]
build.log

Follows the build.log file.
Comment 2 jorgejch 2011-03-17 01:43:22 UTC
Thank you for the time guys!

Abraço
Jorge
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-17 18:04:42 UTC
Please update the rest of your packages and try again. If it doesn't work, post your new `emerge --info' and reopen this bug report.
Comment 4 jorgejch 2011-03-18 21:29:09 UTC
Hello, 

- updated my system with:
sudo emerge --update --deep --newuse --keep-going world

3 packages failed:

 *  (media-libs/gstreamer-0.10.31, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/media-libs/gstreamer-0.10.31/temp/build.log'
 *  (media-libs/gst-plugins-base-0.10.31, ebuild scheduled for merge)
 *  (net-wireless/bluez-4.87, ebuild scheduled for merge)

as expected (the last two depend on gstreamer).

- ran 'lafilefixer --justfixit' 

- revdep-rebuilded, and it didn't kind any broken dependencies.

- tried to build the gstreamer again, and got almost the same error, only the line number varied:

"gstbin.c:3886: internal compiler error: Falha de segmentação"

Here goes my 'emerge --info': 

Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.3-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Fri, 18 Mar 2011 21:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/"
LANG="pt_BR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gnome gpm gstreamer gtk hal iconv java jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nfs nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session smp spell sse sse2 sse3 ssh ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vim-syntax vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 jorgejch 2011-03-18 21:38:33 UTC
Created attachment 266399 [details]
New build.log
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-21 01:52:02 UTC
You are experiencing compiler problems (nothing in particular to do with gstreamer), but your compiler still hasn't been updated to what is currently considered stable - version 4.4.5.
Comment 7 jorgejch 2011-03-21 04:17:24 UTC
Hello, Thank you for your help. Tried updating gcc to 4.4.5. But, it didn't compile also, I'm sending the build.log and the enviroment. 

Thank you very much.

Abraço
Jorge
Comment 8 jorgejch 2011-03-21 04:28:02 UTC
To large for attachment, put it in megaupload.
http://www.megaupload.com/?d=0R7MEQTQ

Also the enviroment file:
http://www.megaupload.com/?d=M3YJ9OKK
Comment 9 jorgejch 2011-03-21 04:32:00 UTC
Also, in the hope it helps I'm including my /proc/cpuifo

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping	: 11
cpu MHz		: 2404.485
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips	: 4808.97
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping	: 11
cpu MHz		: 2404.485
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 4
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips	: 4808.20
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping	: 11
cpu MHz		: 2404.485
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 2
cpu cores	: 4
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips	: 4808.23
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping	: 11
cpu MHz		: 2404.485
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips	: 4808.23
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-22 03:17:38 UTC
(In reply to comment #8)
> To large for attachment, put it in megaupload.
> http://www.megaupload.com/?d=0R7MEQTQ
> 
> Also the enviroment file:
> http://www.megaupload.com/?d=M3YJ9OKK

Compress them, then attach them. Shouldn't be more than a megabyte in each case.
Comment 11 jorgejch 2011-03-22 03:28:42 UTC
Created attachment 266793 [details]
Build log for gcc-4.4.5
Comment 12 jorgejch 2011-03-22 03:29:15 UTC
Created attachment 266795 [details]
environment file of gcc 4.4.5 build.
Comment 13 jorgejch 2011-03-22 03:29:43 UTC
(In reply to comment #10)
> (In reply to comment #8)
> > To large for attachment, put it in megaupload.
> > http://www.megaupload.com/?d=0R7MEQTQ
> > 
> > Also the enviroment file:
> > http://www.megaupload.com/?d=M3YJ9OKK
> 
> Compress them, then attach them. Shouldn't be more than a megabyte in each
> case.

Ok, done.

THX
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-22 23:04:25 UTC
(In reply to comment #11)
> Created attachment 266793 [details]
> Build log for gcc-4.4.5

Why did you put a single file in a tar archive?

Anyway, looks like enough information is there.
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-22 23:05:59 UTC
Comment on attachment 266795 [details]
environment file of gcc 4.4.5 build.

1) Didn't need compression.
2) Again, why the tar archive?
Comment 16 jorgejch 2011-03-23 18:27:56 UTC
My take would be: pure inexperience.

THX
Comment 17 Ryan Hill (RETIRED) gentoo-dev 2011-03-23 22:23:01 UTC
/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/config/libbid/bid128_fma.c:4460: internal compiler error

Same as bug #347293?  That's 4.5 though.
Comment 18 Ryan Hill (RETIRED) gentoo-dev 2011-03-23 22:28:31 UTC
as in that bug, does it fail at the same place every time?  does dmesg print anything strange?
Comment 19 jorgejch 2011-03-24 00:02:03 UTC
Hi, I had another quad core pc here, and put that HD on it. Only ethernet didn't work, and dmesg didn't show unrelated errors.

Then, I ran 'emerge gcc' again, and it compiled. No errors. I recompiled the kernel for some hardware difference, and am now using this other machine.

Before doing this, I ran a simple stress test on the CPU, after errorless running memtest86+ overnight. 

http://www.gentoo.org/doc/en/articles/hardware-stability-p1.xml

After some hours, gcc halted.

Since, it was, while under the same enviroment, on the same line that gcc crashed, for the gstreamer and gcc 4.4.5 compilation, I'm infering that compiling that portion of the code requires a lot of processing, and the faulty cpu can't take it.

Also, I quickpkged the gnome-light dependencies on another machine, merged, and installed gnome-light (which it self compiled fine). When using firefox, or even while compiling something, X kept crashing and restarting.

So, I'm assumng it was a faulty CPU, even though I think upstream should take a look at that code section, and maybe make it more compiler/cpu friendly. 

I guess this solves the ticket.

Thank you very much, and sorry for the inexperience filing bugs.

Abraço
Jorge