Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 21:50:55 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        freebsd-ports@FreeBSD.ORG
Subject:   trying to update emulators/wine: no such 386 instruction: `fist'
Message-ID:  <19990330215055.A20847@saturn.kn-bremen.de>

next in thread | raw e-mail | index | archive | help
While trying to update emulators/wine...

Index: Makefile
===================================================================
RCS file: /home/cvs/cvs/ports/emulators/wine/Makefile,v
retrieving revision 1.69
diff -u -r1.69 Makefile
--- Makefile	1999/02/20 00:08:36	1.69
+++ Makefile	1999/03/30 17:29:20
@@ -6,9 +6,9 @@
 # $Id: Makefile,v 1.69 1999/02/20 00:08:36 se Exp $
 #
 
-DATE=		990214
+DATE=		990328
 DISTNAME=	Wine-${DATE}
-PKGNAME=	wine-99.02.14
+PKGNAME=	wine-99.03.28
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	ALPHA/wine/development
Index: files/md5
===================================================================
RCS file: /home/cvs/cvs/ports/emulators/wine/files/md5,v
retrieving revision 1.45
diff -u -r1.45 md5
--- md5	1999/02/20 00:08:37	1.45
+++ md5	1999/03/30 17:32:14
@@ -1 +1 @@
-MD5 (Wine-990214.tar.gz) = ee9447f18a19223d5d45e199e6629751
+MD5 (Wine-990328.tar.gz) = c753471f829138d43ab7dde6f20875fd

(and removed patches/patch-ar)

 the build dies with:

../tools/build -o callto16.s -callto16 ./thunk.c
as -o callto16.o callto16.s
ld -r builtin.o dummy.o relay.o snoop.o thunk.o avifile.o comm.o commdlg.o compobj.o ddeml.o dispdib.o display.o gdi.o kernel.o keyboard.o lzexpand.o mmsystem.o mouse.o msacm.o msvideo.o ole2.o ole2conv.o ole2disp.o ole2nls.o ole2prox.o ole2thk.o olecli.o olesvr.o rasapi16.o shell.o sound.o storage.o stress.o system.o toolhelp.o typelib.o user.o ver.o w32sys.o win32s16.o win87em.o winaspi.o windebug.o wineps.o wing.o winsock.o wprocs.o callfrom16.o callto16.o     -o if1632.o
cc -c -O -Wall -D__WINE__ -D_REENTRANT -I../include -I../include -I. -I. -I/usr/X11R6/include -o emulate.o ./emulate.c
/tmp/ccf20491.s: Assembler messages:
/tmp/ccf20491.s:67: Error: no such 386 instruction: `fist'
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

 work/wine-990328/miscemu/emulate.c in
void WINAPI WIN87_fpmath( CONTEXT *context )
 contains the lines,

    case 6: /* round top of stack to integer using method AX & 0x0C00 */
        /* returns current controlword */
        {
            DWORD dw=0;
	    /* I don't know much about asm() programming. This could be
	     * wrong.
	     */
	   __asm__ __volatile__("frndint");
	   __asm__ __volatile__("fist %0;wait" : "=m" (dw) : : "memory");
	    TRACE(int,"On top of stack is %ld\n",dw);
	}
	break;

 does anyone here know what that insn is in hex so i can replace it with
something (i.e. dc.b(s)) our as understands?

 thanx,
-- 
Juergen Lock <nox@jelal.kn-bremen.de>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990330215055.A20847>