On 20.04.2012 01:16, Ludovic Brenta wrote:
> In debian/rules2 I see:
> 
> ifneq ($(with_common_libs),yes)
>       : # libstdc++6 built from newer gcc-4.x source, run testsuite against 
> the installed lib
> 
>       sed 's/-L[^ ]*//g' $(buildlibdir)/libstdc++-v3/scripts/testsuite_flags \
>         > $(buildlibdir)/libstdc++-v3/scripts/testsuite_flags.installed
> 
> The 'sed' line is the one that fails.  I am not building libstdc++, so I
> don't have the $(buildlibdir)/libstdc++-v3/ directory at all.

fixed.

> I can understand there is some value in running all versions of the
> testsuite (from gcc-4.*) against the installed library (now built from
> gcc-4.7 only) but there appears to be no place where we run the
> testsuite against the *just-built* library.  Is this intentional?

wrong. the complete testsuite is run after that.

> Also, the test "ifneq ($(with_common_libs),yes)" seems entirely wrong to
> me.  When with_common_libs = yes, we are not running the testsuite, even
> if we build it; when with_common_libs = no, we are assuming that we just
> built the libstdc++ and we run the testsuite against another version of
> the library.  Should the test not be, simply, "ifeq
> ($(with_libcxx),yes)"?

no, see above. no need to run the libstdc++ tests if the system version is built
from the sources that are currently built.

  Matthias


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f992335.6070...@debian.org

Reply via email to