Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53352 - Compilation of allegro-4.1.14 fails due to CFLAG flag
Summary: Compilation of allegro-4.1.14 fails due to CFLAG flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-08 14:39 UTC by Greisberger Christophe
Modified: 2004-06-09 11:02 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 Greisberger Christophe 2004-06-08 14:39:45 UTC
When I try to update from 4.1.12 to 4.1.14, the compilations fails

# emerge -u media-libs/allegro

But when I remove all CFLAGs, it works

# CFLAGS="" emerge -u media-libs/allegro


Reproducible: Always
Steps to Reproduce:
1. emerge -u media-libs/allegro
2.
3.

Actual Results:  
 

Expected Results:  
emerged successfully 

# emerge info 
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, 
glibc-2.3.3_pre20040420-r0,2.3.3.20040420-r0, 2.6.5-gentoo-r1) 
================================================================= 
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2800+ 
Gentoo Base System version 1.4.16 
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer 
-fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -mmmx -msse -m3dnow -mfpmath=387,sse" 
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/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/www/localhost/htdocs//mythweb/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer 
-fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -mmmx -msse -m3dnow -mfpmath=387,sse" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X aalib acl acpi aim alsa apache2 arts audiofile avi berkdb bidi canna 
caps cdr cjk crypt cups curl dga directfb divx4linux doc dvb dvd dvdr encode fam fastcgi 
fbcon fdftk fftw flac flash foomaticdb freewnn gd gdbm ggi gif gmp gphoto2 gstreamer 
gtk gtk2 guile icq imagemagick imap imlib jack java joystick jpeg kde ladcca lcms libg++ 
libwww linguas_ar linguas_de linguas_en linguas_fr linguas_hu linguas_jp linguas_ro 
linguas_ru linguas_sp lirc lzw-tiff mad maildir matroska mbox mmx motif mozilla mpeg 
msn mysql nas ncurses nls nocd nvidia odbc oggvorbis opengl oscar pam pdflib perl pic 
pie plotutils png postgres ppds prelude python qt quicktime readline samba sasl 
scanner sdl slang slp speex spell sse ssl svga szip tcltk tcpd tetex theora tiff truetype 
unicode usb v4l2 vhosts videos vim-with-x wmf wxwindows x86 xinerama xml xml2 
xmms xosd xv xvid yahoo zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-06-08 14:52:11 UTC
Can you isolate which flag is causing the problem?
Comment 2 Greisberger Christophe 2004-06-08 15:26:37 UTC
Yeah, that's what I'm doing :-)
I think that I will have found it until tomorrow evening.
Comment 3 Greisberger Christophe 2004-06-09 10:23:56 UTC
Well, it was -fprefetch-loop-arrays
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-06-09 11:02:19 UTC
Filtered that flag in the ebuild.  Resync and try it again please.