Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52177 - GCC 3.4 segfault on par2cmdline
Summary: GCC 3.4 segfault on par2cmdline
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-27 05:15 UTC by 4nykey
Modified: 2004-06-19 11:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild.out (par2cmdline.out,9.81 KB, application/octet-stream)
2004-05-27 15:27 UTC, Rich Thompson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 4nykey 2004-05-27 05:15:04 UTC
Trying to emerge par2cmdline 0.3 or 0.4 results in g++ segfault.
Tried compile it manually, ./configure with no arguments and no CFLAGS, still no-go:

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://bugs.gentoo.org/> for instructions.

GCC 3.3.3 does compile it fine.

Reproducible: Always
Steps to Reproduce:
1.emerge par2cmdline
2.
3.




Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r1,
2.6.6-lokean1)
=================================================================
System uname: 2.6.6-lokean1 i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.15
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon -fomit-frame-pointer -ffast-math
-fprefetch-loop-arrays -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/mplayer /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon -fomit-frame-pointer -ffast-math
-fprefetch-loop-arrays -ftracer -fpic -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink sandbox"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles/
ftp://trumpetti.atm.tut.fi/gentoo http://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac aalib alsa apm audiofile avi bindist caps cdr crypt curl dga
directfb dv dvd encode esd expat f77 faad fam fbcon flac gd gdbm gif gnome gpm
gstreamer gtk gtk2 guile imagemagick imlib ipv6 jack jack-tmpfs jpeg kde ldap
libcaca libg++ libwww linguas_ru live mad maildir matroska mbox mikmod mmx mng
mozilla moznocompose moznoirc moznomail mozsvg mpeg ncurses nls nojoystick nptl
objc oggvorbis ooo-kde opengl oss pam pch pdflib perl pic png python qt
quicktime readline samba sasl sdl slang speex spell ssl svga tcpd theora threads
tiff truetype v4l v4l2 wmf wxwindows x86 xine xml xml2 xmms xosd xv xvid yv12 zlib"
Comment 1 Rich Thompson 2004-05-27 15:26:10 UTC
Same behaviour on AMD 64 with gcc 3.4
(sys-devel/gcc-3.4.0-r4):

bash-2.05b# emerge --info
Portage 2.0.50-r6 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.3_pre20040420-r1, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 5
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt cups divx4linux dvd encode foomaticdb freetype gdbm ghostscript gif gimp-print gnome gpm gtk2 imagemagick imlib jpeg kde libg++ libwww mikmod motif mpeg ncurses nls nogcj offensive oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell ssl tcpd truetype truetype2 usb xml2 xmms xv xvid zlib"
Comment 2 Rich Thompson 2004-05-27 15:27:26 UTC
Created attachment 32171 [details]
ebuild.out
Comment 3 4nykey 2004-06-19 11:18:38 UTC
No segfaults anymore here (binutils-2.15.91.0.1-r1, glibc-2.3.4.20040605-r1, gcc-3.4.0-r6).
So I guess bug is resolved now.