This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/66507] New: Crash on compiling llvm plugin


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66507

            Bug ID: 66507
           Summary: Crash on compiling llvm plugin
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: JamesMikeDuPont at googlemail dot com
  Target Milestone: ---

When developing/compiling a llvm clang 3.7 plugin with gcc 4.9 on debian
unstable I encounted a crash. I thought to report this because maybe it would
be useful.

this error did not recoccur when trying to compiling again. 

My internal bug report is here:
https://github.com/h4ck3rm1k3/traces/issues/2

Here is the backtrace:

/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. 
-I ../include  -I/usr/lib/llvm-3.7/include  -DNDEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -O2
-fomit-frame-pointer -fPIC -std=c++11   -g -O2 -MT trace_instrumentor.lo -MD
-MP -MF .deps/trace_instrumentor.Tpo -c -o trace_instrumentor.lo
trace_instrumentor.cpp

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I ../include
-I/usr/lib/llvm-3.7/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -O2 -fomit-frame-pointer -fPIC
-std=c++11 -g -O2 -MT trace_instrumentor.lo -MD -MP -MF
.deps/trace_instrumentor.Tpo -c trace_instrumentor.cpp  -fPIC -DPIC -o
.libs/trace_instrumentor.o

In file included from /usr/lib/llvm-3.7/include/clang/AST/Attr.h:150:0,
from /usr/lib/llvm-3.7/include/clang/AST/DeclCXX.h:20,
from /usr/lib/llvm-3.7/include/clang/AST/DeclVisitor.h:17,
from trace_instrumentor.cpp:26:
/usr/lib/llvm-3.7/include/clang/AST/Attrs.inc:4263:7: internal compiler error:
Segmentation fault
class ObjCExceptionAttr : public InheritableAttr {
^


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]