Closed
Bug 1757756
Opened 3 years ago
Closed 3 years ago
Permafailing wasi js/src/util/GetPidProvider.h:14:11: note: macro 'getpid' defined here when Gecko 99 merges to Beta on 2022-03-08
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
100 Branch
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox97 | --- | unaffected |
firefox98 | --- | unaffected |
firefox99 | --- | fixed |
firefox100 | --- | verified |
People
(Reporter: nataliaCs, Assigned: jandem)
References
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
[Tracking Requested - why for this release]:
[task 2022-03-02T12:20:08.036Z] In file included from /builds/worker/workspace/obj-spider/dist/system_wrappers/unistd.h:3:
[task 2022-03-02T12:20:08.036Z] /builds/worker/fetches/sysroot-wasm32-wasi/include/unistd.h:156:14: error: too many arguments provided to function-like macro invocation
[task 2022-03-02T12:20:08.036Z] pid_t getpid(void);
[task 2022-03-02T12:20:08.037Z] ^
[task 2022-03-02T12:20:08.037Z] /builds/worker/checkouts/gecko/js/src/util/GetPidProvider.h:14:11: note: macro 'getpid' defined here
[task 2022-03-02T12:20:08.038Z] # define getpid() 1
[task 2022-03-02T12:20:08.038Z] ^
[task 2022-03-02T12:20:08.038Z] 1 error generated.
[task 2022-03-02T12:20:08.038Z] gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:659: Unified_cpp_js_src12.o] Error 1
[task 2022-03-02T12:20:08.038Z] gmake[4]: Leaving directory '/builds/worker/workspace/obj-spider/js/src'
[task 2022-03-02T12:20:08.038Z] gmake[4]: *** Waiting for unfinished jobs....
Could be a fallout of Bug 1757273?
Ryan, do you have a few minutes to check?
Flags: needinfo?(rhunt)
Comment 1•3 years ago
|
||
It looks wasi related, it seems unlikely to be a regression from bug 1757273. Jan, do you have any idea what this might be from?
Flags: needinfo?(rhunt) → needinfo?(jdemooij)
Assignee | ||
Comment 2•3 years ago
|
||
zlib includes unistd.h and the definition of getpid there conflicted with the macro
in GetPidProvider.h, breaking the WASI build on beta.
Updated•3 years ago
|
Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Assignee | ||
Updated•3 years ago
|
Flags: needinfo?(jdemooij)
Updated•3 years ago
|
Comment 3•3 years ago
|
||
The patch seems to be working as of today's central as beta simulation.
Updated•3 years ago
|
Updated•3 years ago
|
Priority: P3 → P1
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/399e883cdcd2
Use emulated getpid for WASI to fix the beta-simulation build. r=glandium
Reporter | ||
Comment 5•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox100:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Updated•3 years ago
|
tracking-firefox99:
+ → ---
Assignee | ||
Comment 8•3 years ago
|
||
Comment on attachment 9266257 [details]
Bug 1757756 - Use emulated getpid for WASI to fix the beta-simulation build. r?glandium!
Beta/Release Uplift Approval Request
- User impact if declined: Broken WASI build on beta.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- 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): Doesn't affect Firefox.
- String changes made/needed: N/A
Flags: needinfo?(jdemooij)
Attachment #9266257 -
Flags: approval-mozilla-beta?
Comment 9•3 years ago
|
||
Comment on attachment 9266257 [details]
Bug 1757756 - Use emulated getpid for WASI to fix the beta-simulation build. r?glandium!
Approved for 99.0b3. Thanks.
Attachment #9266257 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 10•3 years ago
|
||
bugherder uplift |
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•