[fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again
Michael Van Canneyt
michael at freepascal.org
Wed Mar 20 09:09:00 CET 2024
On Tue, 19 Mar 2024, Martin Frb via fpc-devel wrote:
> 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
This happens regularly to me since years, usually indeed different debug
formats (or sometimes no debug info at all).
Recompiling everything fixes the issue.
Michael.
More information about the fpc-devel
mailing list