This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libcc1 breaks bootstrap on darwin
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: FX <fxcoudert at gmail dot com>
- Cc: Paolo Bonzini <bonzini at gnu dot org>, Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, pmuldoon at redhat dot com, Jakub Jelinek <jakub at redhat dot com>, Tom Tromey <tromey at redhat dot com>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Sun, 23 Nov 2014 14:10:05 -0800
- Subject: Re: libcc1 breaks bootstrap on darwin
- Authentication-results: sourceware.org; auth=none
- References: <94381BB6-563C-44EE-910E-9569410F2AB5 at gmail dot com>
On Sun, Nov 23, 2014 at 1:27 PM, FX <fxcoudert@gmail.com> wrote:
> Hi libcc1 team and build maintainers,
>
> Since libcc1 isnât bootstrapped anymore, it breaks bootstrap on darwin with GCC as the system compiler (which isnât the default, but is still pretty common, notably for people who need to build the Ada compiler): https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64023
>
> When libcc1 is built at stage3, the freshly built g++ compiler is used, but itâs not given the proper CXXFLAGS to go with, in particular the -B options pointing towards libstdc++ and libsupc++. I think thatâs because, when built from the top-level Makefile, it is made with $(HOST_EXPORTS) but not with $(POSTSTAGE1_HOST_EXPORTS).
>
> However, I do not know how to fix that. As I understand it, this part of the Makefile is generated from the information in the toplevel Makefile.def, but I do not know how to enter that information there. Could someone help?
>
>
I saw
-L/opt/gcc/p_build/x86_64-apple-darwin14.0.0/libstdc++-v3/src/.libs
Why aren't they sufficient for MacOS linker to find libstdc++.a?
--
H.J.