This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 May 2017 13:51:41 +0000
- Subject: [Bug target/80556] [8 Regression] bootstrap failure for Ada compiler
- Auto-submitted: auto-generated
- References: <bug-80556-4@http.gcc.gnu.org/bugzilla/>
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).