Issue metadata
Sign in to add a comment
|
failed to run x86-32 binaries linked with LLD. |
||||||||||||||||||||||
Issue descriptionUSE="lld -gold" emerge-kevin chromeos-chrome It failed to run ./v8_snapshot/torque -o gen/v8/torque-generated on host. This is because we enabled smallpie on LLD by default, but our glibc does not enable smallpie support on x86-32.
,
Sep 19
I have a CL in commit queue now.
,
Sep 19
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/bbc5050878d7c660b388c0b0cf5d8d716651f7af commit bbc5050878d7c660b388c0b0cf5d8d716651f7af Author: Yunlian Jiang <yunlian@google.com> Date: Wed Sep 19 22:40:27 2018 glibc: add smallpie support for x86-32 system. We enabled smallpie by default for LLD. When setting USE="lld" in the chromeos-chrome ebuild, it uses LLD to link host binaries and smallpie is enabled on these binaries. When building ARM32 chrome, it will build and run some x86-32 binaries with small pie enabled. This CL adds smallpie support for x86-32 system so that we can run these host binary without problem. BUG= chromium:885268 TEST=run ./v8_snapshot/torque succesfully. Change-Id: I1cf5893be21e2983ce5c6214bb0af3ca3959811f Reviewed-on: https://chromium-review.googlesource.com/1231855 Commit-Ready: Yunlian Jiang <yunlian@chromium.org> Tested-by: Yunlian Jiang <yunlian@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [rename] https://crrev.com/bbc5050878d7c660b388c0b0cf5d8d716651f7af/sys-libs/glibc/glibc-2.23-r21.ebuild [modify] https://crrev.com/bbc5050878d7c660b388c0b0cf5d8d716651f7af/sys-libs/glibc/files/local/glibc-2.23-sht_relr.patch
,
Sep 21
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by lloz...@google.com
, Sep 19