Closed Bug 1953622 Opened 1 year ago Closed 1 year ago

Flood of -Ddangling-pointer warning messages

Categories

(Core :: JavaScript: GC, task, P2)

task

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: sfink, Assigned: sfink)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Later versions of gcc complain about a dangling pointer in the Rooted constructor (from persistently storing a stack pointer).

None of our current compiler versions run into this yet. I accidentally hit it because I had forgotten that one of my mozconfigs has CC=gcc in it, which used my system gcc12.

Assignee: nobody → sphink
Status: NEW → ASSIGNED
Blocks: sm-build
Severity: -- → S4
Priority: -- → P2
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/405ec783a205 Suppress -Wdangling-pointer warning when storing a Rooted address r=spidermonkey-reviewers,jonco

Backed out for causing build bustages @RootingAPI.h. CLOSED TREE

Flags: needinfo?(sphink)

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:sfink, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(sphink)
Flags: needinfo?(jcoppeard)
Flags: needinfo?(sphink)
Flags: needinfo?(jcoppeard)
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c04f0228562 Suppress -Wdangling-pointer warning when storing a Rooted address r=spidermonkey-reviewers,jonco
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Flags: needinfo?(sphink)
See Also: → 2000516
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: