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

Jerry D jvdelisle2@gmail.com
Sun Mar 1 01:50:08 GMT 2026


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?

Regards,

Jerry

Author: Jerry DeLisle <jvdelisle@gcc.gnu.org>
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr124286.diff
Type: text/x-patch
Size: 5368 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20260228/01cbf1d5/attachment.bin>


More information about the Fortran mailing list