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

Bug 141652

Summary: gcc 4.x.x does not compile
Product: Gentoo Linux Reporter: disperato <schwarzmann>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description disperato 2006-07-24 19:19:18 UTC
Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-nvidia-r7 x86_64)
=================================================================
System uname: 2.6.12-nvidia-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.4-r1, 2.4.1-r1
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.4
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/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/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/sync/tmp/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
MAKEOPTS="-j2"
PKGDIR="/sync/tmp/packages"
PORTAGE_TMPDIR="/sync/tmp"
PORTDIR="/sync/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acl acpi apache2 apm arts audiofile avi bash-completion bcmath berkdb bindist bitmap-fonts blas bonobo bzip2 caps cdparanoia cdr cli clibpdf crypt cscope ctype cups curl dbx diet dillo dio directfb divx4linux dlloader doc dri dv dvb dvd dvdr dvdread eds emboss emul-linux-86 encode esd examples exif expat fam fbcon ffmpeg fftw flac flash foomaticdb fortran gd gdbm ggi gif ginac glut gmp gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hardened hardenedphp hyperwave-api iconv idn ieee1394 imagemagick imlib inifile innodb ipv6 isdnlog jabber java javascript jikes jpeg junit ladcca lcms ldap libcaca libwww lm_sensors lzw lzw-tiff m17n-lib mad mhash mikmod mime ming mng motif mozilla mp3 mpeg mpi mplayer msession mysql mysqli nas ncurses nls nptl odbc ofx ogg openal openal-opengl opengl osc oss pam pcmcia pcntl pcre pdflib perl php plotutils png portaudio ppds pppd prelude profile python qdbm qt qt3 qt4 quicktime radius readline recode reflection ruby samba sapdb scanner sdl session sharedext shorten simplexml slang slp sndfile speex spell spl sqlite ssl svg szip tcl tcltk tcp tcpd test tetex theora threads tidy tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd videos vorbis wddx wifi wmf xine xinerama xml xml2 xmlrpc xmms xorg xosd xpm xsl xv xvid zlib input_devices_keyboard input_devices_mouse input_devices_evdev userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 disperato 2006-07-24 19:20:08 UTC
d-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc -I/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/. -I/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/../include -I/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/../libcpp/include  -m32 -fexceptions -fvisibility=hidden -DHIDE_EXPORTS -c /sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/unwind-dw2.c -o libgcc/32/unwind-dw2.o
In file included from /sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/unwind-dw2.c:257:
/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/config/i386/linux-unwind.h: In function 'x86_fallback_frame_state':
/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/config/i386/linux-unwind.h:152: error: 'struct sigcontext' has no member named 'esp'
/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/config/i386/linux-unwind.h:159: error: 'struct sigcontext' has no member named 'eax'
/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/config/i386/linux-unwind.h:161: error: 'struct sigcontext' has no member named 'ebx'
/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/config/i386/linux-unwind.h:163: error: 'struct sigcontext' has no member named 'ecx'
/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/config/i386/linux-unwind.h:165: error: 'struct sigcontext' has no member named 'edx'
/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/config/i386/linux-unwind.h:167: error: 'struct sigcontext' has no member named 'esi'
/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/config/i386/linux-unwind.h:169: error: 'struct sigcontext' has no member named 'edi'
/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/config/i386/linux-unwind.h:171: error: 'struct sigcontext' has no member named 'ebp'
/sync/tmp/portage/gcc-4.1.0-r1/work/gcc-4.1.0/gcc/config/i386/linux-unwind.h:173: error: 'struct sigcontext' has no member named 'eip'
make[3]: *** [libgcc/32/unwind-dw2.o] Error 1
make[3]: Leaving directory `/sync/tmp/portage/gcc-4.1.0-r1/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/sync/tmp/portage/gcc-4.1.0-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/sync/tmp/portage/gcc-4.1.0-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.1.0-r1 failed.
!!! Function gcc_do_make, Line 1349, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
Comment 2 SpanKY gentoo-dev 2006-07-30 11:03:56 UTC
dont know why you're trying 4.1.0

sync up and try latest 4.1.1 ebuild

run `emerge gcc >& log` and post the log as an attachment