Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75398 - emerge --update gtk+ fails for gtk+-2.4.13-r1 repeatedly each time with a bus error.
Summary: emerge --update gtk+ fails for gtk+-2.4.13-r1 repeatedly each time with a bus...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-22 20:55 UTC by Jonathan
Modified: 2005-03-02 13:36 UTC (History)
0 users

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 Jonathan 2004-12-22 20:55:52 UTC
Anytime I run 'emerge --update gtk+' to update gtk+ to 2.4.13, a few minutes into compile time I get a internal compiler error: bus error and then emerge exits.  This is reproducable though it seems the bus error occurs during different stages of the compile.  I first noticed this when trying to update Gnome and then tried 'emerge'ing just the library.

My hardware profile is as follows:
Dell Inspiron 1000 laptop w/
2.2 Ghz Celeron
256 MB Ram
SIS 650 Graphics Chipset w/ 32 MB shared video memory

Reproducible: Always
Steps to Reproduce:
1.Run the command 'emerge --update gtk+'
2.
3.

Actual Results:  
The results from two runs are as follows (only the last makefile command and
successive output are given):

1st Run:
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
-DGTK_LIBDIR=\"/usr/lib\" -DGTK_DATADIR=\"/usr/share\"
-DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.4.13\"
-DGTK_BINARY_VERSION=\"2.4.0\" -DGTK_HOST=\"i686-pc-linux-gnu\"
-DGTK_COMPILATION -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf
-I../gdk-pixbuf -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/usr/include/atk-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/X11R6/include -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wall -MT
gtktextbtree.lo -MD -MP -MF .deps/gtktextbtree.Tpo -c gtktextbtree.c  -fPIC
-DPIC -o .libs/gtktextbtree.o
gtktextbtree.c: In function `recompute_level_nonzero_counts':
gtktextbtree.c:6076: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [gtktextbtree.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.4.13-r1/work/gtk+-2.4.13/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.4.13-r1/work/gtk+-2.4.13/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.4.13-r1/work/gtk+-2.4.13/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.4.13-r1/work/gtk+-2.4.13'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.4.13-r1 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! (no error message)

2nd Run:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
-DGTK_LIBDIR=\"/usr/lib\" -DGTK_DATADIR=\"/usr/share\"
-DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.4.13\"
-DGTK_BINARY_VERSION=\"2.4.0\" -DGTK_HOST=\"i686-pc-linux-gnu\"
-DGTK_COMPILATION -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf
-I../gdk-pixbuf -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/usr/include/atk-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/X11R6/include -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wall -MT
gtkfilesystemunix.lo -MD -MP -MF .deps/gtkfilesystemunix.Tpo -c
gtkfilesystemunix.c  -fPIC -DPIC -o .libs/gtkfilesystemunix.o
gtkfilesystemunix.c:-96: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [gtkfilesystemunix.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.4.13-r1/work/gtk+-2.4.13/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.4.13-r1/work/gtk+-2.4.13/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.4.13-r1/work/gtk+-2.4.13/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.4.13-r1/work/gtk+-2.4.13'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.4.13-r1 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
I was hoping to get a nice little regenerating ld.so.cache and possibly a few
config files that needed to be updated.  In other words, a successful update.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-12-23 07:12:51 UTC
Assigning this to gnome, but this sounds like a hardware problem of some sort. Is gtk+ the only package you have problems with? Have you run memtest, etc on this machine?
Comment 2 foser (RETIRED) gentoo-dev 2004-12-23 07:36:26 UTC
your 'emerge info' (read the bugreport form -> always add this!)
Comment 3 Jonathan 2004-12-27 23:22:59 UTC
Here's the 'emerge info.' Sorry about the delay, but with the holidays and all...

 root@mobile-fish jonathan # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Mobile Intel(R) Celeron(R) CPU 2.20GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcpd tiff truetype xml2 xmms xv zlib ~x86"


Also, while it may still be hardware, memtest ran fine for about eight hours and KDE and all its packages compiled fine in about 15 hours.  It really seems like one of those weird anomalies that are difficult to find.  It may also be a bug in GCC because it seems to trip over 'extern' function declarations and variables.
Comment 4 Jonathan 2004-12-31 20:52:14 UTC
Sorry about all the fuss, but, I played around with the USE flags and got gtk+ to compile.  I guess I should have tried that before posting the bug.  

Happy New Year!
Comment 5 foser (RETIRED) gentoo-dev 2005-03-02 13:36:25 UTC
looks like a gcc problem, anyway not reproducable closing.