From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17898 invoked by alias); 7 Nov 2011 11:17:43 -0000 Received: (qmail 17875 invoked by uid 22791); 7 Nov 2011 11:17:41 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_CX X-Spam-Check-By: sourceware.org Received: from anubis.se.axis.com (HELO anubis.se.axis.com) (195.60.68.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Nov 2011 11:17:21 +0000 Received: from localhost (localhost [127.0.0.1]) by anubis.se.axis.com (Postfix) with ESMTP id 5E1CB19D20; Mon, 7 Nov 2011 12:17:16 +0100 (CET) Received: from anubis.se.axis.com ([127.0.0.1]) by localhost (anubis.se.axis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OePjtmq+ZL6f; Mon, 7 Nov 2011 12:17:15 +0100 (CET) Received: from seth.se.axis.com (seth.se.axis.com [10.0.2.172]) by anubis.se.axis.com (Postfix) with ESMTP id 73A0E19D1B; Mon, 7 Nov 2011 12:17:15 +0100 (CET) Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.88.21.50]) by seth.se.axis.com (Postfix) with ESMTP id 615783E09F; Mon, 7 Nov 2011 12:17:15 +0100 (CET) Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id pA7BHFF6007075; Mon, 7 Nov 2011 12:17:15 +0100 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id pA7BHERD007071; Mon, 7 Nov 2011 12:17:14 +0100 Date: Mon, 07 Nov 2011 11:36:00 -0000 Message-Id: <201111071117.pA7BHERD007071@ignucius.se.axis.com> From: Hans-Peter Nilsson To: amacleod@redhat.com CC: hp@axis.com, gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org In-reply-to: <4EB75DAB.6020003@redhat.com> (message from Andrew MacLeod on Mon, 7 Nov 2011 05:25:15 +0100) Subject: Re: cxx-mem-model merge [6 of 9] - libstdc++-v3 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00912.txt.bz2 > From: Andrew MacLeod > Date: Mon, 7 Nov 2011 05:25:15 +0100 > On 11/06/2011 07:38 PM, Hans-Peter Nilsson wrote: > > > > This (formally a change in the range 181027:181034) got me three > > libstdc++ regressions for cris-elf, which has no "atomic" > > support whatsoever (well, not the version represented in > > "cris-elf"), so something is amiss at the bottom of the default > > path: > yes, I have a final pending patch which didn't make it to the branch > before the merge. It changes the behaviour of atomic_flag on targets > with no compare_and_swap. I *think* it will resolve your problem. > > I've attached the early version of the patch which you can try. Its > missing a documentation change I was going to add tomorrow before > submitting, but we can see if it resolves your problem. Give it a shot > and let me know. Sorry, no it didn't help. No additional regressions either though, but the undef'd reference changed to two: Excess errors: /tmp/atreg1/gccobj/cris-elf/libstdc++-v3/include/bits/atomic_base.h:273: undefined reference to `std::atomic_thread_fence(std::memory_order)' /tmp/atreg1/gccobj/cris-elf/libstdc++-v3/include/bits/atomic_base.h:274: undefined reference to `__sync_lock_test_and_set_1' collect2: error: ld returned 1 exit status brgds, H-P