[fpc-pascal] New VASM upgrade to 1.9d breaks z80-msxdos and z80-zxspectrum builds

Karoly Balogh charlie at scenergy.dfmk.hu
Tue Apr 25 10:40:58 CEST 2023


On Tue, 25 Apr 2023, Pierre Muller via fpc-pascal wrote:

>    I tested 1.9d version on a test machine,
> m68k targets are OK, but z80 targets now fail with:
> Executing "/FPC/compilers/cross-compiling/bin/z80-msxdos-vasmz80_std" with
> command line "-quiet -Fvobj -o
> /FPC/compilers/cross-compiling/pas/trunk/fpcsrc/rtl/units/z80-msxdos/si_prc.o
> /FPC/compilers/cross-compiling/pas/trunk/fpcsrc/rtl/units/z80-msxdos/si
> error 39 in line 95 of
> "/FPC/compilers/cross-compiling/pas/trunk/fpcsrc/rtl/units/z80-msxdos/si_prc.s":
> illegal relocation
>  >	.word	.Lc2,.Lc1-.Lc2
> _prc.s"
> si_prc.pp(67,4) Error: Error while assembling exitcode 1
> si_prc.pp(67,4) Fatal: There were 2 errors compiling module, stopping
> Fatal: Compilation aborted

I'm not sure it was Nikolay's intention to support vasm for Z80, it was a
hack from be before the internal assembler existed... -.-'

Anyway, can you figure out when did it break? Did it work with 1.9c? Which
was the previous version you used?


More information about the fpc-pascal mailing list