public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "JamesMikeDuPont at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66507] New: Crash on compiling llvm plugin
Date: Thu, 11 Jun 2015 11:57:00 -0000	[thread overview]
Message-ID: <bug-66507-4@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2015-06-11 11:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-11 11:57 JamesMikeDuPont at googlemail dot com [this message]
2015-06-11 11:58 ` [Bug c++/66507] " JamesMikeDuPont at googlemail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-66507-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).