Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(409)

Issue 7000015: Temporarily add a disable_pie GYP flag (Closed)

Created:
9 years, 7 months ago by rkc
Modified:
9 years, 7 months ago
Reviewers:
raymes, zel, Evan Martin
CC:
chromium-reviews
Visibility:
Public.

Description

Temporarily add a disable_pie GYP flag Add a flag that will disable building Chrome as a Position Independent Executable. R=zelidrag@chromium.org,raymes@chromium.org BUG=chromium-os:15161 TEST=Tested building with and without the flag; with the flag, symbols appear correctly in the remote session. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84892

Patch Set 1 #

Total comments: 6

Patch Set 2 : Added periods to comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M build/common.gypi View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rkc
9 years, 7 months ago (2011-05-10 22:37:44 UTC) #1
raymes
http://codereview.chromium.org/7000015/diff/1/build/common.gypi File build/common.gypi (right): http://codereview.chromium.org/7000015/diff/1/build/common.gypi#newcode142 build/common.gypi:142: # Allow a user to link Chromium as a ...
9 years, 7 months ago (2011-05-10 22:44:43 UTC) #2
rkc
http://codereview.chromium.org/7000015/diff/1/build/common.gypi File build/common.gypi (right): http://codereview.chromium.org/7000015/diff/1/build/common.gypi#newcode142 build/common.gypi:142: # Allow a user to link Chromium as a ...
9 years, 7 months ago (2011-05-10 22:48:38 UTC) #3
raymes
LGTM On Tue, May 10, 2011 at 3:48 PM, <rkc@chromium.org> wrote: > > http://codereview.chromium.org/7000015/diff/1/build/common.gypi > ...
9 years, 7 months ago (2011-05-10 22:49:37 UTC) #4
zel
LGTM
9 years, 7 months ago (2011-05-10 22:57:16 UTC) #5
Evan Martin
Hey, Can you CC me on further changes in this area? It looks like you're ...
9 years, 7 months ago (2011-05-11 21:21:26 UTC) #6
rkc
Sure; and the reason we aren't doing this for the rest of Linux is because ...
9 years, 7 months ago (2011-05-11 22:17:04 UTC) #7
Evan Martin
On 2011/05/11 22:17:04, Rahul Chaturvedi wrote: > Sure; and the reason we aren't doing this ...
9 years, 7 months ago (2011-05-11 22:35:26 UTC) #8
zel
+wad -chromium-reviews Will can answer that one. On Wed, May 11, 2011 at 3:35 PM, ...
9 years, 7 months ago (2011-05-11 22:48:09 UTC) #9
raymes
> How do you turn on PIE for chromeos? I don't see any mention of ...
9 years, 7 months ago (2011-05-11 22:48:49 UTC) #10
rkc
9 years, 7 months ago (2011-05-11 23:18:54 UTC) #11
With a revision some time ago it was turned on - to take full advantage of
ASLR, PIE should always be on.
This is only for debugging purposes.

On Wed, May 11, 2011 at 15:48, Raymes Khoury <raymes@chromium.org> wrote:

> > How do you turn on PIE for chromeos?  I don't see any mention of it in
> the
> > build
> It's enabled by default in the compiler specs.
>
>
> On Wed, May 11, 2011 at 3:48 PM, Zelidrag Hornung <zelidrag@chromium.org>
> wrote:
> > +wad
> > -chromium-reviews
> >
> > Will can answer that one.
> > On Wed, May 11, 2011 at 3:35 PM, <evan@chromium.org> wrote:
> >>
> >> On 2011/05/11 22:17:04, Rahul Chaturvedi wrote:
> >>>
> >>> Sure; and the reason we aren't doing this for the rest of Linux is
> >>> because I
> >>> wasn't aware of any need for it.
> >>> This only affects remote gdb; regular gdb works just fine with the PIE
> >>> executable.
> >>
> >> Ah, I see, it's only *disabling* pic.
> >>
> >> How do you turn on PIE for chromeos?  I don't see any mention of it in
> the
> >> build
> >> files...
> >>
> >> http://codereview.chromium.org/7000015/
> >
> >
>

Powered by Google App Engine
This is Rietveld 408576698