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

Bug 148215

Summary: sys-libs/libstdc++-v3-3.3.4 doesn't compile on gcc-4.1.1
Product: Gentoo Linux Reporter: Erik Logtenberg <erik>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik Logtenberg 2006-09-19 09:54:33 UTC
When compiling sys-libs/libstdc++-v3-3.3.4 with gcc-4.1.1, emerge fails. I'm using the default-linux/x86/2006.1 profile. When I migrated from gcc-3.4.6 to gcc-4.1.1, emerge -e world failed on libstdc++-v3, and when I retry after reboot, it still doesn't work.

Output of emerge sys-libs/libstdc++-v3:

>>> Emerging (1 of 1) sys-libs/libstdc++-v3-3.3.4 to /
 * gcc-3.3.4.tar.bz2 MD5 ;-) ...                                                                                                                                                             [ ok ]
 * gcc-3.3.4.tar.bz2 RMD160 ;-) ...                                                                                                                                                          [ ok ]
 * gcc-3.3.4.tar.bz2 SHA1 ;-) ...                                                                                                                                                            [ ok ]
 * gcc-3.3.4.tar.bz2 SHA256 ;-) ...                                                                                                                                                          [ ok ]
 * gcc-3.3.4.tar.bz2 size ;-) ...                                                                                                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                       [ ok ]
 * checking gcc-3.3.4.tar.bz2 ;-) ...                                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking gcc-3.3.4.tar.bz2 to /var/tmp/portage/libstdc++-v3-3.3.4/work
 * Running elibtoolize in: gcc-3.3.4
 *   Applying portage-1.5.10.patch ...
 *   Applying relink-1.4.0a-GCC3.0-2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying tmp-1.3.5.patch ...
 *   Applying uclibc-ltconf-1.3.0.patch ...
 * Using GNU config files from /usr/share/libtool
 *   Updating config.sub                                                                                                                                                                     [ ok ]
 *   Updating boehm-gc/config.sub                                                                                                                                                            [ ok ]
 *   Updating gcc/config.guess                                                                                                                                                               [ ok ]
 *   Updating config.guess                                                                                                                                                                   [ ok ]
 *   Updating boehm-gc/config.guess                                                                                                                                                          [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4 ...
 * CFLAGS=" -O2 -march=pentium4"
 * CXXFLAGS=" -O2 -march=pentium4"
 * Configuring libstdc++...

!!! ERROR: sys-libs/libstdc++-v3-3.3.4 failed.
Call stack:
  , line 1546:   Called dyn_compile
  , line 937:   Called src_compile
  , line 225:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

I'm not sure why I'd want libstdc++-v3 with a gcc-4.1.1 environment, but it seems to be a dependancy of realplayer:

[nomerge      ] media-video/mplayer-1.0_pre8  USE="X aac alsa arts bindist cdparanoia directfb dts dv dvb dvd dvdread encode esd fbcon gif i8x0 jpeg live lzo mad matrox mmx musepack openal opengl oss png real rtc samba sdl speex sse sse2 svga tga theora truetype unicode v4l v4l2 vorbis win32codecs x264 xanim xinerama xmms xv xvid xvmc -3dfx -3dnow -3dnowext -aalib (-altivec) -bidi -bl -cpudetection -custom-cflags -debug -dga -doc -ggi -gtk -ipv6 -jack -joystick -libcaca -lirc -livecd -mmxext -nas -nvidia"
[nomerge      ]  media-video/realplayer-10.0.7  USE="-nsplugin"
[nomerge      ]   virtual/libstdc++-3.3
[ebuild  N    ]    sys-libs/libstdc++-v3-3.3.4  USE="nls nptl -build (-multilib)" 0 kB

For your information, the output of emerge --info is:

Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 19 Sep 2006 16:30:08 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
LINGUAS="nl en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl alsa amuled arts berkdb bitmap-fonts bzip2 cli crypt css cups curl dri dts dv dvb dvd dvdread elibc_glibc encode esd fbcon ffmpeg flac font-server fortran gdbm gif gpm gstreamer i8x0 imlib input_devices_keyboard input_devices_mouse isdnlog ithreads java jpeg kde kdeenablefinal kdehiddenvisibility kerberos kernel_linux libg++ linguas_en_US linguas_nl live lm_sensors logitech-mouse lzo mad matroska matrox mikmod mmx mp3 mp4 mpeg msn ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime rdesktop readline reflection remote samba scanner sdl session sndfile spell spl sse sse2 ssl svga tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 v4l v4l2 video_cards_mga vorbis win32codecs x264 xanim xinerama xml xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Kind regards,

Erik Logtenberg.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-20 02:47:15 UTC

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