[LLVMbugs] [Bug 23375] New: Regression(r236060): Building .S files in android asan mode is broken
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Apr 29 13:53:26 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23375
Bug ID: 23375
Summary: Regression(r236060): Building .S files in android asan
mode is broken
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Repro:
$ curl
'https://boringssl.googlesource.com/boringssl/+/master/crypto/chacha/chacha_vec_arm.S?format=TEXT'
| base64 --decode > tmp.S
$ path/to/clang -march=armv7-a -mtune=generic-armv7-a -mfpu=vfpv3-d16
-mfloat-abi=softfp -mthumb -no-integrated-as
-B/path/to/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin
-marm -fsanitize=address -fsanitize=leak
--sysroot=path/to/third_party/android_tools/ndk//platforms/android-14/arch-arm
-target arm-linux-androideabi -mllvm -asan-globals=0 -c tmp.S -o tmp.o
$ path/to/clang -shared -fPIC
-B/path/to/third_party/binutils/Linux_x64/Release/bin -fuse-ld=gold
-fsanitize=address -fsanitize=leak
--sysroot=path/to/third_party/android_tools/ndk//platforms/android-14/arch-arm
-nostdlib -target arm-linux-androideabi tmp.o
Used to work. Now:
error:
/usr/local/google/home/thakis/src/llvm-build/bin/../lib/clang/3.7.0/lib/linux/libclang_rt.asan-arm-android.so
uses VFP register arguments, output does not
(libclang_rt.asan-arm-android.so was built with the same clang as the output
files, but possibly with different fp flags.)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150429/28e67650/attachment.html>
More information about the llvm-bugs
mailing list