-
Notifications
You must be signed in to change notification settings - Fork 63
Implement stacktraces in Sys::Drop()/Error() #1741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks a lot! |
6d571de
to
9528fb2
Compare
13e2395
to
f3c1a28
Compare
Seriously? WTF is this garbage? |
GCC failure is unrelated, and for some reason using |
aed5b79
to
409027e
Compare
I give up trying to fix that piece of shit. Either we NUKE the unsafe vec3 functions or accept the CI not using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we should fix that vector load thing anyway. It could theoretically cause a segfault if the vector is right against a page boundary.
Seems not a lot of packages contain libc++_backtrace. Trixie appears to have it in some of the packages. I might check at a later point if it's viable to build it and/or libc++exp for external_deps, but for now I think it's fine to not do so. Probably also need to check which of the 2 libs is present, since it's preferred to use libc++exp, but it might not be available. |
Something with a C++ interface is probably not viable for external_deps |
0fc955c
to
cc1410d
Compare
Ubuntu 24.04, I was trying the |
OK I reproduced the issue and figured out what's missing. The flag we need is
|
Haven't tried that change on gcc yet, but on msvc I get:
|
There was a missing whitespace, but fixing that didn't change anything. It either complains that half the preceding flag is unknown ( |
Idk where the random |
Figured out the issue: |
I'll test on GCC later, but MSVC works fine now. |
fcebefb
to
8677308
Compare
Tested on GCC13, it works fine. Also made the log formatting consistent between compilers. |
The MSVC flags were in the GCC section
-fmacro-prefix-map -> -ffile-prefix-map Fix the compiler flags on MSVC.
LGTM |
Requires #1719
Adds stacktraces from
<stacktrace>
toSys::Drop()/Error()
, to help with debugging.