Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21277 - gcc-3.3: emerge gtk+-2.2.1-r1 fails
Summary: gcc-3.3: emerge gtk+-2.2.1-r1 fails
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:
: 21972 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-19 15:48 UTC by FL
Modified: 2003-10-01 22:01 UTC (History)
4 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 FL 2003-05-19 15:48:16 UTC
make[3]: Leaving directory
`/var/tmp/portage/gtk+-2.2.1-r1/work/gtk+-2.2.1/demos/gtk-demo'
make[3]: Entering directory `/var/tmp/portage/gtk+-2.2.1-r1/work/gtk+-2.2.1/demos'
(topdir=`cd .. && pwd` ; curdir=`pwd` ; \
  cd . &&                                    \
      GDK_PIXBUF_MODULE_FILE=$topdir/gdk-pixbuf/gdk-pixbuf.loaders
$topdir/gdk-pixbuf/gdk-pixbuf-csource --build-list \
        apple_red apple-red.png gnome_foot gnome-foot.png
>$curdir/test-inline-pixbufs.h || (rm -f $curdir/test-inline-pixbufs.h && false))
failed to load "apple-red.png": Failed to load image 'apple-red.png':
Unsupported TGA image type
make[3]: *** [test-inline-pixbufs.h] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.2.1-r1/work/gtk+-2.2.1/demos'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.2.1-r1/work/gtk+-2.2.1/demos'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.2.1-r1/work/gtk+-2.2.1'
make: *** [all-recursive-am] Fehler 2

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



Reproducible: Always
Steps to Reproduce:
1. emerge gtk+
2.
3.

Actual Results:  
see details

Expected Results:  
see details

  Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-wolk4.0s i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow avi crypt encode gif jpeg libg++ libwww mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa
gdbm berkdb slang readline aalib svga tcltk java X sdl gpm tcpd pam ssl perl
python imlib oggvorbis gtk motif opengl mozilla dvd fbcon gtk2 gtkhtml jikes
tiff xfs xinerama xml xosd -apm -arts -cups -kde -qt -esd -gnome"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -falign-functions=4 -maccumulate-outgoing-args"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -falign-functions=4 -maccumulate-outgoing-args"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
FEATURES="ccache sandbox distcc userpriv usersandbox"
Comment 1 FL 2003-05-23 14:24:27 UTC
seems to be too the hammer problem. i don't know but with the hammer patch there are *pixbuff issues. well i could recompile it with gcc-3.3 without the hammer patch applied
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-31 06:50:55 UTC
*** Bug 21972 has been marked as a duplicate of this bug. ***
Comment 3 Dirk-Jan Heijs 2003-06-02 02:54:27 UTC
I have the same error on my pentium4
Comment 4 Dirk-Jan Heijs 2003-06-02 11:57:18 UTC
I also tried to emerge it after I emerge gcc-3.3 without the hammer patch, but it still fails with the same error :-(
Comment 5 Boyd Waters 2003-06-08 22:47:00 UTC
http://forums.gentoo.org/viewtopic.php?p=358600#358600



I had exactly the same problem; recompling glib-1 and glib-2 with new CFLAGS, and then building GTK2 with new CFLAGS, did the trick for me. The compiler died when building GTK2 with -ftracer, but finally worked with the following:


# gcc --version
gcc (GCC) 3.3 (Gentoo Linux 1.4, PVR 3.3)

# cat /var/db/pkg/x11-libs/gtk+-2.2.1_p1/CFLAGS
-fprofile-arcs -march=pentium3 -finline-functions -fweb  -frename-registers -fforce-addr -Os -pipe -g -g -g
Comment 6 Dirk-Jan Heijs 2003-06-26 03:01:34 UTC
After I compiled glib with gcc-3.3 without the hammer patch, I could compile gtk+ correctly.

I would say: remove the hammer patch at least for non athlon machines...
Comment 7 Dirk-Jan Heijs 2003-09-16 11:14:07 UTC
I don't think this bug exists anymore :-)
Comment 8 Joshua Kinard gentoo-dev 2003-10-01 22:01:23 UTC
Resolving as fixed due to Comment #7.  If this is not the case, then feel
free to re-open the bug.