-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
gdb fails to load debug symbols for NAOT-ed executable in release mode #78210
Comments
Tagging subscribers to this area: @tommcdon Issue DetailsDescriptionError:
It read successfully when using debug mode. Reproduction Steps1. Create an empty console project
2. Create a build script (for convenience)
3. Build for debug and release
4. Run gdb for bothFor release
For debug
Expected behaviorThe symbols are there since I didn't strip them out, so I expect them to have been read. Actual behaviorFails with error
Regression?No response Known WorkaroundsNo response Configuration
Other information
|
can you post infromation about project settings related to globalization, and is this issue reproduces on hello world for you, or on specific code only? |
To clarify for others: it is being reproduced on a minimal project (see first step: |
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsDescriptionError:
It read successfully when using debug mode. Reproduction Steps1. Create an empty console project
2. Create a build script (for convenience)
3. Build for debug and release
4. Run gdb for bothFor release
For debug
Expected behaviorThe symbols are there since I didn't strip them out, so I expect them to have been read. Actual behaviorFails with error
Regression?No response Known WorkaroundsNo response Configuration
Other information
|
Dup of #77407. I'm looking into it but haven't gotten very far. Something about the DWARF info is definitely busted. I'm closing this one in favor of the first. |
If something I can test on my side, let me know |
Description
Error:
It read successfully when using debug mode.
Reproduction Steps
1. Create an empty console project
2. Create a build script (for convenience)
3. Build for debug and release
4. Run gdb for both
For release
For debug
Expected behavior
The symbols are there since I didn't strip them out, so I expect them to have been read.
Actual behavior
Fails with error
Regression?
No response
Known Workarounds
No response
Configuration
uname -v
:1 SMP Debian 5.10.140-1 (2022-09-02)
)Other information
The text was updated successfully, but these errors were encountered: