This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] libstdc++/61011 fix --disable-libstdcxx in top-level configure
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Tue, 20 May 2014 16:58:07 +0200
- Subject: Re: [patch] libstdc++/61011 fix --disable-libstdcxx in top-level configure
- Authentication-results: sourceware.org; auth=none
- References: <20140520145313 dot GO29145 at redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, May 20, 2014 at 03:53:14PM +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?
ENOPATCH.
Jakub