Created attachment 158254 [details] a test case for broken C++ unwind under clang http://www.freelists.org/post/luajit/External-unwind-is-broken-on-FreeBSD-10-x86-64 ``` Program received signal SIGSEGV, Segmentation fault. 0x0000000800b66c1e in __cxa_end_catch () from /lib/libcxxrt.so.1 (gdb) bt #0 0x0000000800b66c1e in __cxa_end_catch () from /lib/libcxxrt.so.1 #1 0x0000000000401d50 in lbox_call () #2 0x0000000000401c4d in main () ``` LuaJIT v2.0.4 % uname -a FreeBSD freebsd.local 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@xxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC amd64 % c++ --version FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.1 Thread model: posix The same tests case works fine with gcc48.
That bug actually with clang on base system, although related to luajit code. vg@freebsd:~ % uname -a FreeBSD freebsd.local 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 vg@freebsd:~ % clang -v FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.1 Thread model: posix Selected GCC installation:
Seems overcome by events?