bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/19311] arm-linux-as build on Mac OS X with Xcode7 fails to


From: nickc at redhat dot com
Subject: [Bug binutils/19311] arm-linux-as build on Mac OS X with Xcode7 fails to assemble code from FreePascal cross-compiler
Date: Mon, 25 Jan 2016 10:07:45 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19311

--- Comment #5 from Nick Clifton <nickc at redhat dot com> ---
Hi Loria,

> I do encounter the same while trying to build a toolchain on OSX 10.10.5 and 
> Xcode 7.2
> binutils-2.25.1

> libc-start.s: Assembler messages:
> libc-start.s:70: Error: invalid constant (af) after fixup
> libc-start.s:145: Error: invalid constant (ff) after fixup

I am unable to reproduce these failures.  The test case you uploaded assembles
without any problems on my machine (an x86_64 Linux box).  I tried using the
current mainline binutils sources as well as the 2.25 branch sources, and I
tried using a 64-bit cross-assembler and a 32-bit cross-assembler.  They all
worked.

It seems to me that this might be a problem with the compiler used to build the
assembler.  If that compiler mis-compiles the assembler then that might explain
this discrepancy.

You may be able to investigate the problem yourself.  The error message comes
from gas/config/tc-arm.c:md_apply_fix().  Although I suspect that the problem
actually lies in the arm_encode_immediate() function.  If you investigate these
you may discover the cause of the bug.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]