Issue metadata
Sign in to add a comment
|
chromeos-chrome: oak failed to build with simple chorme |
||||||||||||||||||||||
Issue descriptionOn oark-release, I got below errors. It turns out that libassistant is using bfd linker. python "../../../../../../chromeos/assistant/libassistant/src/build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="./libassistant.so" --tocfile="./libassistant.so.TOC" --output="./libassistant.so" -- armv7a-cros-linux-gnueabihf-clang++ -B/b/swarming/w/ir/tmp/t/cbuildbot-tmpzAgUtI/chrome-sdk-cachec7o4q4/cache/chrome-sdk/tarballs/oak+__b__swarming__w__ir__cache__cbuild__repository__trybot_archive__oak-release-tryjob__R71-11086.0.0-b2965504+target_toolchain/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabihf/binutils-bin/2.27.0-gold -Wno-unknown-warning-option -shared -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=bfd --target=arm-linux-gnueabihf -Wl,-O2 -Wl,--gc-sections --sysroot=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpzAgUtI/chrome-sdk-cachec7o4q4/cache/chrome-sdk/tarballs/oak+__b__swarming__w__ir__cache__cbuild__repository__trybot_archive__oak-release-tryjob__R71-11086.0.0-b2965504+sysroot_chromeos-base_chromeos-chrome.tar.xz -L../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpzAgUtI/chrome-sdk-cachec7o4q4/cache/chrome-sdk/tarballs/oak+__b__swarming__w__ir__cache__cbuild__repository__trybot_archive__oak-release-tryjob__R71-11086.0.0-b2965504+sysroot_chromeos-base_chromeos-chrome.tar.xz/lib -Wl,-rpath-link=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpzAgUtI/chrome-sdk-cachec7o4q4/cache/chrome-sdk/tarballs/oak+__b__swarming__w__ir__cache__cbuild__repository__trybot_archive__oak-release-tryjob__R71-11086.0.0-b2965504+sysroot_chromeos-base_chromeos-chrome.tar.xz/lib -L../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpzAgUtI/chrome-sdk-cachec7o4q4/cache/chrome-sdk/tarballs/oak+__b__swarming__w__ir__cache__cbuild__repository__trybot_archive__oak-release-tryjob__R71-11086.0.0-b2965504+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/lib -Wl,-rpath-link=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpzAgUtI/chrome-sdk-cachec7o4q4/cache/chrome-sdk/tarballs/oak+__b__swarming__w__ir__cache__cbuild__repository__trybot_archive__oak-release-tryjob__R71-11086.0.0-b2965504+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/lib -L../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpzAgUtI/chrome-sdk-cachec7o4q4/cache/chrome-sdk/tarballs/oak+__b__swarming__w__ir__cache__cbuild__repository__trybot_archive__oak-release-tryjob__R71-11086.0.0-b2965504+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/local/lib -Wl,-rpath-link=../../../../../../../../../../../../../../tmp/t/cbuildbot-tmpzAgUtI/chrome-sdk-cachec7o4q4/cache/chrome-sdk/tarballs/oak+__b__swarming__w__ir__cache__cbuild__repository__trybot_archive__oak-release-tryjob__R71-11086.0.0-b2965504+sysroot_chromeos-base_chromeos-chrome.tar.xz/usr/local/lib -static-libgcc -Wl,-O2 -Wl,--as-needed -Wl,--fix-cortex-a53-843419 -stdlib=libc++ -o "./libassistant.so" -Wl,-soname="libassistant.so" @"./libassistant.so.rsp" /b/swarming/w/ir/tmp/t/cbuildbot-tmpzAgUtI/chrome-sdk-cachec7o4q4/cache/chrome-sdk/tarballs/oak+__b__swarming__w__ir__cache__cbuild__repository__trybot_archive__oak-release-tryjob__R71-11086.0.0-b2965504+target_toolchain/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabihf/binutils-bin/2.27.0/ld.bfd.real.elf: unrecognized option '--fix-cortex-a53-843419' /b/swarming/w/ir/tmp/t/cbuildbot-tmpzAgUtI/chrome-sdk-cachec7o4q4/cache/chrome-sdk/tarballs/oak+__b__swarming__w__ir__cache__cbuild__repository__trybot_archive__oak-release-tryjob__R71-11086.0.0-b2965504+target_toolchain/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabihf/binutils-bin/2.27.0/ld.bfd.real.elf: use the --help option for usage information
,
Sep 27
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/e496c3b99a48d37eb17f6ed7b8e84eccf650ce81 commit e496c3b99a48d37eb17f6ed7b8e84eccf650ce81 Author: Min Chen <minch@chromium.org> Date: Thu Sep 27 18:34:22 2018 Revert "chromeos-chrome: pass use_gold to gn files" This reverts commit 5024a05eccf5419bbfba6588d722bf8e7ba45c8f. Reason for revert: Failed pfq at BuildPackages The gold related flags are passed to nacl and make the chrome PFQ fail. chromium:889584 https://luci-logdog.appspot.com/v/?s=chromeos/buildbucket/cr-buildbucket.appspot.com/8934293443791559424/+/steps/BuildPackages/0/stdout Original change's description: > chromeos-chrome: pass use_gold to gn files > > libassistant will try to use bfd linker is use_gold and use_lld is > not set to true. Currently we are using gold to link chrome and we > should pass use_gold=true to gn file in this case. > > BUG= chromium:888710 > TEST=libassistant is using gold linker. > > Change-Id: I76a767f0a7017b8bdb36660c26131b4c19fd3ad8 > Reviewed-on: https://chromium-review.googlesource.com/1240816 > Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> > Tested-by: Yunlian Jiang <yunlian@chromium.org> > Reviewed-by: Manoj Gupta <manojgupta@chromium.org> > Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Bug: chromium:889584 , chromium:888710 Change-Id: I3ee7990e786cb7c5aa6a322fcd14e964c40f7be0 Reviewed-on: https://chromium-review.googlesource.com/1249608 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Tested-by: Min Chen <minch@chromium.org> [modify] https://crrev.com/e496c3b99a48d37eb17f6ed7b8e84eccf650ce81/chromeos-base/chromeos-chrome/chromeos-chrome-9999.ebuild
,
Oct 2
The following revision refers to this bug: https://chrome-internal.googlesource.com/chrome/assistant/+/25b9fc9e3fc55af05db093a349eac3a82822d9d3 commit 25b9fc9e3fc55af05db093a349eac3a82822d9d3 Author: Xiaohui Chen <xiaohuic@google.com> Date: Mon Oct 01 22:26:48 2018
,
Oct 3
Several recent oak-release builds failed with unrecognized option '--fix-cortex-a53-843419' error from ld.bfd.real.elf during TestSimpleChromeWorkflow.
,
Oct 3
,
Oct 4
The fix merged in #3 is in Chrome tree, so it would require a Chrome uprev to pick up.
,
Oct 10
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by bugdroid1@chromium.org
, Sep 26