[Bug 278551] lang/gcc: exceptions do not work in statically linked binaries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Apr 2024 17:50:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278551 --- Comment #8 from Konstantin Belousov <kib@FreeBSD.org> --- (In reply to Ed Maste from comment #6) -Wl,--eh-frame-hdr indeed help with the unwinder in thread_exit. There is one more bug meantime, (gdb) r Starting program: /usr/home/kostik/work/DEV/tests/pr278551 [New LWP 308137 of process 11609] kernel [LWP 308137 of process 11609 exited] FreeBSD RELEASE 14.0 doesn't reach here. Thread 1 received signal SIGSEGV, Segmentation fault. Invalid permissions for mapped object. 0x00000000005aec00 in (anonymous namespace)::moneypunct_cache_ct () (gdb) bt #0 0x00000000005aec00 in (anonymous namespace)::moneypunct_cache_ct () #1 0x00000000004032bf in __do_global_dtors_aux () #2 0x00000000005400a5 in _fini () #3 0x00000000004dfaff in __cxa_finalize () #4 0x00000000004dfede in exit () #5 0x00000000004bf93f in __libc_start1 () #6 0x0000000000403298 in _start () -- You are receiving this mail because: You are the assignee for the bug.