[PATCH] microblaze: fix build error on 32-bit hosts

Frager, Neal neal.frager@amd.com
Mon Oct 9 12:56:36 GMT 2023


Hi Mark,

> > On a 32bit host bfd_vma is an unsigned int, but you are using a long printf format.
> 
> > Casting the r_addend to (long) is one way to resolve this.
> 
> I already solved this build issue.  I thought the issue Maciej was reporting was another one.
> 
> If this is the only build issue, then I will submit v3 which solves this problem now.
> 
> Could you please confirm that this is the only issue that needs to be fixed?

> It is the only issue I noticed that prevented the build to complete on a 32bit host (with --enable-target=all). I didn't try to run the testsuite.

Thank you for confirming this.  I just submitted v3 of my patch which will fix this issue.

@Maciej, could you please test v3 of my patch to verify that it resolves the issue you reported?
https://patchwork.sourceware.org/project/binutils/patch/20231009125144.377940-1-neal.frager@amd.com/

I have also added assembler tests to the gas testsuite for the new instructions.

Thank you for your help!

Best regards,
Neal Frager
AMD




More information about the Binutils mailing list