Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26892 - compilation of SDL_imageFilter.c fails when emerging sdl-gfx on athlon-xp with HIGH optimizations
Summary: compilation of SDL_imageFilter.c fails when emerging sdl-gfx on athlon-xp wit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-18 18:57 UTC by mister.bailey
Modified: 2004-10-11 18:39 UTC (History)
5 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 mister.bailey 2003-08-18 18:57:53 UTC
emerge frozen-bubble fails while emerging sdl-gfx dependency, in particular on
the file SDL_imageFileter.c.  I have an Athlon Xp 2500, ASUS A7N8X board, 512 Mb
ram, 29 Gb reiserfs partition.  The whole system was compiled with high
optimization settings (settings are visible in output below).  Here is the last
bit of output from emerge:

gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.0\" -DBUILD_DLL -march=athlon-xp
-mcpu=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -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 -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
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.0\" -DBUILD_DLL -march=athlon-xp
-mcpu=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -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 -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
make: *** Waiting for unfinished jobs....
mv -f .libs/SDL_gfxPrimitives.lo SDL_gfxPrimitives.lo
make: *** Waiting for unfinished jobs....

!!! ERROR: media-libs/sdl-gfx-2.0.3 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)
Comment 1 SpanKY gentoo-dev 2003-08-18 19:01:27 UTC
umm, ok, so try removing opts until you get one that lets it compile ... 
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-08-23 17:39:37 UTC
the output you have pasted has no compile errors in it.  the actual compile error occurred before this (due to threaded compiling, ithe thread that failed failed before the current thread finished) -- please paste the actual compile error, and also, please try taking out "-ffast-math" from your optimisation settings.
Comment 3 Robert Moss (RETIRED) gentoo-dev 2003-09-04 14:20:32 UTC
Please post emerge info. Once I know what compiler you're using I'll check that it works, or otherwise, here with your optimizations.
Comment 4 SpanKY gentoo-dev 2003-09-04 20:54:03 UTC
you also forgot `emerge info` ... could be an issue related to `emake` ... 
 
at any rate, re-open when you've provided some more information 
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-25 17:29:10 UTC
hello?
Comment 6 Felix Riemann 2003-11-18 02:16:01 UTC
I had the same problem. I could only fix it by removing the -Ox argument completely from my CFLAGS. Once an -O was set (O1,O2,O3,O4,Os) make failed at sdl_imagefilter. 

my every-day-CFLAGS="-fexpensive-optimizations -fstack-protector -march=athlon-xp -mcpu=athlon-xp -O4 -mmmx -m3dnow -msse -fomit-frame-pointer -finline-functions -falign-jumps=4 -falign-loops=4 -pipe"

my sdl-gfx-CFLAGS="-fexpensive-optimizations -fstack-protector -march=athlon-xp -mcpu=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -finline-functions -falign-jumps=4 -falign-loops=4 -pipe"
Comment 7 witr 2004-02-21 18:37:24 UTC
Ditto.  Complete information:

molasses root # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium2 -finline-functions -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/env.d"
CXXFLAGS="-O2 -march=pentium2 -finline-functions -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://spooky.rwwa.com/ http://gentoo.noved.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://spooky.rwwa.com/gentoo-portage"
USE="X Xaw3d acpi acpi4linux alsa amd apm berkdb bonobo cdr crypt cscope cups dga dvd dvdr emacs encode evo flash foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib jack java joystick jpeg libg++ libwww mad mikmod mmx motif moznoirc mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl plotutils png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd truetype type1 usb video_cards_i830 videos x86 xinerama xml2 xmms xv zlib"
 
molasses root # emerge --deep --upgradeonly world
>>> --upgradeonly implies --update... adding --update to options.
Calculating world dependencies ...done!
>>> emerge (1 of 66) media-libs/sdl-gfx-2.0.10 to /
>>> md5 src_uri ;-) SDL_gfx-2.0.10.tar.gz
>>> Unpacking source...
>>> Unpacking SDL_gfx-2.0.10.tar.gz to /var/tmp/portage/sdl-gfx-2.0.10/work
>>> Source unpacked.
mmx
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 -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -pipe ) works... yes
checking whether the C compiler (gcc -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -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 -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -pipe ) works... yes
checking whether the C compiler (gcc -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -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++ -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -pipe ) works... yes
checking whether the C++ compiler (g++ -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -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.10\"  -DBUILD_DLL     -O2 -march=pentium2 -finline-func tions -fomit-frame-pointer -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c SDL_rotozoom.c
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\"  -DBUILD_DLL     -O2 -march=pentium2 -finline-func tions -fomit-frame-pointer -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c SDL_gfxPrimitives.c
mkdir .libs
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -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
rm -f .libs/SDL_gfxPrimitives.lo
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -pipe -DUSE _MMX -I/usr/include/SDL -D_REENTRANT -Wp,-MD,.deps/SDL_gfxPrimitives.pp -c SDL_gfxPrimitives.c  -fPIC -DPIC -o .libs/SDL_gfxPrimit ives.lo
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -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
mv -f .libs/SDL_rotozoom.lo SDL_rotozoom.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\"  -DBUILD_DLL     -O2 -march=pentium2 -finline-func tions -fomit-frame-pointer -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c SDL_framerate.c
rm -f .libs/SDL_framerate.lo
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -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.10\" -DBUILD_DLL -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -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
mv -f .libs/SDL_framerate.lo SDL_framerate.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\"  -DBUILD_DLL     -O2 -march=pentium2 -finline-func tions -fomit-frame-pointer -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c SDL_imageFilter.c
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -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
rm -f .libs/SDL_imageFilter.lo
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -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.l o
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -O2 -march=pentium2 -finline-functions -fomit-frame-pointer -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
make: *** Waiting for unfinished jobs....
mv -f .libs/SDL_gfxPrimitives.lo SDL_gfxPrimitives.lo
make: *** Waiting for unfinished jobs....
 
!!! ERROR: media-libs/sdl-gfx-2.0.10 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! emake failed
 
Comment 8 witr 2004-02-21 18:44:12 UTC
... and, removing the -O2 allows it to compile:

molasses root # emerge  media-libs/sdl-gfx
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/sdl-gfx-2.0.10 to /
>>> md5 src_uri ;-) SDL_gfx-2.0.10.tar.gz
>>> Unpacking source...
>>> Unpacking SDL_gfx-2.0.10.tar.gz to /var/tmp/portage/sdl-gfx-2.0.10/work
>>> Source unpacked.
mmx
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 -march=pentium2 -finline-functions -fomit-frame-pointer -pipe ) works... yes
checking whether the C compiler (gcc -march=pentium2 -finline-functions -fomit-frame-pointer -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 -march=pentium2 -finline-functions -fomit-frame-pointer -pipe ) works... yes
checking whether the C compiler (gcc -march=pentium2 -finline-functions -fomit-frame-pointer -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++ -march=pentium2 -finline-functions -fomit-frame-pointer -pipe ) works... yes
checking whether the C++ compiler (g++ -march=pentium2 -finline-functions -fomit-frame-pointer -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.10\"  -DBUILD_DLL     -march=pentium2 -finline-functions -fomit-frame-pointer -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.10\"  -DBUILD_DLL     -march=pentium2 -finline-functions -fomit-frame-pointer -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c SDL_rotozoom.c
mkdir .libs
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -march=pentium2 -finline-functions -fomit-frame-pointer -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
rm -f .libs/SDL_gfxPrimitives.lo
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -march=pentium2 -finline-functions -fomit-frame-pointer -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
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -march=pentium2 -finline-functions -fomit-frame-pointer -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
mv -f .libs/SDL_rotozoom.lo SDL_rotozoom.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\"  -DBUILD_DLL     -march=pentium2 -finline-functions -fomit-frame-pointer -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c SDL_framerate.c
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -march=pentium2 -finline-functions -fomit-frame-pointer -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
rm -f .libs/SDL_framerate.lo
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -march=pentium2 -finline-functions -fomit-frame-pointer -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.10\" -DBUILD_DLL -march=pentium2 -finline-functions -fomit-frame-pointer -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
mv -f .libs/SDL_framerate.lo SDL_framerate.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\"  -DBUILD_DLL     -march=pentium2 -finline-functions -fomit-frame-pointer -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT -c SDL_imageFilter.c
rm -f .libs/SDL_imageFilter.lo
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -march=pentium2 -finline-functions -fomit-frame-pointer -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_gfxPrimitives.lo SDL_gfxPrimitives.lo
gcc -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.10\" -DBUILD_DLL -march=pentium2 -finline-functions -fomit-frame-pointer -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
mv -f .libs/SDL_imageFilter.lo SDL_imageFilter.lo
/bin/sh ./libtool --mode=link gcc  -march=pentium2 -finline-functions -fomit-frame-pointer -pipe -DUSE_MMX -I/usr/include/SDL -D_REENTRANT  -o libSDL_gfx.la -rpath /usr/lib -version-info 10:0:0 SDL_gfxPrimitives.lo SDL_rotozoom.lo SDL_framerate.lo SDL_imageFilter.lo  -lm -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
rm -fr .libs/libSDL_gfx.la .libs/libSDL_gfx.* .libs/libSDL_gfx.*
gcc -shared  SDL_gfxPrimitives.lo SDL_rotozoom.lo SDL_framerate.lo SDL_imageFilter.lo  -lm -L/usr/lib -lSDL -lpthread -lc  -Wl,-soname -Wl,libSDL_gfx.so.10 -o .libs/libSDL_gfx.so.10.0.0
(cd .libs && rm -f libSDL_gfx.so.10 && ln -s libSDL_gfx.so.10.0.0 libSDL_gfx.so.10)
(cd .libs && rm -f libSDL_gfx.so && ln -s libSDL_gfx.so.10.0.0 libSDL_gfx.so)
ar cru .libs/libSDL_gfx.a  SDL_gfxPrimitives.o SDL_rotozoom.o SDL_framerate.o SDL_imageFilter.o
ranlib .libs/libSDL_gfx.a
creating libSDL_gfx.la
(cd .libs && rm -f libSDL_gfx.la && ln -s ../libSDL_gfx.la libSDL_gfx.la)
 
>>> Install sdl-gfx-2.0.10 into /var/tmp/portage/sdl-gfx-2.0.10/image/ category media-libs
make[1]: Entering directory `/var/tmp/portage/sdl-gfx-2.0.10/work/SDL_gfx-2.0.10'
/bin/sh ./mkinstalldirs /var/tmp/portage/sdl-gfx-2.0.10/image//usr/lib
mkdir /var/tmp/portage/sdl-gfx-2.0.10/image/usr
mkdir /var/tmp/portage/sdl-gfx-2.0.10/image/usr/lib
/bin/sh ./libtool  --mode=install /bin/install -c libSDL_gfx.la /var/tmp/portage/sdl-gfx-2.0.10/image//usr/lib/libSDL_gfx.la
/bin/install -c .libs/libSDL_gfx.so.10.0.0 /var/tmp/portage/sdl-gfx-2.0.10/image//usr/lib/libSDL_gfx.so.10.0.0
(cd /var/tmp/portage/sdl-gfx-2.0.10/image//usr/lib && rm -f libSDL_gfx.so.10 && ln -s libSDL_gfx.so.10.0.0 libSDL_gfx.so.10)
(cd /var/tmp/portage/sdl-gfx-2.0.10/image//usr/lib && rm -f libSDL_gfx.so && ln -s libSDL_gfx.so.10.0.0 libSDL_gfx.so)
/bin/install -c .libs/libSDL_gfx.lai /var/tmp/portage/sdl-gfx-2.0.10/image//usr/lib/libSDL_gfx.la
/bin/install -c .libs/libSDL_gfx.a /var/tmp/portage/sdl-gfx-2.0.10/image//usr/lib/libSDL_gfx.a
ranlib /var/tmp/portage/sdl-gfx-2.0.10/image//usr/lib/libSDL_gfx.a
chmod 644 /var/tmp/portage/sdl-gfx-2.0.10/image//usr/lib/libSDL_gfx.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
/bin/sh ./mkinstalldirs /var/tmp/portage/sdl-gfx-2.0.10/image//usr/include
mkdir /var/tmp/portage/sdl-gfx-2.0.10/image/usr/include
 /bin/install -c -m 644 SDL_gfxPrimitives.h /var/tmp/portage/sdl-gfx-2.0.10/image//usr/include/SDL_gfxPrimitives.h
 /bin/install -c -m 644 SDL_gfxPrimitives_font.h /var/tmp/portage/sdl-gfx-2.0.10/image//usr/include/SDL_gfxPrimitives_font.h
 /bin/install -c -m 644 SDL_rotozoom.h /var/tmp/portage/sdl-gfx-2.0.10/image//usr/include/SDL_rotozoom.h
 /bin/install -c -m 644 SDL_framerate.h /var/tmp/portage/sdl-gfx-2.0.10/image//usr/include/SDL_framerate.h
 /bin/install -c -m 644 SDL_imageFilter.h /var/tmp/portage/sdl-gfx-2.0.10/image//usr/include/SDL_imageFilter.h
make[1]: Leaving directory `/var/tmp/portage/sdl-gfx-2.0.10/work/SDL_gfx-2.0.10'
man:
prepallstrip:
strip:
strip:
   usr/lib/libSDL_gfx.so.10.0.0
making executable: /usr/lib/libSDL_gfx.so.10.0.0
>>> Completed installing into /var/tmp/portage/sdl-gfx-2.0.10/image/
 
>>> Merging media-libs/sdl-gfx-2.0.10 to /
--- /usr/
--- /usr/lib/
>>> /usr/lib/libSDL_gfx.so.10.0.0
>>> /usr/lib/libSDL_gfx.la
>>> /usr/lib/libSDL_gfx.so -> libSDL_gfx.so.10.0.0
>>> /usr/lib/libSDL_gfx.a
>>> /usr/lib/libSDL_gfx.so.10 -> libSDL_gfx.so.10.0.0
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/sdl-gfx-2.0.10/
>>> /usr/share/doc/sdl-gfx-2.0.10/html/
>>> /usr/share/doc/sdl-gfx-2.0.10/html/framerate-thumb.png
>>> /usr/share/doc/sdl-gfx-2.0.10/html/blank.gif
>>> /usr/share/doc/sdl-gfx-2.0.10/html/Screenshots/
>>> /usr/share/doc/sdl-gfx-2.0.10/html/Screenshots/SDL_rotozoom-thumb.jpg
>>> /usr/share/doc/sdl-gfx-2.0.10/html/Screenshots/SDL_rotozoom.jpg
>>> /usr/share/doc/sdl-gfx-2.0.10/html/Screenshots/SDL_gfxPrimitives.jpg
>>> /usr/share/doc/sdl-gfx-2.0.10/html/Screenshots/SDL_gfxPrimitives-thumb.jpg
>>> /usr/share/doc/sdl-gfx-2.0.10/html/index.html
>>> /usr/share/doc/sdl-gfx-2.0.10/html/framerate.png
>>> /usr/share/doc/sdl-gfx-2.0.10/html/styles.css
>>> /usr/share/doc/sdl-gfx-2.0.10/README.gz
>>> /usr/share/doc/sdl-gfx-2.0.10/AUTHORS.gz
>>> /usr/share/doc/sdl-gfx-2.0.10/ChangeLog.gz
--- /usr/include/
>>> /usr/include/SDL_gfxPrimitives.h
>>> /usr/include/SDL_framerate.h
>>> /usr/include/SDL_gfxPrimitives_font.h
>>> /usr/include/SDL_rotozoom.h
>>> /usr/include/SDL_imageFilter.h
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...                                                                                               [ ok ]>>> media-libs/sdl-gfx-2.0.10 merged.
>>> Recording media-libs/sdl-gfx in "world" favorites file...
Comment 9 witr 2004-03-07 19:08:11 UTC
Hello?
Comment 10 witr 2004-07-08 07:38:39 UTC
This still occurs with sdl-gfx-2.0.11.  Is anyone looking at this issue?  I notice that the last response by a Gentoo developer was something like 10 months ago!!!  Personally I'm not smart enough to fix this.
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-08 12:14:44 UTC
felix robert -- both of you were specifically asked to provide the output of "emerge info" and then re-open the bug.  No response to that.  We can't help if we're short on information.  See SpankY's question.
Comment 12 Felix Riemann 2004-07-09 03:23:14 UTC
Sorry, didn't notice I was asked to provide emerge info:

Portage 2.0.50-r8 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3.20040420-r0, 2.6.7-stardust7)
=================================================================
System uname: 2.6.7-stardust7 i686 AMD Athlon(tm) XP
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-fexpensive-optimizations -march=athlon-xp -mtune=athlon-xp -msse -m3dnow -mmmx -ftracer -O2 -fweb -fomit-frame-pointer -fno-if-conversion -finline-functions -falign-jumps=4 -falign-loops=4 -pipe"
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 /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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-fexpensive-optimizations -march=athlon-xp -mtune=athlon-xp -msse -m3dnow -mmmx -ftracer -O2 -fweb -fomit-frame-pointer -fno-if-conversion -finline-functions -falign-jumps=4 -falign-loops=4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/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 X aalib acpi alsa apm arts athlon avi berkdb cdr crypt cups dga dvd e ncode esd foomaticdb gdbm ggi gif gnome gpm gtk gtk2 guile imlib java jpeg kde l dap libg++ libwww mad mikmod mmx mng motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python q t quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tetex tifftruetype x86 xml xml2 xmms xv zlib"

I was using gcc 3.3.2 back in november.
Comment 13 gunix 2004-08-01 00:54:32 UTC
I noticed that my options

-O2 -march=athlon-xp -pipe -fomit-frame-pointer -finline-functions -mmmx -m3dnow  -msse

makes the compile fail, but all options, except "-finline-functions" actually works. It's just the -finline-functions that doesn't work. 

I hope this will give more information so the problem can be solved.
Comment 14 witr 2004-10-11 16:03:12 UTC
Seemant:  I _did_ put the output of emerge info in my comment #7 on Feb 21st!  You must have missed it.  This bug _STILL_ occurs in 2.0.12.  This bug is now 14 months old!  Please reopen this so it gets attention.
Comment 15 Seemant Kulleen (RETIRED) gentoo-dev 2004-10-11 17:44:07 UTC
reopening
Comment 16 SpanKY gentoo-dev 2004-10-11 18:39:28 UTC
fixed in cvs