[Bug 278551] lang/gcc: exceptions do not work in statically linked binaries

2024-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278551 --- Comment #23 from Mark Millard --- (In reply to Mark Millard from comment #21) Another combination that works uses libc++ instead (pthread example again): g++13 -static -pthread -stdlib=libc++

[Bug 278551] lang/gcc: exceptions do not work in statically linked binaries

2024-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278551 --- Comment #22 from Mark Millard --- (In reply to Mark Millard from comment #21) Probably not obvious for my prior note: The final -Wl,--eh-frame-hdr case does, in fact, also print the line: FreeBSD doesn't reach here. -- You are

[Bug 278551] lang/gcc: exceptions do not work in statically linked binaries

2024-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278551 --- Comment #21 from Mark Millard --- (In reply to Mohammed Goder from comment #20) Niether With proper command line options the trivial test case variant below works just fine on FreeBSD. // File: lang-gcc-g++-exception-handling.cpp

[Bug 278551] lang/gcc: exceptions do not work in statically linked binaries

2024-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278551 --- Comment #20 from Mohammed Goder --- So should this be reported upstream? If so, am I supposed to do that or will you guys be handling the rest of this? -- You are receiving this mail because: You are the assignee for the bug.