https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120145
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjames at gcc dot gnu.org
--- Comment #34 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Kirill A. Korinsky from comment #33)
> Sam, it fails much early without --enable-host-shared, see:
> https://kirill.korins.ky/pub/gcc-15.2.0-sparc64-build-no-host-shared.log.txt
```
gmake[2]: *** No rule to make target '../libiberty/pic/libiberty.a', needed by
'full-stamp'. Stop.
gmake[2]: *** Waiting for unfinished jobs....
```
In fixincludes/Makefile.in:
```
ifeq ($(PICFLAG),)
LIBIBERTY=../libiberty/libiberty.a
else
LIBIBERTY=../libiberty/pic/libiberty.a
endif
```
Can you try figure out where PICFLAG (or PIC_FLAG) gets set in configure for
you and why? It's only supposed to do that IIRC with --enable-host-shared or
--enable-host-pie.