First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 94377
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nuno Lopes <nunoplopes@sapo.pt>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

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

Bug 94377 depends on: Show dependency tree
Bug 94377 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: 2005-05-29 04:34 0000
libsdl doesn't build.

Reproducible: Always
Steps to Reproduce:
I've tried to emerge mplayer, and it required libsdl.
When making it didn't output any error, because it redirects the errors to
/dev/null, althought I've copy-paste the last command to check what the error was.
Actual Results:  
linux video # pwd
/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video

linux video #  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. -O2 -mcpu=i686 -fomit-frame-pointer -mmmx -msse
-msse2 -pipe -mfpmath=sse -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT
-DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes -DOSS_SUPPORT
-DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2 -DUSE_DLVSYM -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 -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
SDL_yuv_mmx.c: In function `ColorRGBDitherYV12MMX1X':
SDL_yuv_mmx.c:113: error: can't find a register in class `GENERAL_REGS' while
reloading `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

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2005-05-29 04:42:45 0000 -------
Please attach your emerge info. 
 

------- Comment #2 From Nuno Lopes 2005-05-29 05:11:47 0000 -------
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.10 i686)
=================================================================
System uname: 2.6.11.10 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 16:57:57)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
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.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -mmmx -msse -msse2 -pipe -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -mmmx -msse -msse2 -pipe -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode fam
foomaticdb fortran gdbm gif gpm imlib ipv6 jpeg kde libg++ libwww mad mikmod mmx
motif mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png
python qtquicktime readline samba sdl spell sse sse2 ssl svga tcltk tcpd tiff
truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #3 From SpanKY 2005-05-29 05:14:17 0000 -------
and if you use just CFLAGS="-O2" ?

------- Comment #4 From Nuno Lopes 2005-05-29 05:47:29 0000 -------
yes, it works :(
Or gcc has a bug or its happening something strange..

linux ~ # gcc --version
gcc (GCC) 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1,pie-8.7.7.1)

------- Comment #5 From Marcel Transier 2005-06-09 13:16:24 0000 -------
I can confirm that. Emerge stopped with the same error, -O2 worked. 
 
my emerge info: 
 
Gentoo Base System version 1.6.12 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.50GHz 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 19 2005, 20:45:16)] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
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.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium3 -msse2 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O2 -march=pentium3 -msse2 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict 
userpriv usersandbox" 
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" 
LINGUAS="de en" 
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 aalib acpi acpi4linux alsa apm arts avi bitmap-fonts bluetooth 
bonobo bootsplash cdb cddb cdparanoia cdr cdrom crypt cups curl directfb 
divx4linux dvd dvdr dvdread emboss encode escreen esd ethereal exif fam fbcon 
flac fmod foomaticdb foreign-package fortran ftp gdbm gif gimpprint glgd gnome 
gphoto2 gpm gtk gtk2 gtkhtml guile hbci icq ieee1394 imagemagick imlib ipv6 
java javascript jpeg kde libg++ libwww live lzw lzw-tiff mad mdb memlimit 
mikmod moneyplex motif mp3 mpeg mpeg4 mplayer ncurses nethack network nls ogg 
oggvorbis ooo-kde opengl oss pam pcmcia pda pdflib perl png ppds python qt 
quotes radeon readline rtc samba sdl slang smartcard smime sockets spell sse 
ssl svg svga tcpd tetex tiff transcode truetype truetype-fonts type1-fonts usb 
v4l vorbis wifi xine xml xml2 xmms xosd xv zlib video_cards_radeon linguas_de 
linguas_en userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS 
 
 

------- Comment #6 From Chris Gianelloni (RETIRED) 2005-06-09 13:54:34 0000 -------
What if you just remove -msse2?

------- Comment #7 From Nuno Lopes 2005-06-10 04:03:33 0000 -------
Yep, without -msse2 it compiles just fine.

------- Comment #8 From Chris Gianelloni (RETIRED) 2005-06-10 06:50:32 0000 -------
Filtered -msse2 in CVS... emerge sync in an hour and try again...

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