[llvm-bugs] [Bug 25395] New: trunk clang assert/crash building compiler-rt
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Nov 3 13:26:10 PST 2015
https://llvm.org/bugs/show_bug.cgi?id=25395
Bug ID: 25395
Summary: trunk clang assert/crash building compiler-rt
Product: clang
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: dirty at apple.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15213
--> https://llvm.org/bugs/attachment.cgi?id=15213&action=edit
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
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:
/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:
********************
--
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/20151103/45a572e2/attachment-0001.html>
More information about the llvm-bugs
mailing list