FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 04-26-2012, 10:28 AM
Matthias Klose
 
Default debian/rules2 runs the libstdc++-v3 testsuite against the *installed* library

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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4F992335.6070201@debian.org">http://lists.debian.org/4F992335.6070201@debian.org
 

Thread Tools




All times are GMT. The time now is 01:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org