Generics. Cross-compilation Linux-Win64 fails
Original Reporter info from Mantis: MageSlayer @MageSlayer
-
Reporter name: Denis Golovan
Original Reporter info from Mantis: MageSlayer @MageSlayer
- Reporter name: Denis Golovan
Description:
Hi all
Attached test project fails when cross-compiled.
Run build.sh or build-cross.sh.
Tested under FPC svn rev. 48167 and 49574
Compiler emits:
=============WIN64==================
Free Pascal Compiler version 3.3.1 [2021/01/17] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
(1002) Target OS: Win64 for x64
(3104) Compiling oexpert.lpr
(3104) Compiling ./src/uValueTree.pas
(3104) Compiling ./src/uCoreTypes.pas
(3104) Compiling ./src/uClient.pas
(3104) Compiling ./src/uAtomic.pas
(3104) Compiling ./src/uAST.pas
(9022) Compiling resource ./target/x86_64-win64/oexpert.obj
(9015) Linking ./target/x86_64-win64/oexpert.exe
/home/denis/projects/lazarus/bugs/GenericLinkBug3/oexpert.lpr(18,1) Error: (9221) Undefined symbol: .La108 (first seen in uValueTree.o)
/home/denis/projects/lazarus/bugs/GenericLinkBug3/oexpert.lpr(18,1) Error: (9221) Undefined symbol: .La100 (first seen in uClient.o)
/home/denis/projects/lazarus/bugs/GenericLinkBug3/oexpert.lpr(18,1) Fatal: (10026) There were 2 errors compiling module, stopping
Mantis conversion info:
- Mantis ID: 39140
- Version: 3.3.1