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

Issue 723033006: Instrumented libraries: overhaul RPATH handling. (Closed)

Created:
6 years, 1 month ago by earthdok
Modified:
6 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Instrumented libraries: overhaul RPATH handling. (1) Run fix_rpaths.sh separately for each package. Previously we ran it once as a separate build step. This was the only way when all packages were installed in the same directory, but since we now install each package in a temporary directory first, it makes more sense to run fix_rpaths.sh there. (2) Also fix the one remaining package which didn't use a temp directory. (3) As a consequence of (1), fixed an issue caused by the fix_rpaths step sometimes failing to run (http://crbug.com/433547). (4) Improve the DSO discovery regexp in fix_rpaths.sh. Previously it only covered DSOs which had unversioned symlinks pointing to them. (5) Remove an outdated RPATH entry for dependent executables (/usr/lib/x86_64-linux-gnu/ - we don't install anything there anymore). BUG=433547 R=glider@chromium.org NOTRY=true Committed: https://crrev.com/59a4c28d5e275836a5666f25bff4850215c7b481 Cr-Commit-Position: refs/heads/master@{#304459}

Patch Set 1 #

Total comments: 2

Patch Set 2 : readability changes #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -44 lines) Patch
M third_party/instrumented_libraries/download_build_install.py View 1 2 11 chunks +34 lines, -19 lines 0 comments Download
M third_party/instrumented_libraries/fix_rpaths.sh View 1 chunk +12 lines, -9 lines 0 comments Download
M third_party/instrumented_libraries/instrumented_libraries.gyp View 1 chunk +1 line, -16 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
earthdok
ptal the script needs a rewrite so badly
6 years, 1 month ago (2014-11-17 19:19:14 UTC) #1
Alexander Potapenko
LGTM with two nits. https://codereview.chromium.org/723033006/diff/1/third_party/instrumented_libraries/download_build_install.py File third_party/instrumented_libraries/download_build_install.py (right): https://codereview.chromium.org/723033006/diff/1/third_party/instrumented_libraries/download_build_install.py#newcode33 third_party/instrumented_libraries/download_build_install.py:33: script_absolute_path = os.path.dirname(os.path.abspath(__file__)) I think ...
6 years, 1 month ago (2014-11-17 19:29:00 UTC) #2
earthdok
On 2014/11/17 19:29:00, Alexander Potapenko wrote: > LGTM with two nits. > > https://codereview.chromium.org/723033006/diff/1/third_party/instrumented_libraries/download_build_install.py > ...
6 years, 1 month ago (2014-11-17 19:44:10 UTC) #3
Alexander Potapenko
LGTM
6 years, 1 month ago (2014-11-17 19:53:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/723033006/40001
6 years, 1 month ago (2014-11-17 19:54:11 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-11-17 19:55:18 UTC) #7
commit-bot: I haz the power
6 years, 1 month ago (2014-11-17 19:57:40 UTC) #8
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/59a4c28d5e275836a5666f25bff4850215c7b481
Cr-Commit-Position: refs/heads/master@{#304459}

Powered by Google App Engine
This is Rietveld 408576698