Bug#555538: snd - FTBFS: error: Seems like an unsupported hardware for jack.

Adrian Knoth adi at drcomp.erfurt.thur.de
Tue Nov 10 15:27:08 UTC 2009


On Tue, Nov 10, 2009 at 11:02:24AM -0300, Felipe Sateler wrote:

> > The generic solution is the use gcc builtins. This requires gcc-4.1 or
> > newer and at least some kind of underlying hardware atomic ops:

> >      __sync_add_and_fetch (__mem, __val);
> 
> Note that this isn't reliable in all arches.

ACK. It would be trial and error or require platform testing upfront. On
Sparc, the __sync_bool_compare_and_swap atomic op is only supported with
-mcpu=v9.  Same holds true for __sync_add_and_fetch.

This is a pure lack of hardware support, think of SSE instructions not
available on i486.

The list of options is problably like this:

   1. Only require libjack-dev on amd64, i386 and powerpc

   2. Use pulseuadio

   3. Patch the source with error-prone builtin atomics


I suggest to use 1, 2 or 1 and 2. Since snd isn't timing critical,
there's not really a need for libjack. Pulseaudio would be sufficient.



HTH

-- 
mail: adi at thur.de  	http://adi.thur.de	PGP/GPG: key via keyserver





More information about the pkg-multimedia-maintainers mailing list