New issue
Advanced search Search tips

Issue 698302 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Android Clang ToT builds failing with Cannot select: intrinsic %llvm.arm.get.fpscr

Project Member Reported by h...@chromium.org, Mar 3 2017

Issue description

E.g. https://build.chromium.org/p/chromium.fyi/builders/ClangToTAndroid%20%28dbg%29/builds/831/steps/compile/logs/stdio

FAILED: obj/base/base/dtoa_wrapper.o 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/base/base/dtoa_wrapper.o.d -DV8_DEPRECATION_WARNINGS -DUSE_OPENSSL_CERTS=1 -DNO_TCMALLOC -DUSE_EXTERNAL_POPUP_MENU=1 -DDISABLE_NACL -DSAFE_BROWSING_DB_REMOTE -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DENABLE_WEBVR -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=\"296875\" -D_FILE_OFFSET_BITS=64 -DANDROID -DHAVE_SYS_UIO_H -DANDROID_NDK_VERSION=r12b -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -D__GNU_SOURCE=1 -D__compiler_offsetof=__builtin_offsetof -Dnan=__builtin_nan -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -DBASE_IMPLEMENTATION -I../.. -Igen -Igen/base/base_jni_headers -Igen/base/base_jni_headers/base -Igen/android_runtime_jni_headers/base -I../../third_party/android_tools/ndk/sources/android/cpufeatures -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -fcolor-diagnostics -ffunction-sections -fno-short-enums --target=arm-linux-androideabi -march=armv7-a -mfloat-abi=softfp -mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-deprecated-register -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-block-capture-autoreleasing -Wno-unused-lambda-capture -Wno-user-defined-warnings -Os -fno-omit-frame-pointer -gdwarf-3 -g2 --sysroot=../../third_party/android_tools/ndk/platforms/android-16/arch-arm -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-char-subscripts -Wexit-time-destructors -Wexit-time-destructors -fvisibility-inlines-hidden -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=gnu++11 -fno-rtti -isystem../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include -isystem../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/include -isystem../../third_party/android_tools/ndk/sources/android/support/include -fno-exceptions -c ../../base/third_party/dmg_fp/dtoa_wrapper.cc -o obj/base/base/dtoa_wrapper.o
fatal error: error in backend: Cannot select: intrinsic %llvm.arm.get.fpscr
clang-5.0: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 5.0.0 (trunk 296875)
Target: arm--linux-android
Thread model: posix
InstalledDir: /b/c/b/ClangToTAndroid__dbg_/src/out/Debug/../../third_party/llvm-build/Release+Asserts/bin
clang-5.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-5.0: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-5.0: note: diagnostic msg: /tmp/dtoa_wrapper-77b625.cpp
clang-5.0: note: diagnostic msg: /tmp/dtoa_wrapper-77b625.sh
clang-5.0: note: diagnostic msg: 

********************
 

Comment 1 by h...@chromium.org, Mar 3 2017

Last good:
https://luci-milo.appspot.com/buildbot/chromium.fyi/ClangToTAndroid/406
Clang: r296854

First bad:
https://luci-milo.appspot.com/buildbot/chromium.fyi/ClangToTAndroid/407
Clang: r296865


Looks like this one:

------------------------------------------------------------------------
r296865 | rsingh | 2017-03-03 03:40:07 -0800 (Fri, 03 Mar 2017) | 27 lines

[ARM] fpscr read/write intrinsics not aware of each other

Comment 2 by h...@chromium.org, Mar 3 2017

Status: Fixed (was: Available)
Reverted in r296926

Sign in to add a comment