Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298251 - dev-libs/boost-1.41.0-r3: ICE with sys-devel/gcc-4.4 in assoc_laguerre.cpp
Summary: dev-libs/boost-1.41.0-r3: ICE with sys-devel/gcc-4.4 in assoc_laguerre.cpp
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 19:40 UTC by Matt Wood
Modified: 2014-12-11 07:43 UTC (History)
2 users (show)

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


Attachments
dev-libs/boost-1.41.0-r3 compile problem (boost-error,8.47 KB, text/plain)
2010-01-10 20:48 UTC, Juan Francisco Giordana
Details
boost-1.41.0-r3 build log (build.log,104.07 KB, text/plain)
2010-01-14 23:06 UTC, Davide Pesavento
Details
build log and emerge-info (boost_build_emerge-info.log,166.20 KB, text/plain)
2010-02-14 08:01 UTC, Yury Vorobyov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Wood 2009-12-24 19:40:50 UTC
After doing an emerge --sync and emerge -uD world, dev-libs/boost-1.41.0-r3 fails with:

"x86_64-pc-linux-gnu-g++"  -ftemplate-depth-128 -march=nocona -O2 -pipe -fno-strict-aliasing -finline-functions -Wno-inline -Wall -pthread -fPIC -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"bin.v2/libs/math/build/gcc-4.4/gentoorelease/threading-multi/../src/tr1" -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/gcc-4.4/gentoorelease/threading-multi/assoc_laguerre.o" "libs/math/build/../src/tr1/assoc_laguerre.cpp"                          

x86_64-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.                                             
See <http://bugs.gentoo.org/> for instructions.                              
...removing bin.v2/libs/math/build/gcc-4.4/gentoorelease/threading-multi/assoc_laguerre.o                                                                                 
gcc.compile.c++ bin.v2/libs/math/build/gcc-4.4/gentoorelease/link-static/threading-multi/assoc_laguerre.o

For some reason, this only happens the first time building boost.  If it is emerged manually immediately after the error, it builds correctly.  I have verified this on both of my amd64 machines.

Also tried unmerging and remerging and am not able to reproduce, but as  I said it did happen on both of my amd64 machines in the process of doing an update.




Reproducible: Couldn't Reproduce

Steps to Reproduce:
1.  emerge --sync
2.  emerge -uD world
3.  observe error.



Expected Results:  
Should build without any errors

emerge --info
Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64)                                                                               
=================================================================                    
System uname: Linux-2.6.32-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1                                                                     
Timestamp of tree: Thu, 24 Dec 2009 15:15:01 +0000                                   
app-shells/bash:     4.0_p35                                                         
dev-java/java-config: 2.1.10                                                         
dev-lang/python:     2.6.4, 3.1.1-r1                                                 
dev-util/cmake:      2.8.0                                                           
sys-apps/baselayout: 2.0.1                                                           
sys-apps/openrc:     0.6.0                                                           
sys-apps/sandbox:    2.2                                                             
sys-devel/autoconf:  2.13, 2.64                                                      
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1                              
sys-devel/binutils:  2.20                                                            
sys-devel/gcc-config: 1.4.1                                                          
sys-devel/libtool:   2.2.6b                                                          
virtual/os-headers:  2.6.30-r1                                                       
ACCEPT_KEYWORDS="amd64 ~amd64"                                                       
ACCEPT_LICENSE="* -@EULA"                                                            
CBUILD="x86_64-pc-linux-gnu"                                                         
CFLAGS="-march=nocona -O2 -pipe"                                                     
CHOST="x86_64-pc-linux-gnu"                                                          
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                           
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                                     
CXXFLAGS="-march=nocona -O2 -pipe"                                                   
DISTDIR="/usr/portage/distfiles"                                                     
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                           
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://mirrors.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.fslutd.org/linux/distributions/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://lug.mtu.edu/gentoo/ http://gentoo.mirrors.hoobly.com/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://www.las.ic.unicamp.br/pub/gentoo/ http://gentoo.inode.at/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://ftp.klid.dk/ftp/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.first-world.info/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://de-mirror.org/distro/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.inf.elte.hu/ http://ftp.rhnet.is/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://gentoo.tups.lv/source/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://gentoo.po.opole.pl http://cesium.di.uminho.pt/pub/gentoo/ http://mirrors.xservers.ro/gentoo/ http://ftp.udc.es/gentoo/ http://mirror.pacific.net.au/linux/Gentoo http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.twaren.net/Linux/Gentoo/ http://ftp.cs.pu.edu.tw/Linux/Gentoo/ http://gentoo.cs.nctu.edu.tw/gentoo/ "                       
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa amd64 avi berkdb bluetooth browserplugin bzip2 cdr cli consolekit cracklib crypt cups cxx dbus divx4linux dri dv dvd dvdread ffmpeg fortran gdbm gpm hal iconv ipv6 java jpeg kde logrotate lzo mad mjpeg mmx mng modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly oog opengl openmp pam pcmcia pcre perl php png pppd python qt3support qt4 quicktime readline reflection samba session sld sml spell spl sql sqlite sqlite3 sse sse2 ssl svg symlink sysfs tcpd unicode utils vorbis webkit wifi wmf xine xorg 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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Luther (few) 2009-12-25 19:12:39 UTC
Did you update any other package between your first and second try?
Comment 2 Juan Francisco Giordana 2010-01-10 20:47:46 UTC
Same problem here on amd64.
Comment 3 Juan Francisco Giordana 2010-01-10 20:48:47 UTC
Created attachment 216030 [details]
dev-libs/boost-1.41.0-r3 compile problem
Comment 4 Sebastian Luther (few) 2010-01-10 20:54:11 UTC
(In reply to comment #3)
> Created an attachment (id=216030) [details]
> dev-libs/boost-1.41.0-r3 compile problem
> 

No that's not the same problem. You have most likely a hardware problem. Do you use ccache? If so try again without ccache.
Comment 5 Davide Pesavento gentoo-dev 2010-01-14 23:04:43 UTC
It fails for me too, without ccache.

Portage 2.2_rc61 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.33-rc3-wl-47408-gbf437c1 x86_64)
=================================================================
System uname: Linux-2.6.33-rc3-wl-47408-gbf437c1-x86_64-Intel-R-_Core-TM-2_CPU_T7600_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 14 Jan 2010 17:55:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=core2 -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/                 ftp://ftp.unina.it/pub/linux/distributions/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --prune-empty-dirs"
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"
PORTDIR_OVERLAY="/usr/portage/local/underlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr cli consolekit cracklib crypt curl cxx dbus djvu dri dts dv dvd dvdr emacs emboss encode evo exif expat fam ffmpeg fftw flac fontconfig ftp gd gdbm gif gmp gnutls gpm graphviz hal iconv icu idn imagemagick ipod ipv6 java5 java6 jingle jpeg jpeg2k kde lame latex lcms ldap libsamplerate lm_sensors lua lzma lzo mad matroska mikmod mmap mmx mng mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses networkmanager nls nptl nptlonly offensive ogg opengl openmp pam pch pcre pdf png policykit ppds pppd pulseaudio qt3support qt4 quicktime readline reflection rss samba sasl sdl session slang sndfile socks5 speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs syslog taglib tcpd theora threads thunar tiff truetype unicode usb v4l2 vcd vorbis wmf x264 xattr xcb xcomposite xine xinerama xml xorg xpm xscreensaver 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 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 6 Davide Pesavento gentoo-dev 2010-01-14 23:06:50 UTC
Created attachment 216553 [details]
boost-1.41.0-r3 build log
Comment 7 Yury Vorobyov 2010-02-14 08:01:26 UTC
Created attachment 219591 [details]
build log and emerge-info

Get this with ccache on, vanishing bug.
Comment 8 Davide Pesavento gentoo-dev 2010-02-27 13:22:12 UTC
I tried with gcc-4.4.3 today and it works!
Comment 9 Sergey Popov gentoo-dev 2014-12-11 07:43:59 UTC
This is very old, new Boost versions compiles fine, closing as OBSOLETE