Re: [fpc-devel] Apple M1 processor

2021-02-10 Thread Jonas Maebe via fpc-devel
On 2021-02-09 23:30, C Western via fpc-devel wrote: I have located a possible fix; however I don't understand why I need to make the change I did. The variable reads/writes of concern currently use SetEvent in one thread and WaitFor in another - do theseĀ  not have implicitĀ  memory barriers in the

Re: [fpc-devel] Apple M1 processor

2021-02-09 Thread C Western via fpc-devel
On 07/02/2021 14:45, Jonas Maebe via fpc-devel wrote: On 02/02/2021 16:48, C Western via fpc-devel wrote: My application works fine single threaded, but crashes occasionally when multi threaded, with what I think is some sort of memory corruption, but I haven't been able to pin this down yet, an

Re: [fpc-devel] Apple M1 processor

2021-02-08 Thread C Western via fpc-devel
On 07/02/2021 14:40, Jonas Maebe via fpc-devel wrote: On 03/02/2021 11:58, Jonas Maebe via fpc-devel wrote: On 02/02/2021 16:48, C Western via fpc-devel wrote: Related to this I am trying to compile the rtl with debug information on by passing DEBUG=1 to the make install when compiling from the

Re: [fpc-devel] Apple M1 processor

2021-02-07 Thread Jonas Maebe via fpc-devel
On 02/02/2021 16:48, C Western via fpc-devel wrote: > > My application works fine single threaded, but crashes occasionally when > multi threaded, with what I think is some sort of memory corruption, but > I haven't been able to pin this down yet, and fixing the above two > points would help. It'

Re: [fpc-devel] Apple M1 processor

2021-02-07 Thread Jonas Maebe via fpc-devel
On 03/02/2021 11:58, Jonas Maebe via fpc-devel wrote: > On 02/02/2021 16:48, C Western via fpc-devel wrote: >> Related to this I am trying to compile the rtl with debug information on >> by passing DEBUG=1 to the make install when compiling from the current >> SVN version, but it fails with: >> >>

Re: [fpc-devel] Apple M1 processor

2021-02-03 Thread Jonas Maebe via fpc-devel
On 02/02/2021 16:48, C Western via fpc-devel wrote: > I have been trying out compiling my main application for the new Apple > M1 machines, and have two queries: > > The traceback on crashes does not include line numbers, when the same > flags on other architectures does. Is this something that is