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

Jonathan Wakely jwakely@redhat.com
Tue May 20 14:59:00 GMT 2014


On 20/05/14 15:53 +0100, Jonathan Wakely wrote:
>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?

With the patch this time ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1455 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20140520/8de96b78/attachment.bin>


More information about the Libstdc++ mailing list