New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 834370 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Compile error: app_list_controller_impl.cc

Project Member Reported by khorimoto@chromium.org, Apr 18 2018

Issue description

gn args:
is_debug = false
dcheck_always_on = true
is_component_build = true
target_os = "chromeos"
use_goma = true

>ninja -C out/Default -j 100 components_unittests
ninja: Entering directory `out/Default'
[39/48] SOLINK ./libash.so
FAILED: libash.so libash.so.TOC 
python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="./libash.so" --tocfile="./libash.so.TOC" --output="./libash.so"  -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -fuse-ld=gold -B../../third_party/binutils/Linux_x64/Release/bin -Wl,--threads -Wl,--thread-count=4 -Wl,--icf=all -m64 -Werror -Wl,-O2 -Wl,--gc-sections -nostdlib++ --sysroot=../../build/linux/debian_sid_amd64-sysroot -L../../build/linux/debian_sid_amd64-sysroot/usr/local/lib/x86_64-linux-gnu -Wl,-rpath-link=../../build/linux/debian_sid_amd64-sysroot/usr/local/lib/x86_64-linux-gnu -L../../build/linux/debian_sid_amd64-sysroot/lib/x86_64-linux-gnu -Wl,-rpath-link=../../build/linux/debian_sid_amd64-sysroot/lib/x86_64-linux-gnu -L../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath-link=../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath=\$ORIGIN/. -Wl,-rpath-link=. -o "./libash.so" -Wl,-soname="libash.so" @"./libash.so.rsp"
obj/ash/ash/app_list_controller_impl.o:app_list_controller_impl.cc:function ash::AppListControllerImpl::CreateAppListItem(mojo::StructPtr<ash::mojom::AppListItemMetadata>): error: undefined reference to 'ash::kOemFolderId'
obj/ash/ash/app_list_controller_impl.o:app_list_controller_impl.cc:function ash::AppListControllerImpl::CreateAppListItem(mojo::StructPtr<ash::mojom::AppListItemMetadata>): error: undefined reference to 'ash::kOemFolderId'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[40/48] LINK newlib_pnacl_nonsfi/nacl_helper_nonsfi
ninja: build stopped: subcommand failed.

 
Cc: xiy...@chromium.org
Owner: msw@chromium.org
Status: Fixed (was: Untriaged)
Looks like this was fixed by https://chromium-review.googlesource.com/c/chromium/src/+/1017261.
Cc: khmel@chromium.org newcomer@chromium.org
 Issue 834350  has been merged into this issue.

Sign in to add a comment