[fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build

Pierre Muller pierre at freepascal.org
Tue Apr 18 16:43:06 CEST 2023


I think that my daily tests are using vasm 1.9 for sinclairql,
and I have no problems with them.

could you please be a little more specific about the exact version
of the compiler and the make command line you are using?

I used current trunk compiler with:
muller at gcc186:~/pas/trunk/fpcsrc$ make crossall CPU_TARGET=m68k OS_TARGET=sinclairql OPT="-n -vx"

which uses version 1.9c
muller at gcc186:~/pas/trunk/fpcsrc$ /home/muller/bin/m68k-sinclairql-vasmm68k_std
vasm 1.9 (c) in 2002-2022 Volker Barthelmann

And completes successfully:
make[2]: Leaving directory '/home/muller/pas/gitlab-fpc-source'
/usr/bin/echo Build > build-stamp.m68k-sinclairql
/usr/bin/echo Build > base.build-stamp.m68k-sinclairql
make[1]: Leaving directory '/home/muller/pas/gitlab-fpc-source'


Le 18/04/2023 à 16:14, Norman Dunbar via fpc-pascal a écrit :
> Good Afternoon.
> After a long break, I decided to start work/play on the Sinclair QL FPC
> cross compiler.
> I noticed that using any release of the vasm assembler, from 1.9
> onwards, breaks the "crossall" build. It spits out a number of "warning
> 1007: scratch at the end of line" errors, then the build fails with 2
> errors -- neither of which are displayed.
> Reverting back to any of the 1.8 releases, 1.8l (ell) is the latest, and
> the build works fine.
> I'm pretty sure almost nobody is building the cross compiler for this
> particular bit of 1980s hardware, other than myself and a couple of
> others, but hopefully this message will be useful to someone. It could
> be that the later versions of the assembler are going to break other
> M68K systems?
> For best results, the 1.8l version of vasm can be obtained from
> http://phoenix.owl.de/tags/vasm1_8l.tar.gz and this is the most recent
> version of the assembler that will help build the cross compiler.
> Cheers,
> Norm.

More information about the fpc-pascal mailing list