[fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

Martin Frb lazarus at mfriebe.de
Tue Mar 19 15:45:09 CET 2024


On 19/03/2024 15:41, Mattias Gaertner via fpc-devel wrote:
>
>
> On 19.03.24 14:58, Maxim Ganetsky via fpc-devel wrote:
>> [...]
>> #7 944.7 fpmake.pp(228,5) Error: Identifier not found "T"
>
> Ah, you are using fpc 3.3.1 to compile it.
>
> Fixed.
>
> But I get strange linker errors compiling webidl2pas:
>
> (9015) Linking bin/x86_64-linux/webidl2pas
> /usr/bin/ld.bfd: 
> /path/compiler/utils/pas2js/units/x86_64-linux/webidl2pas.o:(.fpc.n_links+0x50): 
> undefined reference to `DEBUGSTART_$CUSTAPP'
> /usr/bin/ld.bfd: 
> /path/compiler/utils/pas2js/units/x86_64-linux/webidl2pas.o:(.fpc.n_links+0x58): 
> undefined reference to `DEBUGEND_$CUSTAPP'
>
> It compiles with the ppu files of fpc 3.3.1 and 3.2.2 tough, but not 
> with the sources ...

I don't know if it applies.

But I have in some cases seen similar linking issues, if parts of the 
code were compiled with DWARF-2 and other parts with DWARF-3


More information about the fpc-devel mailing list