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

Issue 2765983002: Update linux static initializer check in sizes.py (Closed)

Created:
3 years, 9 months ago by Sam Clegg
Modified:
3 years, 8 months ago
CC:
chromium-reviews, Roland McGrath, Nico, Lei Zhang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Update linux static initializer check in sizes.py Newer versions of gcc put "frame_dummy" in the .init_array when it was previously called from _init. Since sizes.py uses the size of the .init_array to determine the number of static initializers we need to take this extra element into account. BUG=701478 Review-Url: https://codereview.chromium.org/2765983002 Cr-Commit-Position: refs/heads/master@{#458807} Committed: https://chromium.googlesource.com/chromium/src/+/55844bc1348ddf628a1559a2ed4532fe6f614478

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Patch Set 3 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M infra/scripts/legacy/scripts/slave/chromium/sizes.py View 1 2 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
Sam Clegg
I'm not sure how i'm supposed to actually run or test this script locally, or ...
3 years, 9 months ago (2017-03-21 21:01:32 UTC) #2
Nico
lgtm I think I used to just run this locally with build_directory mocked out locally, ...
3 years, 9 months ago (2017-03-21 21:04:24 UTC) #4
Sam Clegg
On 2017/03/21 21:04:24, Nico wrote: > lgtm > > I think I used to just ...
3 years, 9 months ago (2017-03-21 21:08:03 UTC) #5
Nico
On Tue, Mar 21, 2017 at 5:08 PM, <sbc@chromium.org> wrote: > On 2017/03/21 21:04:24, Nico ...
3 years, 9 months ago (2017-03-21 21:09:11 UTC) #6
Sam Clegg
managed to test locally and updated script the make this a little easier. ptal
3 years, 9 months ago (2017-03-21 21:30:56 UTC) #7
Nico
Meh, I liked patch set 1 (+ fix) better, the new version now runs some ...
3 years, 9 months ago (2017-03-21 21:33:42 UTC) #9
Sam Clegg
On 2017/03/21 21:33:42, Nico wrote: > Meh, I liked patch set 1 (+ fix) better, ...
3 years, 9 months ago (2017-03-21 21:53:06 UTC) #10
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/2765983002/40001
3 years, 9 months ago (2017-03-21 21:54:09 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/390794)
3 years, 9 months ago (2017-03-21 22:03:02 UTC) #15
Paweł Hajdan Jr.
LGTM
3 years, 9 months ago (2017-03-22 16:58:12 UTC) #16
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/2765983002/40001
3 years, 9 months ago (2017-03-22 17:15:35 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/55844bc1348ddf628a1559a2ed4532fe6f614478
3 years, 9 months ago (2017-03-22 18:22:51 UTC) #21
Lei Zhang
Can we drop this after r462181?
3 years, 8 months ago (2017-04-07 21:06:53 UTC) #23
Sam Clegg
3 years, 8 months ago (2017-04-07 21:30:42 UTC) #24
Message was sent while issue was closed.
On 2017/04/07 21:06:53, Lei Zhang wrote:
> Can we drop this after r462181?

Kinda.. we need to keep the -= 1, but we can make it unconditional perhaps?  I'm
tempted to update the comment and remove the TODO, but keep the conditional just
in case.

Powered by Google App Engine
This is Rietveld 408576698