[LLVMdev] OT: intel darwin losing primary target status

Daniel Dunbar daniel at zuster.org
Sat Sep 19 00:13:19 PDT 2009


On Fri, Sep 18, 2009 at 8:19 PM, Jack Howarth <howarth at bromo.med.uc.edu> wrote:
> On Fri, Sep 18, 2009 at 02:40:17PM -0700, Nick Kledzik wrote:
>> I thought of another work around.  The FSF gcc driver can implicitly
>> add -no_compact_unwind to the link line.  This tells the linker to not
>> produce compact unwind information from the dwarf unwind info in .o
>> files.  Then at runtime the darwin unwinder will fallback and use the
>> slow dwarf unwind info.
>>
>> -Nick
>>
>
> Nick,
>   I can confirm that passing "-Wl,-no_compact_unwind" to the failing
> testcase for g++.dg/torture/stackalign/eh-vararg-2.C eliminates the
> run-time error. I'd run the entire testsuite with that approach but
> I don't know how to suppress the comma in...
>
> make -k  check RUNTESTFLAGS="--target_board=unix'{-Wl,-no_compact_unwind}'"

Perhaps try using -Xlinker?

 - Daniel




More information about the llvm-dev mailing list