Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83047 - binutils 2.15.92.0.2-r3 patchversion 1.4 makes 'as' segfault
Summary: binutils 2.15.92.0.2-r3 patchversion 1.4 makes 'as' segfault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 82819 83037 83066 83067 83076 83166 83215 83265 83387 85644 85835 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-23 03:06 UTC by Andreas Vinsander
Modified: 2005-09-19 20:09 UTC (History)
19 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 Andreas Vinsander 2005-02-23 03:06:29 UTC
See discussion in this thread at the forums: http://forums.gentoo.org/viewtopic-t-299358.html

I think that patchversion 1.4 is broken for binutils-2.15.92.0.2-r3.

Reproducible: Always
Steps to Reproduce:
1. emerge =sys-devel/binutils-2.15.92.0.2-r3
2. try to compile anything else

Actual Results:  
gcc fails with
"Segmentation fault (program as)"


Expected Results:  
Finish compilation successfully

Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3,
glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4
(#1, Feb  7 2005, 19:27:48)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/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="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo
ftp://trumpetti.atm.tut.fi/gentoo http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts crypt cscope cups
curlemacs emboss encode f77 fam flac foomaticdb fortran gdbm gif gimpprint
gphoto2 gpm guile imagemagick imap imlib java jpeg kde ldap libg++ libwww mad
mailwrapper mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pda
pdflib perl pngpython qt quicktime readline samba scanner sdl slang speex spell
sse ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb wmf
xml2 xmms xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Miroslav Šulc gentoo-dev 2005-02-23 06:52:52 UTC
I can confirm that as causes segfault:
i686-pc-linux-gnu-gcc: Internal error: Neopr
Comment 2 Miroslav Šulc gentoo-dev 2005-02-23 06:52:52 UTC
I can confirm that as causes segfault:
i686-pc-linux-gnu-gcc: Internal error: Neoprávněný přístup do paměti (SIGSEGV) (program as)
Comment 3 Mystilleef 2005-02-23 06:53:16 UTC
For others having this problem, there may be a temporary fix for this problem. Point your browser to the link below. Good luck.

http://forums.gentoo.org/viewtopic-t-299358-postdays-0-postorder-asc-start-0.html
Comment 4 Robert Muchacki (RETIRED) gentoo-dev 2005-02-23 07:42:14 UTC
The same here (BUG #83037)
Comment 5 Hans-Werner Hilse 2005-02-23 07:44:19 UTC
Confirmed here, too.
It's most probably this patch in patchset-1.4:
53_all_gcc4-lovin.patch.bz2

Short summary of circumventing the problem (from forums):
#1 emerge a binary package (.tbz2) of an earlier version of binutils (e.g. -r1), if you didn't make yourself ones of previous versions, see the forum thread.
#2 mask -r3 in /etc/portage/package.mask
#3 (suggested) reemerge binutils
#4 monitor this bug and remove mask from #2 if it is fixed.
Comment 6 Robert Muchacki (RETIRED) gentoo-dev 2005-02-23 08:04:20 UTC
re-emerging binutils isn't possible. You can't compile anything - you need a binary package of working binutils.
Comment 7 Torsten Kurbad 2005-02-23 08:32:19 UTC
Same here
Comment 8 Luca Barbato gentoo-dev 2005-02-23 09:05:18 UTC
*** Bug 83076 has been marked as a duplicate of this bug. ***
Comment 9 Tuan Van (RETIRED) gentoo-dev 2005-02-23 09:10:05 UTC
*** Bug 83067 has been marked as a duplicate of this bug. ***
Comment 10 Brendan Rankin 2005-02-23 11:14:52 UTC
Apparently, very little testing was done.  My laptop toolchain is dead in the water.  Anyone have any links to a current bintutils binary package?

Preferably, generated by the _dev_ who caused the bug!!!  :-)  Whatever regressions you're running need to be updated!

Cheers,

- Brendan
Comment 11 Jon Portnoy (RETIRED) gentoo-dev 2005-02-23 11:22:52 UTC
Binary tbz2 of binutils: http://dev.gentoo.org/~avenj/bins

Not familiar enough with the bug to fix it. Elevating to blocker.
Comment 12 Karol Wojtaszek (RETIRED) gentoo-dev 2005-02-23 11:28:54 UTC
*** Bug 83037 has been marked as a duplicate of this bug. ***
Comment 13 Andrew Gaydenko 2005-02-23 12:03:13 UTC
The same.
Comment 14 Jon Portnoy (RETIRED) gentoo-dev 2005-02-23 12:26:29 UTC
Reverted 2.15.92.0.2-r3's PATCHVER to 1.3 for now
Comment 15 Tuan Van (RETIRED) gentoo-dev 2005-02-23 12:26:43 UTC
*** Bug 83066 has been marked as a duplicate of this bug. ***
Comment 16 SpanKY gentoo-dev 2005-02-23 14:53:25 UTC
*** Bug 82819 has been marked as a duplicate of this bug. ***
Comment 17 Marius Mauch (RETIRED) gentoo-dev 2005-02-23 15:42:59 UTC
not restricted to x86, broke my amd64 too.
Comment 18 SpanKY gentoo-dev 2005-02-23 16:49:37 UTC
added 2.15.92.0.2-r4 with an updated gcc4 patch

for people who need to recover, i've posted x86/amd64 binary packages here:
http://dev.gentoo.org/~vapier/dist/amd64-binutils-2.15.92.0.2-r4.tbz2
http://dev.gentoo.org/~vapier/dist/x86-binutils-2.15.92.0.2-r4.tbz2
Comment 19 Craig Duquette 2005-02-24 00:22:21 UTC
emerging -r4 breaks my system yet again, and I get this error while configuring.. -r1 works with no problems at all.

configure: error: installation or configuration problem: C compiler cannot create executables

ldconfig segfaults, here's the config for that:
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/lib/opengl/nvidia/lib
/lib
/usr/lib
/usr/local/lib
/usr/lib/gcc/i686-pc-linux-gnu/4.0.0
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3
/usr/lib/mozilla
/usr/lib
/opt/sun-jdk-1.4.2.07/jre/lib
/usr/lib/nspr
/usr/lib/nss
/usr/games/lib
/usr/lib/libstdc++-v3/ 

Here's my emerge --info:
Portage 2.0.51-r15 (default-linux/x86/2004.2/gcc34/2.6, gcc-4.0.0, glibc-2.3.4.2
0050125-r0, 2.6.10-nitro4 i686)
=================================================================
System uname: 2.6.10-nitro4 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 16:39:51)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -ftracer -pipe -fomit-frame-pointer -mfpmath=sse -ff
ast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -ftracer -pipe -fomit-frame-pointer -mfpmath=sse -
ffast-math -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa apm avi berkdb bitmap-fonts cdr cups curl dvd emboss e
ncode esd f77 fam flac font-server foomaticdb fortran gdbm gif glx gnome gpm gst
reamer gtk gtk2 imlib java jpeg junit libg++ libwww mad mikmod motif mozilla moz
nocompose moznoirc moznomail mpeg ncurses network nls no_wxgtk1 nptl oggvorbis o
pengl pam pdflib perl png ppds python quicktime readline samba sdl slang spell s
se ssl tcpd tiff truetype truetype-fonts type1-fonts xml2 xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 20 SpanKY gentoo-dev 2005-02-24 11:37:58 UTC
your gcc-4 bug is unrelated, search bugzilla for the ldconfig segfault
Comment 21 SpanKY gentoo-dev 2005-02-24 11:38:21 UTC
*** Bug 83215 has been marked as a duplicate of this bug. ***
Comment 22 David Röhr 2005-02-25 01:00:54 UTC
*** Bug 83265 has been marked as a duplicate of this bug. ***
Comment 23 Christoph Peltz 2005-02-25 07:04:16 UTC
Same Problem like #18

Here my emerge --info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 15:45:41)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.0.2/gentoo-portage"
USE="x86 3dnow 3dnowex X aac aalib acpi alsa apache2 apm audiofile avi bitmap-fonts blender-game bzlib ccache cdparanoia cdr cdrom crypt curl dedicated dga directfb divx4linux doc dvd dvdr dvdread emboss encode escreen ethereal etwin evo f77 fbcon font-server fortran ftp gcj gd gdbm gif glut gnome gpm gtk gtk2 image imagemagick imlib java jpeg libg++ libwww live lm_sensors mad makecheck matroska mikmod mime mixer mmx mng motif moznocompose moznoirc moznomail mozsvg mpeg mplayer nas ncurses network nls nocd noplugin ntlm objc offensive ogg oggvorbis openal opengl pam pdflib perl physfs png posix python quicktime readline real recode rtc ruby samba sdk sdl shared silverxp slang sndfile sockets speex spell ssl svg svga tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb videos wmf wxwindows xanim xchatdccserver xchattext xinerama xml2 xmms xosd xpm xv xvid xvmc yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 24 Petre Mitrache 2005-02-26 05:59:31 UTC
*** Bug 83166 has been marked as a duplicate of this bug. ***
Comment 25 Robert Muchacki (RETIRED) gentoo-dev 2005-02-28 01:32:38 UTC
After upgrading to binutils-2.15.92.0.2-r4, i get this message:

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-static-libpam --enable-fakeroot=/var/tmp/portage/pam-0.78/image/ --libdir=/lib --enable-isadir=../../lib/security
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Comment 26 Robert Muchacki (RETIRED) gentoo-dev 2005-02-28 01:42:28 UTC
After geting back to binutils 2.15.90.0.2-r1 - everything is ok again...
Comment 27 SpanKY gentoo-dev 2005-03-01 14:29:19 UTC
*** Bug 83387 has been marked as a duplicate of this bug. ***
Comment 28 Jon Mason 2005-03-03 12:38:04 UTC
sys-devel/binutils-2.15.92.0.2-r4 is broken on amd64.  
Comment 29 David Hipple 2005-03-05 07:47:48 UTC
I am having Problem installing the binary Packages. I can old my own with linux but I am in no way an expert. I have download the http://dev.gentoo.org/~vapier/dist/x86-binutils-2.15.92.0.2-r4.tbz2 file and I have put it in /usr/portage/packages/All. From there I "emerge -K x86-binutils-2.15.92.0.2-r4.tbz2" and the output is:


Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/x86-binutils-2.15.92.0.2-r4 to /
>>> extracting info
!!! doebuild: /var/tmp/portage-pkg//x86-binutils-2.15.92.0.2-r4/inf/x86-binutils-2.15.92.0.2-r4.ebuild not found for setup
>>> extracting x86-binutils-2.15.92.0.2-r4
>>> Merging sys-devel/x86-binutils-2.15.92.0.2-r4 to /
!!! doebuild: /var/tmp/portage-pkg//x86-binutils-2.15.92.0.2-r4/inf/x86-binutils-2.15.92.0.2-r4.ebuild not found for preinst
!!! FAILED preinst: 1 

My "emerge --info":

Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-ck5 i686)
=================================================================
System uname: 2.6.10-ck5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 21 2005, 23:16:51)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/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="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca// http://gentoo.mirrored.ca// ftp://gentoo.mirrored.ca/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="x86 S3TC X Xaw3d aalib acpi alsa apm audiofile avi berkdb bitmap-fonts cdparanoia cdr codecs cpdflib crypt cups curl curlwrappers dga divx4linux dri dv dvd dvdread emboss encode escreen esd f77 faac faad fam fbcon fbdev ffmpeg fla flac font-server foomaticdb fortran gcj gdbm gif gimp gimpprint ginac gphoto2 gtk gtk2 idea imagemagick imlib ipv6 java jikes jit jpeg jpeg2k junit kde lesstif libg++ libwww live lzo lzw lzw-tiff mad mime ming mmap mmx mmx2 mng motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mpeg ncurses network nls no_wxgtk1 noreiserfs nowin nptl nptlonly oggvorbis ooo-kde opengl oss pam pdf pdflib perl pic plotutils png ppds python qhull qt quicktime readline rtc samba sdl serial slang smime sndfile speex spell sse sse2 ssl svg svga tcltk tcpd tga theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales uudeview v4l v4l2 wmf wsconvert xanim xine xinerama xml xml2 xmms xosd xpm xscreensaver xv xvid xvmc yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Thanks to anyone that can help me
Comment 30 Jon Mason 2005-03-09 10:31:54 UTC
sys-devel/binutils-2.15.92.0.2-r5 is broken on amd64.  

Can someone please re-open this bug?
Comment 31 Karol Wojtaszek (RETIRED) gentoo-dev 2005-03-09 11:18:58 UTC
Reopened on jon's request
Comment 32 SpanKY gentoo-dev 2005-03-09 17:23:52 UTC
you cant just say 'its broken'

-r[45] both work fine on my amd64/x86
Comment 33 Christoph Peltz 2005-03-09 21:09:55 UTC
After emerging binutils 2.15.92.0.2-r5 I get the "C Compiler cannot create executables" error.

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 15:45:41)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.0.2/gentoo-portage"
USE="x86 3dnow 3dnowex X aac aalib acpi alsa apache2 apm audiofile avi bitmap-fonts blender-game bzlib ccache cdparanoia cdr cdrom crypt curl dedicated dga directfb divx4linux doc dvd dvdr dvdread emboss encode escreen ethereal etwin evo fbcon font-server fortran ftp gcj gd gdbm gif glut gnome gpm gtk gtk2 image imagemagick imlib java jpeg libg++ libwww live lm_sensors mad makecheck matroska mikmod mime mixer mmx mng motif moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer nas ncurses network nls nocd noplugin ntlm objc offensive ogg oggvorbis openal opengl pam pdflib perl physfs png posix python quicktime readline real recode rtc ruby samba sdk sdl shared silverxp slang sndfile sockets speex spell ssl svg svga tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb videos wmf wxwindows xanim xchatdccserver xchattext xinerama xml2 xmms xosd xpm xv xvid xvmc yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 34 SpanKY gentoo-dev 2005-03-09 21:11:26 UTC
that is not an error, you have to post the config.log to figure out what the real problem is
Comment 35 Craig Duquette 2005-03-09 22:06:19 UTC
I looked at the config.log for emerges after the binutils-r4+r5 update and found that each spit out this error.
i686-pc-linux-gnu-gcc: installation problem, cannot exec `as': No such file or directory

The fix is to run: 'binutils-config i686-pc-linux-gnu-2.15.92.0.2' as root. Could this possibly be added to the ebuild? Many people are reporting this error in the forums.
Comment 36 SpanKY gentoo-dev 2005-03-09 22:08:03 UTC
that sounds like a bug in the toolchain-binutils.eclass logic that az just found/fixed for me yesterday
Comment 37 Jon Mason 2005-03-10 08:59:41 UTC
Per comment 34, I emerged binutils-2.15.92.0.2-r5 and ran "binutils-config x86_64-pc-linux-gnu-2.15.92.0.2".  This appears to have fixed the problem I was seeing (and is much better than re-installing binutils via a binary tarball).  Thanks so much.
Comment 38 David Hipple 2005-03-10 15:12:26 UTC
Tried to install binutils-2.15.92.0.2-r5.ebuild and got this output. 

make: Entering directory `/var/tmp/portage/binutils-2.15.92.0.2-r5/work/build/bfd'
(cd doc; make protos )
make[1]: Entering directory `/var/tmp/portage/binutils-2.15.92.0.2-r5/work/build/bfd/doc'
gcc -c -I.. -I/var/tmp/portage/binutils-2.15.92.0.2-r5/work/binutils-2.15.92.0.2/bfd/doc/.. -I/var/tmp/portage/binutils-2.15.92.0.2-r5/work/binutils-2.15.92.0.2/bfd/doc/../../include -I/var/tmp/portage/binutils-2.15.92.0.2-r5/work/binutils-2.15.92.0.2/bfd/doc/../../intl -I../../intl  -O2 -march=pentium4 -pipe  /var/tmp/portage/binutils-2.15.92.0.2-r5/work/binutils-2.15.92.0.2/bfd/doc/chew.c
distcc[20244] ERROR: compile /root/.ccache/chew.tmp.fadal.20240.i on localhost failed
gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [chew.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r5/work/build/bfd/doc'
make: *** [headers] Error 2
make: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2-r5/work/build/bfd'

I did ran 'binutils-config i686-pc-linux-gnu-2.15.92.0.2' first. my 
emerge info is in comment 28.
I have not been able to update for a long time...... I am hoping to install new KDE when it is released!!
 thanks to anyone that helps
Comment 39 David Hipple 2005-03-11 09:17:22 UTC
Everything is good now. Got it all to work using comment 10 and the readme file.
Comment 40 Rick Knowles 2005-03-12 04:32:08 UTC
I've encountered this problem on a Gentoo system with a VIA Eden/C3 based chip, and so am unable to use i686 compiled binaries (the missing CMOV instruction thing). I need something i586 or lower - I actually tried the 686 ones but they segfaulted as usual.

Does anyone know where I can get a binary binutils package for i586 or lower ? I'd really appreciate it if someone knows. Thanks.

Comment 41 SpanKY gentoo-dev 2005-03-12 11:22:07 UTC
http://dev.gentoo.org/~avenj/bins/
Comment 42 Rick Knowles 2005-03-12 17:43:55 UTC
There are only 2 packages in the i586 folder on the link you said (which, coincidentally, I had already checked). One is glibc and the other is python.

The i686 version that I tried (and that segfaulted) came from that site, so I know it doesn't work.

Please - can anyone put an i586 version in there ? Thanks.
Comment 43 Rick Knowles 2005-03-17 05:50:24 UTC
Please ! Can someone put a 586 binary package in the i586 folder of the ~avenj/bins site ? I'm still hanging ... 
Comment 44 Sven Wegener gentoo-dev 2005-03-17 07:50:52 UTC
*** Bug 85644 has been marked as a duplicate of this bug. ***
Comment 45 Martin Schlemmer (RETIRED) gentoo-dev 2005-03-17 12:39:49 UTC
Here is one:

  http://dev.gentoo.org/~azarah/bins/i586/binutils-2.15.92.0.2-r1.tbz2
Comment 46 Rick Knowles 2005-03-17 19:45:35 UTC
Thanks so much - I managed to cobble together enough of a config to recover, between the binary package you sent and the ~avenj ones. It seemed the i586 package didn't set up the /etc/env.d/binutils folder the same way the ~avenj ones did, so I updated these manually and built the directories where they were missing.

Emerging remaining packages now, and no failures yet. Thanks again for your help.
Comment 47 SpanKY gentoo-dev 2005-03-22 08:26:42 UTC
*** Bug 85835 has been marked as a duplicate of this bug. ***
Comment 48 Andreas Vinsander 2005-09-19 01:44:41 UTC
This bug is marked 'RESOLVED NEEDINFO', since I originally reported this I'm
just wondering if you need any more info from me to close the bug
Comment 49 SpanKY gentoo-dev 2005-09-19 20:09:32 UTC
prob not
Comment 50 SpanKY gentoo-dev 2005-09-19 20:09:46 UTC
should be all set