Closed
Bug 1306719
Opened 8 years ago
Closed 8 years ago
Build of MemoryProtectionExceptionHandler.cpp fails on Mac OSX when new cpp files added
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: yury, Unassigned)
References
Details
Attachments
(1 file)
1.16 KB,
patch
|
ehoogeveen
:
review+
|
Details | Diff | Splinter Review |
If couple of new source files added to the js/src/asmjs/ the build fails with: /Users/yury/Work/mozilla-central/js/src/ds/MemoryProtectionExceptionHandler.cpp:132:25: error: use of undeclared identifier 'STDERR_FILENO' ssize_t ret = write(STDERR_FILENO, aStr, strlen(aStr) + 1); ^ /Users/yury/Work/mozilla-central/js/src/ds/MemoryProtectionExceptionHandler.cpp:505:5: error: unknown type name 'Thread' Thread handlerThread; ^ The MemoryProtectionExceptionHandler.cpp was pushed to the different unified build group (and looks like we don't test non-unified build for Mac OSX)
Reporter | ||
Comment 1•8 years ago
|
||
(I did not check the Windows yet, which might have the same issue)
Attachment #8796698 -
Flags: feedback?(emanuel.hoogeveen)
Comment 2•8 years ago
|
||
Comment on attachment 8796698 [details] [diff] [review] fix-MemoryProtectionExceptionHandler.patch Erk, more non-unified bustage? Sorry about that. I don't have Mac to compile this on locally, and we don't have a non-unified build in automation for OSX, but if this fixes compilation for you then it's fine. Just did a non-unified build on Windows (was easier than I expected), confirmed nothing is missing there.
Attachment #8796698 -
Flags: feedback?(emanuel.hoogeveen) → review+
Reporter | ||
Comment 3•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ec538f46ccaf50ebec1e1bdbc319ba28b8205219
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/5a68cafd32e5 Fix unified build compilation of MemoryProtectionExceptionHandler.cpp. r=ehoogeveen
Keywords: checkin-needed
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5a68cafd32e5
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•