[COMMITTED] gas: testsuite: fix regression in cfi-common-10.d

Alan Modra amodra@gmail.com
Wed Aug 20 23:39:18 GMT 2025


On Wed, Aug 20, 2025 at 02:40:47PM -0700, Indu Bhagat via Binutils wrote:
> On 8/20/25 1:42 PM, H.J. Lu wrote:
> > Error: bad or irreducible absolute expression>, no expected output
> > FAIL: CFI common 10
> > 
> > on Linux/i386.
> > 
> > Isn't
> > 
> > cfi_def_cfa_offset 1099511627808
> > 
> > too big for 32-bit targets?
> > 
> 
> For 32-bit targets, true, this offset should not realistically occur.
> Perhaps it is best to move this test as cfi-x86-64-3.s.
> 
> (I do have i386-darwin i386-lynxos in my regression script. I wonder why
> this didnt show up as failure in my testing...)

If both host and target are 32-bit, and binutils is not configured
with --enable-64-bit-bfd, then bfd_vma will be 32 bits.  Likely you
are compiling on a 64-bit host.

-- 
Alan Modra


More information about the Binutils mailing list