Bug#406754: Bug #406754: portaudio19: FTBFS: #error Memory barriers are not defined on this system.

Falk Hueffner falk at debian.org
Mon Jan 29 12:21:27 CET 2007


Mikael Magnusson <mikma at users.sourceforge.net> writes:

> Falk Hueffner wrote:
>> Hi,
>> the correct solution is to use __sync_synchronize as fallback, which
>> is a full memory barrier defined by gcc (starting from 4.1) for all
>> platforms. It is also desirable to use this on all platforms that
>> don't differentiate read/write/full barriers, since it gives the
>> compiler better opportunities to optimize.
>>
>
> Do you have a patch? I tried to use __sync_synchronize on i386, but it
> doesn't generate any synchronization code in the assembler output.

Sorry, you need __sync_synchronize(). (Does __sync_synchronize on its
own not generate a warning?)

-- 
	Falk




More information about the Pkg-voip-maintainers mailing list