First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 74608
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marco Squarcina <lavish@gmail.com>
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 74608 depends on: Show dependency tree
Bug 74608 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: 2004-12-16 02:18 0000
...
 x86_64-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. -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1 -DUSE_DLVSYM -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_AALIB -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_systimer.c -o SDL_systimer.o >/dev/null 2>&1
 x86_64-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. -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1 -DUSE_DLVSYM -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_AALIB -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_timer.c -o SDL_timer.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1  -DUSE_DLVSYM  -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_AALIB -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  -Wl,-O1 -o libtimer.la   SDL_timer.lo SDL_systimer.lo  -lpthread
x86_64-pc-linux-gnu-ar cru .libs/libtimer.a .libs/SDL_timer.o .libs/SDL_systimer.o
x86_64-pc-linux-gnu-ranlib .libs/libtimer.a
creating libtimer.la
(cd .libs && rm -f libtimer.la && ln -s ../libtimer.la libtimer.la)
make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src/timer'
make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src/timer'
Making all in endian
make[2]: Entering directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src/endian'
/bin/sh ../../libtool --mode=compile x86_64-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.     -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1  -DUSE_DLVSYM  -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_AALIB -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_endian.lo SDL_endian.c
mkdir .libs
 x86_64-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. -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1 -DUSE_DLVSYM -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_AALIB -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_endian.c  -fPIC -DPIC -o .libs/SDL_endian.o
{standard input}: Assembler messages:
{standard input}:144: Error: suffix or operands invalid for `xchg'
make[2]: *** [SDL_endian.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src/endian'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libsdl-1.2.8 failed.
!!! Function src_compile, Line 110, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.emerge -v libsdl 
2.
3.




darkstar lavish # emerge info
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-nitro4 x86_64)
=================================================================
System uname: 2.6.9-nitro4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec  2 2004, 00:54:12)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://195.56.77.10/ http://194.149.10.102/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa avi bash-completion bitmap-fonts cddb cdr chroot
codecs crypt ctype dvd dvdr f77 fam flac ftp gdbm gif glut gmail gpm gtk gtk2
imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mad mikmod motif mozilla
moznocompose moznoirc moznomail mp3 mpeg mpeg4 multilib ncurses nls nowin nptl
nptlonly ntlm nvidia oggvorbis opengl pam pdflib perl png python readline sdl
slang ssl svg tcltk tcpd tiff truetype usb userlocales xml xml2 xmms xpm xv xvid
zlib"

------- Comment #1 From Mr. Bones. 2004-12-16 03:02:30 0000 -------
does it still fail if you try with CFLAGS="-pipe"?

------- Comment #2 From Dylan Carlson (RETIRED) 2004-12-16 03:10:15 0000 -------
yes, it fails with -pipe.    I have masked this on amd64 for the time being.

------- Comment #3 From Marco Squarcina 2004-12-16 03:15:13 0000 -------
It compiles with -pipe here

------- Comment #4 From Dylan Carlson (RETIRED) 2004-12-16 03:21:17 0000 -------
Ah.  -pipe fails for me though, but I'm using -hardened so... I wonder what
changed between 1.2.7 and 1.2.8 where it fails now.

Portage 2.0.51-r8 (hardened/amd64, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.7-hardened-r17 x86_64)
=================================================================
System uname: 2.6.7-hardened-r17 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4
(#1,Dec  3 2004, 18:40:57)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.4_p6, 1.9.3, 1.5, 1.8.5-r2, 1.6.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe -march=k8 -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -pipe -march=k8 -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache cvs digest distlocks fixpackages manifest
sandbox"
GENTOO_MIRRORS="ftp://ftp-mirror.internap.com/pub/gentoo
http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/
http://ftp-mirror.internap.com/pub/gentoo/
ftp://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/data/packages/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/data/gentoo-cvs/gentoo-x86"
PORTDIR_OVERLAY="/data/gentoo-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi aim alsa amd amd64 apache2 berkdb bindist bitmap-fonts cddb cdr
clamav crypt cups curl dga dvd dvdr exif faad fam fla flac font-server
foomaticdbfreetype gcj gd gif gphoto2 gpm gstreamer guile hardened icq
imagemagick imlib jabber jack java javascript jbig junit jython kde
koffice-plugin lcms lesstif libwww log4j mad maildir mailwrapper matroska mcal
md5sum mime ming mixer mng motif moznocompose moznoirc moznomail mozsvg mp3
mpeg4 multilib nas ncurses net nls nptl offensive oggvorbis oscar pam pda pdf
pdflib perl pic pie png postgres ppds propolice python qt radeon readline ruby
samba scanner sdl silc slang slp speexsqlite src ssl svg tcpd tetex theora tiff
transcode type1 unicode usb wmf xfs xine xml xml2 xmlrpc xosd xprint
xscreensaver xsl xvid yahoo zlib"

------- Comment #5 From Jonathan Coome 2004-12-16 03:38:31 0000 -------
I get the same error with and without -pipe.

# emerge info

Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-ck1 x86_64)
=================================================================
System uname: 2.6.9-ck1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 26 2004, 01:08:28)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -frename-registers -ftracer -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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="-march=athlon64 -O2 -pipe -fomit-frame-pointer -frename-registers -ftracer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
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="amd64 X alsa apache2 avi cdr crypt divx4linux dvd dvdr flac gpm gtk gtk2 imagemagick imlib jpeg mng mpeg msn multilib mysql ncurses nptl offensive oggvorbis opengl pam pdflib php png python quicktime readline samba truetype xine xpm xvid zlib"

------- Comment #6 From Marco Squarcina 2004-12-16 03:47:24 0000 -------
@Jon Coome:  Mr. Bones. meant ONLY WITH CFLAGS="-pipe" (not with or without) 

------- Comment #7 From Chris Kloosterman 2004-12-16 13:50:52 0000 -------
Removing -O2 from my CFLAGS (but leaving the rest intact) fixed this.  I don't
have a very aggressive CFLAGS setup, though.

qbranch ~ # emerge info
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct  2 2004, 18:42:34)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -mtune=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config
/var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
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="amd64 X acpi alsa arts bitmap-fonts bonobo cdr crypt cups dvd esd f77 fam
flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile
imagemagick imap imlib ipv6 java jit joystick jp2 jpeg libwww lzw lzw-tiff mad
mikmod mozilla multilib mysql ncurses nls oggvorbis opengl oss pam pdflib perl
png ppds python qt readline samba sdl session slang sockets ssl tcltk tcpd tiff
truetype usb userlocales xml xml2 xmms xpm xrandr xv zlib"

------- Comment #8 From Chris Kloosterman 2004-12-16 13:57:26 0000 -------
compiling with -O1 works

------- Comment #9 From Mr. Bones. 2004-12-29 01:10:03 0000 -------
Added a workaround for amd64.  It's in portage so resync and try it out please.

------- Comment #10 From Dylan Carlson (RETIRED) 2004-12-29 04:39:23 0000 -------
Looks good here.  Cheers Michael!
Closing.

------- Comment #11 From Jason Sievert 2004-12-29 23:26:49 0000 -------
I am having the same issue after the patch was applied.

emerge info:
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 17 2004, 09:55:06)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.3, 1.5, 1.7.9, 1.6.3, 1.8.5-r2, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops"
CHOST="x86_64-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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa apache2 audiofile avi berkdb bitmap-fonts bootsplash cdparanoia cdr crypt cups divx4linux dvd dvdr eds esd ethereal evo exif f77 fam flac flash fortran gif gnome gpg gphoto gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jp2 jpeg kde libwww lzw lzw-tiff mad matroska mozilla mpeg msn multilib mysql ncurses nls nptl offensive oggvorbis opengl oscar oss pam pcmcia pda perl php png python qt quicktime readline samba sdl sndfile spell ssl svg tcltk tcpd tiff truetype truetype-fonts usb userlocales wifi xine xml xml2 xmms xpm xrandr xv zlib video_cards_radeon"

x86_64-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. -march=athlon64 -O1 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2 -DUSE_DLVSYM -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_AALIB -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_endian.c  -fPIC -DPIC -o .libs/SDL_endian.o
/var/tmp/portage/libsdl-1.2.8/temp/ccgzzsOQ.s: Assembler messages:
/var/tmp/portage/libsdl-1.2.8/temp/ccgzzsOQ.s:134: Error: suffix or operands invalid for `xchg'
make[2]: *** [SDL_endian.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src/endian'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src'
make: *** [all-recursive] Error 1

------- Comment #12 From Jason Sievert 2004-12-30 13:16:34 0000 -------
When I take out these options it compiles correctly. 

-funroll-all-loops
-fpeel-loops

The ebuild might want to remove those options as well.

------- Comment #13 From Mr. Bones. 2004-12-30 14:13:17 0000 -------
No soup for you!

amd64 gets the strip-flags love.  amd64 guys, you can refine if you like.

------- Comment #14 From Mike Doty 2004-12-31 17:26:39 0000 -------
sense we are allready forcing -O1, -funroll-all-loops & -fpeel-loops are now
filtered.

------- Comment #15 From Jure Repinc 2005-01-01 07:51:30 0000 -------
I still have problem compiling this package

make[3]: Entering directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src/video/fbcon'
/bin/sh ../../../libtool --mode=compile x86_64-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.     -march=athlon64 -pipe -O1 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1  -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 -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0   -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_FBCON -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_fbelo.lo SDL_fbelo.c
/bin/sh ../../../libtool --mode=compile x86_64-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.     -march=athlon64 -pipe -O1 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1  -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 -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0   -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_FBCON -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_fbevents.lo SDL_fbevents.c
mkdir .libs
 x86_64-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. -march=athlon64 -pipe -O1 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1 -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 -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_FBCON -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_fbelo.c  -fPIC -DPIC -o .libs/SDL_fbelo.o
 x86_64-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. -march=athlon64 -pipe -O1 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1 -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 -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_FBCON -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_fbevents.c  -fPIC -DPIC -o .libs/SDL_fbevents.o
 x86_64-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. -march=athlon64 -pipe -O1 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1 -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 -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_FBCON -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_fbelo.c -o SDL_fbelo.o >/dev/null 2>&1
/bin/sh ../../../libtool --mode=compile x86_64-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.     -march=athlon64 -pipe -O1 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1  -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 -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0   -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_FBCON -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_fb3dfx.lo SDL_fb3dfx.c
SDL_fbevents.c: In function `switch_vt':
SDL_fbevents.c:849: error: invalid lvalue in assignment
make[3]: *** [SDL_fbevents.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 x86_64-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. -march=athlon64 -pipe -O1 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1 -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 -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_FBCON -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_fb3dfx.c  -fPIC -DPIC -o .libs/SDL_fb3dfx.o
SDL_fb3dfx.c: In function `FillHWRect':
SDL_fb3dfx.c:80: warning: cast from pointer to integer of different size
SDL_fb3dfx.c: In function `HWAccelBlit':
SDL_fb3dfx.c:151: warning: cast from pointer to integer of different size
SDL_fb3dfx.c:153: warning: cast from pointer to integer of different size
 x86_64-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. -march=athlon64 -pipe -O1 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.1 -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 -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_FBCON -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_fb3dfx.c -o SDL_fb3dfx.o >/dev/null 2>&1
make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src/video/fbcon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.8/work/SDL-1.2.8/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libsdl-1.2.8 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 18 2004, 17:14:05)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers"
CHOST="x86_64-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/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portageoverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr encode esd exif f77 fam fbcon flac foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jabber jp2 jpeg kde libwww lzw lzw-tiff mad mikmod motif mozilla mpeg multilib ncurses nls nptl oggvorbis opengl oss pam pdflib perl png posix ppds python qt quicktime readline samba scanner sdl slang slp speex spell ssl tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos xml xml2 xmms xosd xpm xrandr xv xvid zlib linguas_en linguas_sl"

------- Comment #16 From Mike Doty 2005-01-01 13:10:45 0000 -------
get rid of -fomit-frame-pointer & -frename-registers from your cflags and try
again.

------- Comment #17 From Jure Repinc 2005-01-01 14:11:16 0000 -------
Removed those two and I still get the same error.

------- Comment #18 From Jure Repinc 2005-01-03 15:53:45 0000 -------
Someone has posted a possible patch for my problem on SDL mailinglist:
http://twomix.devolution.com/pipermail/sdl/2005-January/066616.html

------- Comment #19 From Marco Squarcina 2005-01-03 17:30:20 0000 -------
@Jure Repinc: u can temporary fix it removing fbcon support.. I know it's not a
solution, but it should work...

so...

USE="-fbcon" emerge libsdl

I also think it's time to reopen the bug...

------- Comment #20 From Jure Repinc 2005-01-08 06:13:42 0000 -------
How can I use the patch from the link above that the developers of libsdl
provided. So that I can test if it works and report back?

------- Comment #21 From Martin Allchin 2005-01-09 11:45:05 0000 -------
To apply the patch you'll need to use ebuild to step through the emerge process
manually (man ebuild). After extracting the src you'll need edit
video/fbcon/SDL_fbevents.c and adjust the lines as specified.

I don't need fbcon so I simply did -fbcon, worked a treat.

------- Comment #22 From SpanKY 2005-01-09 13:02:52 0000 -------
i was able to reproduce on amd64

grabbed the patch that went into upstream cvs to fix this and added to our ebuild

------- Comment #23 From SpanKY 2005-01-09 13:06:19 0000 -------
*** Bug 76612 has been marked as a duplicate of this bug. ***

------- Comment #24 From SpanKY 2005-01-09 15:06:37 0000 -------
*** Bug 76612 has been marked as a duplicate of this bug. ***

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