[fpc-pascal] Errors on cross-compile from Linux x64 to NetBSD x64

Alexey Tor. aaa5500 at ya.ru
Fri Oct 4 12:57:53 CEST 2019


FPC 3.3 trunk from today. Lazarus trunk from today. Project CudaText. 
Cross compilers installed via fpcupdeluxe 1.6.2y

...
Compile package atsynedit_cmp_package 1.1: Success
Compile package atsynedit_ex_package 1.3: Success
Compile Project, Mode: netbsd x64, OS: netbsd, Target: 
builds/netbsd-x64-gtk2/cudatext: Success, Errors: 2
Error: /home/user/fpcupdeluxe/cross/bin/x86_64-netbsd/x86_64-netbsd-ld: 
/home/user/fpcupdeluxe/fpc/units/x86_64-netbsd/rtl/cwstring.o: in 
function `CWSTRING_$$_init$':
Error: cwstring.pp:(.text.n_cwstring_$$_init$+0x10): warning: warning: 
reference to compatibility __setlocale_mb_len_max_32();include 
<locale.h> for correct reference

The final binary is made, but with errors. Since i cannot run it (i 
cannot install NetBSD gui), I want to know what these errors mean? 
Binary is invalid?

-- 
Regards,
Alexey



More information about the fpc-pascal mailing list