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

Issue 7355033: Linux: Stop installing the gold linker as /usr/bin/ld. Ask users to pass -B/usr/local/gold/bin in... (Closed)

Created:
9 years, 5 months ago by Lei Zhang
Modified:
9 years, 3 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews, cmp
Visibility:
Public.

Description

Linux: Stop installing the gold linker as /usr/bin/ld. Ask users to pass -B/usr/local/gold/bin instead. Also put ld.bfd next to ld so NaCl builds correctly. BUG=79769 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100802

Patch Set 1 : '' #

Total comments: 1

Patch Set 2 : remove obsolete comment #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -23 lines) Patch
M build/install-build-deps.sh View 1 2 3 4 5 chunks +68 lines, -23 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Lei Zhang
The kernel folks are tired of people complaining their kernel does not work because they ...
9 years, 5 months ago (2011-07-13 19:53:08 UTC) #1
Evan Martin
LGTM http://codereview.chromium.org/7355033/diff/4/build/install-build-deps.sh File build/install-build-deps.sh (right): http://codereview.chromium.org/7355033/diff/4/build/install-build-deps.sh#newcode69 build/install-build-deps.sh:69: # variables. That will go into bootstrap-linux.sh when ...
9 years, 5 months ago (2011-07-13 20:37:37 UTC) #2
Evan Martin
http://codereview.chromium.org/7355033/diff/8001/build/install-build-deps.sh File build/install-build-deps.sh (right): http://codereview.chromium.org/7355033/diff/8001/build/install-build-deps.sh#newcode72 build/install-build-deps.sh:72: sudo strip /usr/local/gold/bin/ld Will this do the right thing ...
9 years, 3 months ago (2011-09-07 17:19:21 UTC) #3
Lei Zhang
See patch set 4. http://codereview.chromium.org/7355033/diff/8001/build/install-build-deps.sh File build/install-build-deps.sh (right): http://codereview.chromium.org/7355033/diff/8001/build/install-build-deps.sh#newcode72 build/install-build-deps.sh:72: sudo strip /usr/local/gold/bin/ld On 2011/09/07 ...
9 years, 3 months ago (2011-09-08 00:59:25 UTC) #4
Evan Martin
LGTM http://codereview.chromium.org/7355033/diff/15001/build/install-build-deps.sh File build/install-build-deps.sh (right): http://codereview.chromium.org/7355033/diff/15001/build/install-build-deps.sh#newcode33 build/install-build-deps.sh:33: --no-restore-urs-bin-ld) do_restore_usr_bin_ld=0;; typo: usr http://codereview.chromium.org/7355033/diff/15001/build/install-build-deps.sh#newcode266 build/install-build-deps.sh:266: echo -n ...
9 years, 3 months ago (2011-09-12 19:19:23 UTC) #5
Lei Zhang
9 years, 3 months ago (2011-09-12 22:00:09 UTC) #6
http://codereview.chromium.org/7355033/diff/15001/build/install-build-deps.sh
File build/install-build-deps.sh (right):

http://codereview.chromium.org/7355033/diff/15001/build/install-build-deps.sh...
build/install-build-deps.sh:33: --no-restore-urs-bin-ld) 
do_restore_usr_bin_ld=0;;
On 2011/09/12 19:19:24, Evan Martin wrote:
> typo: usr

Done.

http://codereview.chromium.org/7355033/diff/15001/build/install-build-deps.sh...
build/install-build-deps.sh:266: echo -n "Automatically restore /usr/bin/ld to
the original linker? (Y/n) "
On 2011/09/12 19:19:24, Evan Martin wrote:
> suggestion: s/Automatically r/R/

Done.

http://codereview.chromium.org/7355033/diff/15001/build/install-build-deps.sh...
build/install-build-deps.sh:277: if [ "$restore_success" = "1" ]
On 2011/09/12 19:19:24, Evan Martin wrote:
> Three lines above can become this, no?
> 
> if sudo mv /usr/bin/ld.orig /usr/bin/ld

Done.

Powered by Google App Engine
This is Rietveld 408576698