[llvm-bugs] [Bug 38961] New: [ARM] compiler-rt still selecting FPU-centric built-ins for FPU-less targets
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Sep 15 16:42:34 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38961
Bug ID: 38961
Summary: [ARM] compiler-rt still selecting FPU-centric
built-ins for FPU-less targets
Product: compiler-rt
Version: 7.0
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: builtins
Assignee: unassignedbugs at nondot.org
Reporter: kelledin at gmail.com
CC: llvm-bugs at lists.llvm.org
When building for 32-bit ARM with no FPU (i.e. CFLAGS="-O2 -march=armv7-a+nofp
-msoft-float"), the build fails as below:
cd /usr/src/llvm/debian/build/projects/compiler-rt/lib/builtins &&
/usr/local/bin/gcc -DVISIBILITY_HIDDEN -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
-I/usr/src/llvm/debian/build/projects/compiler-rt/lib/builtins
-I/usr/src/llvm/projects/compiler-rt/lib/builtins -I/usr/include/libxml2
-I/usr/src/llvm/debian/build/include -I/usr/src/llvm/include -fPIC -O3
-DNDEBUG -march=armv7-a -mfloat-abi=soft -fno-lto -std=c11 -o
CMakeFiles/clang_rt.builtins-arm.dir/arm/restore_vfp_d8_d15_regs.S.o -c
/usr/src/llvm/projects/compiler-rt/lib/builtins/arm/restore_vfp_d8_d15_regs.S
/usr/src/llvm/projects/compiler-rt/lib/builtins/arm/restore_vfp_d8_d15_regs.S:
Assembler messages:
/usr/src/llvm/projects/compiler-rt/lib/builtins/arm/restore_vfp_d8_d15_regs.S:30:
Error: selected processor does not support `vldmia sp!,{d8-d15}' in ARM mode
make[3]: ***
[projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-arm.dir/build.make:1887:
projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-arm.dir/arm/restore_vfp_d8_d15_regs.S.o]
Error 1
make[3]: Leaving directory '/usr/src/llvm/debian/build'
make[2]: *** [CMakeFiles/Makefile2:44587:
projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-arm.dir/all]
Error 2
make[2]: Leaving directory '/usr/src/llvm/debian/build'
make[1]: *** [Makefile:155: all] Error 2
Patch is coming shortly.
--
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/20180915/1484efa7/attachment.html>
More information about the llvm-bugs
mailing list