[llvm-bugs] [Bug 28947] New: Compiler crash when compiling atomic.c in compiler-rt.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 12 01:56:47 PDT 2016


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

            Bug ID: 28947
           Summary: Compiler crash when compiling atomic.c in compiler-rt.
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: kiida2008 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16937
  --> https://llvm.org/bugs/attachment.cgi?id=16937&action=edit
preprocessed atomic.c and run script

When clang(target: ARM, host: msys2 32bit) compiling atomi.c in compiler-rt,
clang abort doe to signal.
Follows are error message.

===========================================================
Compiling ../../lib/compiler-rt/lib/builtins/atomic.c
0x6821C409 (0x0381B9E0 0x7730EA06 0x037AB000 0x00000023),
_ZN4llvm12MachineInstr10addOperandERNS_15MachineFunctionERKNS_14MachineOperandE()
+ 0x9 bytes(s)
arm-eabihf-clang.exe: error: clang frontend command failed due to signal (use
-v to see invocation)
clang version 3.8.0 (tags/RELEASE_381/final)
Target: arm---eabihf
Thread model: posix
InstalledDir: C:\msys32\mingw32\bin
arm-eabihf-clang.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
arm-eabihf-clang.exe: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
arm-eabihf-clang.exe: note: diagnostic msg: C:\msys32\tmp\atomic-adf706.c
arm-eabihf-clang.exe: note: diagnostic msg: C:\msys32\tmp\atomic-adf706.sh
arm-eabihf-clang.exe: note: diagnostic msg:

===========================================================

-- 
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/20160812/135d962d/attachment.html>


More information about the llvm-bugs mailing list