Bug#952386: src:libseccomp: please add support for riscv64

2020-02-23 Thread Aurelien Jarno
On 2020-02-23 18:29, John Paul Adrian Glaubitz wrote:
> On 2/23/20 6:17 PM, Aurelien Jarno wrote:
> > libseccomp fails to build on riscv64 as the support for this
> > architecture is missing. It has just been added upstream:
> > 
> > https://github.com/seccomp/libseccomp/commit/5432e15521d5ce5a7d3f26bf78674cbaa9d73d1f
> 
> Hmm, I wonder whether I can do this for m68k and sparc64 as well. But I
> assume this also requires support in the kernel, doesn't it?

Yes, you need first to add the kernel support.

> I think Helge added support for it for hppa?

Yes, hppa supports libseccomp a few years already, and the package
builds fine there.

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Bug#952386: src:libseccomp: please add support for riscv64

2020-02-23 Thread John Paul Adrian Glaubitz
On 2/23/20 6:17 PM, Aurelien Jarno wrote:
> libseccomp fails to build on riscv64 as the support for this
> architecture is missing. It has just been added upstream:
> 
> https://github.com/seccomp/libseccomp/commit/5432e15521d5ce5a7d3f26bf78674cbaa9d73d1f

Hmm, I wonder whether I can do this for m68k and sparc64 as well. But I
assume this also requires support in the kernel, doesn't it?

I think Helge added support for it for hppa?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#952386: src:libseccomp: please add support for riscv64

2020-02-23 Thread Aurelien Jarno
Package: src:libseccomp
Version: 2.4.2-2
Severity: normal
Tags: patch upstream
User: debian-ri...@lists.debian.org
Usertags: riscv64

Hi,

libseccomp fails to build on riscv64 as the support for this
architecture is missing. It has just been added upstream:

https://github.com/seccomp/libseccomp/commit/5432e15521d5ce5a7d3f26bf78674cbaa9d73d1f

This patch applies directly on version from sid. I have tested simple
seccomp examples on a 5.5 kernel (the first one with seccomp support on
riscv64) and they work perfectly.

Would it be possible to add this patch in the next upload of libseccomp?

Thanks,
Aurelien