Closed
Bug 1167494
Opened 9 years ago
Closed 9 years ago
Build error with --disable-[content-]sandbox: GMPLoader.h trying to include missing mozilla/Sandbox.h
Categories
(Core :: Security: Process Sandboxing, defect)
Core
Security: Process Sandboxing
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: mozbugz, Assigned: smichaud)
References
Details
Attachments
(1 file)
6.15 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
Building with both --disable-sandbox and --disable-content-sandbox gives the following error: In file included from mozilla-central/toolkit/xre/nsEmbedFunctions.cpp:74: In file included from ../../dist/include/GMPProcessChild.h:10: In file included from ../../dist/include/GMPChild.h:12: ../../dist/include/GMPLoader.h:14:10: fatal error: 'mozilla/Sandbox.h' file not found #include "mozilla/Sandbox.h" ^ (Not sure which one of --disable-sandbox or --disable-content-sandbox is causing this, didn't have time to try both separately)
Comment 1•9 years ago
|
||
Steve - looks like this needs some more #ifs.
Blocks: 1110911
Flags: needinfo?(smichaud)
Assignee | ||
Comment 2•9 years ago
|
||
> Steve - looks like this needs some more #ifs.
Yes it does. Here's a fix.
This allows the the tree to be built on OS X with --disable-sandbox. It makes no difference to builds made with --disable-content-sandbox (which already complete without problems on OS X).
Comment 3•9 years ago
|
||
Comment on attachment 8610889 [details] [diff] [review] Fix Looks good to me.
Attachment #8610889 -
Flags: review?(jld) → review+
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3bd0ff05cdb9
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•