libcc1 breaks bootstrap on darwin
H.J. Lu
hjl.tools@gmail.com
Sun Nov 23 22:12:00 GMT 2014
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.
More information about the Gcc
mailing list