Forum > Other

SOLVED: FreeBSD 12 Lazarus build failure

(1/1)

trev:
Lazarus 2.30 from today:


--- Quote ---/usr/local/share/lazarus/ide/main.pp(421,35) Hint: (5024) Parameter "Sender" not used
/usr/local/share/lazarus/ide/main.pp(13907,3) Note: (6058) Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
/usr/local/share/lazarus/ide/lazarus.pp(155,7) Note: (6058) Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
/usr/local/share/lazarus/ide/lazarus.pp(161,3) Note: (6058) Call to subroutine "procedure FreeThenNil(var obj:<Formal type>);" marked as inline is not inlined
/usr/local/share/lazarus/ide/lazarus.pp(163,3) Note: (6058) Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
(9022) Compiling resource ../units/x86_64-freebsd/gtk2/lazarus.or
(9015) Linking ../lazarus
/usr/local/share/lazarus/ide/lazarus.pp(167,1) Error: (9013) Error while linking
/usr/local/share/lazarus/ide/lazarus.pp(167,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
--- End quote ---

Notes:
- The default linker ld is in fact ld.bfd.
- Lazarus 2.0.12 builds and links successfully.
- The compiler is FPC 3.2.2

Any ideas?

Alextp:
Maybe this patch (FPC) will help?
https://github.com/Alexey-T/CudaText/blob/master/doc/freebsd-v12-support-for-fpc32.patch

trev:
I'd consider it Alexey, if it weren't for the fact that Lazarus 2.0.12 builds and links successfully with FPC 3.2.2 "as is".

For Lazarus 2.3.0 it successfully builds and links lazbuild, but then dies when linking the IDE.

Thanks for pointing out your patch though which looks like it might be useful to enable the building of FPC 3.3.1 - I'll give that a go when I get some spare time again.

trev:
As of today it builds and links :-)


--- Quote ---(9022) Compiling resource ../units/x86_64-freebsd/gtk2/lazarus.or
(9015) Linking ../lazarus
(1008) 298654 lines compiled, 56.2 sec
(1021) 41 warning(s) issued
(1022) 3201 hint(s) issued
(1023) 594 note(s) issued
[...]
(9022) Compiling resource ../units/x86_64-freebsd/gtk2/startlazarus.or
(9015) Linking ../startlazarus
(1008) 547 lines compiled, 2.2 sec
(1022) 3 hint(s) issued

--- End quote ---

Navigation

[0] Message Index

Go to full version