Re: [PATCH] Fix Bug 124286 - [16 regression] libfortran cannot be cross compiled

Jerry D <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
On 2/28/26 5:55 PM, Andrew Pinski wrote:
> On Sat, Feb 28, 2026 at 5:51 PM Jerry D <[email protected]> wrote:
>>
>> Attached patch is to fix the subject PR. I am not set up to do cross compiling
>> so could not test that aspect.
>>
>> Used autoconf 2.69 for that issue as well.
>>
>> Regression tested on x86_64-linux.
>>
>> OK for trunk?
> 
> Ok.
> 
  Committed:

commit r16-7829-ge13b14030a300b3c94895e2c1d922c70ba3a271f
Author: Jerry DeLisle <[email protected]>
Date:   Sat Feb 28 17:30:41 2026 -0800

     Fortran: Fix libfortran cannot be cross compiled [PR124286]

     Remove unneeded check for a sane CLZL and regenerate using
     the correct version of autoconf.

             PR fortran/124286

     libgfortran/ChangeLog:

             * acinclude.m4: Remove LIBGFOR_CHECK_SANE_BUILTIN_CLZL.
             * caf/shmem/allocator.c (next_power_of_two): Use known sane
             builtin.
             * configure: Regenerate.
             * configure.ac: Remove use of LIBGFOR_CHECK_SANE_BUILTIN_CLZL.

>>
>> Regards,
>>
>> Jerry
>>
>> Author: Jerry DeLisle <[email protected]>
>> Date:   Sat Feb 28 17:30:41 2026 -0800
>>
>>       Fortran: Fix libfortran cannot be cross compiled [PR124286]
>>
>>       Remove unneeded check for a sane CLZL and regenerate using
>>       the correct version of autoconf.
>>
>>               PR fortran/124286
>>
>>       libgfortran/ChangeLog:
>>
>>               * acinclude.m4: Remove LIBGFOR_CHECK_SANE_BUILTIN_CLZL.
>>               * caf/shmem/allocator.c (next_power_of_two): Use known sane
>>               builtin.
>>               * configure: Regenerate.
>>               * configure.ac: Remove use of LIBGFOR_CHECK_SANE_BUILTIN_CLZL.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.