Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274463 - dev-libs/boost does not compile with <sys-devel/gcc-4.1: defined in discarded section
Summary: dev-libs/boost does not compile with <sys-devel/gcc-4.1: defined in discarded...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
: 287048 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-17 07:08 UTC by Hongjiu Zhang
Modified: 2009-11-24 20:10 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hongjiu Zhang 2009-06-17 07:08:10 UTC
I am using a hardened profile and gcc-3.4 and I cannot have my dev-libs/boost-1.37.0 build.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
Calculating dependencies   ... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/boost-1.37.0-r1
 * boost_1_37_0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
>>> Downloading 'http://ftp.kaist.ac.kr/gentoo/distfiles/boost-patches-1.37.0-1.tbz2'
--2009-06-17 13:13:49--  http://ftp.kaist.ac.kr/gentoo/distfiles/boost-patches-1.37.0-1.tbz2
Resolving ftp.kaist.ac.kr... 143.248.234.110
Connecting to ftp.kaist.ac.kr|143.248.234.110|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1207 (1.2K) [text/plain]
Saving to: `/usr/portage/distfiles/boost-patches-1.37.0-1.tbz2'

     0K .                                                     100% 95.3M=0s

2009-06-17 13:13:49 (95.3 MB/s) - `/usr/portage/distfiles/boost-patches-1.37.0-1.tbz2' saved [1207/1207]

 * boost-patches-1.37.0-1.tbz2 RMD160 SHA1 SHA256 size ;-) ...           [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking boost_1_37_0.tar.bz2 to /var/tmp/portage/dev-libs/boost-1.37.0-r1/work
>>> Unpacking boost-patches-1.37.0-1.tbz2 to /var/tmp/portage/dev-libs/boost-1.37.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/boost-1.37.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-libs/boost-1.37.0-r1/work/boost_1_37_0 ...
 [32;01m*[0m Applying various patches (bugfixes/updates) ...
 [32;01m*[0m   01_all_1.36.0-tools-build-fix.patch ...
[A[120C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   02_all_1.37.0-function-templates-compile-fix.patch ...
[A[120C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   03_all_1.36.0-compiler_status-trailing_slash.patch ...
[A[120C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   07_all_1.35.0-fix_mpi_installation.patch ...
[A[120C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Done with patching
 [32;01m*[0m Applying remove_toolset_from_targetname.patch ...
[A[120C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying buildid-fix.patch ...
[A[120C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying boost-1.37.0-darwin-long-double.patch ...
[A[120C  [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/boost-1.37.0-r1/work/boost_1_37_0 ...
 [32;01m*[0m Writing new user-config.jam
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/boost-1.37.0-r1/work/boost_1_37_0 ...
 [32;01m*[0m Using the following options to build: 
 [32;01m*[0m    -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/lib --without-mpi --user-config="/var/tmp/portage/dev-libs/boost-1.37.0-r1/work/boost_1_37_0/user-config.jam" --boost-build=/usr/share/boost-build-1_37 --prefix="/var/tmp/portage/dev-libs/boost-1.37.0-r1/image//usr" --layout=versioned

...

gcc.link.dll bin.v2/libs/wave/build/gcc-3.4/gentoorelease/libboost_wave-1_37.so.1.37.0
`.L5385' 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
`.L5394' 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
`.L5393' 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
`.L5392' 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
`.L5391' 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
`.L5390' 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
`.L5389' 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
`.L5388' 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_37.so.1.37.0" -Wl,-h -Wl,libboost_wave-1_37.so.1.37.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_37.so.1.37.0" "bin.v2/libs/date_time/build/gcc-3.4/gentoorelease/libboost_date_time-1_37.so.1.37.0" "bin.v2/libs/thread/build/gcc-3.4/gentoorelease/threading-multi/libboost_thread-mt-1_37.so.1.37.0"  -Wl,-Bstatic  -Wl,-Bdynamic  -Wl,--end-group -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--hash-style=both -Wl,--sort-common 

...failed gcc.link.dll bin.v2/libs/wave/build/gcc-3.4/gentoorelease/libboost_wave-1_37.so.1.37.0...
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-3.4/gentoorelease/link-static/greg_month.o
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-3.4/gentoorelease/link-static/runtime-link-static/greg_month.o
...failed updating 1 target...
...updated 1900 targets...

>>> Failed to emerge dev-libs/boost-1.37.0-r1



Portage 2.1.6.13 (selinux/2007.0/x86/hardened, gcc-3.4.6, glibc-2.9_p20081201-r2, 2.6.29-hardened_b5 i686)
=================================================================
System uname: Linux-2.6.29-hardened_b5-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-gentoo-1.12.12
Timestamp of tree: Tue, 16 Jun 2009 02:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fforce-addr -fomit-frame-pointer -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
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 /etc/udev/rules.d"
CXXFLAGS="-O2 -fforce-addr -fomit-frame-pointer -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks fixpackages loadpolicy parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.kaist.ac.kr/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--hash-style=both -Wl,--sort-common"
LINGUAS="zh_TW zh af am ar as_IN az be be_BY bg bn bn_IN bo br brx bs ca cs csb cy da de de_FR dgo dz el en en_GB en_US en_ZA eo es es_AR es_CR es_ES es_LA et et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hsb hu hy id is it ja ka kk km kn kn_IN ko kok ks ku la lb lo lt lv mai mk ml ml_IN mn mni mr mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sa_IN sat sd se sh sh_YU si sk sl sq sr sr@Latn sr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr ts uk ur_IN ur_PK uz uz@cyrillic ve vi wa xh zh_CN zh_HK zu"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-7"
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/sunrise /usr/local/portage/layman/science /usr/local/portage/layman/gentoo-china"
SYNC="rsync://mirror.averse.net/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb branding bzip2 cairo cdr cjk cli cracklib crypt cups custom-cflags custom-cxxflags dbus doc dri dvd dvdr dvdread emboss encode examples expat fam fontconfig fortran gdbm gif git gnutls gpm gstreamer hal handbook hardened iconv ieee1394 ipv6 isdnlog java java6 jpeg jpeg2k kde latex ldap libnotify lzo mad midi mikmod mmx mmxext mng mp3 mpeg mudflap ncurses networkmanager nls nptl nptlonly ogg openexr opengl openmp pam pcre pdf perl pic png policykit ppds pppd pulseaudio python qt qt3support qt4 quicktime readline reflection sdl selinux session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode usb vim-syntax vorbis webkit win32codecs x86 xcb xcomposite xml xorg xpm xv 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_TW zh af am ar as_IN az be be_BY bg bn bn_IN bo br brx bs ca cs csb cy da de de_FR dgo dz el en en_GB en_US en_ZA eo es es_AR es_CR es_ES es_LA et et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hsb hu hy id is it ja ka kk km kn kn_IN ko kok ks ku la lb lo lt lv mai mk ml ml_IN mn mni mr mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sa_IN sat sd se sh sh_YU si sk sl sq sr sr@Latn sr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr ts uk ur_IN ur_PK uz uz@cyrillic ve vi wa xh zh_CN zh_HK zu" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel 	mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage 	siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware 	voodoo"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-17 11:33:24 UTC
What if you drop all of the special LDFLAGS?
Comment 2 Hongjiu Zhang 2009-06-17 15:12:09 UTC
Thank you for your advice!!!!!

I am going to try immediately!!!!
Comment 3 Hongjiu Zhang 2009-06-18 03:59:01 UTC
I am sorry. I dropped all my LDFLAGS but still get the same failure. It might be not about my LDFLAGS.
Comment 4 Kyle Lemons 2009-06-26 20:44:49 UTC
I see the same error with hardened.  Much of my software versions are appreciably different from that listed above.  I am relatively certain that it has something to do with compiling on hardened.

Recommend: Change [Component] to [Hardened]

Portage 2.1.6.13 (selinux/2007.0/x86/hardened, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-hardened-r12 i686)
=================================================================
System uname: Linux-2.6.23-hardened-r12-i686-Intel-R-_Xeon-R-_CPU_X3220_@_2.40GHz-with-glibc2.3.2
Timestamp of tree: Fri, 26 Jun 2009 19:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.5, 1.8.5-r3, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=i686 -O2 -pipe -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=i686 -O2 -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages loadpolicy parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext aac apache2 bash-completion berkdb bzip2 cli cpudetection cracklib crypt cups curl dri encode exif expat ffmpeg fortran freetype gd gdbm gif gpm hardened iconv ipv6 isdnlog jpeg midi mmx mmxext mudflap ncurses nls nptl nptlonly ogg openmp pam pcre perl php pic plotutils png posix postgres pppd python quicktime readline reflection ruby samba selinux session spl sqlite sse sse2 ssl ssse3 subversion svg svnserve tcpd theora threads truetype unicode vim-syntax vorbis win32codecs x86 xml xorg xpm xvid 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" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage  siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware         voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Kyle Lemons 2009-06-26 21:32:17 UTC
Actually, a little more searching found this:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625

GCC-4.1 does indeed properly compile and link boost-1.7 on hardened for me.
Comment 6 Hongjiu Zhang 2009-06-27 04:06:53 UTC
What does it mean? I can't see anything in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625 to do with this bug.

Is it a gcc bug? Or boost-1.37.0 asks for >=sys-devel/gcc-4.1?
Comment 7 Sebastian Luther (few) 2009-11-20 14:45:53 UTC
(In reply to comment #6)
> What does it mean? I can't see anything in
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625 to do with this bug.
> 

It's about the same error you're getting.

> Is it a gcc bug? Or boost-1.37.0 asks for >=sys-devel/gcc-4.1?
> 

It's a gcc bug.
Comment 8 Sebastian Luther (few) 2009-11-20 14:46:22 UTC
*** Bug 287048 has been marked as a duplicate of this bug. ***
Comment 9 Hongjiu Zhang 2009-11-23 08:07:06 UTC
As old gcc is not supported anymore and even hardened start using gcc-4, maybe this bug can be closed as INVALID.
Comment 10 Sebastian Luther (few) 2009-11-24 19:36:02 UTC
@toolchain: Do you guys know anything about this bug? Is there a way to circumvent it with some {C,LD}FLAG? Do you plan to fix it? Any objections against dropping support for <gcc-4.1 for boost?
Comment 11 Mark Loeser (RETIRED) gentoo-dev 2009-11-24 20:08:18 UTC
We don't actively support any compiler older than the latest stable, so I'd say just close it as WONTFIX since newer versions of gcc work fine with it.
Comment 12 Sebastian Luther (few) 2009-11-24 20:10:16 UTC
(In reply to comment #11)
> We don't actively support any compiler older than the latest stable, so I'd say
> just close it as WONTFIX since newer versions of gcc work fine with it.
> 

Thanks for your input. Closing as WONTFIX.