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

Issue 2404193003: Android/clang: Always pass --gcc-toolchain, independent of use_gold. (Closed)

Created:
4 years, 2 months ago by Nico
Modified:
4 years, 2 months ago
Reviewers:
hans, Torne
CC:
chromium-reviews, agrieve, Torne, Primiano Tucci (use gerrit), Dirk Pranke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android/clang: Always pass --gcc-toolchain, independent of use_gold. clang uses the same compiler binary no matter what arch it's targeting, so it needs to know where to find the (arch-dependent) linker. It needs to know this no matter if the linker is BFD ld or gold. This is needed to make things link in chrome/android/arm64 builds with clang. use_gold defaults to true on android for x86, x64, and arm, but not for arm64, see build/config/compiler/compiler.gni. It also doesn't default to true for mips, but mips had a special-case branch adding --gcc-toolchain before this change. (We should probably use gold in arm64 android builds by default too, but that's for a different CL.) BUG=539781 Committed: https://crrev.com/1a11042f1f1a1532bfba1f0cb8fcb9eac23edd06 Cr-Commit-Position: refs/heads/master@{#424441}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -14 lines) Patch
M build/config/compiler/BUILD.gn View 2 chunks +11 lines, -14 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
Nico
Not sure who should review this, so cc'ing a bunch of folks. This is needed ...
4 years, 2 months ago (2016-10-11 14:43:03 UTC) #4
hans
What's arm64-specific about this? Is the reason it worked for 32-bit arm that we always ...
4 years, 2 months ago (2016-10-11 14:55:17 UTC) #6
Nico
On 2016/10/11 14:55:17, hans wrote: > What's arm64-specific about this? Is the reason it worked ...
4 years, 2 months ago (2016-10-11 14:57:44 UTC) #7
Torne
Wait, are we still not using gold for arm64? Doesn't that mean we aren't doing ...
4 years, 2 months ago (2016-10-11 15:09:57 UTC) #10
hans
On 2016/10/11 14:57:44, Nico wrote: > On 2016/10/11 14:55:17, hans wrote: > > What's arm64-specific ...
4 years, 2 months ago (2016-10-11 15:10:16 UTC) #11
Nico
On 2016/10/11 15:09:57, Torne wrote: > Wait, are we still not using gold for arm64? ...
4 years, 2 months ago (2016-10-11 15:13:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2404193003/1
4 years, 2 months ago (2016-10-11 15:13:19 UTC) #15
commit-bot: I haz the power
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing ...
4 years, 2 months ago (2016-10-11 16:02:45 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 16:03:11 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1a11042f1f1a1532bfba1f0cb8fcb9eac23edd06
Cr-Commit-Position: refs/heads/master@{#424441}

Powered by Google App Engine
This is Rietveld 408576698