Closed
Bug 947683
Opened 11 years ago
Closed 11 years ago
Unable to compile non-threadsafe js shells using --disable-threadsafe
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
mozilla29
People
(Reporter: gkw, Assigned: jandem)
References
Details
(Keywords: regression, Whiteboard: [fuzzblocker][qa-])
Attachments
(2 files)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
Bug 915735 may have broken compiling js shells and bug 947299 may have partially fixed some issues, but shells compiled with --disable-threadsafe still don't seem to work.
This isn't the first failure involving --disable-threadsafe (see bug 942552), please test with this flag in the future!
Setting needinfo? from Ehsan as he wrote the patch in bug 915735.
Flags: needinfo?(ehsan)
Reporter | ||
Comment 1•11 years ago
|
||
Configure parameters:
CC="clang -Qunused-arguments" AR=ar CXX="clang++ -Qunused-arguments" sh ./configure --target=x86_64-apple-darwin12.5.0 --enable-optimize --enable-debug --enable-profiling --enable-gczeal --enable-debug-symbols --enable-methodjit --enable-type-inference --disable-tests --with-ccache --disable-threadsafe
Reporter | ||
Comment 2•11 years ago
|
||
Additionally, I also seem to be having trouble compiling with --enable-threadsafe on Windows (32-bit and 64-bit), though that might be related to bug 947299. (also on rev edac8cba9f78)
Comment 3•11 years ago
|
||
As you could have probably guessed form the build failure, this has nothing to do with bug 915735.
$ git bisect good
3b2fc4c5d744113e6c677dd86a4df7806d02450a is the first bad commit
commit 3b2fc4c5d744113e6c677dd86a4df7806d02450a
Author: Jan de Mooij <jdemooij@mozilla.com>
Date: Fri Dec 6 21:03:27 2013 +0100
Bug 946883 - Use NSPR thread for AsmJSMachExceptionHandler on OS X, so that it works with PosixNSPR. r=luke
--HG--
extra : rebase_source : 34a82b93197c14ab237df23ceb8646499049cbf8
:040000 040000 c72d0fd18fb42d08fcf80299209f85e18e9bd8c9 42da86449ed59158aca1197433e8a116154443a0 M js
Reporter | ||
Comment 4•11 years ago
|
||
Sigh. Sorry for the mixup.
Turns out that bug 946883 landed in the middle of the landing of bug 915735 and bug 947299's changesets (these broke & fixed Mac shells in some configurations), plus the build failure being in the middle rather than the end of the logfile does not help.
Flags: needinfo?(jdemooij)
Assignee | ||
Comment 5•11 years ago
|
||
Luke, do you think it's ok to disable signal handlers (and therefore Odin) on OS X with --disable-threadsafe?
Flags: needinfo?(luke)
Comment 6•11 years ago
|
||
Yeah, just have EnsureIsSignalHandlingBroken() return 'false' in that case and Odin will turn off.
Flags: needinfo?(luke)
Assignee | ||
Comment 7•11 years ago
|
||
This fixes the build for me with --disable-threadsafe.
Assignee: general → jdemooij
Status: NEW → ASSIGNED
Attachment #8344675 -
Flags: review?(luke)
Flags: needinfo?(jdemooij)
Updated•11 years ago
|
Attachment #8344675 -
Flags: review?(luke) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Reporter | ||
Comment 10•11 years ago
|
||
This will need to land on Aurora, I think. The regressor made the merge but not this fix.
Flags: needinfo?(jdemooij)
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 8344675 [details] [diff] [review]
Patch
This patch is basically NPOTB. I'll request approval just to be sure, but we never build the browser with --disable-threadsafe so it has no effect on it.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 946883.
User impact if declined: Unable to build a --disable-threadsafe shell.
Testing completed (on m-c, etc.): On m-c.
Risk to taking this patch (and alternatives if risky): None.
String or IDL/UUID changes made by this patch: None.
Attachment #8344675 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(jdemooij)
Comment 12•11 years ago
|
||
NPOTB changes do not need approval.
Comment 13•11 years ago
|
||
Comment on attachment 8344675 [details] [diff] [review]
Patch
what Ehsan said, use a=NPTOB in your commit, thanks for checking though.
Attachment #8344675 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Whiteboard: [fuzzblocker] → [fuzzblocker][checkin-needed-aurora]
Assignee | ||
Comment 14•11 years ago
|
||
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Whiteboard: [fuzzblocker][checkin-needed-aurora] → [fuzzblocker]
Comment 15•11 years ago
|
||
If this needs extra QA testing please remove the [qa-] whiteboard tag and add the verifyme keyword.
Whiteboard: [fuzzblocker] → [fuzzblocker][qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•