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  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Wed Mar 09, 2005 6:12 pm    Post subject: Reply with quote

jeremy whiting wrote:
kimchi_sg: what glibc do you have installed? mine is 2.3.4.20050125

Code:
shrek@maximus ~ $ emerge -pv glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.4.20050125  -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck +nptl +nptlonly -pic +userlocales 0 kB

Total size of downloads: 0 kB
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Thu Mar 10, 2005 1:22 am    Post subject: Reply with quote

firephoto wrote:
Do you guys have some links that's not getting replaced when you upgrade? If you have a binary saved you might unmerge and check the installation location for leftovers. It seems like there's something else wrong with your system and it's permanently looking at your -r1 version to work correctly.
Yea that's what I'm guessing. Some package most likely messed up our systems and we get that message because it's still linking to -r1. I'm, going to see if fix_libtool_files.sh fixes things. I'll try it later tonight I don't feel like fixing my system again.

Fixed the cannot create executables message!
READ
READ
READ

I looked at the config.log for emerges after the update and found that each gave me this error...
i686-pc-linux-gnu-gcc: installation problem, cannot exec `as': No such file or directory

Code:
binutils-config i686-pc-linux-gnu-2.15.92.0.2

I looked that up in the forums, and that's the fix. You're welcome :D!
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
bushwakko
Guru
Guru


Joined: 25 Mar 2003
Posts: 495

PostPosted: Thu Mar 10, 2005 3:33 pm    Post subject: Reply with quote

thank you thank you thank you!

hehe, also had problem with the l33t -* masked one too, so I thought all hope was gone
_________________
Macbook Pro 15"
Core 2 Duo 2,33ghz
2gb Ram
ATI Mobility x1600 256mb
Back to top
View user's profile Send private message
Galahad
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 126

PostPosted: Tue Mar 15, 2005 5:09 pm    Post subject: Reply with quote

On AMD64 every version of binutils >= -r2 seems to be broken. Every time I will start an update, notice compiles don't work anymore, of course it updated binutils :evil:
So now I've masked every binutils after -r2
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Mar 15, 2005 8:19 pm    Post subject: Reply with quote

@Galahad: I think there's something else wrong with your system, or there's some small step you're missing. AFAIK I've been through every binutils since January when I setup amd64 on my computer and I haven't had a problem with any of them. I'm running my whole system ~amd64 right now and update it weekly.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
GaryMercer
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2003
Posts: 88
Location: (UK)

PostPosted: Wed Mar 16, 2005 1:55 pm    Post subject: Reply with quote

Hi

I have been having the problems mentioned in this post and I just upgraded to binutils (sys-devel/binutils-2.15.92.0.2-r6) and could not emerge anything.

I reverted to r1 as mentioned, re-emerged r6 and did the following

Quote:
binutils-config i686-pc-linux-gnu-2.15.92.0.2


Fixed it for me as it's happily emerging right now.


Thanks :)
_________________
No one means all he says, and yet very few say all they mean, for words are slippery and thought is viscous.
Back to top
View user's profile Send private message
zaanpenguin
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 203

PostPosted: Wed Mar 16, 2005 6:55 pm    Post subject: Reply with quote

The binutils-config thing will fix the most recent issue. The initial problems described in this thread were not related, so please don't confuse the two :)
_________________
Staying crunchy even in milk!
Back to top
View user's profile Send private message
Galahad
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 126

PostPosted: Wed Mar 16, 2005 10:16 pm    Post subject: Reply with quote

Exactly, thanks, calling binutils-config 2 did it. BTW, what's that a.out that's in binutils-config -l on [1]?
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Tue Mar 22, 2005 9:37 am    Post subject: Reply with quote

Mods: Seems like time to unsticky this, since no one is complaining of the original problem anymore with later binutils versions. ;)
Back to top
View user's profile Send private message
zaanpenguin
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 203

PostPosted: Tue Mar 22, 2005 9:55 am    Post subject: Reply with quote

Galahad wrote:
Exactly, thanks, calling binutils-config 2 did it. BTW, what's that a.out that's in binutils-config -l on [1]?


Shhhh... They're on to us :wink:
_________________
Staying crunchy even in milk!
Back to top
View user's profile Send private message
philcooper23
n00b
n00b


Joined: 01 Dec 2004
Posts: 6

PostPosted: Thu Mar 24, 2005 11:33 pm    Post subject: Reply with quote

thanks gentoozie
Quote:
Firstly if you want the fix the "nothing will compile" problem you must read this.

http://dev.gentoo.org/~avenj/bins/README

Then download the required gcc and binutils tbz2 files and follow the instructions.


You are a genious!!! This helped me be able to emerge and actually compile again. So now i am all set. I looked at alot of posts for the other message it would give me which was "configure: error: C compiler cannot create executables" and all of those posts told me that my freaking CFLAGS was set wrong! Yeah right! Set wrong after they've worked for months. Thanks for the help on binutils though. I tried booting from cd and emerging that way but it wouldn't compile (what a surprise).
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Fri Mar 25, 2005 12:54 am    Post subject: Reply with quote

Yea, no one else should be encountering this bug anymore, since the patch has been fixed that caused this issue. It could be unstickied to remove some clutter.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Fri Apr 08, 2005 4:59 pm    Post subject: Reply with quote

All this sound like the problems I am having, but this is more to do with libtool after changing my profile to 2005.0

every single emerge that requires compiling fails due to libtool and a syntax error (each one different)

Code:

001636 ./libtool: line 3348: syntax error near unexpected token `then'
001637 ./libtool: line 3348: `    if test -z "$global_symbol_pipe"; then'



Code:

./libtool: line 3879: syntax error near unexpected token `fi'
./libtool: line 3879: `      fi'


and others more crytic
Now this first arose when there was an update to binutils (not saying it was that, it was during that upgrade that is was spotted). I tried the binutils-config but no profiles were listed.

I followed all the advice I found over 2days - unmerge binutils, install a binary version from one of the devs, re-emerge binutils but binutils will not re-emerge as this libtool error still exists. I remerge libtool and then try binutil again - still fails on libtool error

everything I try fails!! I have tried downgrading binutils and also libtool but the problem still exists!!

basically my ststem now is broken and I do not know how to fix

Code:
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-love2 i686)
=================================================================
System uname: 2.6.11-love2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 14 2005, 19:00:45)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   1.3.5, 1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/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 -O3 -pipe -fomit-frame-pointer -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/sites/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://www.mirror.ac.uk/mirror/www.ibiblio.org/"
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 acpi aim alsa apm artworkextra avi berkdb bitmap-fonts bluetooth bonobo bzip2 cdr crypt cups directfb dvd dvdread eds emboss encode esd extensions fam fbcon flac font-server foomaticdb fortran gdbm geoip gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib ipv6 java joystick jpeg jpg ldap libg++ libwww mad mikmod mme mme2 mmx mmx2 motif mozilla mp3 mpeg msn ncurses nls nntp nomotif nptl ntplonly nvidia offensive oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline real sdl spell sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vim-with-x xml xml2 xmms xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS



please anyone, any idea?

I really do not want to format the drive and start from scratch, but that is the way it looks like I am going to have to go
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
thersites
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2004
Posts: 101
Location: South West China

PostPosted: Sat Apr 09, 2005 2:12 am    Post subject: Reply with quote

Naib you could try running binutils-config 1
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sat Apr 09, 2005 11:46 am    Post subject: Reply with quote

thersites wrote:
Naib you could try running binutils-config 1


yer, it stated there were no profiles found.

Anyway I formatted last night and just finished the bootstrap (so a quick reboot inot windows) befroe back into a chroot to finished the install later, cheers anyway. First time I have had to re-install
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
iDeJ
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 247
Location: Bad Sooden-Allendorf

PostPosted: Thu Apr 14, 2005 12:42 pm    Post subject: Reply with quote

i actiually have the same Problem,

if i emerge the binary version i can recompile binutils but every "bigger" package won't compile
because of seg. faults.

and if i emerge another version of binutils i get the same error(s) as Naib
_________________
Linux is like a Wigwam - no Gates, no Windows and a Apache inside
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
Page 6 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