|
|
Chromium Code Reviews
DescriptionAllocator shim explanatory error message.
Error message explicitly tells to disable allocator shim if libc
is unsupported. Currently it's hardly achievable to figure out
target libc implementation on the GN generation stage.
BUG=595406
Committed: https://crrev.com/045df297e953e60f953710e4266205729050e1cf
Cr-Commit-Position: refs/heads/master@{#423516}
Patch Set 1 #
Total comments: 1
Patch Set 2 : chromeos C preprocessor fix #Patch Set 3 : wording #Messages
Total messages: 21 (16 generated)
The CQ bit was checked by kraynov@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...
kraynov@chromium.org changed reviewers: + primiano@chromium.org, smcgruer@google.com
That's all reasonable we can do regarding this issue crbug.com/595406 Reasons: 1. 'embedded' GN arg wasn't moved from GYP. //base/config/BUILDCONFIG.gn explains that any unnecessary global flags are unwelcome. So we can't disable allocator shim by 'embedded' flag. 2. GN has ability to dynamically generate GN definitions via exec_script() function, but it has high cost and unable to compile something before execution natively via GN. Hacks with compiler invocation apart of GN is not an option. So we have quite few platforms using Linux without Glibc and this error message will provide actionable advice to adjust GN args.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_...)
The CQ bit was checked by kraynov@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...
Ok I see, your reasoning makes sense. LGTM to improve the comment and make it more actionable. Will reach out to the original folks and ask how are they dealing with GN now. https://codereview.chromium.org/2393413003/diff/1/base/allocator/allocator_sh... File base/allocator/allocator_shim_override_glibc_weak_symbols.h (right): https://codereview.chromium.org/2393413003/diff/1/base/allocator/allocator_sh... base/allocator/allocator_shim_override_glibc_weak_symbols.h:109: has no idea how to support target's libc. Please disable this feature \ I'd keep it shorter and just say: "The target platform does not seem to use Glibc. Disable the allocator shim by setting 'use_experimental_allocator_shim=false' in GN args."
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-ge...)
The CQ bit was checked by kraynov@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: This issue passed the CQ dry run.
The CQ bit was checked by kraynov@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from primiano@chromium.org Link to the patchset: https://codereview.chromium.org/2393413003/#ps30001 (title: "wording")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #3 (id:30001)
Message was sent while issue was closed.
Description was changed from ========== Allocator shim explanatory error message. Error message explicitly tells to disable allocator shim if libc is unsupported. Currently it's hardly achievable to figure out target libc implementation on the GN generation stage. BUG=595406 ========== to ========== Allocator shim explanatory error message. Error message explicitly tells to disable allocator shim if libc is unsupported. Currently it's hardly achievable to figure out target libc implementation on the GN generation stage. BUG=595406 Committed: https://crrev.com/045df297e953e60f953710e4266205729050e1cf Cr-Commit-Position: refs/heads/master@{#423516} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/045df297e953e60f953710e4266205729050e1cf Cr-Commit-Position: refs/heads/master@{#423516} |
