Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-devel/binutils-2.18.50.0.4 - just a heads-up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
jarealist
Apprentice
Apprentice


Joined: 07 Oct 2002
Posts: 227

PostPosted: Sun Feb 10, 2008 3:28 am    Post subject: sys-devel/binutils-2.18.50.0.4 - just a heads-up Reply with quote

After installing binutils-2.18.50.0.4, glibc-2.7-r1 failed with the folowing:

{standard input}: Assembler messages:
{standard input}:39: Error: suffix or operands invalid for `fnstsw'
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.7-r1/work/build-default-i686-pc-linux-gnu-nptl/math/ftestexcept.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7-r1/work/glibc-2.7/math'
make[1]: *** [math/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7-r1/work/glibc-2.7'
make: *** [all] Error 2
*
* ERROR: sys-libs/glibc-2.7-r1 failed.

Googling I found this:

http://www.nabble.com/The-Linux-binutils-2.18.50.0.4-is-released-td15360254.html

Where the above problem appears to be related to this from the article:

Quote:
Starting from the 2.18.50.0.4 release, the x86 assembler no longer
accepts

fnstsw %eax

fnstsw stores 16bit into %ax and the upper 16bit of %eax is unchanged.
Please use

fnstsw %ax


Are we filling bug reports on these interim binutils releases or just let it slide till it gets picked up as there is enough to do already?
Back to top
View user's profile Send private message
mtthsme1979
n00b
n00b


Joined: 11 Feb 2008
Posts: 1

PostPosted: Mon Feb 11, 2008 11:45 am    Post subject: Reply with quote

I encountered the same problem.

This helped:

http://www.nabble.com/PATCH:-Use-short-for-fnstsw-td14775171.html

Add a patch to your overlay (glibc/files/2.7/...), and then it should compile fine, and even work fine (i compiled it at home and it did work so far).
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5743
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri Mar 14, 2008 10:50 pm    Post subject: Reply with quote

mtthsme1979 wrote:
I encountered the same problem.

This helped:

http://www.nabble.com/PATCH:-Use-short-for-fnstsw-td14775171.html

Add a patch to your overlay (glibc/files/2.7/...), and then it should compile fine, and even work fine (i compiled it at home and it did work so far).


thanks, mtthsme1979 :)

testing it right now,

I just encountered the same error 8O
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.3.0-r2
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
mroconnor
Guru
Guru


Joined: 24 Feb 2006
Posts: 402
Location: USA

PostPosted: Sun Mar 16, 2008 5:50 pm    Post subject: Reply with quote

KoT let me know how you make out with the patch. I have the same problem. :(
Back to top
View user's profile Send private message
FireBurn
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 165
Location: Edinburgh, UK

PostPosted: Mon Mar 17, 2008 12:14 pm    Post subject: Reply with quote

Has this issue been resolved with binutils-2.18.50.0.5?
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2460
Location: Polska / Lenkija

PostPosted: Mon Mar 17, 2008 2:10 pm    Post subject: Reply with quote

FireBurn wrote:
Has this issue been resolved with binutils-2.18.50.0.5?


It's bug in glibc, not binutils.
Back to top
View user's profile Send private message
FireBurn
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 165
Location: Edinburgh, UK

PostPosted: Mon Mar 17, 2008 4:11 pm    Post subject: Reply with quote

I know it is but it is it was only noticed with the changed behaviour of binutils. The behaviour may have changed again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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