[Bug libstdc++/123326] [16 Regression] Bootstrap broken on FreeBSD by r16-6038
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 31 23:15:22 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123326
--- Comment #13 from Steve Kargl <kargl at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #5)
> Note, libstdc++-v3 Makefile has
> LIBICONV = /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
> and
> LTLIBICONV = -L/usr/local/lib -liconv -R/usr/local/lib
> after configure, but guess neither of those is something suitable for
> possible libstdc++.spec.
Thanks for your analysis in comment #11.
As a workaround, after I run configure, I edit
obj/Makefile to add the contents of LTLIBICONV
to the locations where -static-libstdc++ appears.
That is, I manually alter STAGE1_LDFLAGS and
POSTSTAGE1_LDFLAGS prior to boostrap. This
gets me going again.
>From you comment above, this seems to a rather
heavy-handed and bloating change.
More information about the Gcc-bugs
mailing list