From dev-return-36145-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Wed Feb 11 02:44:05 2009 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 33006 invoked from network); 11 Feb 2009 02:44:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 02:44:05 -0000 Received: (qmail 93261 invoked by uid 500); 11 Feb 2009 02:44:04 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 93225 invoked by uid 500); 11 Feb 2009 02:44:04 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 93214 invoked by uid 99); 11 Feb 2009 02:44:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 18:44:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nbeyer@gmail.com designates 74.125.92.149 as permitted sender) Received: from [74.125.92.149] (HELO qw-out-1920.google.com) (74.125.92.149) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 02:43:58 +0000 Received: by qw-out-1920.google.com with SMTP id 4so164250qwk.24 for ; Tue, 10 Feb 2009 18:43:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=+CN5yeofHIn2lG/uBNgsTnpc+njIWd+yVbN7vE5KtjY=; b=sH79wsTR4p0Bz9gy00bcoKfFwL8X+69tgwHAiOWq5BNYwXHPmPGSN7sGLPAp1OuqKV 72QfOzqhPpYyoOzvKtY32TNTu2PEYeA65dHLePp2gvt4CiyyFIWNXWZbBBlIGsZoqeWS tn77I/w24pORvZYbyXvYgSvvkb/iKboJNytUU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=PmiWvc5GFy9z1CDxI9d4m+uLUyijSAYkdnomlWV5oGK0Qhok2Zs5AYm7El0jIn02J/ EmqHlxsfaeE5hdUGd+7gmCk5d9qUGMPfnFlDbB25TxmSDF7cS4pM3Q1H7//1Lfs5NzKZ F5VRAeWu38bSCDGuQ8oWwA3o92reTxqXlUACY= MIME-Version: 1.0 Sender: nbeyer@gmail.com Received: by 10.64.242.4 with SMTP id p4mr4328175qbh.84.1234320216326; Tue, 10 Feb 2009 18:43:36 -0800 (PST) In-Reply-To: <49915E9A.7090603@gmail.com> References: <200902071428.11843.gshimansky@apache.org> <3b3f27c60902071520j651c9889ne50095fa7ecd4932@mail.gmail.com> <200902080243.34174.gshimansky@apache.org> <3b3f27c60902081905n1842bf8dje94f5799124e6f86@mail.gmail.com> <49915E9A.7090603@gmail.com> Date: Tue, 10 Feb 2009 20:43:35 -0600 X-Google-Sender-Auth: 5514ab397272c24a Message-ID: <3b3f27c60902101843k1416c0efpe2a6a33fda43ad3d@mail.gmail.com> Subject: Re: [build] use.libstdc++6=true default? From: Nathan Beyer To: dev@harmony.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Would it make more sense to add a "use.libstdc++.so.5" and have that be the trigger to move back? The other question is, do we even need to keep the v5 lib build available? Is it being used? -Nathan On Tue, Feb 10, 2009 at 5:01 AM, Tim Ellison wrote: > Fine by me -- it'll make my life easier in Hudson too! > > Tim > > Nathan Beyer wrote: >> Any objections to setting this 'true' by default? It seems we have >> three people okay with it. If none are brought up, I or anyone can >> switch it. >> >> -Nathan >> >> On Sat, Feb 7, 2009 at 5:43 PM, Gregory Shimansky wrote: >>> On 8 February 2009 Nathan Beyer wrote: >>>> Isn't "/usr/lib/libstdc++.so.6" generally a symlink to the specific >>>> version folder that's currently the default? >>> Nope. It depends very much on the distro layout. The most likely place to find >>> libc is /lib where you can execute (you can actually execute this >>> lib) /lib/libc.so* and see the version. >>> >>>> Regardless, moving to v6 as the default seems to make sense to me - >>>> this seems to be the default on the latest distribution releases that >>>> I've seen. >>> With this I agree. Version 6 has been the default for a time I can't remember >>> and those who still use v5 might as well switch after all. >>> >>>> On Sat, Feb 7, 2009 at 5:28 AM, Gregory Shimansky >>> wrote: >>>>> On 7 February 2009 Mark Hindess wrote: >>>>>> Perhaps we should make use.libstdc++6=true the default? Or maybe even >>>>>> try a little harder to make a better guess at the default with a patch >>>>>> like the one appended? >>>>> Hmm it is not this easy. The library libstdc++ belongs to gcc, and its >>>>> location depends on gcc version (gcc may be even installed in a >>>>> non-standard location). Guessing it is not easy without configure script. >>>>> Here's what I get when I execute "locate libstdc++.so.6" on Gentoo Linux: >>>>> >>>>> /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/32/libstdc++.so.6 >>>>> /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/32/libstdc++.so.6.0.3 >>>>> /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so.6 >>>>> /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so.6.0.3 >>>>> /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/32/libstdc++.so.6 >>>>> /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/32/libstdc++.so.6.0.8 >>>>> /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6 >>>>> /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 >>>>> >>>>> The naming of path like "x86_64-pc-linux-gnu" is very platform dependent >>>>> as well. >>>>> >>>>> Someone might even want to use Intel compiler to build Harmony, I recall >>>>> icc used to work at some point of time and produced quite an optimized >>>>> code. >>>>> >>>>>> Index: working_classlib/make/properties.xml >>>>>> =================================================================== >>>>>> --- working_classlib/make/properties.xml (revision 741852) >>>>>> +++ working_classlib/make/properties.xml (working copy) >>>>>> @@ -313,6 +313,12 @@ >>>>>> >>>>>> >>>>>> >>>>>> + >>>>>> + >>>>>> + >>>>>> + >>>>>> + >>>>>> + >>>>>> >>>>>> >>>>>> >>>>>> Index: common_resources/make/properties.xml >>>>>> =================================================================== >>>>>> --- common_resources/make/properties.xml (revision 741852) >>>>>> +++ common_resources/make/properties.xml (working copy) >>>>>> @@ -69,6 +69,12 @@ >>>>>> >>>>>> >>>>>> >>>>>> + >>>>>> + >>>>>> + >>>>>> + >>>>>> + >>>>>> + >>>>>> >>>>>> >>>>>> >>>>> -- >>>>> Gregory >>> -- >>> Gregory >>> >> >