Bug#861171: #warning "Consider adding the right clone() syscall definitions here!"

Michael Biebl biebl at debian.org
Tue Apr 25 12:55:04 BST 2017


Am 25.04.2017 um 12:56 schrieb Mathieu Malaterre:
> Package: systemd
> Version: 232-22
> User: debian-mips at lists.debian.org
> Usertags: mipsel mips64el mips
> 
> There are warning(s) generated during systemd building on mipsel* :
> 
> I am starring at the clone warning (mmap seems to trigger something
> equivalent apparently):
> 
> https://buildd.debian.org/status/fetch.php?pkg=systemd&arch=mips64el&ver=232-22&stamp=1490743348&raw=0
> 
> See:
> http://sources.debian.net/src/systemd/232-22/src/shared/seccomp-util.c/#L726
> 
> 
> $ man 2 clone
> [...]
>        On x86-32, and several other common architectures (including
> score, ARM, ARM 64, PA-RISC, arc, Power PC, xtensa, and MIPS), the
> order of the last two arguments is reversed:
> 
>            long clone(unsigned long flags, void *child_stack,
>                      int *ptid, unsigned long newtls,
>                      int *ctid);
> [...]
> 
> I believe it would make sense to fix those warnings (missing case in
> the switch) for mips/arm & powerpc* family since those are release
> archs.

Would be great if you can send us a tested patch. I don't have any mips*
hardware where I could test if the patch works as expected.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170425/dcc2df36/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list