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

Andrew Pinski <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <CALvbMcBTHZNYMMZ5ihpKSVNNnr_=_=iba6yPQrsge5pTSu8_cA@mail.gmail.com>
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.

>
> 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.