New issue
Advanced search Search tips

Issue 882766 link

Starred by 2 users

Issue metadata

Status: Unconfirmed
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

ChromiumOS build failed with lld linker

Reported by lingyun....@intel.com, Sep 11

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Platform: 11010.0.0

Steps to reproduce the problem:
(1)sync Chromium OS source code with manifest 11010.0.0-rc2.xml from paladin folder in manifest-versions repo (https://chromium.googlesource.com/chromiumos/manifest-versions)
(2)sync Chromium to 70.0.3532.0
(3)build local image with below commands:
	1) cros_sdk --enter --chrome_root=chrome_root
	2) export CHROME_ORIGIN=LOCAL_SOURCE
	3) export BOARD=chell
	4) ./setup_board --board=$BOARD
	5) cros_workon --board=$BOARD start chromeos-chrome
	6) USE="afdo_use lld -gold -cfi -thinlto" ./build_packages --board=$BOARD
	7) ./build_image --board=$BOARD --noenable_rootfs_verification test 

What is the expected behavior?
Image is built successfully.

What went wrong?
build_package failed when built chromeos-chrome, errors were shown as:
/usr/bin/ld.lld: line 8: /usr/bin/ld.lld.real: No such file or directory
clang-7: error: unable to execute command: No such file or directory
clang-7: error: linker command failed due to signal (use -v to see invocation)

See attached logs for more details.

Did this work before? Yes 10147.0.0-rc1/64.0.3272.0

Chrome version: 70.0.3532.0  Channel: dev
OS Version: 11010.0.0
Flash Version:
 
chromeos-base%3Achromeos-chrome-9999%3A20180911-115241.log
31.1 KB View Download
Components: -Platform>DevTools Infra>Client>ChromeOS

Sign in to add a comment