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

Frager, Neal neal.frager@amd.com
Mon Oct 9 11:58:58 GMT 2023


Hi Mark, Maciej, Michael,

> 
> Building with GCC-13.2.1 on Fedora 38 -- no error messages.
> 
> >Which version of GCC are you using?

> gcc (Debian 10.2.1-6) 10.2.1 20210110 on debian-i386.

> But I don't think it depends on the gcc version.  It depends on having an 32bit host that is configured with --enable-targets=all.

I added the following configs which I was not previously using in my binutils build:
--enable-targets=all
--enable-obsolete
--enable-plugins

I have also tried with various gcc versions, and I am unable to duplicate the build issue you are reporting.

The only thing I am unable to verify is using a 32-bit host.  I have only been building with a 64-bit host.

Does anyone have an idea why this patch would lead to issues with a 32-bit build host and not a 64-bit host?

Best regards,
Neal Frager
AMD


More information about the Binutils mailing list