|
|
Chromium Code Reviews
Description[Chromecast] Use symbol_level=1 for 32-bit GCC toolchains.
When using 32-bit GCC toolchains on non-component builds, generated
artifacts are too big for 32-bit address space with full symbols. Force
users to either reduce the symbol level or use the component build.
BUG=670776
BUG=671624
Patch Set 1 #
Total comments: 1
Patch Set 2 : Piggyback on Android condition #
Total comments: 2
Patch Set 3 : Leave android_64bit_target_cpu in place. #Patch Set 4 : Break infinite import loop. #Patch Set 5 : Fix comment typo #
Messages
Total messages: 39 (26 generated)
slan@chromium.org changed reviewers: + alokp@chromium.org, dpranke@chromium.org, mbjorge@chromium.org
PTAL! +Dirk for OWNERS
The CQ bit was checked by slan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2547963002/diff/1/build/config/compiler/compi... File build/config/compiler/compiler.gni (right): https://codereview.chromium.org/2547963002/diff/1/build/config/compiler/compi... build/config/compiler/compiler.gni:102: symbol_level = 1 It looks like you're hitting the same limitation Android is (see the ignore_elf32_limitation block, below). Can you merge the two together?
On 2016/12/02 22:43:45, Dirk Pranke wrote: > https://codereview.chromium.org/2547963002/diff/1/build/config/compiler/compi... > File build/config/compiler/compiler.gni (right): > > https://codereview.chromium.org/2547963002/diff/1/build/config/compiler/compi... > build/config/compiler/compiler.gni:102: symbol_level = 1 > It looks like you're hitting the same limitation Android is (see the > ignore_elf32_limitation block, below). > > Can you merge the two together? I like that idea. One small blocker exists; I would like to replace "android_64bit_target_cpu" with a more general "is_target_cpu_64_bit". Where do you suggest we declare this variable? No obvious .gni file jumps out at me at the moment.
Description was changed from ========== [Chromecast] Use symbol_level=1 for 32-bit GCC toolchains. When using 32-bit GCC toolchains on non-component builds, generated artifacts are too big for 32-bit address space with full symbols. Force users to either reduce the symbol level or use the component build. BUG=670776 ========== to ========== [Chromecast] Use symbol_level=1 for 32-bit GCC toolchains. When using 32-bit GCC toolchains on non-component builds, generated artifacts are too big for 32-bit address space with full symbols. Force users to either reduce the symbol level or use the component build. BUG=670776 ==========
On 2016/12/05 17:58:40, slan wrote: > I like that idea. One small blocker exists; I would like to replace > "android_64bit_target_cpu" with a more general "is_target_cpu_64_bit". Where do > you suggest we declare this variable? No obvious .gni file jumps out at me at > the moment. I'd put it in //build/config/compiler/compiler.gni . That's not necessarily the most obvious location, but it's better than most candidates. The only other place it might belong would be in BUILDCONFIG.gn, but neither brettw nor I want to add things to that file.
The CQ bit was checked by slan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
slan@chromium.org changed reviewers: + agrieve@chromium.org
Done. +Andrew for 64bit variable change, PTAL!
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm /w nit. https://codereview.chromium.org/2547963002/diff/20001/build/config/android/co... File build/config/android/config.gni (left): https://codereview.chromium.org/2547963002/diff/20001/build/config/android/co... build/config/android/config.gni:312: if (target_cpu == "arm64" || target_cpu == "x64" || target_cpu == "mips64el") { nit: It would be better to leave android_64bit_target_cpu around until it's no longer used downstream (e.g. add a TODO: remove once unused downstream, then wait for a roll, then remove downstream usage, then delete todo) I can take care of deleting downstream & the TODO if you're not set up for doing this already.
agrieve@chromium.org changed reviewers: + michaelbai@chromium.org
Description was changed from ========== [Chromecast] Use symbol_level=1 for 32-bit GCC toolchains. When using 32-bit GCC toolchains on non-component builds, generated artifacts are too big for 32-bit address space with full symbols. Force users to either reduce the symbol level or use the component build. BUG=670776 ========== to ========== [Chromecast] Use symbol_level=1 for 32-bit GCC toolchains. When using 32-bit GCC toolchains on non-component builds, generated artifacts are too big for 32-bit address space with full symbols. Force users to either reduce the symbol level or use the component build. BUG=670776 BUG=671624 ==========
Andrew, thanks for volunteering to do clean-up. Restored the variable and took out a bug for you. https://codereview.chromium.org/2547963002/diff/20001/build/config/android/co... File build/config/android/config.gni (left): https://codereview.chromium.org/2547963002/diff/20001/build/config/android/co... build/config/android/config.gni:312: if (target_cpu == "arm64" || target_cpu == "x64" || target_cpu == "mips64el") { On 2016/12/06 14:57:44, agrieve wrote: > nit: It would be better to leave android_64bit_target_cpu around until it's no > longer used downstream (e.g. add a TODO: remove once unused downstream, then > wait for a roll, then remove downstream usage, then delete todo) > > I can take care of deleting downstream & the TODO if you're not set up for doing > this already. Done.
The CQ bit was checked by slan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm6...) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clan...) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_comp...) android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
Turns out I cannot directly reference is_target_cpu_64bit in //b/c/a/config.gni without creating an import() loop in the .gni files... The code for the unused var will have to be slightly redundant until it is pruned from the codebase.
The CQ bit was checked by slan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by slan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
The CQ bit was checked by slan@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from agrieve@chromium.org Link to the patchset: https://codereview.chromium.org/2547963002/#ps80001 (title: "Fix comment typo")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_presub...) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
