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

Bug 270504

Summary: emerge failed: dev-libs/boost-1.34.1-r2 | libs/program_options/src/cmdline.cpp:286: internal compiler error: Segmentation fault
Product: Gentoo Linux Reporter: Tom C. <bruno_backstein>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal CC: SebastianLuther
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the build.log

Description Tom C. 2009-05-19 23:04:00 UTC
tried to emerge dev-libs/boost wich failed due to a segfault
really not much else to say here

Reproducible: Always

Steps to Reproduce:
1.emerge dev-libs/boost

Actual Results:  
the emerge failed

Expected Results:  
finishing the emerge

Portage 2.1.6.4 (hardened/x86/2.6, gcc-4.1.1, glibc-2.6.1-r0, 2.6.23-hardened-r4 i686)
=================================================================
System uname: Linux-2.6.23-hardened-r4-i686-AMD_Athlon-tm-_Processor-with-glibc2.0
Timestamp of tree: Sun, 15 Feb 2009 23:15:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-tbird -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-tbird -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo "
LDFLAGS=""
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="berkdb cracklib crypt encode hardened midi mp3 nls nptl nptlonly ogg pam php pic readline ssl tcpd unicode urandom vorbis x86 xorg 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="mouse keyboard 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 1 Tom C. 2009-05-19 23:07:02 UTC
Created attachment 191847 [details]
the build.log
Comment 2 Sebastian Luther (few) 2009-05-20 08:39:50 UTC
There is no gcc-4.1.1 in the tree. Please update sys-devel/gcc and try again.
Comment 3 Sebastian Luther (few) 2009-05-20 08:41:36 UTC
And I suggest an emerge --sync.
Comment 4 Tom C. 2009-05-21 00:23:02 UTC
ok seems my cron job doesn't work correctly

hoever i did a sync then updated portage and synced again and now i get this:

*  sys-devel/gcc
      Latest version available: 3.4.6-r2
      Latest version installed: 4.1.1-r3

by the way boost still won't compile correctly
Comment 5 Sebastian Luther (few) 2009-05-21 04:45:54 UTC
(In reply to comment #4)

> *  sys-devel/gcc
>       Latest version available: 3.4.6-r2
>       Latest version installed: 4.1.1-r3

Is this the output of eix? If yes you need to run update-eix or use emerge -s gcc.
Comment 6 Tom C. 2009-05-21 12:56:58 UTC
i did an update-eix and no its emerge -s thats whats so weird about it
Comment 7 Sebastian Luther (few) 2009-05-22 07:30:12 UTC
And eix -e gcc shows what? Did you keyword gcc-4.1.1 yourself? In this case either use stable gcc-3.4 or keyword a newer version.
Comment 8 Tom C. 2009-05-22 20:20:02 UTC
here's eix -e gcc:
===================
[D] sys-devel/gcc
     Available versions:
        (2.95)  2.95.3-r9 ~2.95.3-r10
        (3.1)   3.1.1-r2
        (3.2)   **3.2.2 3.2.3-r4
        (3.3)   ~3.3.6-r1
        (3.4)   3.4.6-r2
        (4.0)   [M]~*4.0.4
        (4.1)   [M]4.1.2
        (4.2)   [M]~4.2.4-r1
        (4.3)   [M]4.3.2-r3 [M]~4.3.2-r4 ~4.3.3-r2
        (4.4)   [M]~4.4.0
        {altivec bootstrap boundschecking build d doc fixed-point fortran gcj graphite gtk hardened ip28 ip32r10k java libffi mudflap multilib multislot n32 n64 nls nocxx nopie nossp objc objc++ objc-gc openmp static test vanilla}
     Installed versions:  3.4.6-r2(3.4)(06:33:44 01/28/08)(hardened nls -altivec -bootstrap -boundschecking -build -d -doc -fortran -gcj -gtk -ip28 -ip32r10k -multilib -multislot -n32 -n64 -nocxx -nopie -nossp -objc -test -vanilla)
                          4.1.1-r3(4.1)(02:54:45 04/20/07)(fortran nls -altivec -bootstrap -build -doc -gcj -gtk -hardened -ip28 -ip32r10k -mudflap -multilib -multislot -n32 -n64 -nocxx -objc -objc++ -objc-gc -test -vanilla)
     Homepage:            http://gcc.gnu.org/
     Description:         The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking
========================

also i am not aware of keywording anything (im not even entirely sure what that means)
i didnt even touch gcc after using the stage3 tarball if i remember correctly but im not a 100% sure about that
Comment 9 Tom C. 2009-05-23 08:24:46 UTC
ok it seems that i have 2 versions of gcc because i used that stage3 tarball and the version that came with that was masked in my hardened profile so it emerged the older version wich leeds to the conflict...
ill change my profile and recompile the whole thing then...
it should only take a few.. DAYS xD

well thanks for your help Mr.Mingramm it was much appreciated