[Bug 50625] Unhandled exception with try/catch

WineHQ Bugzilla wine-bugs at winehq.org
Tue Nov 30 15:54:00 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50625

--- Comment #17 from David Paradis <david.paradis at us.abb.com> ---
(In reply to André H. from comment #16)
> CCing Martin
> https://stackoverflow.com/questions/49438381/getting-linker-errors-when-
> linking-against-libunwind-for-a-library-in-my-project looks similar

Yes it sounds similar, but when you look at the signal_arm.c file, I attempted
to just force the "HAVE_LIBUNWIND" define just before it looked for it to be
defined.  Inside the ifdef it defines the UNW_LOCAL_ONLY and then includes the
header.

I am trying overload the UNWIND_LIBS path when calling .configure to see if
that helps.

When I then run make I get the following output:


admin at eSCi-EDP001:~/wine-6.22/dlls/ntdll$ sudo make prefix=/opt/wine install
make[1]: Entering directory '/home/admin/wine-6.22'
gcc -o dlls/ntdll/ntdll.so -shared -Wl,-Bsymbolic -Wl,-soname,ntdll.so
-Wl,-z,defs dlls/ntdll/unix/cdrom.o \
  dlls/ntdll/unix/debug.o dlls/ntdll/unix/env.o dlls/ntdll/unix/file.o
dlls/ntdll/unix/loader.o \
  dlls/ntdll/unix/loadorder.o dlls/ntdll/unix/process.o
dlls/ntdll/unix/registry.o \
  dlls/ntdll/unix/security.o dlls/ntdll/unix/serial.o dlls/ntdll/unix/server.o
\
  dlls/ntdll/unix/signal_arm.o dlls/ntdll/unix/signal_arm64.o
dlls/ntdll/unix/signal_i386.o \
  dlls/ntdll/unix/signal_x86_64.o dlls/ntdll/unix/socket.o
dlls/ntdll/unix/sync.o \
  dlls/ntdll/unix/system.o dlls/ntdll/unix/tape.o dlls/ntdll/unix/thread.o
dlls/ntdll/unix/virtual.o \
  dlls/ntdll/unix/version.o -lpthread -ldl
dlls/ntdll/unix/signal_arm.o: In function `unwind_builtin_dll':
/home/admin/wine-6.22/dlls/ntdll/unix/signal_arm.c:246: undefined reference to
`_ULarm_init_local'
/home/admin/wine-6.22/dlls/ntdll/unix/signal_arm.c:253: undefined reference to
`_ULarm_get_proc_info'
/home/admin/wine-6.22/dlls/ntdll/unix/signal_arm.c:277: undefined reference to
`_ULarm_step'
/home/admin/wine-6.22/dlls/ntdll/unix/signal_arm.c:289: undefined reference to
`_ULarm_get_reg'
/home/admin/wine-6.22/dlls/ntdll/unix/signal_arm.c:290: undefined reference to
`_ULarm_get_reg'
/home/admin/wine-6.22/dlls/ntdll/unix/signal_arm.c:291: undefined reference to
`_ULarm_get_reg'
/home/admin/wine-6.22/dlls/ntdll/unix/signal_arm.c:292: undefined reference to
`_ULarm_get_reg'
collect2: error: ld returned 1 exit status
Makefile:103719: recipe for target 'dlls/ntdll/ntdll.so' failed
make[1]: *** [dlls/ntdll/ntdll.so] Error 1
make[1]: Leaving directory '/home/admin/wine-6.22'
Makefile:13: recipe for target 'install' failed
make: *** [install] Error 2

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list