Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121848 - libstdc++-v3-3.3.6 does not compile on amd64
Summary: libstdc++-v3-3.3.6 does not compile on amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-06 09:48 UTC by Jan Seeger
Modified: 2007-01-14 04:18 UTC (History)
2 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 Jan Seeger 2006-02-06 09:48:56 UTC
When trying to emerge libstdc++, the compile fails with the following messages:

make[3]: Entering directory `/var/tmp/portage/libstdc++-v3-3.3.4/work/build/gcc'
/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/unwind-dw2.c: In function `uw_frame_state_for':
/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/unwind-dw2.c:945: error: structure has no member named `esp'
/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/unwind-dw2.c:945: error: structure has no member named `eax'
/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/unwind-dw2.c:945: error: structure has no member named `ebx'
/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/unwind-dw2.c:945: error: structure has no member named `ecx'
/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/unwind-dw2.c:945: error: structure has no member named `edx'
/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/unwind-dw2.c:945: error: structure has no member named `esi'
/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/unwind-dw2.c:945: error: structure has no member named `edi'
/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/unwind-dw2.c:945: error: structure has no member named `ebp'
/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/unwind-dw2.c:945: error: structure has no member named `eip'


My emerge configuration: 
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa amuled arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd dvdread eds emboss encode esd examples exif expat fam fat ffmpeg flac foomaticdb fortran gif gimpprint glut glx gpm gstreamer gvim hal icq idn imagemagick imap imlib ipv6 jabber java jpeg kde kdeenablefinal lcms lua lzw lzw-tiff mad mime mp3 mpeg msn ncurses nls nptl nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pdflib perl png posix ppds python qt quicktime readline recode sdl sockets spell ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev usb userlocales verbose vorbis wifi xine xinerama xml2 xpm xprint xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2006-02-06 11:10:15 UTC
try 3.3.6
Comment 2 Jan Seeger 2006-02-06 12:21:47 UTC

(In reply to comment #1)
> try 3.3.6
> 

it fails with exactly the same error
Comment 3 Frederik 'Freso' S. Olesen 2006-05-18 04:31:08 UTC
What is the status of this? It's not compiling for me either (not with 3.3.4, not with 3.3.6), although I'm getting a different error (from what I can tell - it's also apparently not always the same error (at least with 3.3.4, haven't tried too many times with 3.3.6)):

[...]
/bin/sh /var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/move-if-change tmp-attrtab.c insn-attrtab.c
mv: kan ikke udf
Comment 4 Frederik 'Freso' S. Olesen 2006-05-18 04:31:08 UTC
What is the status of this? It's not compiling for me either (not with 3.3.4, not with 3.3.6), although I'm getting a different error (from what I can tell - it's also apparently not always the same error (at least with 3.3.4, haven't tried too many times with 3.3.6)):

[...]
/bin/sh /var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/move-if-change tmp-attrtab.c insn-attrtab.c
mv: kan ikke udføre stat() 'tmp-attrtab.c': Ingen sådan fil eller filkatalog
make[3]: *** [s-attrtab] Fejl 1
make[3]: Leaving directory `/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc'
make[2]: *** [32/crtbegin.o] Fejl 2
In file included from insn-attrtab.c:6:
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/rtl.h:132: advarsel: type of bit-field `code' is a GCC extension
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/rtl.h:135: advarsel: type of bit-field `mode' is a GCC extension
In file included from insn-attrtab.c:9:
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/recog.h:227: advarsel: type of bit-field `mode' is a GCC extension
In file included from insn-attrtab.c:11:
/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/real.h:45: advarsel: type of bit-field `class' is a GCC extension
rm -rf libbackend.a
ar rc libbackend.a alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgrtl.o combine.o conflict.o convert.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o doloop.o dominance.o dwarf2asm.o dwarf2out.o dwarfout.o emit-rtl.o except.o explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hashtable.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o  langhooks.o lcm.o lists.o local-alloc.o loop.o mbchar.o optabs.o params.o predict.o print-rtl.o print-tree.o profile.o ra.o ra-build.o ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o ssa.o ssa-ccp.o ssa-dce.o stmt.o stor-layout.o stringpool.o timevar.o toplev.o tracer.o tree.o tree-dump.o tree-inline.o unroll.o varasm.o varray.o version.o vmsdbgout.o xcoffout.o et-forest.o ggc-page.o i386.o
ranlib libbackend.a
gcc   -march=x86-64 -O2 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H  -o cc1 \
        c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a  main.o libbackend.a  ../libiberty/libiberty.a
/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc/xgcc -B/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I32 -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/32 -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/config -I/var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/../include -m32 -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer -fno-asynchronous-unwind-tables -fPIC \
   -c /var/tmp/portage/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/crtstuff.c -DCRT_END -DCRTSTUFFS_O \
  -o 32/crtendS.o
make[3]: Leaving directory `/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc'
make[2]: Leaving directory `/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc'
make[1]: *** [stmp-multilib] Fejl 2
make[1]: Leaving directory `/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc'
make: *** [all-gcc] Fejl 2

!!! ERROR: sys-libs/libstdc++-v3-3.3.6 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  libstdc++-v3-3.3.6.ebuild, line 233:   Called die

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

nayru ~ # emerge --info
Portage 2.1_rc1-r2 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r4, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla-firefox/defaults/pref /usr/lib64/mozilla-firefox/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.dkuug.dk/pub/gentoo/ ftp://rsync.gentoo.diku.dk/ http://mirrors.uni-c.dk/gentoo/"
LANG="da_DK.utf8"
LC_ALL="da_DK.UTF-8"
LINGUAS="da da-DK en-IE en-GB en ga"
MAKEOPTS="-j4"
PKGDIR="/usr/local/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.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache2 asf avi berkdb bitmap-fonts bluetooth bzip2 cdr cli crypt dbus directfb dlloader dri dvd dvdr dvdread eds emboss encode esd fbcon firefox flac fortran gif gnome gpm gstreamer gtk gtk2 gtkhtml hal hardened hardenedphp howl idn imlib ipv6 irda isdnlog jpeg libedit logrotate lzw lzw-tiff mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pam_console pcre pdflib perl pic png pnp pppd python quicktime readline reflection sdl session spell spl ssl svg tagwriting tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vim vorbis xml xml2 xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_ps2mouse kernel_linux linguas_da linguas_da-DK linguas_en-IE linguas_en-GB linguas_en linguas_ga userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

nayru ~ #
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2006-07-08 06:52:27 UTC
Can you try 3.3.6? Works fine on my amd64.

     Fri Jul  7 17:56:50 2006 >>> sys-libs/libstdc++-v3-3.3.6
Comment 6 Frederik 'Freso' S. Olesen 2006-07-09 05:06:11 UTC
Actually, 3.3.6 just compiled this morning. I've tried at least twice a week for quite some time now, this is the first it actually succeeded... I don't know whether the ebuild's changed or my system has... or both. Oh well, emerge --info below to show difference from former output, if anyone can spot a suspicious difference.

freso@nayru ~> emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r11 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
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.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla-firefox/defaults/pref /usr/lib64/mozilla-firefox/defaults/pref /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="ftp://ftp.dkuug.dk/pub/gentoo/ ftp://rsync.gentoo.diku.dk/ http://mirrors.uni-c.dk/gentoo/"
LANG="da_DK.UTF-8"
LC_ALL="da_DK.UTF-8"
LINGUAS="da da_DK da-DK en_IE en-IE en_GB en-GB en ga_IE ga-IE ga"
MAKEOPTS="-j4"
PKGDIR="/usr/local/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/overlays/default /usr/local/portage/layman/musicbrainz /usr/local/portage/layman/portage-xgl"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache2 asf avi berkdb bitmap-fonts bluetooth bzip2 cdr cli crypt dbus directfb dlloader dri dvd dvdr dvdread eds emboss encode esd fbcon firefox flac fortran gaim gif gnome gpm graphviz gstreamer gstreamer010 gtk gtk2 gtkhtml hal hardenedphp howl iconv idn imlib ipv6 irda isdnlog jpeg libedit libnotify logrotate lzw lzw-tiff mad mng mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl pam pam_console pcre pdflib perl png pnp pppd python qt3 qt4 quicktime readline recode reflection sdl session spell spl ssl svg tagwriting tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vim vorbis xml xml2 xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_ps2mouse kernel_linux linguas_da linguas_da_DK linguas_da-DK linguas_en_IE linguas_en-IE linguas_en_GB linguas_en-GB linguas_en linguas_ga_IE linguas_ga-IE linguas_ga userland_GNU video_cards_nvidia video_cards_nv video_cards_fbdev video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

freso@nayru ~>
Comment 7 Simon Stelling (RETIRED) gentoo-dev 2007-01-14 04:18:04 UTC
Since no developer was able to reproduce this it's pretty hard to fix the issue. The different error messages make me think that your memory might be corrupted, and there is nothing we could do about this, so I'm closing it. *shrug*