-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
rust dependencies spoil debug symbol loading in gdb #21836
Comments
More detail: using a non-clarabel-infected program still works. Also, hacking out the clarabel dependency also works to restore full debug symbols. |
Nice! I had noticed this, too, but had not investigated the root cause. |
I suspect some cure can be found by reading up about rust debugging. I've seen evidence of rust users having some version of this problem. |
Well, here are some completely unsatisfying partial answers.
|
It appears that |
FYI workaround: add |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Now that #21961 has landed, using replacement linker
|
In that case, can we automate the fix (and thus close the issue)? We can easily add |
I've been puzzling over the "how to add flags to bazel only for debug" for some time. Still got nothin'. But, I haven't gone dumpster-diving in bazel source code. |
If we're willing to do it in skylark, we could imagine using |
Probably adding some starlark to |
A minor impediment to automating |
What happened?
Version
master circa 1.32.0
What operating system are you using?
Ubuntu 22.04
What installation option are you using?
compiled from source code using Bazel
Relevant log output
The text was updated successfully, but these errors were encountered: