[LLVMbugs] [Bug 13250] New: llvm assert in lib/VMCore/Instructions.cpp:1825
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jul 1 05:17:53 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13250
Bug #: 13250
Summary: llvm assert in lib/VMCore/Instructions.cpp:1825
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: pageexec at freemail.hu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 8812
--> http://llvm.org/bugs/attachment.cgi?id=8812
preprocessed sources for the bug
while compiling linux with clang r159506 i get the following assert for a week
or two now:
CC fs/ext4/super.o
clang: /llvm.svn/lib/VMCore/Instructions.cpp:1825: static llvm::BinaryOperator
*llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value *,
llvm::Value *, const llvm::Twine &, llvm::Instruction *): Assertion
`S1->getType() == S2->getType() && "Cannot create binary operator with two
operands of differing type!"' failed.
0 libLLVM-3.2svn.so 0x00000389fc39d0ef
1 libLLVM-3.2svn.so 0x00000389fc39d5b4
2 libpthread.so.0 0x00000389fbdb81c0
3 libc.so.6 0x00000389fae22ad5 gsignal + 53
4 libc.so.6 0x00000389fae23f4b abort + 379
5 libc.so.6 0x00000389fae1bbbe
6 libc.so.6 0x00000389fae1bc62
7 libLLVM-3.2svn.so 0x00000389fc5ae532
8 libLLVM-3.2svn.so 0x00000389fc6e6824
9 libLLVM-3.2svn.so 0x00000389fc715fc7
10 libLLVM-3.2svn.so 0x00000389fc73a0d7
11 libLLVM-3.2svn.so 0x00000389fc73aa2f
12 libLLVM-3.2svn.so 0x00000389fc5cabfb
llvm::FPPassManager::runOnFunction(llvm::Function&) + 443
13 libLLVM-3.2svn.so 0x00000389fc5cae5b
llvm::FPPassManager::runOnModule(llvm::Module&) + 155
14 libLLVM-3.2svn.so 0x00000389fc5cb0d3
llvm::MPPassManager::runOnModule(llvm::Module&) + 419
15 libLLVM-3.2svn.so 0x00000389fc5cb658
llvm::PassManagerImpl::run(llvm::Module&) + 408
16 libLLVM-3.2svn.so 0x00000389fc5cb7ba llvm::PassManager::run(llvm::Module&) +
10
17 clang 0x000000000067adc0
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 5008
18 clang 0x0000000000678c6a
19 clang 0x00000000007a15a4 clang::ParseAST(clang::Sema&, bool,
bool) + 516
20 clang 0x0000000000677cf8 clang::CodeGenAction::ExecuteAction() +
184
21 clang 0x000000000055afd5 clang::FrontendAction::Execute() + 101
22 clang 0x000000000053e36d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 973
23 clang 0x0000000000526794
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3316
24 clang 0x000000000051ba2b cc1_main(char const**, char const**,
char const*, void*) + 731
25 clang 0x0000000000522e3a main + 3482
26 libc.so.6 0x00000389fae0f5cd __libc_start_main + 237
27 clang 0x000000000051b68d
Stack dump:
0. Program arguments: /image/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name super.c
-mrelocation-model static -mdisable-fp-elim -relaxed-aliasing
-mdisable-tail-calls -fmath-errno -masm-verbose -mconstructor-aliases
-fuse-init-array -mcode-model kernel -disable-red-zone -target-cpu core2
-target-feature -sse -target-feature -mmx -target-feature -sse2 -target-feature
-3dnow -target-feature -avx -target-linker-version 2.22
-momit-leaf-frame-pointer -g -coverage-file fs/ext4/super.o -nostdsysteminc
-nobuiltininc -resource-dir /image/bin/../lib/clang/3.2 -dependency-file
fs/ext4/.super.o.d -MT fs/ext4/super.o -sys-header-deps -isystem
/image/bin/../lib/clang/3.2/include -include
/usr/src/linux/linux-3.4.4-pax-clang/include/linux/kconfig.h -D __KERNEL__ -D
CONFIG_X86_X32_ABI -D CONFIG_AS_CFI_SIGNAL_FRAME=1 -D CONFIG_AS_CFI_SECTIONS=1
-D CONFIG_AS_FXSAVEQ=1 -D KBUILD_STR(s)=#s -D KBUILD_BASENAME=KBUILD_STR(super)
-D KBUILD_MODNAME=KBUILD_STR(ext4) -I
/usr/src/linux/linux-3.4.4-pax-clang/arch/x86/include -I
arch/x86/include/generated -I include -fmodule-cache-path
/var/tmp/clang-module-cache -O2 -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -Werror-implicit-function-declaration -Wno-format-security
-Wno-sign-compare -Wno-unused-but-set-variable -Wdeclaration-after-statement
-Wno-pointer-sign -Wextra -Wunused -Wno-unused-parameter
-Wno-missing-field-initializers -Wmissing-declarations
-Wno-initializer-overrides -Wmissing-format-attribute -Wold-style-definition
-Wmissing-include-dirs -Wno-missing-field-initializers -Wno-unused-value
-Wno-format -Wno-unknown-warning-option -Wno-self-assign -Wno-sign-compare
-Wno-format-zero-length -Wno-uninitialized -Wextra -Wunused
-Wno-unused-parameter -Wno-missing-field-initializers -Wmissing-declarations
-Wno-initializer-overrides -Wmissing-format-attribute -Wold-style-definition
-Wmissing-include-dirs -Wno-missing-field-initializers -Wno-unused-value
-Wno-format -Wno-unknown-warning-option -Wno-self-assign -Wno-sign-compare
-Wno-format-zero-length -Wno-uninitialized -fdebug-compilation-dir
/usr/src/linux/linux-3.4.4-pax-clang -ferror-limit 19 -fmessage-length 277
-fcatch-undefined-behavior -fwrapv -mstackrealign -fobjc-runtime=gnu-fragile
-fno-common -fdiagnostics-show-option -fcolor-diagnostics -o fs/ext4/super.o -x
c fs/ext4/super.c
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'Function Pass Manager' on module 'fs/ext4/super.c'.
4. Running pass 'Combine redundant instructions' on function
'@ext4_fill_super'
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 159506)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: 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: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/super-X405Zr.c
clang: note: diagnostic msg: /tmp/super-X405Zr.sh
clang: note: diagnostic msg:
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list