[Bug libfortran/123366] [16 regression] Segmentation fault on FreeBSD when compiling libgfortran/generated
dimitry at andric dot com
gcc-bugzilla@gcc.gnu.org
Sun Jan 25 00:19:35 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123366
--- Comment #17 from Dimitry Andric <dimitry at andric dot com> ---
(In reply to Lorenzo Salvadore from comment #16)
> I am still working on understanding this issue and I believe I have found a
> way to reproduce the bug consistently: attempt to build GCC on a FreeBSD
> machine where no GCC version is already installed.
>
> If a GCC is already installed, then the build succeeds. But if no GCC is
> found, then it will segfault.
Aha, that explains why it didn't segfault for me initially: I have several gcc
ports installed. :) But in poudriere a clean jail is used, so then it won't
have any gcc. So maybe it's got something to do with the compiler used to build
the first stage, i.e. clang? Or some library that it's linking in?
More information about the Gcc-bugs
mailing list