From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118984 invoked by alias); 11 Jun 2015 11:57:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 118260 invoked by uid 48); 11 Jun 2015 11:57:26 -0000 From: "JamesMikeDuPont at googlemail dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: JamesMikeDuPont at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg01068.txt.bz2 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 { ^