https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125598

--- Comment #2 from Дилян Палаузов <dilyan.palauzov at aegee dot org> ---
Just by removing --with-build-config=bootstrap-O3 from ./configure, the build
works:

export CONFIG_SITE=a
date && mkdir -p build && cd build && ../configure --enable-threads=posix
--enable-host-shared --enable-nls --disable-multilib --enable-interpreter
--with-system-zlib --enable-languages=c,c++,go,lto,jit,rust
--enable-targets=all --with-system-unwind --without-x
--with-linker-hash-style=gnu --enable-shared  &> ../c-out && make -l2 && make
-l2 install && make -l2 distclean && cd .. && rmdir build && /sbin/ldconfig &&
echo END && date


prints
END
Fri Jun  5 00:37:09 UTC 2026

> Why not 15.2.0 at least?
It would take many hours to compile gcc 15.2.0 with 15.1.0, and then gcc 16.1
with gcc 15.2.0, and I do not want to have gcc 15.2. Besides, for comparing
output files for stages 2 and 3 it should be irrelevant which gcc version is
used to compile stage1.

Reply via email to