This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] libstdc++/61011 fix --disable-libstdcxx in top-level configure


The first part of this patch fixes the PR, we should be adding
target-libstdc++-v3 to noconfigdirs, not libstdc++-v3.

The second part disables the target libs that can't be bootstrapped
without libstdc++.

libcilkrts and libsanitizer use lots of std:: stuff.
libitm only uses std::atomic, but in any case fails to build when
--disable-libstdcxx is used, with this error:

xg++: error: unrecognized command line option â-funconfigured-libstdc++-v3â

Bootstrapped with and without --disable-libstdcxx and tested on
x86_64-linux.

   	PR libstdc++/61011
   	* configure.ac (--disable-libstdcxx): Set noconfigdirs correctly.
   	Disable libcilkrts, libitm, libsanitizer when not building libstdc++.
   	* configure: Regenerate.

OK for trunk?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]