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

Issue 2119593002: Add fatal_linker_warnings flag for GN builds (Closed)

Created:
4 years, 5 months ago by zoli
Modified:
4 years, 5 months ago
Reviewers:
Dirk Pranke, dpranke, 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

Add fatal_linker_warnings flag to GN builds Add a flag for disable fatal linker warnings. The flag corresponds to the GYP fatal_linker_warnings option. By default fatal linker warnings are enabled. BUG= Committed: https://crrev.com/c804b74f6c3af31b74fbf652c38e8d5c61655b91 Cr-Commit-Position: refs/heads/master@{#403252}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M build/config/compiler/BUILD.gn View 2 chunks +7 lines, -1 line 1 comment Download

Messages

Total messages: 19 (11 generated)
zoli
4 years, 5 months ago (2016-06-30 17:56:43 UTC) #8
Nico
lgtm
4 years, 5 months ago (2016-06-30 17:58:40 UTC) #9
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/2119593002/1
4 years, 5 months ago (2016-06-30 18:28:49 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-06-30 19:33:18 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/c804b74f6c3af31b74fbf652c38e8d5c61655b91 Cr-Commit-Position: refs/heads/master@{#403252}
4 years, 5 months ago (2016-06-30 19:34:49 UTC) #15
Dirk Pranke
https://codereview.chromium.org/2119593002/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2119593002/diff/1/build/config/compiler/BUILD.gn#newcode88 build/config/compiler/BUILD.gn:88: fatal_linker_warnings = true We don't support building Chromium on ...
4 years, 5 months ago (2016-06-30 20:00:41 UTC) #17
zoli
On 2016/06/30 20:00:41, Dirk Pranke wrote: > https://codereview.chromium.org/2119593002/diff/1/build/config/compiler/BUILD.gn > File build/config/compiler/BUILD.gn (right): > > https://codereview.chromium.org/2119593002/diff/1/build/config/compiler/BUILD.gn#newcode88 ...
4 years, 5 months ago (2016-07-01 06:04:01 UTC) #18
Dirk Pranke
4 years, 5 months ago (2016-07-01 21:00:40 UTC) #19
Message was sent while issue was closed.
On 2016/07/01 06:04:01, zoli wrote:
> On 2016/06/30 20:00:41, Dirk Pranke wrote:
> >
>
https://codereview.chromium.org/2119593002/diff/1/build/config/compiler/BUILD.gn
> > File build/config/compiler/BUILD.gn (right):
> > 
> >
>
https://codereview.chromium.org/2119593002/diff/1/build/config/compiler/BUILD...
> > build/config/compiler/BUILD.gn:88: fatal_linker_warnings = true
> > We don't support building Chromium on 32-bit linux hosts any more (you need
a
> > 64-bit system to build, even if you're going to run on 32-bit targets).
> > 
> > So, linking to that bug isn't a good example. Are there other bugs that we
can
> > link against? Maybe you can point to a current need for this flag?
> 
> thanks for the review. 
> 
> I'm building on 64bit for ARM64, using OpenEmbedded generated rootfs with
> binutils 2.25, gold linker.
> The issue is that I'm getting linker warnings " warning: hidden symbol" when
> linking to sqlite3.
> 
> My goal is to improve the upstream support for ARM64 Linux builds on non-x11
> setups with Mali GPUs.

Thanks for the reply. That sounds fine.

Can you maybe post a follow-up CL that adds a comment
that some chromium ports still use "older" binutils and may produce warnings
that should be ignored, and get rid of the bug link instead?

Powered by Google App Engine
This is Rietveld 408576698