Closed
Bug 1758782
Opened 4 years ago
Closed 4 years ago
Valgrind run fails when building with clang 14
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox100 fixed)
RESOLVED
FIXED
100 Branch
| Tracking | Status | |
|---|---|---|
| firefox100 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
--14810-- Reading syms from /builds/worker/workspace/obj-build/dist/bin/firefox-bin
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x23
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x23
==14810== Valgrind: debuginfo reader: ensure_valid failed:
==14810== Valgrind: during call to ML_(img_get)
==14810== Valgrind: request for range [172269793, +4) exceeds
==14810== Valgrind: valid image size of 5478304 for image:
==14810== Valgrind: "/builds/worker/workspace/obj-build/dist/bin/firefox-bin"
==14810==
==14810== Valgrind: debuginfo reader: Possibly corrupted debuginfo file.
==14810== Valgrind: I can't recover. Giving up. Sorry.
The core problem is that clang 14 defaults to dwarf-5, and valgrind doesn't support that.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Toolchains' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: General → Toolchains
| Assignee | ||
Updated•4 years ago
|
Component: Toolchains → General
| Assignee | ||
Comment 2•4 years ago
|
||
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/192810f500b5
Force-use DWARF-4 debug info. r=firefox-build-system-reviewers,andi
Comment 4•4 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox100:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Comment 5•4 years ago
|
||
Valgrind bug about DWARF 5 support: https://bugs.kde.org/show_bug.cgi?id=452758
Comment 6•3 years ago
|
||
I believe this is at least improved, if not completely fixed, in Valgrind 3.20 now.
You need to log in
before you can comment on or make changes to this bug.
Description
•