From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10127 invoked by alias); 19 Sep 2009 13:50:00 -0000 Received: (qmail 10119 invoked by uid 22791); 19 Sep 2009 13:50:00 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from relay00.pair.com (HELO relay00.pair.com) (209.68.5.9) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sat, 19 Sep 2009 13:49:54 +0000 Received: (qmail 65150 invoked from network); 19 Sep 2009 13:49:52 -0000 Received: from 24.76.170.162 (HELO ?10.0.0.11?) (24.76.170.162) by relay00.pair.com with SMTP; 19 Sep 2009 13:49:52 -0000 X-pair-Authenticated: 24.76.170.162 Message-ID: <4AB4E17F.4020100@pogma.com> Date: Sat, 19 Sep 2009 13:50:00 -0000 From: Peter O'Gorman User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: "Joseph S. Myers" CC: Jack Howarth , gcc@gcc.gnu.org Subject: Re: the cause of PR41260 is new additional epilog unwind information References: <20090919023031.GA13892@bromo.med.uc.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00343.txt.bz2 Joseph S. Myers wrote: > On Fri, 18 Sep 2009, Jack Howarth wrote: > >> I can confirm that the second proposed solution of passing -Wl,-no_compact_unwind >> to the linkage of the g++.dg/torture/stackalign/eh-vararg-2.C test cases eliminates >> the execution error on x86_64-apple-darwin10 so that option works. This leads to a >> dejagnu question. I want to do a quick and dirty test to see that -Wl,-no_compact_unwind >> suppresses all of the regressions that appeared at r147995, however I can't puzzle out >> how to formulate... >> >> make -k check RUNTESTFLAGS="--target_board=unix'{-Wl,-no_compact_unwind}'" >> >> such that -Wl,-no_compact_unwind is interpreted as a single run with >> one flag being passed (ie not one run with -Wl and one run with >> -no_compact_unwind). Any ideas? > > The -Xlinker spelling may be useful - try > "--target_board=unix/-Xlinker/-no_compact_unwind". > Or try building with this patch (it always adds -no_compact_unwind with -lSystem for 10.6 and later, but beware mailer wrapping). I didn't test it because mainline fails to build for me, dsymutil crashes so 'configure: error: cannot compute sizeof (long long)'. Peter Index: gcc/config/darwin.h =================================================================== --- gcc/config/darwin.h (revision 151878) +++ gcc/config/darwin.h (working copy) @@ -372,7 +372,9 @@ /* Machine dependent libraries. */ -#define LIB_SPEC "%{!static:-lSystem}" +#define LIB_SPEC "%{!static:\ + %:version-compare(>= 10.6 mmacosx-version-min= -no_compact_unwind) \ + -lSystem}" /* Support -mmacosx-version-min by supplying different (stub) libgcc_s.dylib libraries to link against, and by not linking against libgcc_s on