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'



> On Mar 21, 2019, at 9:50 PM, David H. Gutteridge <david%gutteridge.ca@localhost> wrote:
> 
> Fundamentally, the only way I know this will build on 32-bit PowerPC is
> to use GCC's libatomic. This isn't available in NetBSD base, so we must
> use a GCC from pkgsrc, and force it to install the associated libgcc
> libraries. (As leot@ noted recently about Firefox, this "abuses" the
> meaning of USE_PKGSRC_GCC_RUNTIME, but there's no way around this
> here.)

We should not be including GCC's libatomic... Can someone explain to me how __atomic_fetch_add_8() is implemented on 32-bit PowerPC?

-- thorpej



Home | Main Index | Thread Index | Old Index