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: Jason Thorpe <>
Subject: Re: port-macppc/53380: undefined reference to `__atomic_fetch_add_8'
Date: Thu, 21 Mar 2019 21:54:56 -0700

 > On Mar 21, 2019, at 9:50 PM, David H. Gutteridge <> =
 > Fundamentally, the only way I know this will build on 32-bit PowerPC =
 > to use GCC's libatomic. This isn't available in NetBSD base, so we =
 > 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