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

Issue 1514203002: Only set -rpath=$ORIGIN in component builds by default. (Closed)

Created:
5 years ago by brettw
Modified:
5 years ago
CC:
cc-bugs_chromium.org, chromium-reviews, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only set -rpath=$ORIGIN in component builds by default. Statically-linked binaries do not need -rpath=$ORIGIN set, and setting it can be a source of strange security issues (see bug for more details). Manually add this to some test binaries that require shared libraries to be loaded from the build directory. R=phajdan.jr@chromium.org, thestig@chromium.org BUG=556843 CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_chromium_dbg_ng Forked from http://crrev.com/1448213002 Committed: https://crrev.com/3de132ceb95eb0d1fd40b611374d6868c717d2b4 Cr-Commit-Position: refs/heads/master@{#364877}

Patch Set 1 #

Patch Set 2 : Comments and browser tests fix #

Patch Set 3 : Mojo #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -8 lines) Patch
M base/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M build/config/gcc/BUILD.gn View 2 chunks +44 lines, -8 lines 0 comments Download
M chrome/test/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M components/BUILD.gn View 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/common/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/mojo/src/mojo/edk/test/BUILD.gn View 6 chunks +36 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1514203002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1514203002/1
5 years ago (2015-12-10 22:59:39 UTC) #2
brettw
This just has a trivial syntax tweak from the previous patch.
5 years ago (2015-12-10 23:59:44 UTC) #4
Dirk Pranke
lgtm
5 years ago (2015-12-11 00:18:38 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/154418)
5 years ago (2015-12-11 00:26:07 UTC) #7
Paweł Hajdan Jr.
LGTM Thanks!
5 years ago (2015-12-11 11:22:54 UTC) #8
brettw
Comments and browser tests fix
5 years ago (2015-12-11 18:34:56 UTC) #9
brettw
I added a bunch of comments, renamed the config, and added it to browser_tests (seems ...
5 years ago (2015-12-11 18:35:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1514203002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1514203002/20001
5 years ago (2015-12-11 18:36:43 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/154911)
5 years ago (2015-12-11 22:36:11 UTC) #15
brettw
CC jam for Mojo FYI.
5 years ago (2015-12-11 23:45:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1514203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1514203002/40001
5 years ago (2015-12-11 23:47:08 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-12 03:28:04 UTC) #23
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/3de132ceb95eb0d1fd40b611374d6868c717d2b4 Cr-Commit-Position: refs/heads/master@{#364877}
5 years ago (2015-12-12 03:28:57 UTC) #25
Dirk Pranke
On 2015/12/12 03:28:57, commit-bot: I haz the power wrote: > Patchset 3 (id:??) landed as ...
5 years ago (2015-12-12 17:08:04 UTC) #26
dcheng
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1525733002/ by dcheng@chromium.org. ...
5 years ago (2015-12-14 19:20:55 UTC) #27
dcheng
components_browsertests is picking this dependency up from //content/shell:content_shell_lib. content_shell_lib depends on the blink_test_plugin for unit ...
5 years ago (2015-12-14 19:25:17 UTC) #29
brettw
Link to bot?
5 years ago (2015-12-14 20:31:32 UTC) #30
dcheng
5 years ago (2015-12-15 00:29:33 UTC) #31
Message was sent while issue was closed.
On 2015/12/14 at 20:31:32, brettw wrote:
> Link to bot?

I don't think any bots were failing, but building locally with only use_goma =
true + this patch, and then trying to run components_unittests will hit this
error.

Powered by Google App Engine
This is Rietveld 408576698