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

Pierre Muller pierre at freepascal.org
Tue Apr 18 18:18:38 CEST 2023


   I tried to update to the latest version 1.9c,
and that one indeed does lead to this error:
Executing "/home/muller/bin/m68k-sinclairql-vasmm68k_std" with command line "-quiet -elfregs -gas -Felf -m68000 -o /home/muller/pas/gitlab-fpc-source/rtl/units/m68k-sinclairql/system.o  /home/muller/pas/gitlab-fpc-source/rtl/units/m68k-sinclairql/system.s"

warning 1007 in line 4 of "/home/muller/pas/gitlab-fpc-source/rtl/units/m68k-sinclairql/system.s": scratch at end of line
 >.section .text.n_system_$$_mt_frjob$longint$longint,"awx"

So the regression appeared between versions 1.9 and 1.9c.
Checking of versions 1_9a and 1_9b confirms that the problem
appeared in version 1_9a.

Pierre




Le 18/04/2023 à 16:43, Pierre Muller via fpc-pascal a écrit :
> Hi,
> 
> 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'
> 
> Pierre
> 
> 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.
>>
>>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


More information about the fpc-pascal mailing list