[LLVMbugs] [Bug 22700] New: clang: error: clang frontend command failed due to signal
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Feb 25 11:13:20 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22700
Bug ID: 22700
Summary: clang: error: clang frontend command failed due to
signal
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: balay at mcs.anl.gov
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
clang [svn/trunk] throws stack trace on building mpich-3.1.4
I noticed this first with clang-3.4.2 - then with 3.5.1 - then with clang-svn
{{{
make[2]: Entering directory
`/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4'
/bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I.
-I./src/include -I./src/include -I./src/mpi/datatype -I./src/mpi/spawn
-Isrc/util/logging/common -I./src/util/wrappers -I./src/util/wrappers
-I./src/binding/cxx
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/binding/fortran/mpif_h
-Isrc/binding/fortran/use_mpi -I./src/mpid/ch3/include
-I./src/mpid/ch3/include -I./src/mpid/ch3/util/sock -I./src/mpid/ch3/util/sock
-I./src/mpid/ch3/channels/sock/include -I./src/mpid/ch3/channels/sock/include
-I./src/mpid/common/datatype -I./src/mpid/common/datatype
-I./src/mpid/common/sched -I./src/mpid/common/sock -I./src/mpid/common/sock
-I./src/mpid/common/sock/poll -I./src/mpid/common/sock/poll
-I./src/mpid/common/thread -I./src/pmi/simple
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/mpl/include
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/mpl/include
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/openpa/src
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/openpa/src
-D_REENTRANT
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/mpi/romio/include
-fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0
-DNDEBUG -DNVALGRIND -O2 -MT src/mpi/pt2pt/lib_libmpi_la-greq_start.lo -MD
-MP -MF src/mpi/pt2pt/.deps/lib_libmpi_la-greq_start.Tpo -c -o
src/mpi/pt2pt/lib_libmpi_la-greq_start.lo `test -f 'src/mpi/pt2pt/greq_start.c'
|| echo './'`src/mpi/pt2pt/greq_start.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src/include -I./src/include
-I./src/mpi/datatype -I./src/mpi/spawn -Isrc/util/logging/common
-I./src/util/wrappers -I./src/util/wrappers -I./src/binding/cxx
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/binding/fortran/mpif_h
-Isrc/binding/fortran/use_mpi -I./src/mpid/ch3/include -I./src/mpid/ch3/include
-I./src/mpid/ch3/util/sock -I./src/mpid/ch3/util/sock
-I./src/mpid/ch3/channels/sock/include -I./src/mpid/ch3/channels/sock/include
-I./src/mpid/common/datatype -I./src/mpid/common/datatype
-I./src/mpid/common/sched -I./src/mpid/common/sock -I./src/mpid/common/sock
-I./src/mpid/common/sock/poll -I./src/mpid/common/sock/poll
-I./src/mpid/common/thread -I./src/pmi/simple
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/mpl/include
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/mpl/include
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/openpa/src
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/openpa/src
-D_REENTRANT
-I/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/mpi/romio/include
-fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0
-DNDEBUG -DNVALGRIND -O2 -MT src/mpi/pt2pt/lib_libmpi_la-greq_start.lo -MD -MP
-MF src/mpi/pt2pt/.deps/lib_libmpi_la-greq_start.Tpo -c
src/mpi/pt2pt/greq_start.c -fPIC -DPIC -o
src/mpi/pt2pt/.libs/lib_libmpi_la-greq_start.o
clang:
/nfs2/petsc/soft/build/llvm-3.5.1.src/include/llvm/Support/Casting.h:237:
typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X =
llvm::GlobalAlias; Y = llvm::GlobalValue; typename llvm::cast_retty<X,
Y*>::ret_type = llvm::GlobalAlias*]: Assertion `isa<X>(Val) && "cast<Ty>()
argument of incompatible type!"' failed.
0 clang 0x00000000027020d2 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1 clang 0x0000000002701974
2 libpthread.so.0 0x00002aaaaaef6cb0
3 libc.so.6 0x00002aaaabf89425 gsignal + 53
4 libc.so.6 0x00002aaaabf8cb8b abort + 379
5 libc.so.6 0x00002aaaabf820ee
6 libc.so.6 0x00002aaaabf82192
7 clang 0x000000000091a6a4
8 clang 0x00000000009391b4
clang::CodeGen::CodeGenModule::checkAliases() + 1940
9 clang 0x000000000093c039 clang::CodeGen::CodeGenModule::Release()
+ 25
10 clang 0x00000000008ccb4e
11 clang 0x0000000000a86c25 clang::ParseAST(clang::Sema&, bool, bool)
+ 741
12 clang 0x00000000008cd97b clang::CodeGenAction::ExecuteAction() +
59
13 clang 0x0000000000727916 clang::FrontendAction::Execute() + 118
14 clang 0x0000000000701e20
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 320
15 clang 0x00000000006ea183
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2115
16 clang 0x00000000006e3558 cc1_main(char const**, char const**, char
const*, void*) + 1384
17 clang 0x00000000006bdd82 main + 1362
18 libc.so.6 0x00002aaaabf7476d __libc_start_main + 237
19 clang 0x00000000006e290d
Stack dump:
0. Program arguments:
/nfs2/petsc/soft/linux-Ubuntu_12.04-x86_64/clang-3.5.x-svn/bin/clang -cc1
-triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name
greq_start.c -mrelocation-model pic -pic-level 2 -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version
2.22 -momit-leaf-frame-pointer -g -dwarf-column-info -coverage-file
/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/mpi/pt2pt/.libs/lib_libmpi_la-greq_start.o
-resource-dir
/nfs2/petsc/soft/linux-Ubuntu_12.04-x86_64/clang-3.5.x-svn/bin/../lib/clang/3.5.1
-dependency-file src/mpi/pt2pt/.deps/lib_libmpi_la-greq_start.Tpo
-sys-header-deps -MP -MT src/mpi/pt2pt/lib_libmpi_la-greq_start.lo -D
HAVE_CONFIG_H -D _REENTRANT -D NDEBUG -D NVALGRIND -D PIC -I . -I ./src/include
-I ./src/include -I ./src/mpi/datatype -I ./src/mpi/spawn -I
src/util/logging/common -I ./src/util/wrappers -I ./src/util/wrappers -I
./src/binding/cxx -I
/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/binding/fortran/mpif_h
-I src/binding/fortran/use_mpi -I ./src/mpid/ch3/include -I
./src/mpid/ch3/include -I ./src/mpid/ch3/util/sock -I ./src/mpid/ch3/util/sock
-I ./src/mpid/ch3/channels/sock/include -I ./src/mpid/ch3/channels/sock/include
-I ./src/mpid/common/datatype -I ./src/mpid/common/datatype -I
./src/mpid/common/sched -I ./src/mpid/common/sock -I ./src/mpid/common/sock -I
./src/mpid/common/sock/poll -I ./src/mpid/common/sock/poll -I
./src/mpid/common/thread -I ./src/pmi/simple -I
/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/mpl/include
-I
/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/mpl/include
-I
/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/openpa/src
-I
/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/openpa/src
-I
/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4/src/mpi/romio/include
-internal-isystem /usr/local/include -internal-isystem
/nfs2/petsc/soft/linux-Ubuntu_12.04-x86_64/clang-3.5.x-svn/bin/../lib/clang/3.5.1/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O2
-Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fconst-strings
-fdebug-compilation-dir
/scratch/balay/petsc/arch-linux2-c-debug/externalpackages/mpich-3.1.4
-ferror-limit 19 -fmessage-length 186 -mstackrealign -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-o src/mpi/pt2pt/.libs/lib_libmpi_la-greq_start.o -x c
src/mpi/pt2pt/greq_start.c
1. <eof> parser at end of file
2. Per-file LLVM IR generation
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5.1 (tags/RELEASE_351/final)
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/greq_start-1005ff.c
clang: note: diagnostic msg: /tmp/greq_start-1005ff.sh
clang: 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/20150225/5daf80a1/attachment.html>
More information about the llvm-bugs
mailing list