New issue
Advanced search Search tips

Issue 822411 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Mar 2018
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Build of chromium for linux on mips fails during linking

Reported by djordje....@mips.com, Mar 15 2018

Issue description

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

Steps to reproduce the problem:
1. Get chromium code
2. gn gen out/Release --args=" target_os=\"linux\" target_cpu=\"mipsel\" mips_arch_variant=\"r2\" is_debug=false"
3. ninja -C out/Release audio_unittests

What is the expected behavior?

What went wrong?
Linking process fails, complaining about "undefined reference to '__atomic_load_8'", and few other 64bit atomic calls.

Did this work before? N/A 

Chrome version: <Copy from: 'about:version'>  Channel: n/a
OS Version: 
Flash Version: Shockwave Flash 29.0 r0
 
This issue is similar to  crbug.com/821015 , fixed here crrev.com/c/959120
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 16 2018

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

commit 2e606c3ec52568109ce1b559bae849c2c30fb930
Author: Djordje Golubovic <djordje.golubovic@mips.com>
Date: Fri Mar 16 00:29:11 2018

Explicitly link against libatomic for 32bit mips linux target.

R=thomasanderson@chromium.org

Bug:  822411 
Change-Id: Ib82849f24695049fb62c85f59a7326fb334332d4
Reviewed-on: https://chromium-review.googlesource.com/963592
Reviewed-by: Peter Collingbourne <pcc@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543573}
[modify] https://crrev.com/2e606c3ec52568109ce1b559bae849c2c30fb930/build/config/linux/BUILD.gn

Status: Fixed (was: Unconfirmed)

Sign in to add a comment