[PATCH] elf: Check if __attribute__ ((aligned (65536))) is supported

Sam James sam@gentoo.org
Fri Mar 7 01:22:30 GMT 2025


"H.J. Lu" <hjl.tools@gmail.com> writes:

> On Thu, Mar 6, 2025 at 10:37 PM Joseph Myers <josmyers@redhat.com> wrote:
>>
>> The new test fails to build for MicroBlaze (which defines
>> MAX_OFILE_ALIGNMENT to (32768*8) in GCC, so __attribute__ ((aligned
>> (65536))) is unsupported).
>>
>
> The BZ #32763 tests fail to build for MicroBlaze (which defines
> MAX_OFILE_ALIGNMENT to (32768*8) in GCC, so __attribute__ ((aligned
> (65536))) is unsupported).  Add a configure-time check to enable BZ #32763
> tests only if __attribute__ ((aligned (65536))) is supported.
>
> Tested with x86-64 and MicroBlaze.

MicroBlaze continues to be trouble. LGTM.


More information about the Libc-alpha mailing list