[LLVMbugs] [Bug 7262] New: SIGSEGV during compilation of protobuf

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun May 30 12:11:02 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7262

           Summary: SIGSEGV during compilation of protobuf
           Product: clang
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nelchael at gentoo.org
                CC: llvmbugs at cs.uiuc.edu


While compiling protobuf-2.3.0 (homepage: http://code.google.com/p/protobuf/,
configured with "./configure CXX='clang++ -v'"):

/bin/sh ../libtool --tag=CXX   --mode=compile clang++ -v -DHAVE_CONFIG_H -I.
-I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare
-O2 -g -DNDEBUG -MT extension_set.lo -MD -MP -MF .deps/extension_set.Tpo -c -o
extension_set.lo `test -f 'google/protobuf/extension_set.cc' || echo
'./'`google/protobuf/extension_set.cc
libtool: compile:  clang++ -v -DHAVE_CONFIG_H -I. -I.. -pthread -Wall
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT
extension_set.lo -MD -MP -MF .deps/extension_set.Tpo -c
google/protobuf/extension_set.cc 
clang version 1.1 (branches/release_27)
Target: x86_64-pc-linux-gnu
Thread model: posix
 "/usr/bin/clang" -cc1 -triple x86_64-pc-linux-gnu -S -disable-free
-main-file-name extension_set.cc -mrelocation-model static -mdisable-fp-elim
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -v -g -resource-dir
/usr/lib/clang/1.1 -dependency-file .deps/extension_set.Tpo -sys-header-deps
-MP -MT extension_set.lo -DHAVE_CONFIG_H -DNDEBUG -I. -I.. -O2 -Wall
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fmessage-length 194
-pthread -fexceptions -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-4ZDueI.s -x c++ google/protobuf/extension_set.cc
clang -cc1 version 1.1 based upon llvm 2.7 hosted on x86_64-pc-linux-gnu
ignoring nonexistent directory "/usr/include/c++/4.4.3"
ignoring nonexistent directory "/usr/include/c++/4.4.3/x86_64-pc-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.4.3/backward"
ignoring nonexistent directory "/usr/include/c++/4.4.3"
ignoring nonexistent directory "/usr/include/c++/4.4.3/i686-pc-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.4.3/backward"
ignoring nonexistent directory "/usr/include/c++/4.4"
ignoring nonexistent directory "/usr/include/c++/4.4/x86_64-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.4/backward"
ignoring nonexistent directory "/usr/include/c++/4.4"
ignoring nonexistent directory "/usr/include/c++/4.4/i486-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.4/backward"
ignoring nonexistent directory "/usr/include/c++/4.1.3"
ignoring nonexistent directory "/usr/include/c++/4.1.3/i486-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.1.3/backward"
ignoring nonexistent directory "/usr/include/c++/4.3.3"
ignoring nonexistent directory "/usr/include/c++/4.3.3/x86_64-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.3.3/backward"
ignoring nonexistent directory "/usr/include/c++/4.4.1"
ignoring nonexistent directory "/usr/include/c++/4.4.1/x86_64-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.4.1/backward"
ignoring nonexistent directory "/usr/include/c++/4.1.2"
ignoring nonexistent directory "/usr/include/c++/4.1.2/i386-redhat-linux/"
ignoring nonexistent directory "/usr/include/c++/4.1.2/backward"
ignoring nonexistent directory "/usr/include/c++/4.3.0"
ignoring nonexistent directory "/usr/include/c++/4.3.0/i386-redhat-linux/"
ignoring nonexistent directory "/usr/include/c++/4.3.0/backward"
ignoring nonexistent directory "/usr/include/c++/4.3.2"
ignoring nonexistent directory "/usr/include/c++/4.3.2/i386-redhat-linux/"
ignoring nonexistent directory "/usr/include/c++/4.3.2/backward"
ignoring nonexistent directory "/usr/include/c++/4.3.2"
ignoring nonexistent directory "/usr/include/c++/4.3.2/x86_64-redhat-linux/"
ignoring nonexistent directory "/usr/include/c++/4.3.2/backward"
ignoring nonexistent directory "/usr/include/c++/4.4.1"
ignoring nonexistent directory "/usr/include/c++/4.4.1/i586-redhat-linux/"
ignoring nonexistent directory "/usr/include/c++/4.4.1/backward"
ignoring nonexistent directory "/usr/include/c++/4.4.2"
ignoring nonexistent directory "/usr/include/c++/4.4.2/i686-redhat-linux/"
ignoring nonexistent directory "/usr/include/c++/4.4.2/backward"
ignoring nonexistent directory "/usr/include/c++/4.4.3"
ignoring nonexistent directory "/usr/include/c++/4.4.3/i686-redhat-linux/"
ignoring nonexistent directory "/usr/include/c++/4.4.3/backward"
ignoring nonexistent directory "/usr/include/c++/4.3"
ignoring nonexistent directory "/usr/include/c++/4.3/i586-suse-linux/"
ignoring nonexistent directory "/usr/include/c++/4.3/backward"
ignoring nonexistent directory "/usr/include/c++/4.3"
ignoring nonexistent directory "/usr/include/c++/4.3/x86_64-suse-linux/"
ignoring nonexistent directory "/usr/include/c++/4.3/backward"
ignoring nonexistent directory "/usr/include/c++/4.4"
ignoring nonexistent directory "/usr/include/c++/4.4/i586-suse-linux/"
ignoring nonexistent directory "/usr/include/c++/4.4/backward"
ignoring nonexistent directory "/usr/include/c++/4.4"
ignoring nonexistent directory "/usr/include/c++/4.4/x86_64-suse-linux/"
ignoring nonexistent directory "/usr/include/c++/4.4/backward"
ignoring nonexistent directory "/usr/include/c++/4.3.1"
ignoring nonexistent directory "/usr/include/c++/4.3.1/i686-pc-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.3.1/backward"
ignoring nonexistent directory "/usr/include/c++/4.3.1"
ignoring nonexistent directory
"/usr/include/c++/4.3.1/x86_64-unknown-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.3.1/backward"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/i686-pc-linux-gnu/"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/backward"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/i686-pc-linux-gnu/"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/backward"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/backward"
ignoring nonexistent directory "/usr/include/c++/4.3"
ignoring nonexistent directory "/usr/include/c++/4.3/i486-pc-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.3/backward"
ignoring nonexistent directory "/usr/include/c++/4.3"
ignoring nonexistent directory "/usr/include/c++/4.3/i486-linux-gnu/"
ignoring nonexistent directory "/usr/include/c++/4.3/backward"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/backward"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4/x86_64-pc-linux-gnu/"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4/backward"
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
 .
 ..
 /usr/lib/clang/1.1/include
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include/g++-v4
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include/g++-v4/x86_64-pc-linux-gnu
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include/g++-v4/backward
 /usr/include
End of search list.
0  clang           0x000000000116271f
1  clang           0x0000000001162f9c
2  libpthread.so.0 0x00002ab9cb34d150
3  clang           0x0000000000522e6e
4  clang           0x000000000051e35f
5  clang           0x000000000051e223
6  clang           0x000000000051e347
7  clang           0x000000000051ef11
8  clang           0x0000000000522814
9  clang           0x000000000050d8ae
10 clang           0x00000000005138ca
11 clang           0x0000000000513cfa
12 clang           0x000000000050c141
13 clang           0x0000000000419ab3
14 clang           0x0000000000761fa0
15 clang           0x0000000000761a8d
16 clang           0x00000000005fbfca
17 clang           0x000000000090b2c5
18 clang           0x00000000005f916b
19 clang           0x000000000041ef67
20 clang           0x0000000000412301
21 clang           0x0000000000414e03 main + 1699
22 libc.so.6       0x00002ab9cbf28bbd __libc_start_main + 253
23 clang           0x000000000040fee9
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu -S
-disable-free -main-file-name extension_set.cc -mrelocation-model static
-mdisable-fp-elim -mconstructor-aliases -munwind-tables -target-cpu x86-64 -v
-g -resource-dir /usr/lib/clang/1.1 -dependency-file .deps/extension_set.Tpo
-sys-header-deps -MP -MT extension_set.lo -DHAVE_CONFIG_H -DNDEBUG -I. -I.. -O2
-Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fmessage-length
194 -pthread -fexceptions -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-4ZDueI.s -x c++ google/protobuf/extension_set.cc 
1.      <eof> parser at end of file
2.      ./google/protobuf/stubs/map-util.h:62:1: instantiating function
definition 'google::protobuf::FindOrNull'
3.      ./google/protobuf/stubs/map-util.h:62:1: LLVM IR generation of
declaration 'google::protobuf::FindOrNull'
4.      ./google/protobuf/stubs/map-util.h:62:1: Mangling declaration
'google::protobuf::FindOrNull'
clang: error: compiler command failed due to signal 11 (use -v to see
invocation)
make[2]: *** [extension_set.lo] Error 1
make[2]: Leaving directory `/home/nelchael/protobuf-2.3.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nelchael/protobuf-2.3.0'
make: *** [all] Error 2

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