Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21972 - Glib breaks gdk-pixbuf when using GCC 3.3
Summary: Glib breaks gdk-pixbuf when using GCC 3.3
Status: RESOLVED DUPLICATE of bug 21277
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-30 19:39 UTC by Mike R
Modified: 2005-07-17 13:06 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 Mike R 2003-05-30 19:39:08 UTC
When I emerged glib using GCC 3.3, it compiled, but broke gdk-pixbuf.  After
doing this, GTK applications would no longer be able to load png or jpeg images
through gdk-pixbuf.  This also causes GTK+ to fail to recompile.  Here's the
error message when attempting to reemerge GTK+:

(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] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.2.1-r1/work/gtk+-2.2.1/demos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.2.1-r1/work/gtk+-2.2.1/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.2.1-r1/work/gtk+-2.2.1'
make: *** [all-recursive-am] Error 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 gcc-3.3
2. emerge glib
3. load any GTK-2 application
Actual Results:  
Many of the icons from GTK+ programs were missing because of the extensive usage
of the png and jpeg formats.

Expected Results:  
glib should not break gdk-pixbuf, hehe :)

Here's my emerge info:

Portage 2.0.48 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r2)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 AMD Duron(tm) processor
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
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"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/home/user/.portage"
USE="x86 oss apm avi crypt encode libg++ libwww mikmod mpeg nls pdflib quicktime
xv gdbm berkdb slang readline svga tcltk java guile sdl gpm tcpd pam imlib motif
X -gtk gtk2 smooth cdr opengl gnome -arts kde spell nptl xmms perl sse alsa jpeg
png tiff qt mozilla ncurses oggvorbis python samba ssl xml xml2 zlib mmx
truetype cups esd ethereal 3dnow gif"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math
-fprefetch-loop-arrays"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-31 06:50:54 UTC

*** This bug has been marked as a duplicate of 21277 ***