Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257229 - boost 1.37.0 fails to compile
Summary: boost 1.37.0 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL: http://www.boost.org/users/news/versi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-01 15:29 UTC by Christopher Harvey
Modified: 2009-05-24 12:23 UTC (History)
2 users (show)

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


Attachments
the build log (build.log,301.90 KB, text/plain)
2009-02-01 15:30 UTC, Christopher Harvey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Harvey 2009-02-01 15:29:10 UTC
I've attached the build failures below. It seems to be something the in spirit library.

Reproducible: Always

Steps to Reproduce:
unmask and emerge =boost-1.37.0

Actual Results:  
fails to build

Expected Results:  
boost installed

emerge --info
Portage 2.2_rc20 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 x86_64)                                                                     
=================================================================                      
System uname: Linux-2.6.27-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5                                                                    
Timestamp of tree: Sun, 01 Feb 2009 01:30:01 +0000                                     
app-shells/bash:     3.2_p33                                                           
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                               
dev-lang/python:     2.5.2-r7                                                          
dev-util/cmake:      2.6.2                                                             
sys-apps/baselayout: 1.12.11.1                                                         
sys-apps/sandbox:    1.2.18.1-r2                                                       
sys-devel/autoconf:  2.13, 2.61-r2                                                     
sys-devel/automake:  1.5, 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.0-r4                                                         
sys-devel/libtool:   1.5.26                                                            
virtual/os-headers:  2.6.23-r3                                                         
ACCEPT_KEYWORDS="amd64"                                                                
CBUILD="x86_64-pc-linux-gnu"                                                           
CFLAGS="-march=k8 -O2 -pipe -msse3"                                                    
CHOST="x86_64-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/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                    
CXXFLAGS="-march=k8 -O2 -pipe -msse3"                                                  
DISTDIR="/usr/portage/distfiles"                                                       
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch"                                                          
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/source/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ "
LDFLAGS="-Wl,-O1"                                                                      
LINGUAS="en"                                                                           
MAKEOPTS="-j3"                                                                         
PKGDIR="/usr/portage/packages"                                                         
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/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 acl acpi alsa amd64 arts avi bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dv dvd dvdr dvdread emacs emboss encode evo fam fame firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog ivtv jpeg kde libnotify mad midi mikmod mmx mmxext mozilla mp3 mpeg mudflap multilib ncurses nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl ssse3 startup-notification subtitles svg sysfs tcpd tiff truetype unicode usb v4l v4l2 vorbisxcomposite 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 dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cachefilter 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christopher Harvey 2009-02-01 15:30:25 UTC
Created attachment 180551 [details]
the build log
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2009-02-07 07:14:59 UTC
Can you try to remove the "-O2 -msse3" from your CXXFLAGS and see whether it compiles then?
As it seems it is a bug in gcc, not in boost.
Comment 3 Igor Ulyanov 2009-05-17 14:21:25 UTC
I have the same problem with boost-1.37.0. Removing -O2 compiler option helps to compile it successfully on gcc-4.3.3-r2
Comment 4 Mike Limansky 2009-05-24 10:34:48 UTC
Hi all,

The similar problem with gcc-4.4. Compilation fails with -O2, but without it build successfully. It seems like the package should override the CXXFLAGS.
Comment 5 Christopher Harvey 2009-05-24 11:26:41 UTC
(In reply to comment #2)
> Can you try to remove the "-O2 -msse3" from your CXXFLAGS and see whether it
> compiles then?
> As it seems it is a bug in gcc, not in boost.
> 

1.37.0 has been replaced by 1.37.0-r1 and I've had no problems compiling it. Maybe we should mark this as resolved. Actually, I'll mark it now. 
Comment 6 Mike Limansky 2009-05-24 12:17:08 UTC
> 1.37.0 has been replaced by 1.37.0-r1 and I've had no problems compiling it.
> Maybe we should mark this as resolved. Actually, I'll mark it now. 
> 

Did you tried to use gcc-4.4? It seems like the problem isn't solved for the newest compiler.
Comment 7 Christopher Harvey 2009-05-24 12:23:56 UTC
(In reply to comment #6)
> > 1.37.0 has been replaced by 1.37.0-r1 and I've had no problems compiling it.
> > Maybe we should mark this as resolved. Actually, I'll mark it now. 
> > 
> 
> Did you tried to use gcc-4.4? It seems like the problem isn't solved for the
> newest compiler.
> 

4.4 is hard masked. I think that deserves a new bug.