[PATCH] ntdll: link libunwind if present

Ken Thomases ken at codeweavers.com
Sat Jun 13 06:41:49 CDT 2015


Hi,

On Jun 13, 2015, at 5:17 AM, Marcus Meissner <marcus at jet.franken.de> wrote:

> On openSUSE 13.1/13.2 otherwise ntdll x86_64 build will fail with:
>
This new link error is <https://bugs.winehq.org/show_bug.cgi?id=38713>.

> (probably on x86 it all is inlined, but this is not the case for x86_64)

The new code that introduced this issue is in x86_64-only code (signal_x86_64.c).

Thanks for your attempt to fix the problem I created.

I'm not sure why your configure check is in an if statement having to do with the support for CFI directives.  Also, the symbol you're checking for (_U_dyn_register) seems suspicious.  It's not mentioned in the link errors.  Also, I'm not sure it's a reliable export from libunwind.  As indicated in the bug report, libunwind does annoying symbol renaming that's not consistent among platforms.  (It's definitely not present on OS X, although that's because Apple provides a somewhat customized interface.)

Erich Hoover and I are working on a different approach on the bug.  He attached a patch and I attached a counter-proposal patch.  I'd appreciate if you could check that mine solves the problem for you.

Thanks,
Ken




More information about the wine-devel mailing list