Bug 120554 - media-libs/sdl-image compilation fails with -march=k6
Bug#: 120554 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: hugo@fobos.org
Component: Applications
URL: 
Summary: media-libs/sdl-image compilation fails with -march=k6
Keywords:  
Status Whiteboard: 
Opened: 2006-01-27 10:53 0000
Description:   Opened: 2006-01-27 10:53 0000
The error:

/bin/sh ./libtool --mode=compile i386-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_image\" -DVERSION=\"1.2.4\"
-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  -I. -I.     -O2
-march=k6-3 -fomit-frame-pointer -I/usr/include/SDL -D_REENTRANT -DLOAD_BMP
-DLOAD_GIF -DLOAD_JPG -DLOAD_LBM -DLOAD_PCX -DLOAD_PNG -DLOAD_PNM -DLOAD_TGA
-DLOAD_TIF -DLOAD_XCF -DLOAD_XPM -c -o IMG_lbm.lo IMG_lbm.c
 i386-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"SDL_image\" -DVERSION=\"1.2.4\" -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 -I. -I. -O2 -march=k6-3 -fomit-frame-pointer
-I/usr/include/SDL -D_REENTRANT -DLOAD_BMP -DLOAD_GIF -DLOAD_JPG -DLOAD_LBM
-DLOAD_PCX -DLOAD_PNG -DLOAD_PNM -DLOAD_TGA -DLOAD_TIF -DLOAD_XCF -DLOAD_XPM -c
IMG_lbm.c  -fPIC -DPIC -o .libs/IMG_lbm.o
/var/tmp/portage/sdl-image-1.2.4/temp/ccBYnhOP.s: Assembler messages:
/var/tmp/portage/sdl-image-1.2.4/temp/ccBYnhOP.s:359: Error: value of
ffffffffffffff7f too large for field of 1 bytes at 0000000000000467
make: *** [IMG_lbm.lo] Error 1

------- Comment #1 From Jakub Moc (RETIRED) 2006-01-27 10:56:55 0000 -------
emerge --info missing...

------- Comment #2 From Hugo 2006-01-27 11:02:34 0000 -------
(In reply to comment #1)
> emerge --info missing...
> 

Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2,
2.6.14-gentoo-r5-FoBoS i586)
=================================================================
System uname: 2.6.14-gentoo-r5-FoBoS i586 AMD-K6(tm) 3D+ Processor
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=k6-3 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=k6-3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mymirror.asiaosc.org/gentoo/
ftp://194.117.143.69/mirrors/gentoo http://194.117.143.70 http://194.117.143.72
http://adelie.polymtl.ca/"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
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 3dnow X acl alsa apache2 apm audiofile avi bash-completion berkdb
bitmap-fonts bzip2 bzlib cdr crypt cups curl dba dedicated dga directfb
divx4linux doc eds emboss encode esd ethereal exif expat fam fbcon flac
foomaticdb gd gdbm geoip gif gimpprint glut gmp gpm gps gstreamer gtk gtk2
gtkhtml idn imagemagick imap imlib ipv6 java jpeg lcms ldap libg++ libwww mad
maildir mhash mmx mng mp3 mpeg msn mysql ncurses nls no_wxgtk1 nptl nsplugin
nvidia ogg oggvorbis openal opengl pam pcre pdflib png ppds python quicktime
readline sasl scanner sdl speex spell ssl svga tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts udev usb videos vorbis xml2 xosd xv xvid zlib
elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS

------- Comment #3 From Jakub Moc (RETIRED) 2006-01-27 11:09:40 0000 -------
Try with -march=i586 instead of -march=k6-3...

------- Comment #4 From Hugo 2006-01-27 11:22:20 0000 -------
It compiles with -march=i586

------- Comment #5 From Jakub Moc (RETIRED) 2006-01-27 11:27:53 0000 -------
Whoever picks this up, please filter k6 flags...

------- Comment #6 From Mr. Bones. 2006-01-27 14:22:42 0000 -------
builds fine for me with gcc 3.4.4.  Try it with the stable gcc.

------- Comment #7 From Hugo 2006-03-06 14:51:36 0000 -------
gcc 2.4.5 is marked as stable

------- Comment #8 From Mr. Bones. 2006-03-06 21:38:24 0000 -------
k6 flags gone.