Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Does binutils-2.16 break anything?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
lancelott
Apprentice
Apprentice


Joined: 29 Mar 2005
Posts: 152

PostPosted: Sun May 29, 2005 2:10 am    Post subject: Does binutils-2.16 break anything? Reply with quote

I heard before 2.16 went into ~ that it broke a lot of stuff, so I've been sticking to the latest 2.15 one. But I'm doing an emerge -e system/world today with gcc-3.4.4, so I'd like to know if it's safe to switch over to it.
Back to top
View user's profile Send private message
slipstream
n00b
n00b


Joined: 05 May 2004
Posts: 36

PostPosted: Sun May 29, 2005 4:18 am    Post subject: Reply with quote

Its marked as testing/unstable, so I'd say don't use it unless your comfortable with fixing stuff that breaks from testing/unstable packages.

http://packagestest.gentoo.org/ebuilds/?binutils-2.16-r1
_________________
Think Ahead
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sun May 29, 2005 7:20 am    Post subject: Reply with quote

2.16.90.0.1 and 2.16.90.0.2 where broken. The stable 2.16 relase seems to work fine though, I use it myself.
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Sun May 29, 2005 9:23 am    Post subject: Reply with quote

nxsty wrote:
2.16.90.0.1 and 2.16.90.0.2 where broken.

2.16.90.0.3 is broken on x86 too, it cannot build a kernel, 2.16-r1 seems to work okay so far.
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: Sun May 29, 2005 9:43 am    Post subject: Reply with quote

2.16.90.0.3 builds my kernel with gcc-4.0.1_beta20050507 on x86
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Sun May 29, 2005 9:52 am    Post subject: Reply with quote

thersites wrote:
2.16.90.0.3 builds my kernel with gcc-4.0.1_beta20050507 on x86

Then it may depend on other parts of the toolchain, kernel configuration, use flags, etc. Anyhow, when I downgrade to some other binutils version than 2.16.90.0.3 my kernels builds otherwise "as" errors out on some assembler inline code.
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sun May 29, 2005 11:07 am    Post subject: Reply with quote

asimon wrote:
nxsty wrote:
2.16.90.0.1 and 2.16.90.0.2 where broken.

2.16.90.0.3 is broken on x86 too, it cannot build a kernel, 2.16-r1 seems to work okay so far.


2.6.11 and previous kernels needs a patch to compöile with binutils 2.16. Perhaps that's the problem.

Patch for 2.6:
http://www.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch

Patch for 2.4:
http://www.kernel.org/pub/linux/devel/binutils/linux-2.4-seg-4.patch
Back to top
View user's profile Send private message
PrakashP
Veteran
Veteran


Joined: 27 Oct 2003
Posts: 1246
Location: C.C.A.A., Germania

PostPosted: Sun May 29, 2005 11:28 am    Post subject: Reply with quote

@asimon

As nxsty pointed out, it is not that new binutils are broken in regard to the kernel, they just disallow a certain assembler code, which should not have been allowed anyway.


Last edited by PrakashP on Sun May 29, 2005 6:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Sun May 29, 2005 6:07 pm    Post subject: Reply with quote

@nxsty and PrakashP

Yes you're right, I used an unpatched kernel, the binutils are not to blame. Looks like I didn't do my homework. :roll:
Back to top
View user's profile Send private message
chovy
Guru
Guru


Joined: 03 Dec 2004
Posts: 453

PostPosted: Wed Jun 01, 2005 8:57 pm    Post subject: Reply with quote

I got the following error with:

$ emerge --ask --oneshot --verbose sys-devel/binutils
Quote:
* 40_all_118_arm_pass_all.patch ...

* Failed Patch: 40_all_118_arm_pass_all.patch !
* ( /var/tmp/portage/binutils-2.16-r1/work/patch/40_all_118_arm_pass_all.patch
)
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/binutils-2.16-r1/temp/40_all_118_arm_pass_all.patch-8999.out


!!! ERROR: sys-devel/binutils-2.16-r1 failed.


$less /var/tmp/portage/binutils-2.16-r1/temp/40_all_118_arm_pass_all.patch-8999.out
Quote:
***** 40_all_118_arm_pass_all.patch *****

=========================================

PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /var/tmp/portage/binutil
s-2.16-r1/work/patch/40_all_118_arm_pass_all.patch

=========================================
can't find file to patch at input line 10
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:

_________________
Woof, Woof! Add "[solved]" to the title! Woof, Woof!
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
Page 1 of 1

 
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