Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-04-11 21:28:50


Should we apply this patch?

 --=-=-= Content-Type: message/rfc822
Content-Disposition: inline

Path: main.gmane.org!not-for-mail
From: Kevin Wheatley <hxpro_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.devel
Subject: Re: como/EDG and compile tests
Date: Thu, 11 Dec 2003 18:47:13 +0000
Organization: Cinesite (Europe) Ltd.
Lines: 57
Sender: boost-bounces_at_[hidden]
Approved: news_at_[hidden]
Message-ID: <3FD8BBB1.7798F693_at_[hidden]>
Reply-To: Boost mailing list <boost_at_[hidden]>
NNTP-Posting-Host: deer.gmane.org
NNTP-Posting-Date: Thu, 11 Dec 2003 18:58:29 +0000 (UTC)
Original-X-From: boost-bounces_at_[hidden] Thu Dec 11 19:58:24 2003
Return-path: <boost-bounces_at_[hidden]>
Original-Received: from heart-of-gold.osl.iu.edu ([129.79.245.244])
by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian))
id 1AUW12-000737-00
for <gcp-boost_at_[hidden]>; Thu, 11 Dec 2003 19:58:24 +0100
Original-Received: from heart-of-gold.osl.iu.edu (localhost.localdomain
[127.0.0.1])
by heart-of-gold.osl.iu.edu (8.11.6/8.11.6) with ESMTP id hBBIq3706472;
Thu, 11 Dec 2003 13:52:03 -0500
Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249])
by heart-of-gold.osl.iu.edu (8.11.6/8.11.6) with ESMTP id hBBIlF706405
for <boost_at_[hidden]>; Thu, 11 Dec 2003 13:47:16 -0500
Original-Received: from list by main.gmane.org with local (Exim 3.35 #1
(Debian))
id 1AUVqE-0006yt-00
for <boost_at_[hidden]>; Thu, 11 Dec 2003 19:47:14 +0100
Original-To: boost_at_[hidden]
Original-Received: from sea.gmane.org ([80.91.224.252])
by main.gmane.org with esmtp (Exim 3.35 #1 (Debian))
id 1AUVqD-0006yl-00for <gmane-comp-lib-boost-devel_at_[hidden]>;
Thu, 11 Dec 2003 19:47:13 +0100
Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1
(Debian))
id 1AUVqD-0007DG-00for <gmane-comp-lib-boost-devel_at_[hidden]>;
Thu, 11 Dec 2003 19:47:13 +0100
Original-Lines: 53
Original-X-Complaints-To: usenet_at_[hidden]
Precedence: list
List-Help: <mailto:boost-request_at_[hidden]?subject=help>
List-Archive: <http://lists.boost.org/MailArchives/boost>
List-Unsubscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>,
<mailto:boost-request_at_[hidden]?subject=unsubscribe>
List-Subscribe: <http://lists.boost.org/mailman/listinfo.cgi/boost>,
<mailto:boost-request_at_[hidden]?subject=subscribe>
List-Post: <mailto:boost_at_[hidden]>
List-Id: Boost mailing list <boost.lists.boost.org>
Errors-To: boost-bounces_at_[hidden]
Xref: main.gmane.org gmane.comp.lib.boost.devel:29661
MIME-Version: 1.0

Kevin Wheatley wrote:
>
> David Abrahams wrote:
> >
> > I just noticed that our como-win32 toolset (and I don't know how many
> > other EDG-based toolsets) are set to do link-time instantiation. That
> > means we may be getting misleading results for compile and
> > compile-fail tests. What should we do about it?

In case somebody knows better than myself, I'm currently running with
the following patch which eliminates most of the IRIX regression test
failures when using the 7.41 MIPSPro compilers. I'm basically ignoring
some pf the warnings as well as using the SGI supplied headers rather
than the boost ones which were needed with 7.3x. I'm not sure how the
jam files need tweaking to only do this for versions >7.4x

Kevin

cvs diff mipspro-tools.jam
Index: mipspro-tools.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v1/mipspro-tools.jam,v
retrieving revision 1.10
diff -r1.10 mipspro-tools.jam
56c56,58
< flags mipspro LINKFLAGS : -nostdlib ;

---
> flags mipspro LINKFLAGS : -nostdlib
> -dont_warn_unused -demangle
> ;
60c62,65
< # We better link the maths library unconditionally.
---
> # We better link the maths library unconditionally, but ignore any
> # warnings from doing so (84).
> # Also (47) "branch instruction(s) that might degrade performance on an
> # older version (rev. 2.2) R4000 processor."
61a67
> flags mipspro LINKFLAGS : -woff 47,84 ;
67a74
> -quiet_prelink
94a102
> # 1552: The variable "test" is set but never used.
96a105
> flags mipspro CFLAGS : -woff 1021,1375,1424,1234,1552 ;
119d127
< 
"$(BOOST_ROOT)/boost/compatibility/cpp_c_headers"
-- 
| Kevin Wheatley | These are the opinions of |
| Senior Do-er of Technical Things | nobody and are not shared |
| Cinesite (Europe) Ltd | by my employers |
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
 --=-=-= 
-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 --=-=-=-- 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk