Closed
Bug 857628
Opened 12 years ago
Closed 10 years ago
add support for building Firefox as PIE
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla35
People
(Reporter: dhiru.kholia, Assigned: glandium)
References
Details
Attachments
(1 file, 2 obsolete files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130311191316
Steps to reproduce:
I tried to build Firefox as PIE on a Fedora 18 64-bit system.
Actual results:
According to Mike Hommey (glandium), to enable PIE in Firefox, build system needs to be hacked a bit *unless* there is special compiler / linker support.
So, this bug is a feature request for such a change to be implemented.
Expected results:
Well, it should have been easy to enable hardening flags :-).
Also see https://bugzilla.mozilla.org/show_bug.cgi?id=620058
and https://bugs.launchpad.net/ubuntu/+source/xulrunner-1.9.1/+bug/507744
Updated•12 years ago
|
Component: Untriaged → Build Config
Assignee | ||
Comment 1•12 years ago
|
||
This does the job but it breaks root analysis builds for some reason, as well as Linux32 mochitest-1 and mochitest-3 (apparently anything that involves plugin-container) The weird thing is that these mochitests turn ok if I set LD_DEBUG=all before running plugin-container.
See https://tbpl.mozilla.org/?tree=Try&rev=3e83dd0511d7
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mh+mozilla
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•10 years ago
|
Assignee: mh+mozilla → nobody
Assignee | ||
Comment 2•10 years ago
|
||
Turns out this doesn't break anymore, for whatever reason. Yay ASLR for executables.
https://tbpl.mozilla.org/?tree=Try&rev=c69fafed7e02
Attachment #8495136 -
Flags: review?(mshal)
Assignee | ||
Updated•10 years ago
|
Attachment #736156 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Updated•10 years ago
|
Attachment #8495136 -
Flags: review?(mshal) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Comment 5•10 years ago
|
||
Reverted at glandium's request for causing bug 1076892:
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/e36bdb0150b9
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 6•10 years ago
|
||
Can't have nice things. Nautilus (the file manager) can't open PIE executables, which makes distributing PIE executable essentially impossible.
Keywords: clownshoes
Comment 7•10 years ago
|
||
Merge of backout:
https://hg.mozilla.org/mozilla-central/rev/e36bdb0150b9
Target Milestone: Firefox 35 → ---
Assignee | ||
Comment 8•10 years ago
|
||
Let's go with a first step adding the necessary build goop. We'll figure what to do to enable it by default in a followup.
Attachment #8501420 -
Flags: review?(mshal)
Assignee | ||
Updated•10 years ago
|
Attachment #8495136 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8501420 -
Flags: review?(mshal) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Comment 10•10 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Updated•10 years ago
|
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
Updated•6 years ago
|
Keywords: clownshoes
Target Milestone: Firefox 35 → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•