Bug#535681: libffado: Support for more arches

2009-07-04 Thread Kurt Roeckx
Source: libffado
Version: 2.0~rc1+svn1539-1
Severity: important

Hi,

It seems you have restricted the arch list to i386, amd64 and
powerpc.  Why?  I see no reason why this package should be
restricted to some arches.  Other arches support firewire too.

Is there for instance a reason not to enable kfreebsd-i386
and kfreebsd-amd64?

Looking at the SConstruct script, it seems to be basing
optimizations based on /proc/cpuinfo.  Please note that
we still support i486 on the i386 port, and it should
run on that.  Please do not add options to produce
different output than the default unless you build it
several times and pick up the right one at run time.
Basing it on the CPU you're currently running is _always_
wrong.

It also seems to try and detect if it needs -fPIC or not,
and only enable it on amd64.  Unless you have a very good
reason not always enable it, this should be enabled.
(see Policy 10.2).


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#535681: libffado: Support for more arches

2009-07-04 Thread Kurt Roeckx
On Sat, Jul 04, 2009 at 09:31:09PM +0200, Adrian Knoth wrote:
* FFADO needs atomic operations
 
  I did the upstream patch for SPARC's atomic operations. This might
  also work on IA64, however, I don't have access to other
  architectures.

So all you said so far is lack of atomic operations on various
arches.  There libraries that can do that for you.

You might want to look in any of those for atomic operations:
- g++-4.4's std::atomic (stdatomic.h)
- boost
- libatomic-ops
- libbind
- cxxtools
- tbb
- libqt4
- ...

And then there is also the linux kernel source.


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org