Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 1434 invoked from network); 5 Aug 2005 01:28:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Aug 2005 01:28:06 -0000 Received: (qmail 21453 invoked by uid 500); 5 Aug 2005 01:28:06 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 21425 invoked by uid 500); 5 Aug 2005 01:28:05 -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 21412 invoked by uid 99); 5 Aug 2005 01:28:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2005 18:28:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.17.213.84] (HELO bco-exchange.bco.roguewave.com) (12.17.213.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2005 18:27:55 -0700 Received: from [10.70.3.113] (10.70.3.113 [10.70.3.113]) by bco-exchange.bco.roguewave.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id NNYTQSA4; Thu, 4 Aug 2005 19:17:37 -0600 Message-ID: <42F2C101.5090704@roguewave.com> Date: Thu, 04 Aug 2005 19:29:37 -0600 From: Martin Sebor User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nicole Willson CC: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] STDCXX-11: IA64 32-bit atomic operations broken References: <4FA4B7B3231C5D459E7BAD020213A94202948E29@bco-exchange.bco.roguewave.com> In-Reply-To: <4FA4B7B3231C5D459E7BAD020213A94202948E29@bco-exchange.bco.roguewave.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Nicole Willson wrote: > Ok, apparently attachments are not allowed on this list. So, here it > is: Thanks! I assume atomic.s also needs to be changed to conditionally #include this file. With that the core dump in STDCXX-11 indeed goes away. Cool! Comparing the two atomic-ia64 files, I see that this one is missing the __rw_atomic_xxx64() functions. They are needed to atomically manipulate long longs. I added them to your patch. To enable them I also changed include/rw/_mutex.h and added the corresponding overloads of the __rw_atomic_pre{inc,dec}rement() and __rw_atomic_exchange() for long long. You might want to do the same on your branch. Here's the svn commit: http://svn.apache.org/viewcvs.cgi?rev=230382&view=rev Martin