Re: Undefined reference to __atomic_store_8

2020-08-12 Thread Tijl Coosemans
On Wed, 12 Aug 2020 17:35:17 +0300 Konstantin Belousov wrote: > On Wed, Aug 12, 2020 at 01:41:58PM +0200, Tijl Coosemans wrote: >> StgWord64 is uint64_t which is unsigned long long which is 4 byte >> aligned on i386. Clang wants 8 byte alignment to use the fildll >> instruction. > This all is ve

Re: Undefined reference to __atomic_store_8

2020-08-12 Thread Konstantin Belousov
On Wed, Aug 12, 2020 at 01:41:58PM +0200, Tijl Coosemans wrote: > On Wed, 12 Aug 2020 09:44:25 +0400 Gleb Popov wrote: > > On Wed, Aug 12, 2020 at 9:21 AM Gleb Popov wrote: > >> Indeed, this looks like a culprit! When compiling using first command line > >> (the long one) I get following warnings:

Re: Undefined reference to __atomic_store_8

2020-08-12 Thread Tijl Coosemans
On Wed, 12 Aug 2020 09:44:25 +0400 Gleb Popov wrote: > On Wed, Aug 12, 2020 at 9:21 AM Gleb Popov wrote: >> Indeed, this looks like a culprit! When compiling using first command line >> (the long one) I get following warnings: >> >> /wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.1/libraries/ghc-prim/c