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

Re: FTBFS on sparc: __sync_test_and_add_4

El 29/04/09 23:02 Julien Cristau escribió:
> On Wed, Apr 29, 2009 at 14:11:11 +1000, Felipe Sateler wrote:
> > Hi sparc porters. I'm writing to ask for your assistance on a FTBFS on
> > my package csound on sparc. The build log is here[1]. The failure is
> >
> > the following:
> > > libCsoundAC.so.5.2: undefined reference to `__sync_fetch_and_add_4'
> >
> > Csound uses __sync_lock_test_and_set for spinlocks, and tests for
> > their existence at build time to use them. Sparc's gcc apparently
> > provides said function, since the test succeeds, but I'm getting the
> > above failure (note that __sync_fetch_and_add_4 is nowhere mentioned
> > in the csound sources).
> Hi,
> any reason you're not using libatomic-ops?

This is the first time I heard about libatomic-ops. Is it cross-platform? I 
mean cross-platform as in OS, not arch, which it clearly is.

Felipe Sateler

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: