Message ID | 20100710164829.GA12452@bromo.med.uc.edu |
---|---|
State | New |
Headers | show |
On 07/10/2010 06:48 PM, Jack Howarth wrote: > Currently the bootstrap of gcc trunk on darwin fails when > configured with --enable-build-with-cxx due to the inability > of -static-libstdc++ to perform the required link spec %s > substitutions in the absence of an explicit -B option. The > attached patch resolves this issue by adding the missing > -B option to the top-level Makefile.tpl. Bootstrap and > regression tested on x86_64-apple-darwin10 in concert with > the proposed fix for PR44905. Okay for gcc trunk? > Jack Ok if libstdc++-v3 maintainers do not complain in 1-2 days. Paolo
On 10 Jul 2010, at 20:26, Paolo Bonzini wrote: > On 07/10/2010 06:48 PM, Jack Howarth wrote: >> Currently the bootstrap of gcc trunk on darwin fails when >> configured with --enable-build-with-cxx due to the inability >> of -static-libstdc++ to perform the required link spec %s >> substitutions in the absence of an explicit -B option. The >> attached patch resolves this issue by adding the missing >> -B option to the top-level Makefile.tpl. Bootstrap and >> regression tested on x86_64-apple-darwin10 in concert with >> the proposed fix for PR44905. Okay for gcc trunk? > Ok if libstdc++-v3 maintainers do not complain in 1-2 days. applied after successful bootstraps with/without --enable-build-with- cxx on {powerpc,i686}-apple-darwin9 and x86_64-unknown-linux-gnu. r162275 cheers, Iain
Index: Makefile.tpl =================================================================== --- Makefile.tpl (revision 162037) +++ Makefile.tpl (working copy) @@ -238,6 +238,7 @@ POSTSTAGE1_CXX_EXPORT = \ CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \ -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \ + -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \ -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \ -I$$s/libstdc++-v3/libsupc++ \