Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
binutils upgrade (to 2.15.92.0.2-r3) causes gcc to segfault
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
scelop
n00b
n00b


Joined: 23 Feb 2005
Posts: 1

PostPosted: Wed Feb 23, 2005 8:33 pm    Post subject: it worked Reply with quote

Thanks! zaanpenguin for saving my ass! :D
Back to top
View user's profile Send private message
kinkos
Apprentice
Apprentice


Joined: 07 Feb 2005
Posts: 235
Location: Hoboken, NJ

PostPosted: Wed Feb 23, 2005 8:40 pm    Post subject: borked my toolkit Reply with quote

Here's what i get for not reading all posts before trying to repair :-/

So i read the post about unmerging binutils first, kinda makes sense even though i read later that emerge -k will unmerge it. I do that, go on to find out i should unmerge gcc as well, neglect to read the next post saying NOT to do this, and before i know it, i have no gcc, and no binutils, and no amd64 version of either. Obviously i'm going to need the liveCD to repair this. To recap:

Code:

emerge unmerge binutils
emerge unmerge gcc

... leaving me with no toolkit to compile anything with. Once i get out of work, i'm going to use the LiveCD and chroot and try to emerge binutils and gcc (with the newest binutils masked). Could someone point out the obvious reason why this won't work?
[/clutz]
Back to top
View user's profile Send private message
zaanpenguin
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 203

PostPosted: Wed Feb 23, 2005 8:43 pm    Post subject: Re: borked my toolkit Reply with quote

kinkos wrote:
Here's what i get for not reading all posts before trying to repair :-/

So i read the post about unmerging binutils first, kinda makes sense even though i read later that emerge -k will unmerge it. I do that, go on to find out i should unmerge gcc as well, neglect to read the next post saying NOT to do this, and before i know it, i have no gcc, and no binutils, and no amd64 version of either. Obviously i'm going to need the liveCD to repair this. To recap:

Code:

emerge unmerge binutils
emerge unmerge gcc

... leaving me with no toolkit to compile anything with. Once i get out of work, i'm going to use the LiveCD and chroot and try to emerge binutils and gcc (with the newest binutils masked). Could someone point out the obvious reason why this won't work?
[/clutz]


It goes wrong because you've unmerged stuff you shouldn't have unmerged. Now you need to grab a binary image of binutils *AND* gcc to fix this.

But, there is good news, at the same FTP-site I mentioned earlier, we're also providing binaries for GCC!
_________________
Staying crunchy even in milk!
Back to top
View user's profile Send private message
kinkos
Apprentice
Apprentice


Joined: 07 Feb 2005
Posts: 235
Location: Hoboken, NJ

PostPosted: Wed Feb 23, 2005 10:36 pm    Post subject: Reply with quote

zaanpenguin, i want to have your babies =D. You rock man.

~Kinkos
Back to top
View user's profile Send private message
zaanpenguin
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 203

PostPosted: Wed Feb 23, 2005 10:38 pm    Post subject: Reply with quote

Thanks. Now that I had some more time, I will also provide official quickpkg'd versions of binutils for P4 and Athlon ASAP. (Done... See original post)
_________________
Staying crunchy even in milk!
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Wed Feb 23, 2005 11:15 pm    Post subject: Reply with quote

zaanpenguin wrote:
I will also provide official quickpkg'd versions of binutils for P4 and Athlon ASAP.

Why don't you go the whole hog and simply mirror everything in http://dev.gentoo.org/~avenj/bins/ ?

I have read in the topic of #gentoo-dev that dev.gentoo.org is going for downtime on 26th Feb, so you could relieve the load on their site a little by doing so. ;-)

Mirroring everything would also help those who have to re-install the acl and attr packages - another well-known problem.
Back to top
View user's profile Send private message
Kirth
n00b
n00b


Joined: 21 May 2004
Posts: 6

PostPosted: Thu Feb 24, 2005 12:11 am    Post subject: Reply with quote

And so I have mirrored http://dev.gentoo.org/~avenj/bins/

Again located at:

ftp://ftp.ruled.org/pub/Gentoo/

:)
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Thu Feb 24, 2005 12:22 am    Post subject: Reply with quote

Kirth wrote:
And so I have mirrored http://dev.gentoo.org/~avenj/bins/

Again located at:

ftp://ftp.ruled.org/pub/Gentoo/

:)

Hey thanks!

Also, do hang out at #gentoo on FreeNode more often. :P
Back to top
View user's profile Send private message
Jmax1632
n00b
n00b


Joined: 24 Feb 2005
Posts: 7

PostPosted: Thu Feb 24, 2005 12:49 am    Post subject: Reply with quote

I have tried the fix at ftp://ftp.ruled.org/pub/Gentoo/, and at http://dev.gentoo.org/~avenj/bins/. Nothing works. Please address this issue immediately. Also, if this is any help, i "recieved" this bug shortly after the original poster-- making me one of the first "infected".
EDIT: CLARIFICATION:
It doesn't work in the manner that i get the same error.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Thu Feb 24, 2005 1:31 am    Post subject: BUG FIXED? Reply with quote

Just checked with the bug report, and it seems that a new patch to fix the bug is available, along with new, official binaries, which are version bumped to 2.15.92.0.2-r4. Refer to comment 17

For quick download, here is the official -r4 binutils binary for: AMD64 , and x86.

Please download and install these new binaries instead of the ones mentioned earlier in this topic, and voice back to the bug report if there are any glitches remaining.
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Thu Feb 24, 2005 3:34 am    Post subject: Reply with quote

Well, that got me out of a jam. Untar the x86 file, emerge sync, emerge binutils and bob's your uncle!
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
n3x
Apprentice
Apprentice


Joined: 14 Apr 2003
Posts: 247
Location: Kingston, Ontario (uni) Westport, CT (home)

PostPosted: Thu Feb 24, 2005 4:03 am    Post subject: Reply with quote

charlieg:

...and fanny's your aunt!
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Thu Feb 24, 2005 4:28 am    Post subject: Reply with quote

What's with all the arguing about fixing broken packages with binaries? You dump the tbz2 file into your PKGDIR which is /usr/portage/packages/All on most systems and you emerge with the -k option. Nothing special.

Whatever this bug is didn't affect my system either, current ~x86, I just emerged world and got the -r4 plus some other updates without any issues. Does anyone know what the trigger is/was that caused the trouble?
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Thu Feb 24, 2005 4:43 am    Post subject: Reply with quote

firephoto wrote:
Whatever this bug is didn't affect my system either, current ~x86, I just emerged world and got the -r4 plus some other updates without any issues. Does anyone know what the trigger is/was that caused the trouble?

Apparently the devs bumped the PATCHLEVEL in the ebuild from 1.3 to 1.4 without bumping the release version of the ebuild itself, which caused a new and broken set of patches to be applied. (Source, also read the bug report.)

[pet theory]
You and I are not affected because the version number of binutils itself stayed at -r3.
[/pet theory]
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Thu Feb 24, 2005 4:50 am    Post subject: Reply with quote

Makes sense, emerge early and emerge often but sometimes you get lucky. ;)
Code:

 * sys-devel/binutils
     Sun Feb 20 15:45:54 2005 >>> sys-devel/binutils-2.15.92.0.2-r3
     Wed Feb 23 20:15:45 2005 >>> sys-devel/binutils-2.15.92.0.2-r4
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Thu Feb 24, 2005 7:35 am    Post subject: Reply with quote

After emerging -r4 I'm getting this error:

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

also ldconfig seg. faults. Here's my ld.so.conf and my cflags..

Code:
# 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/


Code:
CFLAGS="-march=pentium4 -O2 -ftracer -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math"

Things were working fine up until -r3. Also -r1 seems to work fine..

Update: The binary package for -r4 doesn't seem to be extracting all the way for me. I'm going to use the -r1, then emerge r1, then go to -r4... I'll tell you how it goes when it's done.

Update #2: -r1 compiles things fine, -r4 spits out that message... any ideas?
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
cybertron
n00b
n00b


Joined: 30 Jan 2004
Posts: 65
Location: Sweden

PostPosted: Thu Feb 24, 2005 9:41 am    Post subject: Reply with quote

just wanted to say that binutils ...r4 doesn't work for me :( same problem as with r3....*thank god for all ofyou who created binaries for us lesser beings :)
_________________
Gentoo using ~x86 branch
computer: Dell Inspiron 8500
everything working except standby/suspend
for newbie configs for gentoo/slackware: http://www.linuxportalen.info
Back to top
View user's profile Send private message
zaanpenguin
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 203

PostPosted: Thu Feb 24, 2005 9:48 am    Post subject: Reply with quote

cybertron wrote:
just wanted to say that binutils ...r4 doesn't work for me :( same problem as with r3....*thank god for all ofyou who created binaries for us lesser beings :)


I can confirm this. Binutils -r4 will *fail* its test. Careful when installing/using it folks.
_________________
Staying crunchy even in milk!
Back to top
View user's profile Send private message
Kirth
n00b
n00b


Joined: 21 May 2004
Posts: 6

PostPosted: Thu Feb 24, 2005 9:50 am    Post subject: Reply with quote

r4 is here yes, and is on the site too.

however, it fails it's own tests and breaks more people systems.

to be safe I'd stick to r1 or 2 which work (tm).

I've only included them becuase people will always want the latest, greatest stuff ;)
Back to top
View user's profile Send private message
firex
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2004
Posts: 145
Location: Hamburg

PostPosted: Thu Feb 24, 2005 10:15 am    Post subject: Reply with quote

solution with tar && emerge r1 works for me.

i don't see what is in newer version better.

i stay using r1
Back to top
View user's profile Send private message
cybertron
n00b
n00b


Joined: 30 Jan 2004
Posts: 65
Location: Sweden

PostPosted: Thu Feb 24, 2005 10:42 am    Post subject: Reply with quote

the big problem is that (if not careful) you do an emerge -uD world and bang everything dies directly!!

I can accept the problem happening with one release,...but TWO?


yeah yeah....that is the price for running ~x86 isn't it ?
_________________
Gentoo using ~x86 branch
computer: Dell Inspiron 8500
everything working except standby/suspend
for newbie configs for gentoo/slackware: http://www.linuxportalen.info
Back to top
View user's profile Send private message
bobbens
n00b
n00b


Joined: 17 Feb 2005
Posts: 16
Location: Barcelona

PostPosted: Thu Feb 24, 2005 2:22 pm    Post subject: Reply with quote

when they release a stable build rc5 maybe? Could someone please post it? Thanks, gonna go back to rc1.
_________________
-bobbens

Registered Linux user number #376329
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Thu Feb 24, 2005 4:32 pm    Post subject: Reply with quote

I wonder if this affects only people with pentiums or that have glibc-2.3.4.20050125? I masked off that version when it came out so I still have 2.3.4.20041102 on this system so I'm not totally at current ~x86.

I did the FEATURES="maketest" here and there wasn't a problem but binutils is working for me too.

Here's my info on a working system.
Code:

# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-rc3-ck1 i686)
=================================================================
System uname: 2.6.11-rc3-ck1 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Feb 17 2005, 18:27:49)]
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.2.3-r5, 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.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -msse2 -fprefetch-loop-arrays -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-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="-march=athlon-xp -O3 -msse2 -fprefetch-loop-arrays -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sfperms"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi aim alsa apache2 apm arts artswrappersuid audiofile avi berkdb bitmap-fonts cdparanoia cdr cjk crypt cups curl dga divx4linux dv dvd dvdr emacs emacs-w3 emboss encode f77 fam fastcgi flac flash font-server foomaticdb fortran gd gdbm geoip ggi gif gphoto2 gpm gps gstreamer gtk2 icq ieee1394 imagemagick imap imlib jabber java joystick jpeg kde kdeenablefinal lcms libg++ libgda libwww logitech-mouse mad mikmod mmx motif mozilla mpeg msn mysql ncurses nls noamazon nptl nptlonly offensive oggvorbis opebal openexr opengl oscar oss pam pdflib perl png ppds python qt quicktime rdesktop readline samba sasl scanner sdl slang slp softmmu speex spell sse ssl svg svga symlink tcltk tcpd theora tiff truetype truetype-fonts tscd type1-fonts unicode usb userlocales videos wmf wxwindows xine xinerama xml xml2 xprint xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL

Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Thu Feb 24, 2005 4:34 pm    Post subject: Reply with quote

firephoto wrote:
I wonder if this affects only people with pentiums or that have glibc-2.3.4.20050125? I masked off that version when it came out so I still have 2.3.4.20041102 on this system so I'm not totally at current ~x86.

I did the FEATURES="maketest" here and there wasn't a problem but binutils is working for me too.

Here's my info on a working system.
Code:

# emerge info
...
sys-devel/binutils:  2.15.92.0.2-r4

Not fair! You jumped right over the -r3 upgrade! :)
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Thu Feb 24, 2005 4:37 pm    Post subject: Reply with quote

ummm ^ ^ ^ ^ up up up read... ;)

No I didn't but I may have emerged -r3 before the ebuild was changed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 3 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum