New issue
Advanced search Search tips

Issue 800754 link

Starred by 3 users

Issue metadata

Status: Unconfirmed
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Feature



Sign in to add a comment

Add support for building Chromium Linux for mips64r2

Reported by milko.le...@mips.com, Jan 10 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Steps to reproduce the problem:
Configure and build Chromium for mips64r2:

gn gen out/mips64r2 --args="is_debug=false target_os=\"linux\" target_cpu=\"mips64el\" mips_arch_variant=\"r2\""

ninja -C out/mips64r2 chrome

What is the expected behavior?
chrome target should be built

What went wrong?
Build fails due to missing support.

Did this work before? No 

Chrome version: r527592  Channel: n/a
OS Version: 
Flash Version:
 
Recent changes ([1] and [2]) made it possible to enable Chromium Linux build for mips64r2.
Change [3] is next step in adding the support.
The remaining step is to have binutils with mips64el support.


[1] Support installing sysroot for mips64el for Linux
https://chromium-review.googlesource.com/c/chromium/src/+/776873

[2] [MIPS] Put mips64el Linux configuration options
https://chromium.googlesource.com/chromium/third_party/ffmpeg.git/+/ff30c2088d35fd055f785ebe1648d3e7af9a8cd2

[3] [MIPS64] Add support for building Chromium Linux for mips64r2
https://chromium-review.googlesource.com/c/chromium/src/+/860058
Components: Build
Project Member

Comment 3 by bugdroid1@chromium.org, Jan 24 2018

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

commit b6e93fc673900ede618341e9a5cfd66d9261954e
Author: Milko Leporis <milko.leporis@mips.com>
Date: Wed Jan 24 21:40:19 2018

[MIPS64] Add support for building Chromium Linux for mips64r2

This change adds missing parts of mips64r2 support.

Bug: 800754
Change-Id: If37183b7c996effe28b7f687ca86ec7f11d90514
Reviewed-on: https://chromium-review.googlesource.com/860058
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#531691}
[modify] https://crrev.com/b6e93fc673900ede618341e9a5cfd66d9261954e/build/config/allocator.gni
[modify] https://crrev.com/b6e93fc673900ede618341e9a5cfd66d9261954e/build/config/compiler/BUILD.gn
[modify] https://crrev.com/b6e93fc673900ede618341e9a5cfd66d9261954e/build/config/compiler/compiler.gni
[modify] https://crrev.com/b6e93fc673900ede618341e9a5cfd66d9261954e/build/config/sysroot.gni
[modify] https://crrev.com/b6e93fc673900ede618341e9a5cfd66d9261954e/chrome/installer/linux/BUILD.gn
[modify] https://crrev.com/b6e93fc673900ede618341e9a5cfd66d9261954e/chrome/installer/linux/debian/build.sh
[modify] https://crrev.com/b6e93fc673900ede618341e9a5cfd66d9261954e/chrome/installer/linux/debian/calculate_package_deps.py
[modify] https://crrev.com/b6e93fc673900ede618341e9a5cfd66d9261954e/chrome/installer/linux/rpm/build.sh

With last change, Chromium can be built for mips64r2, so this issue can be closed.

Sign in to add a comment