delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/09/13/16:15:37

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Thu, 13 Sep 2007 22:00:59 +0200
From: Robert Riebisch <Robert DOT Riebisch AT arcor DOT de>
Organization: none
X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: inline assemby question
References: <200709131822 DOT 23799 DOT juan DOT guerrero AT gmx DOT de>
Lines: 39
Message-ID: <46e99759$0$16107$9b4e6d93@newsspool1.arcor-online.net>
NNTP-Posting-Date: 13 Sep 2007 22:02:33 CEST
NNTP-Posting-Host: 5c1c7629.newsspool1.arcor-online.net
X-Trace: DXC=IoLINaj1h\FWDmlTRbh@=Iic==]BZ:afN4Fo<]lROoRA4nDHegD_]RED4B^MahRW1G5cYbBhlPAHGiaKhWcAC]iMDJKHUl^2UnJ[0:7R_h@<4@
X-Complaints-To: usenet-abuse AT arcor DOT de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Juan Manuel Guerrero wrote:

> I have also applied the patch proposed by Robert Riebisch some time
> ago.

I'm not sure, that my patch was correct, because I knew nothing about
input/output/clobber parameters.

> make.exe[1]: Entering directory `d:/p/srcs/contrib/freebe/cirrus54'
> gcc -O3 -m486 -fomit-frame-pointer -Wall -Werror -I.. -MMD -o driver.o -c driver.c
> driver.c: In function 'SrcTransBltSys32MMIO':
> driver.c:1309: error: can't find a register in class 'DREG' while reloading 'asm'
> driver.c:1309: error: 'asm' operand has impossible constraints
> make.exe[1]: *** [driver.o] Error 1
> make.exe[1]: Leaving directory `d:/p/srcs/contrib/freebe/cirrus54'
> make.exe: *** [cirrus54/vbeaf.drv] Error 2

http://my.execpc.com/~geezer/osd/gotchas/ does not apply here? I would
have tried, but `patch' skips several hunks of your diff:

patching file cirrus54/driver.c
Hunk #5 FAILED at 655.
Hunk #6 FAILED at 689.
Hunk #8 succeeded at 852 with fuzz 2.
Hunk #10 succeeded at 887 with fuzz 2.
Hunk #12 succeeded at 922 with fuzz 2.
Hunk #16 FAILED at 1032.
Hunk #18 FAILED at 1076.
Hunk #21 FAILED at 1208.
Hunk #22 FAILED at 1258.
Hunk #23 FAILED at 1310.
Hunk #24 succeeded at 1351 with fuzz 1.
patch unexpectedly ends in middle of line
7 out of 26 hunks FAILED -- saving rejects to file cirrus54/driver.c.rej

-- 
Robert Riebisch
Bitte NUR in der Newsgroup antworten!
Please reply to the Newsgroup ONLY!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019