[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.9.5.0.31-1 is evil, do not install



On Thu, 6 Apr 2000, Jim Studt wrote:

> binutils 2.9.5.0.31-1, the current one in the potato archive, is evil.
> It can not assemble the output of gcc anymore.  I'll work on it but
> have limited time today.  For anyone that wants to tackle with it:
> 
> If you compile a small program with a libc call you get assembler
> like...
> 
>         mov     r1, r2
>         mov     r2, ip
>         bl      memcpy
>         mov     r3, r0
>         mov     r2, #3
> 
> ... on the "bl memcpy" line the gas will spit out...
> 
> raw.s:1536: Error: out of range branch

This is an assembler bug wrt ARM.  It is fixed in binutils >=
2.9.5.0.32.  I think 34 is current.  35, when it comes out fill fix
another problem with readelf (which is not ARM specific)
	readelf -s /usr/X11R6/bin/XF86_SVGA
Or apply the following patch to binutils:
  ftp://ftp.netwinder.org/users/s/stewart/binutils-2.9.5.0.31-arm.patch

-Rms


Reply to: