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?
