Closed
Bug 1375507
Opened 8 years ago
Closed 4 years ago
Rust debug symbols are broken on macOS with rustc <1.19 and codegen-units >1
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jdm, Unassigned)
References
Details
Attachments
(1 file)
472 bytes,
text/plain
|
Details |
https://github.com/rust-lang/rust/issues/39160 is the issue tracking the problem with codegen-units on macOS. It is fixed in rustc 1.19, and any version before that suffers from inscrutable failures when setting breakpoints in either lldb or gdb inside Rust code.
Reporter | ||
Comment 1•8 years ago
|
||
We could possibly detect this situation in http://searchfox.org/mozilla-central/diff/8f7b8a3663a48975af04a6ae9d8a972669bff63e/python/mozbuild/mozbuild/frontend/emitter.py#478 and emit a non-problematic value at all times.
Comment 2•8 years ago
|
||
(In reply to Josh Matthews [:jdm] from comment #1)
> We could possibly detect this situation in
> http://searchfox.org/mozilla-central/diff/
> 8f7b8a3663a48975af04a6ae9d8a972669bff63e/python/mozbuild/mozbuild/frontend/
> emitter.py#478 and emit a non-problematic value at all times.
Unfortunately, that bit of code isn't emitting anything, it's verifying that the configuration for the gkrust libraries are what we expect them to be.
Updated•8 years ago
|
Blocks: stylo-nightly-build
Updated•8 years ago
|
Comment 3•8 years ago
|
||
Ralph is bumping our Rust version to 1.19 in bug 1382743. That should fix this Rust debug symbol issue.
Depends on: 1382743
Comment 4•8 years ago
|
||
I spotted a build failure. Since :froydnj is talking about gkrust, I thought I would ask if this is the same bustage before filing a new bug.
Updated•7 years ago
|
Product: Core → Firefox Build System
Comment 5•4 years ago
|
||
Fixed per comment 3.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•