Chromium build for aarch64 is broken |
|||||
Issue descriptionAround 1 1/2 week ago the build was working fine for ARM linux 64bits but it is now broken with the following compiler error: adenilson@chrome-monster:~/chromium/src$ ninja -C out/armlinux/ image_decode_bench content_shell -j64 ninja: Entering directory `out/armlinux/' [54/19280] SOLINK clang_x64_v8_arm64/swiftshader/libGLESv2.so FAILED: clang_x64_v8_arm64/swiftshader/libGLESv2.so clang_x64_v8_arm64/swiftshader/libGLESv2.so.TOC python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="clang_x64_v8_arm64/swiftshader/libGLESv2.so" --tocfile="clang_x64_v8_arm64/swiftshader/libGLESv2.so.TOC" --output="clang_x64_v8_arm64/swiftshader/libGLESv2.so" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,--version-script=../../third_party/swiftshader/src/OpenGL/libGLESv2/libGLESv2.lds -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--icf=all -Wl,--color-diagnostics -m64 -Wl,-O2 -Wl,--gc-sections -rdynamic -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 -Werror -Wl,--gc-sections -Wl,--hash-style=both -o "clang_x64_v8_arm64/swiftshader/libGLESv2.so" -Wl,-soname="libGLESv2.so" @"clang_x64_v8_arm64/swiftshader/libGLESv2.so.rsp" ld.lld: error: undefined symbol: LLVMInitializeX86TargetInfo >>> referenced by LLVMReactor.cpp >>> clang_x64_v8_arm64/obj/third_party/swiftshader/src/Reactor/swiftshader_reactor/LLVMReactor.o:(rr::Nucleus::Nucleus()) ld.lld: error: undefined symbol: LLVMInitializeX86Target >>> referenced by LLVMReactor.cpp >>> clang_x64_v8_arm64/obj/third_party/swiftshader/src/Reactor/swiftshader_reactor/LLVMReactor.o:(rr::Nucleus::Nucleus()) ld.lld: error: undefined symbol: LLVMInitializeX86TargetMC >>> referenced by LLVMReactor.cpp >>> clang_x64_v8_arm64/obj/third_party/swiftshader/src/Reactor/swiftshader_reactor/LLVMReactor.o:(rr::Nucleus::Nucleus()) ld.lld: error: undefined symbol: LLVMInitializeX86AsmPrinter >>> referenced by LLVMReactor.cpp >>> clang_x64_v8_arm64/obj/third_party/swiftshader/src/Reactor/swiftshader_reactor/LLVMReactor.o:(rr::Nucleus::Nucleus()) ld.lld: error: undefined symbol: LLVMInitializeX86AsmParser >>> referenced by LLVMReactor.cpp >>> clang_x64_v8_arm64/obj/third_party/swiftshader/src/Reactor/swiftshader_reactor/LLVMReactor.o:(rr::Nucleus::Nucleus()) clang: error: linker command failed with exit code 1 (use -v to see invocation) [117/19280] CXX clang_x64_v8_arm64/obj/third_party/webrtc/rtc_base/rtc_base/physicalsocketserver.o The configuration used was: # Build arguments go here. # See "gn args <out_dir> --list" for available build arguments. target_os = "linux" target_cpu = "arm64" # (default) is_debug = false # (default) # Other args you may want to set: #is_component_build = true is_clang = true symbol_level = 0
,
Nov 14
,
Nov 14
,
Nov 15
Fixed by https://swiftshader-review.googlesource.com/22408. Just needs a DEPS roll of SwiftShader. What's the justification for making this Pri-1 ? Is there any build bot that's broken (I'm only seeing two Fuchsia ARM64 bots, and they're green)? What can we do to prevent this from reoccurring?
,
Nov 15
The roll has just landed. cavalcantii@, can you tell us if you failures disappear with the new roll?
,
Nov 15
@capn: I guess is safe to say that Fuchsia != Linux@aarch64. It would be nice to have a bot for the later case, to avoid such scenario. @sugoi: It is building fine now, thanks. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by cavalcantii@chromium.org
, Nov 14Labels: OS-Linux
Status: Available (was: Untriaged)