Closed Bug 1749856 Opened 2 years ago Closed 11 months ago

[Automated review] False positive build error on gfx/thebes/ThebesRLBox.h

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

defect

Tracking

(firefox-esr115 fixed, firefox116 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr115 --- fixed
firefox116 --- fixed

People

(Reporter: TYLin, Assigned: glandium)

References

Details

Attachments

(1 file)

In https://phabricator.services.mozilla.com/D135639, clang-diagnostic-error reports "Build Error" on gfx/thebes/ThebesRLBox.h:17. It seems the diagnostic environment has trouble finding rlbox.wasm.h.

https://searchfox.org/mozilla-central/rev/5ce782034b736293836a2850ab698e149ca04657/gfx/thebes/ThebesRLBox.h#17

The severity field is not set for this bug.
:andi, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(bpostelnicu)

This is very strange because the try stask seems to be green: https://treeherder.mozilla.org/jobs?repo=try&revision=2937129dd330e39935fa88ee05a93bb288cddbb5&selectedTaskRun=CcuQBn-sQi6wOGkD_LriZQ.0
Unfortunately I can no longer access it because it expired but if this will re-occur please open this bug.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(bpostelnicu)
Resolution: --- → INCOMPLETE
Product: Firefox Build System → Developer Infrastructure
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

This moves the creation of both rlbox.wasm.c and rlbox.wasm.h to
pre-compile, which allows static-analysis to create both files (but more
importantly the .h) without also compiling rlbox.wasm.c, which takes
forever.

Assignee: nobody → mh+mozilla
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/1ab6f64a0e0f
Use GeneratedFile for rlbox.wasm.c. r=firefox-build-system-reviewers,andi
Status: REOPENED → RESOLVED
Closed: 2 years ago11 months ago
Resolution: --- → FIXED
Blocks: 1848908

Comment on attachment 9337808 [details]
Bug 1749856 - Use GeneratedFile for rlbox.wasm.c.

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Required for bug 1848908.
  • User impact if declined: See above
  • Fix Landed on Version: 116
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Relatively straightforward build system only change.
Attachment #9337808 - Flags: approval-mozilla-esr115?

Comment on attachment 9337808 [details]
Bug 1749856 - Use GeneratedFile for rlbox.wasm.c.

Approved for 115.3esr.

Attachment #9337808 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: