[llvm-bugs] [Bug 29067] New: building numpy on AARCH64 Android fails

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 19 20:53:09 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=29067

            Bug ID: 29067
           Summary: building numpy on AARCH64 Android fails
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: george at comma.ai
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17010
  --> https://llvm.org/bugs/attachment.cgi?id=17010&action=edit
failing source file

fatal error: error in backend: Cannot select: 0x7f98861e40: i32 =
AArch64ISD::FCCMP 0x7f988d1000, 0x7f988d1000, Consta
nt:i32<1>, Constant:i32<6>, 0x7f989bf260
  0x7f988d1000: f128,ch = CopyFromReg 0x7f9b4d9fb0, Register:f128 %vreg1
    0x7f98b3e720: f128 = Register %vreg1
  0x7f988d1000: f128,ch = CopyFromReg 0x7f9b4d9fb0, Register:f128 %vreg1
    0x7f98b3e720: f128 = Register %vreg1
  0x7f988cf390: i32 = Constant<1>
  0x7f988d1980: i32 = Constant<6>
  0x7f989bf260: f128 = AArch64ISD::FCMP 0x7f98b3e4c0, 0x7f98b3e4c0
    0x7f98b3e4c0: f128,ch = CopyFromReg 0x7f9b4d9fb0, Register:f128 %vreg3
      0x7f98862d10: f128 = Register %vreg3
    0x7f98b3e4c0: f128,ch = CopyFromReg 0x7f9b4d9fb0, Register:f128 %vreg3
      0x7f98862d10: f128 = Register %vreg3
In function: CLONGDOUBLE_compare
clang-3.8: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.8.1 (tags/RELEASE_381/final)
Target: aarch64--linux-android
Thread model: posix
InstalledDir: /data/data/com.termux/files/usr/bin
clang-3.8: 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-3.8: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.8: note: diagnostic msg:
/data/data/com.termux/files/usr/tmp/arraytypes-61df7f.c
clang-3.8: note: diagnostic msg:
/data/data/com.termux/files/usr/tmp/arraytypes-61df7f.sh
clang-3.8: note: diagnostic msg: 

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

Contents of /data/data/com.termux/files/usr/tmp/arraytypes-61df7f.sh

# Crash reproducer for clang version 3.8.1 (tags/RELEASE_381/final)
# Driver args: "-D" "NDEBUG" "-g" "-fwrapv" "-O3" "-Wall" "-Wstrict-prototypes"
"-O2" "-lm" "-fPIC" "-D" "HAVE_NPY_CONFIG_H=1" "-D" "_FILE_OFFSET_BITS=64" "-D"
"_LARGEFILE_SOURCE=1" "-D" "_LARGEFILE64_SOURCE=1" "-I"
"build/src.linux-aarch64-2.7/numpy/core/src/private" "-I" "numpy/core/include"
"-I" "build/src.linux-aarch64-2.7/numpy/core/include/numpy" "-I"
"numpy/core/src/private" "-I" "numpy/core/src" "-I" "numpy/core" "-I"
"numpy/core/src/npymath" "-I" "numpy/core/src/multiarray" "-I"
"numpy/core/src/umath" "-I" "numpy/core/src/npysort" "-I"
"/usr/local/include/python2.7" "-I"
"build/src.linux-aarch64-2.7/numpy/core/src/private" "-I"
"build/src.linux-aarch64-2.7/numpy/core/src/private" "-I"
"build/src.linux-aarch64-2.7/numpy/core/src/private" "-c"
"build/src.linux-aarch64-2.7/numpy/core/src/multiarray/arraytypes.c" "-o"
"build/temp.linux-aarch64-2.7/build/src.linux-aarch64-2.7/numpy/core/src/multiarray/arraytypes.o"
# Original command:  "/data/data/com.termux/files/usr/bin/clang-3.8" "-cc1"
"-triple" "aarch64--linux-android" "-emit-obj" "-disable-free"
"-disable-llvm-verifier" "-main-file-name" "arraytypes.c" "-mrelocation-model"
"pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim"
"-fmath-errno" "-masm-verbose" "-mconstructor-aliases" "-fuse-init-array"
"-target-cpu" "generic" "-target-feature" "+neon" "-target-abi" "aapcs"
"-backend-option" "-aarch64-fix-cortex-a53-835769=1" "-dwarf-column-info"
"-debug-info-kind=limited" "-dwarf-version=4" "-debugger-tuning=gdb"
"-coverage-file"
"/data/data/com.termux/files/home/build/numpy-1.11.1/build/temp.linux-aarch64-2.7/build/src.linux-aarch64-2.7/numpy/core/src/multiarray/arraytypes.o"
"-resource-dir" "/data/data/com.termux/files/usr/bin/../lib/clang/3.8.1" "-D"
"NDEBUG" "-D" "HAVE_NPY_CONFIG_H=1" "-D" "_FILE_OFFSET_BITS=64" "-D"
"_LARGEFILE_SOURCE=1" "-D" "_LARGEFILE64_SOURCE=1" "-I"
"build/src.linux-aarch64-2.7/numpy/core/src/private" "-I" "numpy/core/include"
"-I" "build/src.linux-aarch64-2.7/numpy/core/include/numpy" "-I"
"numpy/core/src/private" "-I" "numpy/core/src" "-I" "numpy/core" "-I"
"numpy/core/src/npymath" "-I" "numpy/core/src/multiarray" "-I"
"numpy/core/src/umath" "-I" "numpy/core/src/npysort" "-I"
"/usr/local/include/python2.7" "-I"
"build/src.linux-aarch64-2.7/numpy/core/src/private" "-I"
"build/src.linux-aarch64-2.7/numpy/core/src/private" "-I"
"build/src.linux-aarch64-2.7/numpy/core/src/private" "-internal-isystem"
"/usr/local/include" "-internal-isystem"
"/data/data/com.termux/files/usr/bin/../lib/clang/3.8.1/include"
"-internal-externc-isystem" "/data/data/com.termux/files/usr/include" "-O2"
"-Wall" "-Wstrict-prototypes" "-fdebug-compilation-dir"
"/data/data/com.termux/files/home/build/numpy-1.11.1" "-ferror-limit" "19"
"-fmessage-length" "0" "-femulated-tls" "-fwrapv"
"-fallow-half-arguments-and-returns" "-fno-signed-char" "-fobjc-runtime=gcc"
"-fdiagnostics-show-option" "-vectorize-loops" "-vectorize-slp" "-o"
"build/temp.linux-aarch64-2.7/build/src.linux-aarch64-2.7/numpy/core/src/multiarray/arraytypes.o"
"-x" "c" "build/src.linux-aarch64-2.7/numpy/core/src/multiarray/arraytypes.c"
 "/data/data/com.termux/files/usr/bin/clang-3.8" "-cc1" "-triple"
"aarch64--linux-android" "-emit-obj" "-disable-free" "-disable-llvm-verifier"
"-main-file-name" "arraytypes.c" "-mrelocation-model" "pic" "-pic-level" "2"
"-mthread-model" "posix" "-mdisable-fp-elim" "-fmath-errno" "-masm-verbose"
"-mconstructor-aliases" "-fuse-init-array" "-target-cpu" "generic"
"-target-feature" "+neon" "-target-abi" "aapcs" "-backend-option"
"-aarch64-fix-cortex-a53-835769=1" "-dwarf-column-info"
"-debug-info-kind=limited" "-dwarf-version=4" "-debugger-tuning=gdb" "-D"
"NDEBUG" "-D" "HAVE_NPY_CONFIG_H=1" "-D" "_FILE_OFFSET_BITS=64" "-D"
"_LARGEFILE_SOURCE=1" "-D" "_LARGEFILE64_SOURCE=1" "-O2" "-Wall"
"-Wstrict-prototypes" "-ferror-limit" "19" "-fmessage-length" "0"
"-femulated-tls" "-fwrapv" "-fallow-half-arguments-and-returns"
"-fno-signed-char" "-fobjc-runtime=gcc" "-fdiagnostics-show-option"
"-vectorize-loops" "-vectorize-slp" "-x" "c" "arraytypes-61df7f.c"

-- 
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/20160820/01131e16/attachment-0001.html>


More information about the llvm-bugs mailing list