Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 287048

Summary: dev-libs/boost-1.39.0 does not build with gcc-3.4.6
Product: Gentoo Linux Reporter: Daniel Tourde <ted>
Component: [OLD] LibraryAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cpp+disabled, SebastianLuther
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Tourde 2009-09-30 10:15:42 UTC
When I tried to emerge dev-libs/boost-1.39.0, I end up with:

ln-UNIX stage/lib/libboost_date_time-mt.a
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-3.4/gentoorelease/threading-multi/gregorian/greg_month.o
common.mkdir bin.v2/libs/system/build/gcc-3.4/gentoorelease/link-static
gcc.link.dll bin.v2/libs/wave/build/gcc-3.4/gentoorelease/libboost_wave-1_39.so.1.39.0
`.L5316' referenced in section `.gnu.linkonce.r._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o: defined in discarded section `.gnu.linkonce.t._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o
`.L5325' referenced in section `.gnu.linkonce.r._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o: defined in discarded section `.gnu.linkonce.t._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o
`.L5324' referenced in section `.gnu.linkonce.r._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o: defined in discarded section `.gnu.linkonce.t._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o
`.L5323' referenced in section `.gnu.linkonce.r._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o: defined in discarded section `.gnu.linkonce.t._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o
`.L5322' referenced in section `.gnu.linkonce.r._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o: defined in discarded section `.gnu.linkonce.t._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o
`.L5321' referenced in section `.gnu.linkonce.r._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o: defined in discarded section `.gnu.linkonce.t._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o
`.L5320' referenced in section `.gnu.linkonce.r._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o: defined in discarded section `.gnu.linkonce.t._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o
`.L5319' referenced in section `.gnu.linkonce.r._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o: defined in discarded section `.gnu.linkonce.t._ZNK5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6substrEjj' of bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o
collect2: ld returned 1 exit status

    "i686-pc-linux-gnu-g++"    -o "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/libboost_wave-1_39.so.1.39.0" -Wl,-h -Wl,libboost_wave-1_39.so.1.39.0 -shared -Wl,--start-group "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_cpp_exprgrammar.o" "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_cpp_grammar.o" "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_cpp_literalgrs.o" "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_defined_grammar.o" "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_predef_macros.o" "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer.o" "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/instantiate_re2c_lexer_str.o" "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/token_ids.o" "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/wave_config_constant.o" "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/cpplexer/re2clex/aq.o" "bin.v2/libs/wave/build/gcc-3.4/gentoorelease/cpplexer/re2clex/cpp_re.o" "bin.v2/libs/filesystem/build/gcc-3.4/gentoorelease/libboost_filesystem-1_39.so.1.39.0" "bin.v2/libs/date_time/build/gcc-3.4/gentoorelease/libboost_date_time-1_39.so.1.39.0" "bin.v2/libs/thread/build/gcc-3.4/gentoorelease/threading-multi/libboost_thread-mt-1_39.so.1.39.0"  -Wl,-Bstatic  -Wl,-Bdynamic  -Wl,--end-group -Wl,-O1

...failed gcc.link.dll bin.v2/libs/wave/build/gcc-3.4/gentoorelease/libboost_wave-1_39.so.1.39.0...
gcc.compile.c++ bin.v2/libs/system/build/gcc-3.4/gentoorelease/link-static/error_code.o
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-3.4/gentoorelease/threading-multi/gregorian/greg_weekday.o
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-3.4/gentoorelease/threading-multi/gregorian/date_generators.o
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-3.4/gentoorelease/link-static/gregorian/greg_month.o
...failed updating 1 target...
...updated 1503 targets...
 *
 * ERROR: dev-libs/boost-1.39.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3562:  Called die
 * The specific snippet of code:
 *       ${BJAM} ${NUMJOBS} -q gentoorelease ${OPTIONS} threading=single,multi link=shared,static runtime-link=shared || die "building boost failed";
 *  The die message:
 *   building boost failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/boost-1.39.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.39.0/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1. Unmask
=dev-libs/boost-1.39.0 ~x86
=dev-util/boost-build-1.39.0 ~x86

2. emerge boost


Actual Results:  
The ebuild process stops (see above)



Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-3.4.6, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Xeon-TM-_CPU_2.80GHz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 30 Sep 2009 06:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en sv fr si"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac aalib accessibility acl acpi ada adns aiglx aim akode alsa amarok animation-rtl ansi apache2 apm arts asf auctex audiofile automount bash-completion bcmath beagle berkdb bidi blas bluetooth bonobo boost boundchecking branding bzip2 bzlib c++ cairo calendar caps cblas cdb cdr cgi cjk clearcase cli cmucl consolekit cpdflib cpudetection cracklib crypt cscope ctype cups curl curlwrappers cvs cxx d dba dbase dbm dbus dbx deprecated dga dio directfb discouraged divx4linux doc dri dts dvb dvd dvdr eds emacs emacs-w3 emboss encode esd ethereal evo exif expat fam fastcgi fbcon fbcondecor ffcall ffmpeg fftw filepro firefox flac flatfile fontconfig foomaticdb fortran freetds ftp gcc-libffi gcj gd gdbm ggi gif ginac git glut gmp gnome gnustep gnutls gphoto2 gpm graphviz gs gsnd gstreamer gtk gtkhtml guile hal haskell hdf5 hdri iconv icq icu idn imagemagick imap imlib innodb iodbc ipv6 isdnlog jabber jack java javascript joystick jpeg jpeg2k junit kde kdeenablefinal kerberos kpathsea krb4 ladcca lapack latex lcms ldap leim libgda libnotify live lzo mad maildir mailwrapper mbox mhash mikmod milter mime ming mjpeg mmap mmx mng modules mono motif mozbranding mp3 mp4 mpeg mplayer msession msn mudflap mule mysql mysqli nas ncurses netcdf networking new-login nis nls nptl nptlonly nsplugin nvidia objc objc++ odbc offensive ofx ogg openal opengl openmp oscar oss pam pascal pcntl pcre pda pdf perforce perl php pic pie plotutils plugin png posix postgres povray ppds pppd prelude profile pulseaudio python q16 q32 q8 qhull qt3 qt3support qt4 quicktime readline reflection regex ruby samba sasl scanner sdl session simplexml slang slp sndfile snmp soap sockets socks5 sound sox speex spell spl sql sqlite sqlite3 sse ssl startup-notification stlport subversion svg svga svnserve sysfs sysvipc szip tcl tcltk tcpd tetex theora threads thunar tidy tiff tk tokenizer toolkit-scroll-bars truetype twolame unicode usb vhosts vorbis wddx win32codecs winbind wmf wxwindows x264 x86 xcomposite xface xft xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xulrunner xv xvid yahoo yaz zeo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv fr si" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Luther (few) 2009-11-20 14:20:06 UTC
Any reason you are not using a newer gcc? This is pretty much a WONTFIX.
Comment 2 Sebastian Luther (few) 2009-11-20 14:46:22 UTC

*** This bug has been marked as a duplicate of bug 274463 ***