Internal compiler error in gcc 2.95.4-13
/usr/bin/gcc -save-temps -ggdb -O2 -Wall -c file.cpp
Internal compiler error in `output_die', at dwarf2out.c:5433
The line it blew up on seems very simple:
cerr
<< tag
<< '[' << file << ':' << line << ':' << ::getpid()
...
If I remove the -ggdb switch or change it to -g it compiles.
The code compiles fine with gcc-3.0 with -ggdb.
I did a -save-temps and looked through the .ii file and found
a great many includes like:
/usr/lib/gcc-lib/i386-linux/3.0.4/include/stddef.h
It seems like there is some cross-talk between the gcc compilers.
I seem to have several gccs installed:
$ dpkg -l 'gcc*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-==========================================
==
ii gcc 2.95.4-13 The GNU C compiler.
ii gcc-2.95 2.95.4-5 The GNU C compiler.
ii gcc-3.0 3.0.4-6 The GNU C compiler.
ii gcc-3.0-base 3.0.4-6 The GNU Compiler Collection (base
package).
ii gcc-3.0-doc 3.0.4-6 Documentation for the GNU compilers (gcc,
go
ii gccchecker 0.9.9.1.200112 Memory access debugger for C language
develo
--
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: