<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - building numpy on AARCH64 Android fails"
   href="https://llvm.org/bugs/show_bug.cgi?id=29067">29067</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>building numpy on AARCH64 Android fails
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LLVM Codegen
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>george@comma.ai
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=17010" name="attach_17010" title="failing source file">attachment 17010</a> <a href="attachment.cgi?id=17010&action=edit" title="failing source file">[details]</a></span>
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
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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"</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>