[Bug d/123045] gcc/gdc needs libstdc++ from bootstrap sources to link anything
kirill at korins dot ky
gcc-bugzilla@gcc.gnu.org
Mon Dec 8 21:07:55 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123045
--- Comment #2 from Kirill A. Korinsky <kirill at korins dot ky> ---
Wired.
When I run make bootstrap2 -j1 it works, and when with -j2 it fails without
LD_LIBRARY_PATH hack.
It fails as:
checking for absolute libphobos source path...
/usr/ports/pobj/gcc-15.2.0/gcc-15.2.0/libphobos
checking If /usr/ports/pobj/gcc-15.2.0/build-amd64/./gcc/gdc
-B/usr/ports/pobj/gcc-15.2.0/build-amd64/./gcc/
-B/usr/local/x86_64-unknown-openbsd/bin/
-B/usr/local/x86_64-unknown-openbsd/lib/ -isystem
/usr/local/x86_64-unknown-openbsd/include -isystem
/usr/local/x86_64-unknown-openbsd/sys-include -fno-checking can compile D
sources... no
configure: error: can't compile D sources!
gmake[2]: *** [Makefile:22163: configure-stage2-target-libphobos] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Build logs:
- https://kirill.korins.ky/pub/gcc-15.2.0-dlang-make-j1.log.txt
- https://kirill.korins.ky/pub/gcc-15.2.0-dlang-make-j2.log.txt
Each file is about 6-7 mb.
More information about the Gcc-bugs
mailing list