Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27602 - gcov from gcc-3.2.3-r2 crashes (abort(), apparently a silent assertion) when getting coverage analysis of psy.c from libvorbis
Summary: gcov from gcc-3.2.3-r2 crashes (abort(), apparently a silent assertion) when ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Please assign to toolchain
URL: ftp://foobar.math.fu-berlin.de:2121/p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-30 09:22 UTC by Felix von Leitner
Modified: 2004-03-11 07:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix von Leitner 2003-08-30 09:22:33 UTC
This does not happen on my notebook with gcc 3.3.1, which I successfully used to
compile my kernel, my Qt, my KDE, my glibc and my X, so it appears to be
reasonably bug free.

Why is Gentoo sticking with 3.2.3?

Reproducible: Always
Steps to Reproduce:
1. get psy.tar.gz from above URL (contains psy.c and generated .bb file)
2. run gcov psy.c
3. see gcov abort()

Actual Results:  
gcov aborts without generating psy.c.gcov

Expected Results:  
It should have written a coverage analysis to psy.c.gcov

Portage 2.0.49-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test4)
=================================================================
System uname: 2.6.0-test4 i686 AMD Athlon(tm) XP 2000+
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -Os"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
           /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -Os -pipe -fomit-frame-pointer"
DISTDIR="/cvs/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://160.45.44.196:81 http://www.fhh.opensource-mirror.de/gent
           oo.org/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distribu            tions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg
            ncurses nls pdflib png quicktime spell truetype xml2 xv zlib gdbm
berkdb slang             readline arts java sdl gpm tcpd pam libwww ssl perl
python esd imlib oggvorbis k            de motif opengl ldap cdr -svga -gtk
-gnome -alsa -X -qt -cups -xmms gtk2"
Comment 1 Theofilos Intzoglou 2003-09-06 18:00:05 UTC
I can't reprocude it :-/ gcov creates the file psy.c.gcov here.
I noticed strange things happening with people using -Os though... I don't know if that is the problem.

$ emerge --info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) XP 1700+
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache fixpackages"
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo http://194.83.57.7/sites/www.ibiblio.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.linux.no/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 foomaticdb libg++ nls gtkhtml gdbm berkdb slang bonobo ggi mysql tcpd libwww ssl perl python imlib motif ldap cdr -3dfx 3dnow aalib alsa apache2 apm -arts avi canna cjk crypt cups dga doc dvd -emacs encode -esd flash gif -gnome gpm gtk gtk2 -java -jack jpeg -kde lirc mad -maildir matroska mbox -mikmod mmx mozilla mpeg -mpi -nas ncurses odbc oggvorbis opengl oss pam -pcmcia -pda ppds pdflib png qt quicktime readline samba sdl sse spell svga tcltk tetex tiff truetype usb -voodoo3 wmf -wxWindows X Xaw3d xface xml xml2 xmms xv zlib"

Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-14 07:25:19 UTC
There is one or two gcc3.3.1 bugs that still need fixing.
Comment 3 Alexander Gabert (RETIRED) gentoo-dev 2004-03-05 02:40:56 UTC
can we close this bug or is there still something you want to be done for your bug report?

thanks in advance,

Alex
Comment 4 Felix von Leitner 2004-03-05 04:40:30 UTC
Go ahead and close this bug.  It does not matter anymore.
Comment 5 Alexander Gabert (RETIRED) gentoo-dev 2004-03-11 07:17:14 UTC
thanks and close