New issue
Advanced search Search tips

Issue 887212 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Orderfile generation compile failure

Project Member Reported by mattcary@chromium.org, Sep 20

Issue description

This happened after two successful iterations of the new system health orderfile pipeline:

python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="../../third_party/android_ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-readelf" --nm="../../third_party/android_ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm" --strip=../../third_party/eu-strip/bin/eu-strip --sofile="./lib.unstripped/libchrome.so" --tocfile="./libchrome.so.TOC" --map-file "./lib.unstripped/libchrome.so.map.gz" --output="./libchrome.so" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed --gcc-toolchain=../../third_party/android_ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -fuse-ld=lld -Wl,--color-diagnostics -flto=thin -Wl,--thinlto-jobs=8 -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy,cache_size=10\%:cache_size_bytes=10g:cache_size_files=100000 -Wl,--lto-O0 -march=armv7-a -Wl,--no-undefined -Wl,--exclude-libs=libgcc.a -Wl,--exclude-libs=libc++_static.a -Wl,--exclude-libs=libvpx_assembly_arm.a --target=arm-linux-androideabi -Werror -Wl,--warn-shared-textrel -Wl,-O2 -Wl,--gc-sections --sysroot=../../third_party/android_ndk/platforms/android-16/arch-arm -nostdlib -Wl,--warn-shared-textrel -Wl,-u,__cyg_profile_func_enter_bare -Wl,--version-script=../../build/android/android_only_explicit_jni_exports.lst -Wl,--symbol-ordering-file -Wl,../../clank/orderfiles/orderfile.arm.out -Wl,--no-warn-symbol-ordering -Wl,--keep-unique=_ZN4base7android12kStartOfTextE -Wl,--keep-unique=_ZN4base7android10kEndOfTextE -Wl,-wrap,calloc -Wl,-wrap,free -Wl,-wrap,malloc -Wl,-wrap,memalign -Wl,-wrap,posix_memalign -Wl,-wrap,pvalloc -Wl,-wrap,realloc -Wl,-wrap,valloc -Wl,--dynamic-linker,/system/bin/linker -Wl,-wrap,dl_unwind_find_exidx -L../../third_party/android_ndk/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a -o "./lib.unstripped/libchrome.so" -Wl,-soname="libchrome.so" @"./libchrome.so.rsp"
'+soft-float-abi' is not a recognized feature for this target (ignoring feature)
'+soft-float-abi' is not a recognized feature for this target (ignoring feature)
ld.lld: /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/lib/Analysis/ValueTracking.cpp:1583: void computeKnownBits(const llvm::Value *, llvm::KnownBits &, unsigned int, const (anonymous namespace)::Query &): Assertion `(V->getType()->isIntOrIntVectorTy(BitWidth) || V->getType()->isPtrOrPtrVectorTy()) && "Not integer or pointer type!"' failed.
Stack dump:
0.	Running pass 'Function Pass Manager' on module 'obj/v8/v8_base/parser.o'.
1.	Running pass 'CodeGen Prepare' on function '@_ZN2v88internal10ParserBaseINS0_6ParserEE25ParseAssignmentExpressionEbPb'
LLVM ERROR: Failed to rename temporary file thinlto-cache/Thin-967742.tmp.o to thinlto-cache/llvmcache-DB3BC09C58AD78DEA759392B453739713CF5F3A3: No such file or directory
LLVM ERROR: Failed to rename temporary file thinlto-cache/Thin-cfd673.tmp.o to thinlto-cache/llvmcache-ED812958CC6A31272F5B8BD1579CD41768768824: No such file or directory
LLVM ERROR: Failed to rename temporary file thinlto-cache/Thin-49bce0.tmp.o to thinlto-cache/llvmcache-F52EAAFED9813CEB1C7E1ECD19CB8C6CBC78164F: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
 
NOTE: Sheriffs, don't revert anything. Reverting the system health orderfile patch at this point will regress the orderfile.
Status: WontFix (was: Started)
This was building the instrumented version:

CommandError: 'Exception executing command ninja -C /b/build/slave/orderfile-clankium/build/src/arm_instrumented_out/Release -j50 -l4 chrome_apk'

The following run succeeded. Writing off as a flake.
When failing, it was timing out doing adb pull on profile data (see below). But now it's failing on gclient sync.


Pulling profile data...
INFO:devil.utils.cmd_helper:[host]> /b/build/slave/orderfile-clankium/build/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb -s 06c15605003b9f0c pull /data/local/tmp/chrome/orderfile /b/build/slave/orderfile-clankium/build/src/arm_instrumented_out/Release/profile_data
CRITICAL:root:Timed out. Dumping threads.
Status: Fixed (was: Assigned)
Fixed by bot reset then crrev.com/c/1233695 as of 26-9

Sign in to add a comment