Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89628 - libsdl-1.2.8-r1 emerge compilation failure
Summary: libsdl-1.2.8-r1 emerge compilation failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 95873 96857 100971 104770 107404 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-19 01:47 UTC by Nir Dremer
Modified: 2005-09-27 09:55 UTC (History)
6 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 Nir Dremer 2005-04-19 01:47:45 UTC
I'm unable to emerge libsdl-1.2.8-r1 due to compilation error:




Reproducible: Always
Steps to Reproduce:
1.add libsdl to package.keywords
2.emerge libsdl
3.see the result

Actual Results:  

 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I.
-O3 -march=pentium3 -msse2 -fprefetch-loop-arrays -pipe -fomit-frame-pointer
-Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT
-I./hermes -I../../src/hermes -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2
-DUSE_DLVSYM -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0
-I/usr/kde/3.4/include/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video
-DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_SVGALIB -DHAVE_OPENGL
-DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION
-I../../include -I../../include/SDL -I../../src -I../../src/main/linux
-I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions
-I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread
-I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c
SDL_yuv.c -o SDL_yuv.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
-DHAVE_LIBASOUND=1  -I. -I.     -O3 -march=pentium3 -msse2
-fprefetch-loop-arrays -pipe -fomit-frame-pointer -Wall -DENABLE_DUMMYVIDEO
-DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes
-DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2  -DUSE_DLVSYM -DARTSC_SUPPORT
-DARTSC_DYNAMIC=libartsc.so.0 -I/usr/kde/3.4/include/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -DENABLE_X11 -DXTHREADS
-I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV
-DENABLE_SVGALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT
-DSDL_USE_PTHREADS -DHAVE_SIGACTION -I../../include -I../../include/SDL
-I../../src -I../../src/main/linux -I../../src/audio -I../../src/video
-I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick
-I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian
-I../../src/file -I../../src/thread -c -o SDL_yuv_sw.lo SDL_yuv_sw.c
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
-DHAVE_LIBASOUND=1  -I. -I.     -O3 -march=pentium3 -msse2
-fprefetch-loop-arrays -pipe -fomit-frame-pointer -Wall -DENABLE_DUMMYVIDEO
-DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes
-DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2  -DUSE_DLVSYM -DARTSC_SUPPORT
-DARTSC_DYNAMIC=libartsc.so.0 -I/usr/kde/3.4/include/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -DENABLE_X11 -DXTHREADS
-I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV
-DENABLE_SVGALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT
-DSDL_USE_PTHREADS -DHAVE_SIGACTION -I../../include -I../../include/SDL
-I../../src -I../../src/main/linux -I../../src/audio -I../../src/video
-I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick
-I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian
-I../../src/file -I../../src/thread -c -o SDL_yuv_mmx.lo SDL_yuv_mmx.c
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I.
-O3 -march=pentium3 -msse2 -fprefetch-loop-arrays -pipe -fomit-frame-pointer
-Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT
-I./hermes -I../../src/hermes -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2
-DUSE_DLVSYM -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0
-I/usr/kde/3.4/include/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video
-DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_SVGALIB -DHAVE_OPENGL
-DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION
-I../../include -I../../include/SDL -I../../src -I../../src/main/linux
-I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions
-I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread
-I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c
SDL_yuv_mmx.c  -fPIC -DPIC -o .libs/SDL_yuv_mmx.o
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I.
-O3 -march=pentium3 -msse2 -fprefetch-loop-arrays -pipe -fomit-frame-pointer
-Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT
-I./hermes -I../../src/hermes -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2
-DUSE_DLVSYM -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0
-I/usr/kde/3.4/include/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video
-DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_SVGALIB -DHAVE_OPENGL
-DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION
-I../../include -I../../include/SDL -I../../src -I../../src/main/linux
-I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions
-I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread
-I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c
SDL_yuv_sw.c  -fPIC -DPIC -o .libs/SDL_yuv_sw.o
SDL_yuv_mmx.c:59: warning: `MMX_Ugrn555' defined but not used
SDL_yuv_mmx.c:60: warning: `MMX_Vgrn555' defined but not used
SDL_yuv_mmx.c:64: warning: `MMX_red555' defined but not used
SDL_yuv_mmx.c:66: warning: `MMX_grn555' defined but not used
SDL_yuv_mmx.c:68: warning: `MMX_blu5x5' defined but not used
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I.
-O3 -march=pentium3 -msse2 -fprefetch-loop-arrays -pipe -fomit-frame-pointer
-Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT
-I./hermes -I../../src/hermes -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2
-DUSE_DLVSYM -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0
-I/usr/kde/3.4/include/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video
-DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_SVGALIB -DHAVE_OPENGL
-DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION
-I../../include -I../../include/SDL -I../../src -I../../src/main/linux
-I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions
-I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread
-I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c
SDL_yuv_mmx.c -o SDL_yuv_mmx.o >/dev/null 2>&1
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I.
-O3 -march=pentium3 -msse2 -fprefetch-loop-arrays -pipe -fomit-frame-pointer
-Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT
-I./hermes -I../../src/hermes -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2
-DUSE_DLVSYM -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0
-I/usr/kde/3.4/include/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video
-DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_SVGALIB -DHAVE_OPENGL
-DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION
-I../../include -I../../include/SDL -I../../src -I../../src/main/linux
-I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions
-I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread
-I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c
SDL_yuv_sw.c -o SDL_yuv_sw.o >/dev/null 2>&1
make[3]: *** [SDL_yuv_mmx.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src'
make: *** [all-recursive] Error 1

Expected Results:  
successful emerge

emerge info:
~~~~~~~~~~~~
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.4 i686)
=================================================================
System uname: 2.6.11.4 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 16 2005, 22:26:45)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -msse2 -fprefetch-loop-arrays -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -msse2 -fprefetch-loop-arrays -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi bash-completion bidi bitmap-fonts cdr cscope cups
curl dvd dvdr emboss encode fam flac foomaticdb fortran gdbm gif gnome gphoto2
gpm gstreamer gtk gtk2 imagemagick imlib ipv6 irda jpeg kde lcd libwww mad mmx
motif mozilla mp3 mpeg nas ncurses nls nptl ogg oggvorbis opengl pam pdflib png
ppds pthreads radeon samba sdl slang snmp spell ssl svga tcltk tcpd tiff
truetype truetype-fonts type1-fonts unicode usb vorbis wxwindows xine xml xml2
xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Nir Dremer 2005-04-19 07:17:46 UTC
After several retries, disabled the following lines inside the ebuild solved the problem:
 epatch "${FILESDIR}"/${PV}-gcc2.patch #75392
 epatch "${FILESDIR}"/${P}-gcc2.patch.bz2 #86481


Comment 2 reillyp 2005-04-28 04:30:29 UTC
Me too with ~x86
Comment 3 Michael Gaber 2005-05-04 14:01:47 UTC
now ist stable and still not working....
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-05-04 14:29:24 UTC
Builds fine for me.  Try it with CFLAGS="-pipe" and see if that works.
Comment 5 Michael Gaber 2005-05-12 00:26:53 UTC
i HAVE pipe
Comment 6 Alan Jones 2005-05-12 01:08:56 UTC
Same problem here - I can confirm comment #1 suggestion fixed it.

Cheers,

Alan.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2005-05-12 05:10:26 UTC
Michael: He meant *only* pipe
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-05-12 22:22:44 UTC
reopen after trying that please.
Comment 9 Ingo van Lil 2005-05-17 06:33:01 UTC
In case anybody cares: I'm having the same problem, so tried to run the failing
compiler call without the ">/dev/null 2>&1" redirection that prevents the
compiler from giving a reasonable error message. The result is:

0 rumo:/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video# i686-pc-linux-
gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACK
AGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAV
E_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STD
INT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DH
AVE_LIBASOUND=1 -I. -I. -O2 -march=pentium3 -msse2 -fomit-frame-pointer -Wall -D
ENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../.
./src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2 -DUSE_DL
VSYM -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/usr/kde/3.3/include/artsc 
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DESD_SUPPORT -DESD
_DYNAMIC=libesd.so.0 -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86
_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -Isrc/v
ideo -DENABLE_DGA -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREA
DS -DHAVE_SIGACTION -I../../include -I../../include/SDL -I../../src -I../../src/
main/linux -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensi
ons -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread
 -I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c SDL
_yuv_mmx.c -o SDL_yuv_mmx.o >/dev/null     
SDL_yuv_mmx.c: In function `ColorRGBDitherYV12MMX1X':
SDL_yuv_mmx.c:113: error: can't find a register in class `GENERAL_REGS' while re
loading `asm'
SDL_yuv_mmx.c: At top level:
SDL_yuv_mmx.c:59: warning: `MMX_Ugrn555' defined but not used
SDL_yuv_mmx.c:60: warning: `MMX_Vgrn555' defined but not used
SDL_yuv_mmx.c:64: warning: `MMX_red555' defined but not used
SDL_yuv_mmx.c:66: warning: `MMX_grn555' defined but not used
SDL_yuv_mmx.c:68: warning: `MMX_blu5x5' defined but not used

So, there's some problem with the assembler part starting at line 113. The file
looks different and compiles cleanly in the original SDL distribution.
Comment 10 Ákos Maróy 2005-05-20 04:19:15 UTC
for me, CFLAGS="-pipe" made it emerge. but I got the same error with my normal
CFALGS, which is: -march=pentium3 -pipe -O3 -fomit-frame-pointer
-frename-registers -fprefetch-loop-arrays -falign-functions -mmmx -msse2 -msse

which is quite annoying, as I'd expect msse, msse2 and other optimazation
especially from libSDL...
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2005-05-20 08:27:23 UTC
Add back your CFLAGS until it breaks.
Comment 12 Thorsten 2005-05-21 15:50:11 UTC
Same here. I disabled -msse -fomit-frame-pointer and had success. I guess it's 
the -msse switch!
Comment 13 Ingo van Lil 2005-05-22 02:00:45 UTC
Confirmed. Removing the -msse2 option from above-mentioned compiler call (see
comment #9) makes it work fine.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-06-12 11:30:07 UTC
*** Bug 95873 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2005-06-12 11:30:53 UTC
Reopened to fix this properly... 
Comment 16 SpanKY gentoo-dev 2005-06-12 14:19:57 UTC
it's already been taken care of
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2005-06-23 07:35:46 UTC
*** Bug 96857 has been marked as a duplicate of this bug. ***
Comment 18 Mr. Bones. (RETIRED) gentoo-dev 2005-08-01 12:56:00 UTC
*** Bug 100971 has been marked as a duplicate of this bug. ***
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2005-09-04 01:40:23 UTC
*** Bug 104770 has been marked as a duplicate of this bug. ***
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2005-09-27 09:55:32 UTC
*** Bug 107404 has been marked as a duplicate of this bug. ***