[fpc-devel] Optimisation and thread safety

2021-11-12 Thread J. Gareth Moreton via fpc-devel
Hi everyone, I have a question when it comes to optimising memory reads and writes.  What are the rules for FPC when it comes to writing to memory and then reading from it later within a single subroutine? For example, say I had this pair of commands:     movq    %rdx,-584(%rbp)     movl   

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-12 Thread Jonas Maebe via fpc-devel
On 2021-11-12 10:20, Pierre Muller via fpc-devel wrote: Le 10/11/2021 à 21:19, Sergey Organov via fpc-devel a écrit : Hello, Using cross-compiler from x86-linux to arm-linux, I keep getting a lot of warnings at the linking stage of my programs, in the form: /opt/[...]/arm-linux-gnueabihf-ld: w

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-12 Thread Pierre Muller via fpc-devel
Le 10/11/2021 à 21:19, Sergey Organov via fpc-devel a écrit : Hello, Using cross-compiler from x86-linux to arm-linux, I keep getting a lot of warnings at the linking stage of my programs, in the form: /opt/[...]/arm-linux-gnueabihf-ld: warning: library search path "/usr/lib/eject/" is unsaf

[fpc-devel] Cross-compiling and warnings from linker

2021-11-12 Thread Sergey Organov via fpc-devel
Hello, Using cross-compiler from x86-linux to arm-linux, I keep getting a lot of warnings at the linking stage of my programs, in the form: /opt/[...]/arm-linux-gnueabihf-ld: warning: library search path "/usr/lib/eject/" is unsafe for cross-compilation /opt/[...]/arm-linux-gnueabihf-ld: warn