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

Issue 1930773002: Always set symbol visibility when compiling with GCC / Clang. (Closed)

Created:
4 years, 7 months ago by krasin
Modified:
4 years, 7 months ago
CC:
chromium-reviews, wfh+watch_chromium.org, cc-bugs_chromium.org, Dai Mikurube (NOT FULLTIME)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always set symbol visibility when compiling with GCC / Clang. By default, GN includes //build/config/gcc:symbol_visibility_hidden into every target. Some targets remove this config. At least some of the compiler options require the visibility to be set explicitly, and they issue a compiler error otherwise. This change introduced a new GN config, //build/config/gcc:symbol_visibility_default, and the targets which remove //build/config/gcc:symbol_visibility_hidden, must add this one. BUG=607370 Committed: https://crrev.com/02e28619639d5cf2db5ac346d3328ec0762d6e14 Cr-Commit-Position: refs/heads/master@{#390784}

Patch Set 1 #

Patch Set 2 : sync #

Patch Set 3 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M base/allocator/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M build/config/gcc/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
M build/secondary/third_party/nss/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/third_party/earl_grey/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/third_party/ochamcrest/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/irt_stub/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/google_toolbox_for_mac/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/harfbuzz-ng/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (11 generated)
krasin
4 years, 7 months ago (2016-04-28 01:20:50 UTC) #2
krasin
Friendly ping!
4 years, 7 months ago (2016-04-28 18:42:32 UTC) #3
krasin
Ping2
4 years, 7 months ago (2016-04-28 22:45:39 UTC) #4
krasin
Hi Dirk, can you please take a look at these GN config changes? Thank you ...
4 years, 7 months ago (2016-04-28 23:02:22 UTC) #6
krasin
This is to fix 'CFI Linux ToT' buildbot: https://build.chromium.org/p/chromium.fyi/builders/CFI%20Linux%20ToT/builds/2022
4 years, 7 months ago (2016-04-28 23:02:58 UTC) #7
Dirk Pranke
lgtm, but I'm not an expert here, so I'm kinda taking your word for it.
4 years, 7 months ago (2016-04-28 23:08:53 UTC) #9
krasin
Hi Peter, can you please review this change proposed by you in https://bugs.chromium.org/p/chromium/issues/detail?id=607370#c8
4 years, 7 months ago (2016-04-28 23:32:06 UTC) #11
pcc1
lgtm
4 years, 7 months ago (2016-04-28 23:39:02 UTC) #12
krasin
Thank you, Dirk and Peter! I will try to submit.
4 years, 7 months ago (2016-04-28 23:39:47 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930773002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930773002/20001
4 years, 7 months ago (2016-04-28 23:40:15 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/174967)
4 years, 7 months ago (2016-04-28 23:50:16 UTC) #17
Dirk Pranke
You probably still need brettw@'s approval to cover the files in the other subdirectories (or ...
4 years, 7 months ago (2016-04-28 23:55:37 UTC) #18
krasin
Brett, may I have your LGTM please? I hope the approvals from Dirk and Peter ...
4 years, 7 months ago (2016-04-29 00:02:54 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930773002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930773002/20001
4 years, 7 months ago (2016-04-29 00:22:40 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-29 01:22:07 UTC) #23
krasin
Brett, very last ping. I am leaning towards splitting this CL into 6 small CLs ...
4 years, 7 months ago (2016-04-29 18:48:06 UTC) #24
Dirk Pranke
On 2016/04/29 18:48:06, krasin wrote: > Brett, very last ping. > > I am leaning ...
4 years, 7 months ago (2016-04-29 19:01:39 UTC) #25
krasin
Hi Nico, can you please take a look at the CL? (suggested by Dirk) Dirk ...
4 years, 7 months ago (2016-04-29 19:50:03 UTC) #26
brettw
lgtm
4 years, 7 months ago (2016-04-29 20:15:43 UTC) #27
krasin
Thank you, Brett!
4 years, 7 months ago (2016-04-29 20:21:27 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930773002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930773002/40001
4 years, 7 months ago (2016-04-29 20:21:33 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-29 22:28:42 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:29:38 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/02e28619639d5cf2db5ac346d3328ec0762d6e14
Cr-Commit-Position: refs/heads/master@{#390784}

Powered by Google App Engine
This is Rietveld 408576698