Closed
Bug 1667007
Opened 4 years ago
Closed 4 years ago
error: static assertion failed: MPSCQueue internal allocations too big.
Categories
(Core :: Audio/Video: cubeb, defect)
Core
Audio/Video: cubeb
Tracking
()
RESOLVED
FIXED
83 Branch
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
This error appears when building on Linux mipsel.
/<<PKGBUILDDIR>>/dom/media/AsyncLogger.h:93:58: error: static assertion failed: MPSCQueue internal allocations too big.
93 | static_assert(sizeof(MPSCQueue<TracePayload>::Message) <= PAYLOAD_TOTAL_SIZE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
The problem is that the PADDING calculation doesn't account for special cases of alignment on some platforms.
Assignee | ||
Comment 1•4 years ago
|
||
such that it accounts for alignment of TracePayload itself in MPSCQueue
correctly.
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/a7dec549998f Fix AsyncLogger::TracePayload's mName size calculation. r=padenot
Assignee | ||
Comment 4•4 years ago
|
||
Comment on attachment 9177563 [details]
Bug 1667007 - Fix AsyncLogger::TracePayload's mName size calculation.
Beta/Release Uplift Approval Request
- User impact if declined: Build failure on some tier-3 platforms
- Is this code covered by automated tests?: Unknown
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The resulting code is stricter than the current code in what it expects the struct size to be (== rather than <=), so if the struct size doesn't actually end up with the expected size, the build will fail, which it doesn't as far as testing on tier-1 and some tier-3 platforms showed.
- String changes made/needed:
Attachment #9177563 -
Flags: approval-mozilla-beta?
I'm asking, since I'm loosly associated with packaging firefox for gentoo, but don't have own mips/mipsel hardware to test this with. So maybe I can help the few brave souls out there with picking up the patch for 78-esr
Assignee | ||
Comment 6•4 years ago
|
||
It doesn't affect esr78.
Comment 7•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox83:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Comment 8•4 years ago
|
||
Comment on attachment 9177563 [details]
Bug 1667007 - Fix AsyncLogger::TracePayload's mName size calculation.
approved for 82.0b4
Attachment #9177563 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 9•4 years ago
|
||
bugherder uplift |
status-firefox82:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•