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

Issue 1234943009: Use gold when compiling 32 bit binaries on an x64 machine. (Closed)

Created:
5 years, 5 months ago by Daniel Bratell
Modified:
5 years, 5 months ago
Reviewers:
Dirk Pranke, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use gold when compiling 32 bit binaries on an x64 machine. gold can't normally be used on 32 bit machines because it uses too much memory, but if the 32-bit binary that is being created is being created on an x64 machine with sysroot, then it's possible. BUG=511201 R=dpranke@chromium.org,thakis@chromium.org Committed: https://crrev.com/f3f4e1b70c954cb30b7c689e4f130ab715fbb49a Cr-Commit-Position: refs/heads/master@{#339514}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M build/common.gypi View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (2 generated)
Daniel Bratell
thakis and dpranke, could you take a look at this one liner? It seems this ...
5 years, 5 months ago (2015-07-17 13:53:54 UTC) #2
Dirk Pranke
lgtm. I'm not sure we even support host_arch==ia32 for anything at this point in chromium ...
5 years, 5 months ago (2015-07-17 15:59:16 UTC) #3
Nico
Please wait with landing until I can take a look (won't be at a laptop ...
5 years, 5 months ago (2015-07-17 16:02:10 UTC) #4
Daniel Bratell
On 2015/07/17 16:02:10, Nico wrote: > Please wait with landing until I can take a ...
5 years, 5 months ago (2015-07-20 12:37:14 UTC) #5
Nico
Thanks for the ping. https://codereview.chromium.org/897163002 attempted to do the same thing. https://code.google.com/p/chromium/codesearch#chromium/src/build/detect_host_arch.py&l=29 tries to set ...
5 years, 5 months ago (2015-07-20 15:58:39 UTC) #6
Daniel Bratell
On 2015/07/20 15:58:39, Nico wrote: > Thanks for the ping. https://codereview.chromium.org/897163002 attempted to do > ...
5 years, 5 months ago (2015-07-20 17:07:37 UTC) #7
Nico
On 2015/07/20 17:07:37, Daniel Bratell wrote: > On 2015/07/20 15:58:39, Nico wrote: > > Thanks ...
5 years, 5 months ago (2015-07-20 17:09:23 UTC) #8
Daniel Bratell
On 2015/07/20 17:09:23, Nico wrote: > On 2015/07/20 17:07:37, Daniel Bratell wrote: work for you? ...
5 years, 5 months ago (2015-07-20 18:19:05 UTC) #9
Nico
lgtm, but life will probably be easier for you if you use the same setup ...
5 years, 5 months ago (2015-07-20 18:25:31 UTC) #10
Mostyn Bramley-Moore
> > No chroot? > > I do not think so. I cannot find any ...
5 years, 5 months ago (2015-07-20 18:28:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234943009/1
5 years, 5 months ago (2015-07-20 19:33:20 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 5 months ago (2015-07-20 21:00:47 UTC) #14
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/f3f4e1b70c954cb30b7c689e4f130ab715fbb49a Cr-Commit-Position: refs/heads/master@{#339514}
5 years, 5 months ago (2015-07-20 21:03:40 UTC) #15
odinho
5 years, 5 months ago (2015-07-20 21:14:43 UTC) #16
Message was sent while issue was closed.
On 2015/07/20 at 18:25:31, thakis wrote:
> lgtm, but life will probably be easier for you if you use the same setup as
our 32-bit bots (i.e. a chroot)

I did try going the chroot route for a while, but I kept hitting road blocks. 
It seemed like that was *not* how you were doing things, based on how not-smooth
everything was.  When I found the sysroot scripts in chrome/installer/linux
everything went much smoother.  Quite happy about our sysroots now, we haven't
had any problems with this, we're even moving 64 bit builds to be build using
sysroots.

I'm surprised you don't use this, considering how well it's been working and how
easy it was to get going compared to chroots.

Powered by Google App Engine
This is Rietveld 408576698