Semaphore in CPUARM vs CPUAARCH64 ? lazarus / 21-General ---------------------------------------------------------------------- Fred vS · 2021-01-29 15:12 Hello. What are the main differences in semaphore in FPC for ARM armhd 32 bit vs ARM aarch64 64 bit? I have success to compile+run applications on the RPi + Raspbian 32 bit using fpc 320 CPUARM. But with  fpc 320 CPUAARCH64 on RPi + Raspbian 64 bit it compiles ok but running has problems with semaphore, trying to access files gives error "file dont exist" and to save a no existing file gives error "file already exists".  What is different in semaphore of armhd vs armaarch64? Where should I explore, do you have advice for that combat? PS: It is about MSEgui project (that has his own semaphore manager that needs to update to be fpc aarch64 compatible). Many thanks. Fre;D ---------------------------------------------------------------------- PascalDragon · 2021-01-30 14:37 What exactly do you mean with “semaphores”? Which APIs are you using? Do you have a small example (preferrably self contained) that shows the problem?