Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63816 - gcc 3.4.1-r2 on ppc crashes while compiling Evolution
Summary: gcc 3.4.1-r2 on ppc crashes while compiling Evolution
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-12 12:25 UTC by David Eger
Modified: 2005-03-01 08:43 UTC (History)
0 users

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


Attachments
preprocessed source of the file that crashes gcc (GNOME_Evolution_Importer-stubs.i,597.34 KB, text/plain)
2004-09-12 12:30 UTC, David Eger
Details
preprocessed source of the file that crashes gcc 3.4.2-r1 (load-gnomecard-addressbook.i,678.04 KB, text/plain)
2004-09-12 15:12 UTC, David Eger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Eger 2004-09-12 12:25:39 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../shell -I../../shell -DG_LOG_DOMAIN=\"Evolution-Importer\" -DEVOLUTION_GLADEDIR=\"/usr/share/evolution/1.4/glade\" -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/gal-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgtkhtml-3.0 -I/usr/include/libgnomeprintui-2.2 -O2 -pipe -mcpu=7450 -mpowerpc-gfxopt -mmultiple -mstring -Wall -Wmissing-prototypes -c GNOME_Evolution_Importer-stubs.c  -fPIC -DPIC -o .libs/GNOME_Evolution_Importer-stubs.so
In file included from /usr/include/glib-2.0/glib.h:45,
                 from GNOME_Evolution_Importer.h:7,
                 from GNOME_Evolution_Importer-stubs.c:7:
/usr/include/glib-2.0/glib/giochannel.h:247: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [GNOME_Evolution_Importer-stubs.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6/shell/importer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6/shell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6'
make: *** [all-recursive-am] Error 2

!!! ERROR: mail-client/evolution-1.4.6 failed.
!!! Function src_compile, Line 174, Exitcode 2
!!! make failed

root@rosencrantz# qpkg -I -v gcc
sys-devel/gcc-3.2.3-r4 *
sys-devel/gcc-3.4.1-r2 *
sys-devel/gcc-config-1.3.3-r1 *
root@rosencrantz# gcc -v
Reading specs from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/specs
Configured with: /var/tmp/portage/gcc-3.4.1-r2/work/gcc-3.4.1/configure --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4/info --enable-shared --host=powerpc-unknown-linux-gnu --target=powerpc-unknown-linux-gnu --with-system-zlib --enable-languages=c,c++ --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/include/g++-v3 --with-local-prefix=/usr/local --disable-werror --enable-shared --enable-nls --without-included-gettext --disable-multilib --enable-__cxa_atexit --enable-clocale=gnu


Reproducible: Didn't try
Steps to Reproduce:
Comment 1 David Eger 2004-09-12 12:30:24 UTC
Created attachment 39460 [details]
preprocessed source of the file that crashes gcc
Comment 2 David Eger 2004-09-12 15:09:51 UTC
Also, gcc 3.4.2-r1 will crash on ppc while compiling evolution, but at a different file:
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DG_LOG_DOMAIN=\"EBook\" -I../../.. -I../../../camel -I../../../addressbook/backend -I../../../addressbook/ename -I../../../addressbook/backend -I../../../addressbook/ename -I../../../shell -I../../../shell -DORBIT2=1 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gal-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomeprintui-2.2        -O2 -pipe -mcpu=7450 -mpowerpc-gfxopt -mmultiple -mstring -Wall -Wmissing-prototypes  -c load-gnomecard-addressbook.c
load-gnomecard-addressbook.c: In function `add_card_cb':
load-gnomecard-addressbook.c:17: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[4]: *** [load-gnomecard-addressbook.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6/addressbook/backend/ebook'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6/addressbook/backend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6/addressbook'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/evolution-1.4.6/work/evolution-1.4.6'
make: *** [all-recursive-am] Error 2

!!! ERROR: mail-client/evolution-1.4.6 failed.
!!! Function src_compile, Line 174, Exitcode 2
!!! make failed

root@rosencrantz# gcc -v
Reading specs from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.2/specs
Configured with: /var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.2/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4/info --with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.2/include/g++-v3 --host=powerpc-unknown-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --with-gnu-ld --enable-threads=posix --with-cpu=common --disable-multilib --disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.4.2  (Gentoo Linux 3.4.2-r1, ssp-3.4.1-1, pie-8.7.6.5)
Comment 3 David Eger 2004-09-12 15:12:08 UTC
Created attachment 39468 [details]
preprocessed source of the file that crashes gcc 3.4.2-r1
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2005-03-01 08:03:38 UTC
load-gnomecard-addressbook.c:17: internal compiler error: Segmentation fault

It looks like something is up with your gcc, and you've failed to provide your emerge info.

Please re-open if this problem persists.
Comment 5 David Eger 2005-03-01 08:43:42 UTC
Many of my builds were failing because I was running a ppc kernel with pre-emption on.  At least as of 2.6.10, pre-emption on PPC was not stable for me.  I believe this bug report was related.

Emerge info:
Portage 2.0.51-r15 (default-linux/ppc/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 ppc)
=================================================================
System uname: 2.6.10 ppc 7455, altivec supported
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.2.3-r1,dev-lang/python-2.3.4 [2.3.4 (#1, Nov 16 2004, 02:44:08)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r1, 2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9, 1.6.3, 1.4_p6, 1.8.5-r2, 1.9.3
sys-devel/binutils:  2.15.90.0.3-r3
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.tucdemonic.org/gentoo/ ftp://gentoo.ccccom.com"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm berkdb bitmap-fonts bonobo cdr cjk crypt cscope cups curl dlloader dvd emacs emboss encode esd ethereal f77 fam fbcon flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtkhtml guile imagemagick imap imlib jack java jpeg kerberos ldap libwww mad mikmod motif mozilla mpeg mule ncurses nls objc oggvorbis opengl oss pam pcmcia pdflib perl png pnp ppc python qt readline samba scanner sdl slang slp spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts ucs2 unicode usb xinerama xml xml2 xmms xv zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY