[LLVMbugs] [Bug 19479] New: internal compiler error with clang-omp
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Apr 18 14:28:47 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19479
Bug ID: 19479
Summary: internal compiler error with clang-omp
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: rrossi at cimne.upc.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
i copy here the error output and attach the relevant files
0 clang 0x0000000002196bf2 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1 clang 0x00000000021967a4
2 libpthread.so.0 0x00002b89e142b340
3 clang 0x00000000009f4d6e
clang::CodeGen::CodeGenFunction::GetAddrOfBlockDecl(clang::VarDecl const*,
bool) + 30
4 clang 0x0000000000a44d3a
clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(clang::DeclRefExpr const*) +
3130
5 clang 0x0000000000a462e5
clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) + 805
6 clang 0x000000000098185b
clang::CodeGen::CodeGenFunction::EmitPreOMPFirstPrivateClause(clang::OMPFirstPrivateClause
const&, clang::OMPExecutableDirective const&) + 2955
7 clang 0x000000000098a80a
clang::CodeGen::CodeGenFunction::EmitOMPDirectiveWithParallel(clang::OpenMPDirectiveKind,
clang::OpenMPDirectiveKind, clang::OMPExecutableDirective const&) + 1882
8 clang 0x000000000096f30b
clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 571
9 clang 0x000000000096f4af
clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt
const&, bool, clang::CodeGen::AggValueSlot) + 79
10 clang 0x0000000000995f10
clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&,
clang::Stmt const*) + 32
11 clang 0x0000000000998825
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 549
12 clang 0x00000000009ac96c
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl)
+ 588
13 clang 0x00000000009ad5f3
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 675
14 clang 0x00000000009af13d
clang::CodeGen::CodeGenModule::EmitDeferred() + 125
15 clang 0x00000000009af189 clang::CodeGen::CodeGenModule::Release()
+ 9
16 clang 0x000000000093a3f0
17 clang 0x0000000000ad034b clang::ParseAST(clang::Sema&, bool, bool)
+ 507
18 clang 0x00000000007d2749 clang::FrontendAction::Execute() + 169
19 clang 0x00000000007b1d58
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 296
20 clang 0x000000000079bc26
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1686
21 clang 0x0000000000797628 cc1_main(char const**, char const**, char
const*, void*) + 1192
22 clang 0x000000000077a7b3 main + 7619
23 libc.so.6 0x00002b89e207eec5 __libc_start_main + 245
24 clang 0x000000000079667d
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -fopenmp -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -main-file-name add_custom_utilities_to_python.cpp
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array
-target-cpu x86-64 -target-feature +sse3 -target-linker-version 2.24 -g
-coverage-file
/home/riccardo/kratos/clang_debug_build/applications/incompressible_fluid_application/CMakeFiles/KratosIncompressibleFluidApplication.dir/custom_python/add_custom_utilities_to_python.cpp.o
-resource-dir /usr/local/bin/../lib/clang/3.4 -D ADD_ -D KRATOS_PYTHON -D
KRATOS_USING_MPI -D KratosIncompressibleFluidApplication_EXPORTS -D NDEBUG -I
/home/riccardo/compiled_libraries/intel_omp/libomp_oss/exports/common/include/
-I
/home/riccardo/kratos/clang_debug_build/applications/incompressible_fluid_application
-I /home/riccardo/kratos/applications/incompressible_fluid_application -I
/home/riccardo/compiled_libraries/boost/include -I /usr/include/python3.4m -I
/usr/lib/openmpi/include -I /usr/lib/openmpi/include/openmpi -I
/home/riccardo/kratos/external_libraries -I
/home/riccardo/kratos/external_libraries/omptl -I
/home/riccardo/kratos/external_libraries/zlib -I
/home/riccardo/kratos/clang_debug_build/external_libraries/zlib -I
/home/riccardo/kratos/kratos -c-isystem /usr/local/include -c-isystem
/home/riccardo/compiled_libraries/intel_omp/libomp_oss/exports/lin_32e/include
-c-isystem . -cxx-isystem /usr/local/include -cxx-isystem
/home/riccardo/compiled_libraries/intel_omp/libomp_oss/exports/lin_32e/include
-cxx-isystem . -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/x86_64-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/backward
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.4/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -fdeprecated-macro
-fdebug-compilation-dir
/home/riccardo/kratos/clang_debug_build/applications/incompressible_fluid_application
-ferror-limit 19 -fmessage-length 205 -mstackrealign -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-slp -o
CMakeFiles/KratosIncompressibleFluidApplication.dir/custom_python/add_custom_utilities_to_python.cpp.o
-x c++
/home/riccardo/kratos/applications/incompressible_fluid_application/custom_python/add_custom_utilities_to_python.cpp
1. <eof> parser at end of file
2. Per-file LLVM IR generation
3.
/home/riccardo/kratos/applications/incompressible_fluid_application/custom_utilities/lagrangian_pfem2_utilities.h:149:10:
Generating code for declaration
'Kratos::LagrangianPFEM2Utilities<3>::MoveMesh_Streamlines'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4 (https://github.com/clang-omp/clang
ae629879e1bfc68fcb3468895d52392de1e14426) (https://github.com/clang-omp/llvm
92414b1167a33c0ab9187c72b098a54ecbffc15c)
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/add_custom_utilities_to_python-0c7ccb.cpp
clang: note: diagnostic msg: /tmp/add_custom_utilities_to_python-0c7ccb.sh
clang: note: diagnostic msg:
********************
--
Riccardo Rossi
PhD, Civil Engineer
member of the Kratos Team: www.cimne.com/kratos
lecturer at Universitat Politècnica de Catalunya, BarcelonaTech (UPC)
Research fellow at International Center for Numerical Methods in Engineering
(CIMNE)
C/ Gran Capità, s/n, Campus Nord UPC, Ed. C1, Despatx C9
08034 – Barcelona – Spain – www.cimne.com -
T.(+34) 93 401 56 96 skype: rougered4
Les dades personals contingudes en aquest missatge són tractades amb la
finalitat de mantenir el contacte professional entre CIMNE i voste. Podra
exercir els drets d'accés, rectificació, cancel·lació i oposició, dirigint-se a
cimne at cimne.upc.edu. La utilització de la seva adreça de correu electronic per
part de CIMNE queda subjecte a les disposicions de la Llei 34/2002, de Serveis
de la Societat de la Informació i el Comerç Electronic.
Imprimiu aquest missatge, només si és estrictament necessari.0 clang
0x0000000002196bf2 llvm::sys::PrintStackTrace(_IO_FILE*) + 34
1 clang 0x00000000021967a4
2 libpthread.so.0 0x00002b89e142b340
3 clang 0x00000000009f4d6e
clang::CodeGen::CodeGenFunction::GetAddrOfBlockDecl(clang::VarDecl const*,
bool) + 30
4 clang 0x0000000000a44d3a
clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(clang::DeclRefExpr const*) +
3130
5 clang 0x0000000000a462e5
clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) + 805
6 clang 0x000000000098185b
clang::CodeGen::CodeGenFunction::EmitPreOMPFirstPrivateClause(clang::OMPFirstPrivateClause
const&, clang::OMPExecutableDirective const&) + 2955
7 clang 0x000000000098a80a
clang::CodeGen::CodeGenFunction::EmitOMPDirectiveWithParallel(clang::OpenMPDirectiveKind,
clang::OpenMPDirectiveKind, clang::OMPExecutableDirective const&) + 1882
8 clang 0x000000000096f30b
clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 571
9 clang 0x000000000096f4af
clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt
const&, bool, clang::CodeGen::AggValueSlot) + 79
10 clang 0x0000000000995f10
clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&,
clang::Stmt const*) + 32
11 clang 0x0000000000998825
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 549
12 clang 0x00000000009ac96c
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl)
+ 588
13 clang 0x00000000009ad5f3
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 675
14 clang 0x00000000009af13d
clang::CodeGen::CodeGenModule::EmitDeferred() + 125
15 clang 0x00000000009af189 clang::CodeGen::CodeGenModule::Release()
+ 9
16 clang 0x000000000093a3f0
17 clang 0x0000000000ad034b clang::ParseAST(clang::Sema&, bool, bool)
+ 507
18 clang 0x00000000007d2749 clang::FrontendAction::Execute() + 169
19 clang 0x00000000007b1d58
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 296
20 clang 0x000000000079bc26
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1686
21 clang 0x0000000000797628 cc1_main(char const**, char const**, char
const*, void*) + 1192
22 clang 0x000000000077a7b3 main + 7619
23 libc.so.6 0x00002b89e207eec5 __libc_start_main + 245
24 clang 0x000000000079667d
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -fopenmp -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -main-file-name add_custom_utilities_to_python.cpp
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array
-target-cpu x86-64 -target-feature +sse3 -target-linker-version 2.24 -g
-coverage-file
/home/riccardo/kratos/clang_debug_build/applications/incompressible_fluid_application/CMakeFiles/KratosIncompressibleFluidApplication.dir/custom_python/add_custom_utilities_to_python.cpp.o
-resource-dir /usr/local/bin/../lib/clang/3.4 -D ADD_ -D KRATOS_PYTHON -D
KRATOS_USING_MPI -D KratosIncompressibleFluidApplication_EXPORTS -D NDEBUG -I
/home/riccardo/compiled_libraries/intel_omp/libomp_oss/exports/common/include/
-I
/home/riccardo/kratos/clang_debug_build/applications/incompressible_fluid_application
-I /home/riccardo/kratos/applications/incompressible_fluid_application -I
/home/riccardo/compiled_libraries/boost/include -I /usr/include/python3.4m -I
/usr/lib/openmpi/include -I /usr/lib/openmpi/include/openmpi -I
/home/riccardo/kratos/external_libraries -I
/home/riccardo/kratos/external_libraries/omptl -I
/home/riccardo/kratos/external_libraries/zlib -I
/home/riccardo/kratos/clang_debug_build/external_libraries/zlib -I
/home/riccardo/kratos/kratos -c-isystem /usr/local/include -c-isystem
/home/riccardo/compiled_libraries/intel_omp/libomp_oss/exports/lin_32e/include
-c-isystem . -cxx-isystem /usr/local/include -cxx-isystem
/home/riccardo/compiled_libraries/intel_omp/libomp_oss/exports/lin_32e/include
-cxx-isystem . -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/x86_64-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/backward
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.4/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -fdeprecated-macro
-fdebug-compilation-dir
/home/riccardo/kratos/clang_debug_build/applications/incompressible_fluid_application
-ferror-limit 19 -fmessage-length 205 -mstackrealign -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-slp -o
CMakeFiles/KratosIncompressibleFluidApplication.dir/custom_python/add_custom_utilities_to_python.cpp.o
-x c++
/home/riccardo/kratos/applications/incompressible_fluid_application/custom_python/add_custom_utilities_to_python.cpp
1. <eof> parser at end of file
2. Per-file LLVM IR generation
3.
/home/riccardo/kratos/applications/incompressible_fluid_application/custom_utilities/lagrangian_pfem2_utilities.h:149:10:
Generating code for declaration
'Kratos::LagrangianPFEM2Utilities<3>::MoveMesh_Streamlines'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4 (https://github.com/clang-omp/clang
ae629879e1bfc68fcb3468895d52392de1e14426) (https://github.com/clang-omp/llvm
92414b1167a33c0ab9187c72b098a54ecbffc15c)
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/add_custom_utilities_to_python-0c7ccb.cpp
clang: note: diagnostic msg: /tmp/add_custom_utilities_to_python-0c7ccb.sh
clang: note: diagnostic msg:
********************
--
Riccardo Rossi
--
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/20140418/8c5665fb/attachment.html>
More information about the llvm-bugs
mailing list