https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120145
--- Comment #27 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Eric, > > I had started drop OpenBSD patches to dismiss an assumption that one of them > introduced the issue. Well, I just reproduced it with gcc-15.2.0 without any > patches. > > I have run: make stage1-bubble > > It was configured as: > > --build=sparc64-unknown-openbsd --verbose --program-transform-name=s,^,e, > --disable-nls --with-system-zlib --disable-libmudflap --disable-libgomp > --disable-libssp --disable-tls --with-gnu-ld --with-gnu-as > --enable-threads=posix --enable-wchar_t --with-gmp="/usr/local" > --enable-languages=c,c++,fortran,objc --disable-libstdcxx-pch > --enable-default-pie --enable-host-pie --enable-host-shared > --enable-standard-branch-protection --without-isl --enable-default-ssp > --enable-cpp --prefix='/usr/local' --sysconfdir='/etc' > --mandir='/usr/local/man' --infodir='/usr/local/info' --localstatedir='/var' > --disable-silent-rules --disable-gtk-doc Can you remove --enable-default-pie --enable-host-pie and try again?