New issue
Advanced search Search tips

Issue 622616 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

It's not possible to build linux 32 bit on 64 bit host machine with gn

Project Member Reported by ckulakow...@opera.com, Jun 23 2016

Issue description

Version: 53
OS: linux

There are two problems:
- cflags are selected based on host cpu (they should be selected based on target cpu)
- gn expects to find sysroot in chromium tree even when path to it was provided as parameter to gn
 
Project Member

Comment 2 by bugdroid1@chromium.org, Jun 29 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/16c1060131d3e94aa57a241f3ed33afbdf2f2263

commit 16c1060131d3e94aa57a241f3ed33afbdf2f2263
Author: ckulakowski <ckulakowski@opera.com>
Date: Wed Jun 29 07:07:34 2016

Fix for cross compiling 32bit linux on 64bit host machine

Right now when custom sysroot is provided as gn parameter (target_sysroot)
only 32 bit custom sysroot will be used. 64 bit sysroot (which is also needed
by 32 bit build by - for example - protobuf) is expected to be found in default
location. This change adds possibility to provide path to directory containing
both sysroots for linux (32 bit and 64 bit).

BUG= 622616 

Review-Url: https://codereview.chromium.org/2096323002
Cr-Commit-Position: refs/heads/master@{#402742}

[modify] https://crrev.com/16c1060131d3e94aa57a241f3ed33afbdf2f2263/build/config/sysroot.gni

Components: Build
Labels: Build-Tools-GN
ckulakowski, is this bug fixed now?
Yes, it's fixed. Should I close it?

Comment 5 by brettw@chromium.org, Aug 17 2016

Status: Fixed (was: Untriaged)

Sign in to add a comment