From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23768 invoked by alias); 3 Feb 2012 17:46:10 -0000 Received: (qmail 23755 invoked by uid 22791); 3 Feb 2012 17:46:09 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Feb 2012 17:45:55 +0000 From: "howarth at nitro dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/51906] thread lock test failures on darwin11 under Xcode 4.2 Date: Fri, 03 Feb 2012 17:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at nitro dot med.uc.edu X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-02/txt/msg00389.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51906 --- Comment #48 from Jack Howarth 2012-02= -03 17:45:21 UTC --- (In reply to comment #46) Actually, using -mmacosx-version-min=3D10.6 --sysroot=3D/Developer/SDKs/MacOSX10.6.sdk doesn't work as you end up with = the error... /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/g++ -shared-libgcc -B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc -nostdinc++ -L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.3.0/= libstdc++-v3/src -L/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.3.0/= libstdc++-v3/src/.libs -B/sw/lib/gcc4.7/x86_64-apple-darwin11.3.0/bin/ -B/sw/lib/gcc4.7/x86_64-apple-darwin11.3.0/lib/ -isystem /sw/lib/gcc4.7/x86_64-apple-darwin11.3.0/include -isystem /sw/lib/gcc4.7/x86_64-apple-darwin11.3.0/sys-include -B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.3.0/= ./libstdc++-v3/src/.libs -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=3D0 -ffunction-sections -fdata-se= ctions -g -O2 -g -O2 -DLOCALEDIR=3D"." -nostdinc++ -I/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.3.0/= libstdc++-v3/include/x86_64-apple-darwin11.3.0 -I/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.3.0/= libstdc++-v3/include -I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120203/libstdc++-v3/libsupc++ -I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120203/libstdc++-v3/include/ba= ckward -I/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120203/libstdc++-v3/testsuite/= util /sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120203/libstdc++-v3/testsuite/30= _threads/mutex/try_lock/1.cc -std=3Dgnu++0x ./libtestc++.a -L/sw/lib -liconv -lm -m64 -o ./1.exe -mmacosx-version-min=3D10.6 --sysroot=3D/Developer/SDKs/MacOSX10.6.sdk In file included from /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.3.0/li= bstdc++-v3/include/system_error:39:0, from /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.3.0/li= bstdc++-v3/include/mutex:44, from /sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120203/libstdc++-v3/testsuite/30= _threads/mutex/try_lock/1.cc:26: /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.3.0/li= bstdc++-v3/include/x86_64-apple-darwin11.3.0/bits/error_constants.h:135:24: error: =E2=80=98EOWNERDEAD=E2=80=99 was not declared in this scope /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.3.0/li= bstdc++-v3/include/x86_64-apple-darwin11.3.0/bits/error_constants.h:151:34: error: =E2=80=98ENOTRECOVERABLE=E2=80=99 was not declared in this scope