New issue
Advanced search Search tips

Issue 732100 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug

Blocking:
issue 481675



Sign in to add a comment

Android Cronet ARMv6 Builder fails to link md5sum_bin after clang switch

Project Member Reported by thakis@chromium.org, Jun 11 2017

Issue description

https://build.chromium.org/p/chromium.android/builders/Android%20Cronet%20ARMv6%20Builder/builds/5007 / https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.android%2FAndroid_Cronet_ARMv6_Builder%2F5007%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout , after resolving  issue 732066  :

FAILED: md5sum_bin exe.unstripped/md5sum_bin exe.unstripped/md5sum_bin.map.gz 
python "../../build/toolchain/gcc_link_wrapper.py" --output="./md5sum_bin" --strip="../../third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip" --unstripped-file="./exe.unstripped/md5sum_bin" --map-file "./exe.unstripped/md5sum_bin.map.gz" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--fatal-warnings -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_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -fuse-ld=gold -Wl,--icf=all -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,-O1 -Wl,--gc-sections -nostdlib -Wl,--warn-shared-textrel --sysroot=../../third_party/android_tools/ndk/platforms/android-16/arch-arm -Bdynamic -Wl,-z,nocopyreloc -pie -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 -L../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libs/armeabi -o "./exe.unstripped/md5sum_bin" -Wl,--start-group @"./md5sum_bin.rsp"  -Wl,--end-group  ../../third_party/android_tools/ndk/platforms/android-16/arch-arm/usr/lib/crtbegin_dynamic.o -lc++_static -lc++abi -landroid_support -lunwind ../../third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/libgcc.a -lc -ldl -lm -llog ../../third_party/android_tools/ndk/platforms/android-16/arch-arm/usr/lib/crtend_android.o
/usr/local/google/buildbot/src/android/ndk-r12-release/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/cxa_handlers.cpp:112: error: undefined reference to '__atomic_exchange_4'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

Comment 1 by thakis@chromium.org, Jun 11 2017

Owner: thakis@chromium.org
Status: started (was: Unconfirmed)
https://codereview.chromium.org/2931283002
Project Member

Comment 2 by bugdroid1@chromium.org, Jun 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c27622a3322afd5b495e0ed9aaa598d6027e41be

commit c27622a3322afd5b495e0ed9aaa598d6027e41be
Author: thakis <thakis@chromium.org>
Date: Sun Jun 11 03:21:44 2017

android: Attempt to fix ARMv6 cronet build with clang.

BUG= 732100 
TBR=agrieve

Review-Url: https://codereview.chromium.org/2931283002
Cr-Commit-Position: refs/heads/master@{#478529}

[modify] https://crrev.com/c27622a3322afd5b495e0ed9aaa598d6027e41be/build/config/android/BUILD.gn

Comment 3 by thakis@chromium.org, Jun 11 2017

Status: Fixed (was: Started)

Sign in to add a comment