Mail Archives: djgpp/2000/03/16/08:30:29
Eli Zaretskii a écrit :
>
> On 13 Mar 2000, EEricWtt wrote:
>
> > Got a big problem with GRX 2.3.
> > It just won't compile because of an error in a particular file.
> [snip]
> > utils/shiftscl.c: In function `_GR_shift_scanline':
> > utils/shiftscl.c:48: Invalid `asm' statement:
> > utils/shiftscl.c:48: fixed or forbidden register 2 (cx) was spilled for class
> > CREG.
>
> See section 8.17 in the DJGPP FAQ list, it tells how to fix this.
Well... I have applied the two patches, compiled (no more error message) and run
the tests contained in the grx23/test subdirectory. Three tests fails with a
SIGSEGV error: blittest, curstest, and imgtest. Using rhide I find that the
error in curstest is in the function __GR_shift_scanline contained in
grx23/src/utils/shifscl.c, in the asm section which has been patched with
patgrx23.diff. I cannot say more since I know absolutely nothing about AT&T
assembly syntax. Anybody knows ???
BTW everything works fine on the same machine/setup if I recompile the tests
with the old libgrx20.a library which was compiled using gcc 2.8.1
--
Maurice Lombardi
Laboratoire de Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 51 45 44
mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr
- Raw text -