#1 2023-12-20 15:03:21

okoba
Member
Registered: 2019-09-29
Posts: 106

mORMot 2, macOS 14 and FPC Trunk

Hello,

I tried a new macOS machine with latest mORMot, and FPC and compiling the packge does not work with error like: Linker: cmpl %rdx,-12(%rax)
In summery, I can not compile mORMot.
Does anyone used it recently with mac and any note I should know?

Offline

#2 2023-12-20 17:07:16

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,205
Website

Re: mORMot 2, macOS 14 and FPC Trunk

We compile and run the regression tests for Mac x86_64 and M1 every night.
For instance:
https://luti.tranquil.it/get_folder_res … 90Mi9tYWM=
https://luti.tranquil.it/get_folder_res … 9tYWNfYXJt
So it sounds more like a setup problem on your particular PC.

But we use the command line, or a cross-compiler.
Because we had bad experience with Lazarus on Mac OS.
With fpcupdeluxe, it is easy to setup a cross-compiler for Mac OS on Windows or Linux.

How did you setup the FPC and Lazarus version you are using?

Offline

#3 2023-12-21 07:44:03

okoba
Member
Registered: 2019-09-29
Posts: 106

Re: mORMot 2, macOS 14 and FPC Trunk

Ok good to here that. I tried two computers, one a x86 VM and one M1. Both installed Trunk for x86 with fpcupdeluxe and that was it. I didn't do anything in particular.
My current version is Lazarus 3.99 (rev main_3_99-1261-gb2b86ebaef) FPC 3.3.1 x86_64-darwin-cocoa
Lazarus on macOS is not the best in user experience, but was your problem compiler issues?

Offline

Board footer

Powered by FluxBB