First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 30034
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stephen Boulet <stephen@theboulets.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 30034 depends on: Show dependency tree
Bug 30034 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-30 16:18 0000
I normally use CFLAGS="-mcpu=athlon-xp -O3 -pipe". With this setting, sdl-gfx 
doesn't compile. Changing to -O2 made it work. Maybe something to put in the 
ebuild? 
 
# emerge sdl-gfx 
Calculating dependencies ...done! 
>>> emerge (1 of 1) media-libs/sdl-gfx-2.0.8 to / 
>>> md5 src_uri ;-) SDL_gfx-2.0.8.tar.gz 
>>> Unpacking source... 
>>> Unpacking SDL_gfx-2.0.8.tar.gz to /var/tmp/portage/sdl-gfx-2.0.8/work 
>>> Source unpacked. 
creating cache ./config.cache 
checking for a BSD compatible install... /bin/install -c 
checking whether build environment is sane... yes 
checking whether make sets ${MAKE}... yes 
checking for working aclocal-1.4... found 
checking for working autoconf... found 
checking for working automake-1.4... found 
checking for working autoheader... found 
checking for working makeinfo... found 
checking host system type... i686-pc-linux-gnu 
checking target system type... i686-pc-linux-gnu 
checking build system type... i686-pc-linux-gnu 
checking for ranlib... ranlib 
checking for gcc... gcc 
checking whether the C compiler (gcc -mcpu=athlon-xp  -pipe ) works... yes 
checking whether the C compiler (gcc -mcpu=athlon-xp  -pipe ) is a 
cross-compiler... no 
checking whether we are using GNU C... yes 
checking whether gcc accepts -g... yes 
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld 
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes 
checking for BSD-compatible nm... /usr/bin/nm -B 
checking whether ln -s works... yes 
updating cache ./config.cache 
loading cache ./config.cache within ltconfig 
checking for object suffix... o 
checking for executable suffix... no 
checking for gcc option to produce PIC... -fPIC 
checking if gcc PIC flag -fPIC works... yes 
checking if gcc supports -c -o file.o... yes 
checking if gcc supports -c -o file.lo... yes 
checking if gcc supports -fno-rtti -fno-exceptions ... no 
checking if gcc static flag -static works... -static 
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes 
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared 
libraries... yes 
checking command to parse /usr/bin/nm -B output... ok 
checking how to hardcode library paths into programs... immediate 
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r 
checking dynamic linker characteristics... Linux ld.so 
checking if libtool supports shared libraries... yes 
checking whether to build shared libraries... yes 
checking whether to build static libraries... yes 
checking for objdir... .libs 
creating libtool 
updating cache ./config.cache 
loading cache ./config.cache 
checking whether make sets ${MAKE}... (cached) yes 
checking for gcc... (cached) gcc 
checking whether the C compiler (gcc -mcpu=athlon-xp  -pipe ) works... yes 
checking whether the C compiler (gcc -mcpu=athlon-xp  -pipe ) is a 
cross-compiler... no 
checking whether we are using GNU C... (cached) yes 
checking whether gcc accepts -g... (cached) yes 
checking for c++... g++ 
checking whether the C++ compiler (g++ -mcpu=athlon-xp -pipe ) works... yes 
checking whether the C++ compiler (g++ -mcpu=athlon-xp -pipe ) is a 
cross-compiler... no 
checking whether we are using GNU C++... yes 
checking whether g++ accepts -g... yes 
checking for a BSD compatible install... /bin/install -c 
checking for working const... yes 
checking how to run the C preprocessor... gcc -E 
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include 
checking for dnet_ntoa in -ldnet... no 
checking for dnet_ntoa in -ldnet_stub... no 
checking for gethostbyname... yes 
checking for connect... yes 
checking for remove... yes 
checking for shmat... yes 
checking for IceConnectionNumber in -lICE... yes 
checking for sdl-config... /usr/bin/sdl-config 
checking for SDL - version >= 1.2.0... yes 
updating cache ./config.cache 
creating ./config.status 
creating Makefile 
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\"  
-DBUILD_DLL   -mcpu=athlon-xp -O3 -pipe -L/usr/lib -I/usr/include/kpathsea  
-mcpu=athlon-xp  -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c 
SDL_gfxPrimitives.c 
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\"  
-DBUILD_DLL   -mcpu=athlon-xp -O3 -pipe -L/usr/lib -I/usr/include/kpathsea  
-mcpu=athlon-xp  -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c 
SDL_rotozoom.c 
mkdir .libs 
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\" -DBUILD_DLL -mcpu=athlon-xp -O3 
-pipe -L/usr/lib -I/usr/include/kpathsea -mcpu=athlon-xp -pipe -DUSE_MMX -I/
usr/include/SDL -D_REENTRANT -Wp,-MD,.deps/SDL_rotozoom.pp -c SDL_rotozoom.c  
-fPIC -DPIC -o .libs/SDL_rotozoom.lo 
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\" -DBUILD_DLL -mcpu=athlon-xp -O3 
-pipe -L/usr/lib -I/usr/include/kpathsea -mcpu=athlon-xp -pipe -DUSE_MMX -I/
usr/include/SDL -D_REENTRANT -Wp,-MD,.deps/SDL_rotozoom.pp -c SDL_rotozoom.c 
-o SDL_rotozoom.o >/dev/null 2>&1 
rm -f .libs/SDL_gfxPrimitives.lo 
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\" -DBUILD_DLL -mcpu=athlon-xp -O3 
-pipe -L/usr/lib -I/usr/include/kpathsea -mcpu=athlon-xp -pipe -DUSE_MMX -I/
usr/include/SDL -D_REENTRANT -Wp,-MD,.deps/SDL_gfxPrimitives.pp -c 
SDL_gfxPrimitives.c  -fPIC -DPIC -o .libs/SDL_gfxPrimitives.lo 
mv -f .libs/SDL_rotozoom.lo SDL_rotozoom.lo 
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\" -DBUILD_DLL -mcpu=athlon-xp -O3 
-pipe -L/usr/lib -I/usr/include/kpathsea -mcpu=athlon-xp -pipe -DUSE_MMX -I/
usr/include/SDL -D_REENTRANT -Wp,-MD,.deps/SDL_gfxPrimitives.pp -c 
SDL_gfxPrimitives.c -o SDL_gfxPrimitives.o >/dev/null 2>&1 
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\"  
-DBUILD_DLL   -mcpu=athlon-xp -O3 -pipe -L/usr/lib -I/usr/include/kpathsea  
-mcpu=athlon-xp  -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c 
SDL_framerate.c 
mv -f .libs/SDL_gfxPrimitives.lo SDL_gfxPrimitives.lo 
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\"  
-DBUILD_DLL   -mcpu=athlon-xp -O3 -pipe -L/usr/lib -I/usr/include/kpathsea  
-mcpu=athlon-xp  -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c 
SDL_imageFilter.c 
rm -f .libs/SDL_framerate.lo 
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\" -DBUILD_DLL -mcpu=athlon-xp -O3 
-pipe -L/usr/lib -I/usr/include/kpathsea -mcpu=athlon-xp -pipe -DUSE_MMX -I/
usr/include/SDL -D_REENTRANT -Wp,-MD,.deps/SDL_framerate.pp -c SDL_framerate.c  
-fPIC -DPIC -o .libs/SDL_framerate.lo 
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\" -DBUILD_DLL -mcpu=athlon-xp -O3 
-pipe -L/usr/lib -I/usr/include/kpathsea -mcpu=athlon-xp -pipe -DUSE_MMX -I/
usr/include/SDL -D_REENTRANT -Wp,-MD,.deps/SDL_framerate.pp -c SDL_framerate.c 
-o SDL_framerate.o >/dev/null 2>&1 
rm -f .libs/SDL_imageFilter.lo 
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\" -DBUILD_DLL -mcpu=athlon-xp -O3 
-pipe -L/usr/lib -I/usr/include/kpathsea -mcpu=athlon-xp -pipe -DUSE_MMX -I/
usr/include/SDL -D_REENTRANT -Wp,-MD,.deps/SDL_imageFilter.pp -c 
SDL_imageFilter.c  -fPIC -DPIC -o .libs/SDL_imageFilter.lo 
mv -f .libs/SDL_framerate.lo SDL_framerate.lo 
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.8\" -DBUILD_DLL -mcpu=athlon-xp -O3 
-pipe -L/usr/lib -I/usr/include/kpathsea -mcpu=athlon-xp -pipe -DUSE_MMX -I/
usr/include/SDL -D_REENTRANT -Wp,-MD,.deps/SDL_imageFilter.pp -c 
SDL_imageFilter.c -o SDL_imageFilter.o >/dev/null 2>&1 
make: *** [SDL_imageFilter.lo] Error 1 
 
!!! ERROR: media-libs/sdl-gfx-2.0.8 failed. 
!!! Function src_compile, Line 32, Exitcode 2 
!!! emake failed 
 

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



# emerge info 
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22) 
================================================================= 
System uname: 2.4.22 i686 AMD Athlon(tm) XP 2700+ 
ccache version 2.3 [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-mcpu=athlon-xp -O2  -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
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/
texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/
config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox autoaddcvs ccache" 
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="/usr/local/portage" 
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" 
USE="x86 oss encode jpeg libg++ mikmod nls slang svga ggi guile tcpd imlib 
3dnow alsa -apache2 apm arts atlas avi -berkdb -bonobo cdr crypt cups dga 
-dvdr emacs -esd foomaticdb gd gdbm gif -gnome gphoto2 gpm -gtk -gtk2 imap 
imlab innodb -ipv6 java kde libwww mad maildir -mbox mmx motif mozilla mpeg 
mysql ncurses odbc oggvorbis opengl pam pda pdflib perl plotutils png pnp 
python qt quicktime readline samba sdl spell sse ssl tcltk tetex tif truetype 
usb wmf wxWindows X xml xml2 xmms xv zeo zlib"

------- Comment #1 From Mr. Bones. 2003-09-30 16:30:55 0000 -------
Fixed in CVS.  Thanks for the bug report.

------- Comment #2 From Lars Corzilius 2004-02-04 08:20:05 0000 -------
For me compilation of sdl-gfx-2.0.10 works only, if i let out the
-finline-functions CFLAG. Maybe you should put it in filter_flags. Are only
Athlons affected?

Here's my 'emerge info':
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9,
2.4.22-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-tbird -mcpu=athlon-tbird -m3dnow -mmmx
-finline-functions -fomit-frame-pointer -fforce-addr -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -mcpu=athlon-tbird -m3dnow -mmmx
-finline-functions -fomit-frame-pointer -fforce-addr -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://gentoo.inode.at/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3ds S3TC X X509 Xaw3d aalib aavm acl acpi acpi4linux alsa amd
apache2 apm arts artswrappersuid autofs avantgo avi berkdb bonobo cdr clamav
clanJavaScript clanVoice crypt cscope cups curl dedicated dga dillo directfb
dnd doc dv dvd encode esd etwin evo faad fastcgi fax fbcon ffmpeg firebird flac
flash fluidsynth foomaticdb freetds gb gd gdbm ggi gif ginac glut gnome gnomedb
gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hbci idea imagemagick imap
imlib imlib2 innodb irda irmc jack jack-caps java javascript jikes joystick
jpeg justify kde kerberos ladcca lcd lcms ldap leim libdsk libg++ libgda libwww
lirc mad maildir matroska mbox mcal mdb memlimit mikmod minimal mmx mng motif
mozcalendar mozilla mozp3p mozsvg mozxmlterm mpeg mpeg4 mule mysql nas ncurses
nls nocd nowin oav objc oci8 odbc offensive ofx oggvorbis oldworld openal
opengl openssh oss pam parse-clocks passfile pda pdflib perl php physfs pic
plotutils png ppds python qt quicktime readline rplay samba sasl scanner sdl
skey slang slp snmp socks5 sox spell sqlite src ssl stroke svga tcltk tcpd
tetex tiff transcode truetype unicode usb v4l videos vim-with-x wmf wxwin
wxwindows x86 xchattext xface xfs xine xinerama xml xml2 xmms xosd xv xvid zeo
zlib linguas_de linguas_en_GB"

First Last Prev Next    No search results available      Search page      Enter new bug