Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 40382

Summary: emerge giflib-4.1.0-r3 fails (needed for kdegraphics-3.2.0) on a athlonXP with customized CFLAGS
Product: Gentoo Linux Reporter: BlinkEye <BlinkEye>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge giflib output

Description BlinkEye 2004-02-04 08:08:26 UTC
tried several option as described in bug#35530. can't emerge it anyway. i tried it from console and from within kde - same error. emerged distcc and tried with these options in /etc/make.conf :
MAKEOPTS="-j1"
FEATURES="distcc"
- same error. 
#distcc-config --set-verbose 1
# source /etc/profile
# emerge giflib
or 
#distcc-config --set-verbose 1
# emerge giflib
or 
#distcc-config --set-verbose 0
# source /etc/profile
# emerge giflib
or 
#distcc-config --set-verbose 0
# source /etc/profile
# emerge giflib
doesn't work either. 

Reproducible: Always
Steps to Reproduce:
1. emerge giflib
2.
3.

Actual Results:  
!!! ERROR: media-libs/giflib-4.1.0-r3 failed. 
!!! Function src_compile, Line 31, Exitcode 2 
!!! emake failed 
 

Expected Results:  
emerge giflib successfully 

the hole error message is attached. 
 
# emerge info 
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.0) 
================================================================= 
System uname: 2.6.0 i686 AMD Athlon(TM) XP 2200+ 
Gentoo Base System version 1.4.3.10 
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-Os -march=athlon-xp -funroll-loops -fomit-frame-pointer 
-fprefetch-loop-arrays -pipe -fmerge-all-constants -ffast-math -mfpmath=sse 
-mno-push-args -minline-all-stringops -falign-functions=64" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-Os -march=athlon-xp -funroll-loops -fomit-frame-pointer 
-fprefetch-loop-arrays -pipe -fmerge-all-constants -ffast-math -mfpmath=sse 
-mno-push-args -minline-all-stringops -falign-functions=64" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.mirrors.pair.com/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://gentoo.ccccom.com 
http://mirror.clarkson.edu/pub/distributions/gentoo/ 
http://212.219.247.20/sites/www.ibiblio.org/gentoo/ 
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ 
http://212.219.247.16/sites/www.ibiblio.org/gentoo/ 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ 
http://ftp.easynet.nl/mirror/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm 
gif gpm gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg 
ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime 
readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 BlinkEye 2004-02-04 08:10:30 UTC
Created attachment 24946 [details]
emerge giflib output
Comment 2 BlinkEye 2004-02-10 12:16:47 UTC
i solved it with emerging libungif and giflib with other CFLAGS, i.e. i changed -Os
[code]CFLAGS="-Os -march=athlon-xp -funroll-loops -fomit-frame-pointer -fprefetch-loop-arrays -pipe -fmerge-all-constants -ffast-math -mfpmath=sse -mno-push-args -minline-all-stringops -falign-functions=64"[/code]
to
-O2
[code]CFLAGS="-O2 -march=athlon-xp -funroll-loops -fomit-frame-pointer -fprefetch-loop-arrays -pipe -fmerge-all-constants -ffast-math -mfpmath=sse -mno-push-args -minline-all-stringops -falign-functions=64"[/code]

gnah, finally working!