Subject: pkg/28882: devel/SDL 1.2.8 compilation failure on NetBSD/amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <njoly@pasteur.fr>
List: pkgsrc-bugs
Date: 01/06/2005 12:06:00
>Number:         28882
>Category:       pkg
>Synopsis:       devel/SDL 1.2.8 compilation failure on NetBSD/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 06 12:06:00 +0000 2005
>Originator:     Nicolas Joly
>Release:        NetBSD 2.99.12
>Organization:
Institut Pasteur, Paris.
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 2.99.12 NetBSD 2.99.12 (LANFEUST) #0: Wed Jan 5 11:12:22 CET 2005 njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/LANFEUST amd64
Architecture: x86_64
Machine: amd64
>Description:
lastest devel/SDL 1.2.8 does not compile on -current NetBSD/amd64 (no problems
with previous version 1.2.7).

 cc -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=1 -I. -I/local/src/NetBSD/pkgsrc/devel/SDL/work/.buildlink/include -DGLX_GLXEXT_LEGACY -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -I/local/src/NetBSD/pkgsrc/devel/SDL/work/.x11-buildlink/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_AALIB -DHAVE_OPENGL -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -DHAVE_USBHID_H -DUSBHID_UCR_DATA -DUSBHID_NEW -DHAVE_MACHINE_JOYSTICK -DOPENBSD_AUDIO_SUPPORT -Dunix -I../../include -I../../include/SDL -
 I../../src -I../../src/main/netbsd -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 -MT SDL_endian.lo -MD -MP -MF .deps/SDL_endian.Tpo -c SDL_endian.c  -fPIC -DPIC -o .libs/SDL_endian.o
/var/tmp//cc6XljsD.s: Assembler messages:
/var/tmp//cc6XljsD.s:136: Error: suffix or operands invalid for `xchg'
gmake[2]: *** [SDL_endian.lo] Error 1

>How-To-Repeat:
cd devel/SDL && make install
>Fix: