[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 11 14:03:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556
--- Comment #25 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #24)
> > Le 11 mai 2017 à 09:06, gingold at adacore dot com <gcc-bugzilla@gcc.gnu.org> a écrit :
>
> Note that
>
> --with-stage1-ldflags=-static-libstdc++
> --with-boot-ldflags=-static-libstdc++
>
> does not work if the install directory is empty:
That's actually a different problem, what you're seeing there is that
-static-libstdc++ is ignored on Darwin (dropped silently)...
... I.e. -static-libstdc++ only works on Darwin with a patch which I got fed
up with pinging after 4 or so times.
NOTE: AFAIR clang doesn't support that option anyway, so it would not be
available at stage 1 where clang is the bootstrap compiler.
However, the existing compiler build process points explicitly to the
just-built libstdc++ convenience lib IIRC (the built tools are statically
linked with the lib). So that info ought to be available to the Ada build (I'm
pretty sure all the -B etc. is passed through).
More information about the Gcc-bugs
mailing list