On Wed, Dec 18, 2024 at 01:31:15PM +0100, Tobias Burnus wrote: > I now tried it again – with a patch-wise clean bootstrap and w/o > --enable-offload-targets=... > (i.e. on x86_64-gnu-linux with--enable-languages=c,c++,fortran,lto,objc, > which enables bootstrap + m32 mulilib support). > > I think I saw the same error previously but when trying to see the error > again, > "make -j..." pointed me to the other error. However, this seems to be main > issue. > > Note the "-latomic" that fails. Namely, during stage1 build, the configure log > for the -m32 of libgomp, i.e.
Shouldn't we revert the toplevel changes and instead just arrange for -fno-link-libatomic to be passed in CFLAGS/CXXFLAGS etc. when building the target libraries (bootstrapped or non-bootstrapped)? As in, we didn't need to link -latomic in most of the target libraries until now, why would we need it all of sudden? Jakub