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

Issue 1883723004: Android: Avoid linking with --gc-sections. (Closed)

Created:
4 years, 8 months ago by Lei Zhang
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: Avoid linking with --gc-sections. No more --gc-sections in debug mode for test targets either. Re-enable instrumentation of globals in ASAN builds. BUG=159801, 159847 Committed: https://crrev.com/6ef23a61fab8467ac15f12173d29ea94b5306101 Cr-Commit-Position: refs/heads/master@{#387491}

Patch Set 1 #

Patch Set 2 : gyp #

Patch Set 3 : consistency #

Patch Set 4 : no_gc_sections #

Patch Set 5 : back to patch set 3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -35 lines) Patch
M build/common.gypi View 4 1 chunk +0 lines, -9 lines 0 comments Download
M build/config/compiler/BUILD.gn View 4 1 chunk +0 lines, -4 lines 0 comments Download
M build/config/sanitizers/BUILD.gn View 1 chunk +1 line, -10 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 4 chunks +4 lines, -7 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (7 generated)
Lei Zhang
Follow up to https://codereview.chromium.org/1884543004
4 years, 8 months ago (2016-04-13 23:00:24 UTC) #2
Evgeniy Stepanov
On 2016/04/13 23:00:24, Lei Zhang wrote: > Follow up to https://codereview.chromium.org/1884543004 Very cool! Does the ...
4 years, 8 months ago (2016-04-13 23:05:30 UTC) #3
Lei Zhang
On 2016/04/13 23:05:30, Evgeniy Stepanov wrote: > On 2016/04/13 23:00:24, Lei Zhang wrote: > > ...
4 years, 8 months ago (2016-04-13 23:29:06 UTC) #6
Lei Zhang
Hmm, still got red bots. Please hold off on reviews.
4 years, 8 months ago (2016-04-13 23:29:40 UTC) #7
Evgeniy Stepanov
http://dev.chromium.org/developers/testing/addresssanitizer#TOC-Building-on-Android
4 years, 8 months ago (2016-04-13 23:37:08 UTC) #8
Lei Zhang
On 2016/04/13 23:37:08, Evgeniy Stepanov wrote: > http://dev.chromium.org/developers/testing/addresssanitizer#TOC-Building-on-Android Even without this CL, I tried building ...
4 years, 8 months ago (2016-04-14 01:26:23 UTC) #9
agrieve
On 2016/04/14 01:26:23, Lei Zhang wrote: > On 2016/04/13 23:37:08, Evgeniy Stepanov wrote: > > ...
4 years, 8 months ago (2016-04-14 15:17:11 UTC) #10
Yaron
On 2016/04/14 15:17:11, agrieve wrote: > On 2016/04/14 01:26:23, Lei Zhang wrote: > > On ...
4 years, 8 months ago (2016-04-14 15:19:46 UTC) #11
Evgeniy Stepanov
On 2016/04/14 15:19:46, Yaron wrote: > On 2016/04/14 15:17:11, agrieve wrote: > > On 2016/04/14 ...
4 years, 8 months ago (2016-04-14 17:52:44 UTC) #12
Evgeniy Stepanov
On 2016/04/14 17:52:44, Evgeniy Stepanov wrote: > On 2016/04/14 15:19:46, Yaron wrote: > > On ...
4 years, 8 months ago (2016-04-14 21:02:56 UTC) #13
Lei Zhang
On 2016/04/14 17:52:44, Evgeniy Stepanov wrote: > Do you mean it fails to build or ...
4 years, 8 months ago (2016-04-14 21:14:05 UTC) #14
Evgeniy Stepanov
On 2016/04/14 21:14:05, Lei Zhang wrote: > On 2016/04/14 17:52:44, Evgeniy Stepanov wrote: > > ...
4 years, 8 months ago (2016-04-14 21:15:15 UTC) #15
Lei Zhang
On 2016/04/14 21:15:15, Evgeniy Stepanov wrote: > On 2016/04/14 21:14:05, Lei Zhang wrote: > > ...
4 years, 8 months ago (2016-04-14 21:53:47 UTC) #16
Lei Zhang
On 2016/04/14 21:53:47, Lei Zhang wrote: > And indeed the linking still happens with --gc-sections, ...
4 years, 8 months ago (2016-04-14 22:21:34 UTC) #17
Evgeniy Stepanov
On 2016/04/14 22:21:34, Lei Zhang wrote: > On 2016/04/14 21:53:47, Lei Zhang wrote: > > ...
4 years, 8 months ago (2016-04-14 22:37:53 UTC) #18
Lei Zhang
On 2016/04/14 22:37:53, Evgeniy Stepanov wrote: > On 2016/04/14 22:21:34, Lei Zhang wrote: > > ...
4 years, 8 months ago (2016-04-14 22:47:40 UTC) #19
Evgeniy Stepanov
On 2016/04/14 22:47:40, Lei Zhang wrote: > On 2016/04/14 22:37:53, Evgeniy Stepanov wrote: > > ...
4 years, 8 months ago (2016-04-14 22:53:48 UTC) #20
Lei Zhang
On 2016/04/14 22:47:40, Lei Zhang wrote: > On 2016/04/14 22:37:53, Evgeniy Stepanov wrote: > > ...
4 years, 8 months ago (2016-04-14 23:20:18 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1883723004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1883723004/80001
4 years, 8 months ago (2016-04-14 23:27:03 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-15 00:41:29 UTC) #26
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/6ef23a61fab8467ac15f12173d29ea94b5306101 Cr-Commit-Position: refs/heads/master@{#387491}
4 years, 8 months ago (2016-04-15 00:42:56 UTC) #28
Lei Zhang
4 years, 8 months ago (2016-04-15 06:38:01 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/1889073002/ by thestig@chromium.org.

The reason for reverting is: May have caused the Android Debug (Nexus 9) GPU bot
to go red.

FAILED: python ../../build/android/gyp/finalize_apk.py ...

Exception in thread "main" java.lang.UnsupportedOperationException: Found more
than one library
Multiple libraries are not supported for APKs that use 'load_library_from_zip'..

Powered by Google App Engine
This is Rietveld 408576698