NetBSD-Bugs archive

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

Re: port-macppc/53380: undefined reference to `__atomic_fetch_add_8'

The following reply was made to PR port-macppc/53380; it has been noted by GNATS.

From: "David H. Gutteridge" <>
Subject: Re: port-macppc/53380: undefined reference to `__atomic_fetch_add_8'
Date: Fri, 22 Mar 2019 01:17:09 -0400

 On Thu, 21 Mar 2019 at 21:54:56 -0700, Jason Thorpe wrote:
 >We should not be including GCC's libatomic... Can someone explain to me
 >how __atomic_fetch_add_8() is implemented on 32-bit PowerPC?
 My understanding is GCC's libatomic must implement this in software,
 since it isn't available as a hardware instruction. (This solution for
 this specific PowerPC problem has been applied by other projects.) Do
 you have an alternate suggestion to fix this? (A serious question, not

Home | Main Index | Thread Index | Old Index