Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: OpenSSL build error on 8.2



On Sat, May 16, 2020 at 10:52:36AM +0200, Riccardo Mottola wrote:
> crypto/threads_pthread.c:
> 
> # if defined(__GNUC__) && defined(__ATOMIC_ACQ_REL)
>     if (__atomic_is_lock_free(sizeof(*val), val)) {
>         *ret = __atomic_add_fetch(val, amount, __ATOMIC_ACQ_REL);
>         return 1;
>     }
> # endif

Can you show the output of

  cc -dM -E - < /dev/null | fgrep __ATOMIC

please?

Or if you can see any special cpuflags in the compiler invocation, add that
to the test too?

Martin


Home | Main Index | Thread Index | Old Index