Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 73199 invoked from network); 7 Jul 2007 22:32:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jul 2007 22:32:36 -0000 Received: (qmail 43716 invoked by uid 500); 7 Jul 2007 22:32:39 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 43662 invoked by uid 500); 7 Jul 2007 22:32:39 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 43647 invoked by uid 99); 7 Jul 2007 22:32:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2007 15:32:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of r1mikey@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2007 15:32:36 -0700 Received: by an-out-0708.google.com with SMTP id b33so98512ana for ; Sat, 07 Jul 2007 15:32:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KaCKzvIzK+Cu1y4raKik+CQbnzG/LxXhIh+qXPsOSxgJohvH/0k/8UeCqQMmnpVaFT12DFN452O/Yh/nMFVxLSUpkcRi1aJSFQFMwVJJPsPHykpbh3W6skq5WOLdN1vJd7neK92LL7q/Nxb9jB7e7sP1j3FgR40NpN9dosCpdyA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=brnmzkMTv77zyVU8SNZfyincsnm2pIVyrcpSkx3eoSMx8JZTzSVkvJGGklHLUFGo0SpMJdcfiX6w8CgduJzv3PM7G6FxI+o99lncYaNKB2Gsy2DSc9fkCH1pwcstU0CWl8rnJZBQhsNWjAxAHcI66Pk6iR5Gdx+xENY9E8n/hFc= Received: by 10.100.48.7 with SMTP id v7mr954075anv.1183847535194; Sat, 07 Jul 2007 15:32:15 -0700 (PDT) Received: by 10.100.42.12 with HTTP; Sat, 7 Jul 2007 15:32:15 -0700 (PDT) Message-ID: Date: Sun, 8 Jul 2007 00:32:15 +0200 From: "Michael van der Westhuizen" To: stdcxx-dev@incubator.apache.org Subject: Re: config with wide has no effect on Solaris/Intel + patch In-Reply-To: <469000DE.9070404@roguewave.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <469000DE.9070404@roguewave.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Martin, On 7/7/07, Martin Sebor wrote: [snip] > > I recall reading somewhere that Sun C++ 5.9 supports the gcc -m64 > option but I can't find the reference. Do you happen to have a link? > The x86 equivalent I was able to find in the online documentation is > still -xarch=amd64 (I couldn't find -m64 in the manual): > http://docs.sun.com/source/819-3690/Comp_Options_App.html#pgfId-999544 I picked the flags up here - http://developers.sun.com/sunstudio/documentation/ss12/whatsnew.html The xarch flags used result in compile-time warnings with C++ 5.9, so the -mXX options are really necessary. It's possible to further tune the generated code using non-deprecated -xarch options - there are details in the links above. > We're only just getting around to setting up the compiler but once it's > up and running we'll test your patch with it. I've found quite a few issues with C++ 5.9, so we'll probably stick to 5.8+patches for now - at least until the obvious optimiser bugs are worked out. I've logged a compile-time showstopper (a ube assertion that crops up in both 4.1.3 and 4.2.0) with bugs.sun.com, but I haven't logged a runtime problem with the numeric limits configuration test which makes it impossible to compile with any optimisation on sparcv8/sparcv9 (I haven't had time to look into the problem). I'm also seeing the support/atomic* tests timing out on the i386 and amd64 - this is unexpected, but I haven't had time to look into this yet. Some of the tests are also hitting backend corner cases - I've never seen the UBE take as much memory as it does now, and I've never seen it use a whole CPU before: 7723 michael 315M 312M cpu0 0 0 0:05:43 50% ube/1 Michael