[Bug middle-end/43678] New: [gcc-plugin] Internal error under GDB: Killed program cc1plus.
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Wed Apr 7 19:35:00 GMT 2010
$ make gdb-check
/opt/gcc45/bin/gcc45 -O1 -g2 -fPIC -Wall
-I/opt/gcc45/lib64/gcc/x86_64-unknown-linux-gnu/4.5.0/plugin/include
-fvisibility=hidden my-plugin.c -shared -o my-plugin.so
gdb -x ./.gdbinit --args /opt/gcc45/bin/gcc45 -fplugin=./my-plugin.so -c
example.hpp -o /dev/null
GNU gdb (GDB) PLD Linux (7.0-3)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pld-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /opt/gcc45/bin/gcc45...done.
Function "plugin_init" not defined.
Breakpoint 1 (plugin_init) pending.
[New process 32537]
Executing new program:
/opt/gcc45/lib64/gcc/x86_64-unknown-linux-gnu/4.5.0/cc1plus
[Switching to process 32537]
Breakpoint 1, plugin_init (args=0x11a9990, version=0x10fbae0) at my-plugin.c:7
7 }
Breakpoint 2 at 0x7ffff6d9b53c: file my-plugin.c, line 7.
gcc45: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
cc1plus: error: unrecognized command line option "-c"
Breakpoint 1, plugin_init (args=0x11a9990, version=0x10fbae0) at my-plugin.c:7
--
Summary: [gcc-plugin] Internal error under GDB: Killed program
cc1plus.
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC build triplet: x86_64-gnu-linux
GCC host triplet: x86_64-gnu-linux
GCC target triplet: x86_64-gnu-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43678
More information about the Gcc-bugs
mailing list