<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 --- - trunk clang assert/crash building compiler-rt"
   href="https://llvm.org/bugs/show_bug.cgi?id=25395">25395</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>trunk clang assert/crash building compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dirty@apple.com
          </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=15213" name="attach_15213" title="extendhfsf2-163a99.sh_c is the build script and the preprocessed file concatenated together.">attachment 15213</a> <a href="attachment.cgi?id=15213&action=edit" title="extendhfsf2-163a99.sh_c is the build script and the preprocessed file concatenated together.">[details]</a></span>
extendhfsf2-163a99.sh_c is the build script and the preprocessed file
concatenated together.

FAILED: ./llvm_build/./bin/clang   -fPIC -fvisibility=hidden
-DVISIBILITY_HIDDEN -Wall -fomit-frame-pointer -g -arch armv7em    -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk
-mmacosx-version-min=10.5 -arch armv7em -mfloat-abi=hard -target
thumbv7-apple-darwin-eabi -MMD -MT
lib/builtins/CMakeFiles/clang_rt.hard_pic_armv7em_macho_embedded.dir/extendhfsf2.c.o
-MF
lib/builtins/CMakeFiles/clang_rt.hard_pic_armv7em_macho_embedded.dir/extendhfsf2.c.o.d
-o
lib/builtins/CMakeFiles/clang_rt.hard_pic_armv7em_macho_embedded.dir/extendhfsf2.c.o
  -c ./llvm/projects/compiler-rt/lib/builtins/extendhfsf2.c
clang-3.8: warning: argument unused during compilation:
'-mmacosx-version-min=10.5'
  %R11<def> = t2ADDri %SP<kill>, 28, pred:14, pred:%noreg, opt:%noreg; flags:
FrameSetup
Unsupported opcode for unwinding information
UNREACHABLE executed at ./llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1122!
0  clang-3.8                0x0000000102d2f7de
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 46
1  clang-3.8                0x0000000102d31479
PrintStackTraceSignalHandler(void*) + 25
2  clang-3.8                0x0000000102d2da79 llvm::sys::RunSignalHandlers() +
425
3  clang-3.8                0x0000000102d317b9 SignalHandler(int) + 345
4  libsystem_platform.dylib 0x00007fff8d26ff1a _sigtramp + 26
5  clang-3.8                0x0000000106afe59c guard variable for
shouldAddRequirement(clang::Module*, llvm::StringRef, bool&)::IOKitAVC + 110364
6  clang-3.8                0x0000000102d3149b raise + 27
7  clang-3.8                0x0000000102d31552 abort + 18
8  clang-3.8                0x0000000102c4ebf6
llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 198
9  clang-3.8                0x0000000100f539b7
llvm::ARMAsmPrinter::EmitUnwindingInstruction(llvm::MachineInstr const*) + 1799
10 clang-3.8                0x0000000100f5669f
llvm::ARMAsmPrinter::EmitInstruction(llvm::MachineInstr const*) + 287
11 clang-3.8                0x00000001038bc0d3
llvm::AsmPrinter::EmitFunctionBody() + 1507
12 clang-3.8                0x0000000100f4d35d
llvm::ARMAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) + 605
13 clang-3.8                0x000000010204639e
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110
14 clang-3.8                0x0000000102550c7d
llvm::FPPassManager::runOnFunction(llvm::Function&) + 413
15 clang-3.8                0x0000000102550fb5
llvm::FPPassManager::runOnModule(llvm::Module&) + 117
16 clang-3.8                0x0000000102551d0a (anonymous
namespace)::MPPassManager::runOnModule(llvm::Module&) + 2010
17 clang-3.8                0x000000010255129b
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 347
18 clang-3.8                0x0000000102552951
llvm::legacy::PassManager::run(llvm::Module&) + 33
19 clang-3.8                0x0000000102ff0600 (anonymous
namespace)::EmitAssemblyHelper::EmitAssembly(clang::BackendAction,
llvm::raw_pwrite_stream*) + 1904
20 clang-3.8                0x0000000102fef6a2
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*)
+ 162
21 clang-3.8                0x00000001032af931
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 1505
22 clang-3.8                0x0000000104759d3f clang::ParseAST(clang::Sema&,
bool, bool) + 1295
23 clang-3.8                0x000000010381395f
clang::ASTFrontendAction::ExecuteAction() + 511
24 clang-3.8                0x00000001032adb57
clang::CodeGenAction::ExecuteAction() + 5991
25 clang-3.8                0x0000000103812ec0 clang::FrontendAction::Execute()
+ 112
26 clang-3.8                0x0000000103767628
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1592
27 clang-3.8                0x00000001038a1d3a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4410
28 clang-3.8                0x0000000100b0244e cc1_main(llvm::ArrayRef<char
const*>, char const*, void*) + 4926
29 clang-3.8                0x0000000100af1fcf
ExecuteCC1Tool(llvm::ArrayRef<char const*>, llvm::StringRef) + 479
30 clang-3.8                0x0000000100aefb2d main + 3245
31 libdyld.dylib            0x00007fff86ef45c9 start + 1
32 libdyld.dylib            0x000000000000003e start + 2031139446
Stack dump:
0.    Program arguments: ./llvm_build/bin/clang-3.8 -cc1 -triple
thumbv7em-apple-unknown-eabi-macho -emit-obj -mrelax-all -disable-free
-main-file-name extendhfsf2.c -mrelocation-model pic -pic-level 2
-mthread-model posix -masm-verbose -mconstructor-aliases -target-cpu cortex-m4
-target-feature +strict-align -target-abi aapcs -mfloat-abi hard
-target-linker-version 253.6 -dwarf-column-info -debug-info-kind=limited
-dwarf-version=4 -coverage-file
./llvm_build/tools/clang/runtime/compiler-rt-bins/lib/builtins/CMakeFiles/clang_rt.hard_pic_armv7em_macho_embedded.dir/extendhfsf2.c.o
-resource-dir ./llvm_build/bin/../lib/clang/3.8.0 -dependency-file
lib/builtins/CMakeFiles/clang_rt.hard_pic_armv7em_macho_embedded.dir/extendhfsf2.c.o.d
-MT
lib/builtins/CMakeFiles/clang_rt.hard_pic_armv7em_macho_embedded.dir/extendhfsf2.c.o
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk
-D VISIBILITY_HIDDEN -Wall -fdebug-compilation-dir
./llvm_build/tools/clang/runtime/compiler-rt-bins -ferror-limit 19
-fmessage-length 0 -fvisibility hidden -fallow-half-arguments-and-returns
-fblocks -fno-signed-char -fobjc-runtime=gnustep
-fencode-extended-block-signature -fdiagnostics-show-option -o
lib/builtins/CMakeFiles/clang_rt.hard_pic_armv7em_macho_embedded.dir/extendhfsf2.c.o
-x c ./llvm/projects/compiler-rt/lib/builtins/extendhfsf2.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module
'./llvm/projects/compiler-rt/lib/builtins/extendhfsf2.c'.
4.    Running pass 'ARM Assembly / Object Emitter' on function
'@__extendXfYf2__'
clang-3.8: error: unable to execute command: Illegal instruction: 4
clang-3.8: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.8.0 (trunk 251966) (llvm/trunk 251967)
Target: arm-apple-unknown-eabi-macho
Thread model: posix
InstalledDir: ./llvm_build/./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:
/var/folders/by/4x6fstz560s5tdh_yhbds8th0000gn/T/extendhfsf2-163a99.c
clang-3.8: note: diagnostic msg:
/var/folders/by/4x6fstz560s5tdh_yhbds8th0000gn/T/extendhfsf2-163a99.sh
clang-3.8: note: diagnostic msg: 

********************</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>