[Bug target/114839] g++-linked FreeBSD static binaries abort upon exception

2024-04-24 Thread emaste at freebsd dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114839 --- Comment #4 from Ed Maste --- Thanks - 54568 adds some good context. Based on that I think it may that frame registration calls are not present in the FreeBSD crt bits used for static binaries, which could explain the differences in OSes. We

[Bug target/114839] g++-linked FreeBSD static binaries abort upon exception

2024-04-24 Thread emaste at freebsd dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114839 --- Comment #3 from Ed Maste --- (In reply to Andrew Pinski from comment #2) > Is it the case that unwinder from LLVM needs a .eh_frame_hdr for static > binaries while GCC's libgcc one does not? That's possible, but in the investigation in the

[Bug driver/114839] New: g++-linked FreeBSD static binaries abort upon exception

2024-04-24 Thread emaste at freebsd dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114839 Bug ID: 114839 Summary: g++-linked FreeBSD static binaries abort upon exception Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Pri

[Bug driver/113218] New: gcc -pg fails on contemporary FreeBSD

2024-01-03 Thread emaste at freebsd dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113218 Bug ID: 113218 Summary: gcc -pg fails on contemporary FreeBSD Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver