Issue metadata
Sign in to add a comment
|
Filter packages needed to run chroot from sanitizer flags |
||||||||||||||||||||||
Issue descriptionBuilding ncurses with sanitizer flags breaks chrooting. chroot/build/amd64-generic$ $ sudo chroot . /bin/bash /bin/bash: symbol lookup error: /lib64/libncurses.so.5: undefined symbol: __sancov_lowest_stack
,
May 15 2018
Same issue with readline package.
,
May 15 2018
,
May 16 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/2d21a4db736b5e28d185f062107ebdf31116dcf3 commit 2d21a4db736b5e28d185f062107ebdf31116dcf3 Author: Manoj Gupta <manojgupta@google.com> Date: Wed May 16 12:08:38 2018 Filter ncurses/readline packages from sanitizer builds. If ncurses and readline are built with sanitizers, It is not possible to do a sudo chroot because of errors like: /bin/bash: symbol lookup error: /lib64/libncurses.so.5: undefined symbol: __sancov_lowest_stack /bin/bash: symbol lookup error: /lib64/libreadline.so.6: undefined symbol: __asan_option_detect_stack_use_after_return BUG= chromium:843301 TEST=successfully ran:$ sudo chroot chroot/build/$board /bin/bash Change-Id: Ie8e9877936b262ea328e9fdf4fa877fe87ea3376 Reviewed-on: https://chromium-review.googlesource.com/1060343 Commit-Ready: Manoj Gupta <manojgupta@chromium.org> Tested-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Caroline Tice <cmtice@chromium.org> Reviewed-by: Jonathan Metzman <metzman@chromium.org> [add] https://crrev.com/2d21a4db736b5e28d185f062107ebdf31116dcf3/chromeos/config/env/sys-libs/ncurses [add] https://crrev.com/2d21a4db736b5e28d185f062107ebdf31116dcf3/chromeos/config/env/sys-libs/readline
,
May 16 2018
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by manojgupta@chromium.org
, May 15 2018