From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10884 invoked by alias); 18 Jan 2013 17:23:23 -0000 Received: (qmail 10722 invoked by uid 48); 18 Jan 2013 17:23:03 -0000 From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libitm/55693] [4.8 Regression] libitm.c++/eh-1.C execution test fails on darwin from r193271 Date: Fri, 18 Jan 2013 17:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libitm X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: AssignedTo 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" 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: 2013-01/txt/msg01770.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55693 Aldy Hernandez changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|aldyh at gcc dot gnu.org |unassigned at gcc dot | |gnu.org --- Comment #15 from Aldy Hernandez 2013-01-18 17:22:56 UTC --- Ok, I'm going to put this PR back in the queue for someone else to look at. I have debugged enough for a Darwin savvy person to attack, but my lack of Darwin shlib foo is hindering progress here. FWIW, DYLD_PRINT_LIBRARIES below shows that we are loading the built libstdc++ and libitm shared libraries. I am more than happy to try more options as I already have a build set up. And for the record, below is an easy way to reproduce the problem with libitm/testsuite/libitm.c++/eh-1.C: Yanory-Hernandezs-MacBook:testsuite aldyh$ sh y + SRC=/mnt/gcc/libitm/testsuite/libitm.c++/eh-1.C + /Users/aldyh/bld/1/gcc/xgcc -B/Users/aldyh/bld/1/gcc/ /mnt/gcc/libitm/testsuite/libitm.c++/eh-1.C -B/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/ -I/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm -I/mnt/gcc/libitm/testsuite/.. -shared-libgcc -fmessage-length=0 -fgnu-tm -nostdinc++ -I/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/libstdc++-v3/include/x86_64-apple-darwin10.8.0 -I/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/libstdc++-v3/include -I/mnt/gcc/libstdc++-v3/libsupc++ -I/mnt/gcc/libstdc++-v3/include/backward -I/mnt/gcc/libstdc++-v3/testsuite/util -L/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/.libs -L/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/../libstdc++-v3/src/.libs -shared-libgcc -lstdc++ -lm -g -o ./eh-1.exe + export DYLD_LIBRARY_PATH=.:/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/.libs:/Users/aldyh/bld/1/gcc:/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/../libstdc++-v3/src/.libs:.:/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/.libs:/Users/aldyh/bld/1/gcc:/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/../libstdc++-v3/src/.libs + DYLD_LIBRARY_PATH=.:/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/.libs:/Users/aldyh/bld/1/gcc:/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/../libstdc++-v3/src/.libs:.:/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/.libs:/Users/aldyh/bld/1/gcc:/Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/../libstdc++-v3/src/.libs + export DYLD_PRINT_LIBRARIES=1 + DYLD_PRINT_LIBRARIES=1 + ./eh-1.exe dyld: loaded: /Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/libitm/testsuite/./eh-1.exe dyld: loaded: /Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/../libstdc++-v3/src/.libs/libstdc++.6.dylib dyld: loaded: /Users/aldyh/bld/1/x86_64-apple-darwin10.8.0/./libitm/.libs/libitm.1.dylib dyld: loaded: /usr/lib/libSystem.B.dylib dyld: loaded: /Users/aldyh/bld/1/gcc/libgcc_s.1.dylib dyld: loaded: /usr/lib/system/libmathCommon.A.dylib y: line 11: 89286 Segmentation fault ./eh-1.exe