Bug#406754: More memory barriers

Mikael Magnusson mikma264 at gmail.com
Sat Jan 13 22:15:37 CET 2007


Bjorn Roche wrote:

> Now, it should work on Linux x86, Linux PPC, Mac OS X 
> and FreeBSD. On other systems (I don't know what else uses these 
> ring-buffers, other than Jack/Linux and CoreAudio) it should fail to 
> compile, but give the user enough info to compile without SMP safety if 
> they want (by defining ALLOW_SMP_DANGERS, which should probably have a 
> better name).
> 
>     Any feedback before I commit (especially from someone familiar with 
> x86)?

What about other architectures? The Debian portaudio19 package I'm 
maintaining together with the Debian VoIP team fails to build on most 
architectures. (Reported in Debian BTS #406754[1])

error:
src/common/pa_ringbuffer.c:100:11: error: #error Memory barriers are not 
define d on this system. You can still compile by defining 
ALLOW_SMP_DANGERS, but SMP safety will not be guaranteed.

PortAudio V19 used to build on all architectures: alpha, amd64, arm, 
hppa ,i386, ia64, m68k, mips, mipsel, powerpc, s390 and sparc.

Any solution?

Please, keep CC to 406754-forwarded at bugs.debian.org in replies.

Mikael

[1]http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406754






More information about the Pkg-voip-maintainers mailing list