This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
GCC 3.4.0 g++ Internal error
- From: "Steve Lee" <steve at tuxsoft dot com>
- To: <gcc-bugs at gcc dot gnu dot org>
- Date: Thu, 29 Apr 2004 14:11:14 -0500
- Subject: GCC 3.4.0 g++ Internal error
When compiling the following program with GCC 3.4.0
(http://umn.dl.sourceforge.net/sourceforge/parchive/par2cmdline-0.4.tar.
gz), I get this:
[steve@jupiter par2cmdline-0.4]$ make
make all-am
make[1]: Entering directory `/home/steve/programs/par2cmdline-0.4'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -O2 -MT par2cmdline.o -MD
-MP -MF ".deps/par2cmdline.Tpo" -c -o par2cmdline.o par2cmdline.cpp; \
then mv -f ".deps/par2cmdline.Tpo" ".deps/par2cmdline.Po"; else rm -f
".deps/par2cmdline.Tpo"; exit 1; fi
In file included from par2cmdline.h:265,
from par2cmdline.cpp:20:
par2fileformat.h:67: warning: ignoring packed attribute on unpacked
non-POD field `MD5Hash PACKET_HEADER::hash'
par2fileformat.h:68: warning: ignoring packed attribute on unpacked
non-POD field `MD5Hash PACKET_HEADER::setid'
par2fileformat.h:79: warning: ignoring packed attribute on unpacked
non-POD field `MD5Hash FILEVERIFICATIONENTRY::hash'
par2fileformat.h:86: warning: ignoring packed attribute on unpacked
non-POD field `MD5Hash FILEVERIFICATIONPACKET::fileid'
par2fileformat.h:87: warning: ignoring packed attribute on unpacked
non-POD field `FILEVERIFICATIONENTRY
FILEVERIFICATIONPACKET::entries[0u]'
par2fileformat.h:101: warning: ignoring packed attribute on unpacked
non-POD field `MD5Hash FILEDESCRIPTIONPACKET::fileid'
par2fileformat.h:102: warning: ignoring packed attribute on unpacked
non-POD field `MD5Hash FILEDESCRIPTIONPACKET::hashfull'
par2fileformat.h:103: warning: ignoring packed attribute on unpacked
non-POD field `MD5Hash FILEDESCRIPTIONPACKET::hash16k'
par2fileformat.h:131: warning: ignoring packed attribute on unpacked
non-POD field `MD5Hash MAINPACKET::fileid[0u]'
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [par2cmdline.o] Error 1
make[1]: Leaving directory `/home/steve/programs/par2cmdline-0.4'
make: *** [all] Error 2
GCC 3.4.0 was built with just "./configure" on a dual althon 1900MP
system with 1G/Ram (Registered ECC). Made with "make -j 2 bootstrap"
(make version 3.8). "make -k check" discovered 2 unexpected failures
with gcc which I was told was normal for GCC 3.4.0. Which shouldn't
make any difference in this case since the error is with g++.
However, GCC 3.3.3 successfully builds this program. Hope this helps.
Steve