Your message dated Wed, 08 May 2013 21:33:20 +0000
with message-id <[email protected]>
and subject line Bug#702183: fixed in libaio 0.3.109-4
has caused the Debian Bug report #702183,
regarding libaio: Add x32 patch
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
702183: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702183
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libaio
Version: 0.3.109-3
Severity: wishlist
Tags: patch
User: [email protected]
Tags: port-x32 ftbfs-x32
Please consider including the attached patch to add X32 support to the
library. (The patch is from
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f5c071d93c9e6f57930bce56b1e4f009c160a826
with link posted on the X32 patches page,
https://sites.google.com/site/x32abi/x32-patches .)
--
Daniel Schepler
diff -Nru libaio-0.3.109/debian/changelog libaio-0.3.109/debian/changelog
--- libaio-0.3.109/debian/changelog 2012-06-21 00:22:01.000000000 -0700
+++ libaio-0.3.109/debian/changelog 2013-03-03 07:07:53.000000000 -0800
@@ -1,3 +1,9 @@
+libaio (0.3.109-3+x32) unreleased; urgency=low
+
+ * Apply patch from Yocto to add x32 support.
+
+ -- Daniel Schepler <[email protected]> Sat, 03 Mar 2013 07:07:39 -0800
+
libaio (0.3.109-3) unstable; urgency=low
* Escape backslash in man pages. (Closes: #651833)
diff -Nru libaio-0.3.109/debian/patches/00_arches_x32.patch libaio-0.3.109/debian/patches/00_arches_x32.patch
--- libaio-0.3.109/debian/patches/00_arches_x32.patch 1969-12-31 16:00:00.000000000 -0800
+++ libaio-0.3.109/debian/patches/00_arches_x32.patch 2013-03-03 07:23:55.000000000 -0800
@@ -0,0 +1,65 @@
+Index: libaio-0.3.109/src/syscall-x86_64.h
+===================================================================
+--- libaio-0.3.109.orig/src/syscall-x86_64.h 2009-10-09 11:17:02.000000000 -0700
++++ libaio-0.3.109/src/syscall-x86_64.h 2013-03-03 07:15:13.000000000 -0800
+@@ -1,8 +1,18 @@
++#ifndef __NR_io_setup
+ #define __NR_io_setup 206
++#endif
++#ifndef __NR_io_destroy
+ #define __NR_io_destroy 207
++#endif
++#ifndef __NR_io_getevents
+ #define __NR_io_getevents 208
++#endif
++#ifndef __NR_io_submit
+ #define __NR_io_submit 209
++#endif
++#ifndef __NR_io_cancel
+ #define __NR_io_cancel 210
++#endif
+
+ #define __syscall_clobber "r11","rcx","memory"
+ #define __syscall "syscall"
+@@ -42,10 +52,11 @@
+ type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
+ { \
+ long __res; \
+-__asm__ volatile ("movq %5,%%r10 ;" __syscall \
++register long __a4 asm ("r10") = (long) arg4; \
++__asm__ volatile (__syscall \
+ : "=a" (__res) \
+ : "0" (__NR_##sname),"D" ((long)(arg1)),"S" ((long)(arg2)), \
+- "d" ((long)(arg3)),"g" ((long)(arg4)) : __syscall_clobber,"r10" ); \
++ "d" ((long)(arg3)),"r" (__a4)); \
+ return __res; \
+ }
+
+@@ -54,10 +65,11 @@
+ type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
+ { \
+ long __res; \
+-__asm__ volatile ("movq %5,%%r10 ; movq %6,%%r8 ; " __syscall \
++register long __a4 asm ("r10") = (long) arg4; \
++register long __a5 asm ("r8") = (long) arg5; \
++__asm__ volatile (__syscall \
+ : "=a" (__res) \
+ : "0" (__NR_##sname),"D" ((long)(arg1)),"S" ((long)(arg2)), \
+- "d" ((long)(arg3)),"g" ((long)(arg4)),"g" ((long)(arg5)) : \
+- __syscall_clobber,"r8","r10" ); \
++ "d" ((long)(arg3)),"r" (__a4),"r" (__a5)); \
+ return __res; \
+ }
+Index: libaio-0.3.109/harness/main.c
+===================================================================
+--- libaio-0.3.109.orig/harness/main.c 2013-03-03 06:58:51.000000000 -0800
++++ libaio-0.3.109/harness/main.c 2013-03-03 07:23:40.000000000 -0800
+@@ -14,7 +14,7 @@
+ #if __LP64__ == 0
+ #if defined(__i386__) || defined(__powerpc__) || defined(__mips__)
+ #define KERNEL_RW_POINTER ((void *)0xc0010000)
+-#elif defined(__arm__) || defined(__m68k__) || defined(__s390__) || defined(__sh__)
++#elif defined(__arm__) || defined(__m68k__) || defined(__s390__) || defined(__sh__) || defined(__x86_64__)
+ #define KERNEL_RW_POINTER ((void *)0x00010000)
+ #elif defined(__hppa__)
+ #define KERNEL_RW_POINTER ((void *)0x10100000)
diff -Nru libaio-0.3.109/debian/patches/series libaio-0.3.109/debian/patches/series
--- libaio-0.3.109/debian/patches/series 2012-06-20 23:36:54.000000000 -0700
+++ libaio-0.3.109/debian/patches/series 2013-03-03 07:00:24.000000000 -0800
@@ -1,6 +1,7 @@
00_arches.patch
00_arches_sh.patch
00_arches_sparc64.patch
+00_arches_x32.patch
01_link_libgcc.patch
02_libdevdir.patch
03_man_errors.patch
--- End Message ---
--- Begin Message ---
Source: libaio
Source-Version: 0.3.109-4
We believe that the bug you reported is fixed in the latest version of
libaio, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <[email protected]> (supplier of updated libaio package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 06 May 2013 18:56:19 +0200
Source: libaio
Binary: libaio1 libaio1-udeb libaio1-dbg libaio-dev
Architecture: source amd64
Version: 0.3.109-4
Distribution: unstable
Urgency: low
Maintainer: Guillem Jover <[email protected]>
Changed-By: Guillem Jover <[email protected]>
Description:
libaio-dev - Linux kernel AIO access library - development files
libaio1 - Linux kernel AIO access library - shared library
libaio1-dbg - Linux kernel AIO access library - debugging symbols
libaio1-udeb - Linux kernel AIO access library - shared library (udeb)
Closes: 702183 702409
Changes:
libaio (0.3.109-4) unstable; urgency=low
.
* Now using Standards-Version 3.9.4 (no changes needed).
* Remove package creation information from debian/copyright.
* Update upstream git URL in debian/copyright.
* Add support for x32 (from the Yocto project). (Closes: #702183)
Thanks to Daniel Schepler <[email protected]>.
* Add support for arm64 (stolen from upstream). (Closes: #702409)
Thanks to Ian Campbell <[email protected]>.
* Add cross-compilation support.
Based on a patch by Ian Campbell <[email protected]>.
* Update debian/watch file to a working URL.
Checksums-Sha1:
86c31e66a1810b1d36cf7566e5119b39c159a7af 1347 libaio_0.3.109-4.dsc
55cd6f2a61ce82c358318889f2899a5ee9db9b57 29390 libaio_0.3.109-4.debian.tar.gz
7843cc94560140690fc5afc5f2c209a923b6f11a 9162 libaio1_0.3.109-4_amd64.deb
dcebc974ae36e4209ed287211759e74525f8c0f5 2164 libaio1-udeb_0.3.109-4_amd64.udeb
728e9f796697e8bd819d7cfac46e6d32ab5a06c5 11808 libaio1-dbg_0.3.109-4_amd64.deb
48413a6b493fe394fa90a834688517340e467dd3 18736 libaio-dev_0.3.109-4_amd64.deb
Checksums-Sha256:
a92e6056713fa34caaf47fa87d7304881f2bca4de9deeac1a6a1d7642570c0d4 1347
libaio_0.3.109-4.dsc
57fb6983dafb95d8a36c8502bba6b3ce3acf490a2af8d2de0646a27dcb9468ac 29390
libaio_0.3.109-4.debian.tar.gz
fbe184b584407571c497ba55e0e1107a063e3d55f9303d1211fd5ea614005351 9162
libaio1_0.3.109-4_amd64.deb
0bbbabd4228d430623ffcb9b150f96d96ccbbd405af906ea6349cc952d9bd428 2164
libaio1-udeb_0.3.109-4_amd64.udeb
2357ca1d9428e607029b0d603a5847bc75d2e45fcf135ffddbfe08cee56898fb 11808
libaio1-dbg_0.3.109-4_amd64.deb
067462dc24a6f415a494b9a1076e6833a5a1b4e873c27c40b29942ee1bb9e957 18736
libaio-dev_0.3.109-4_amd64.deb
Files:
31ad8dc7d3b9ea89ebcf80aa8128dd4e 1347 libs optional libaio_0.3.109-4.dsc
dfbb81c98035c4ade021f7b09298f4cc 29390 libs optional
libaio_0.3.109-4.debian.tar.gz
4f35f6a04893243345dc7b13eee3e0ac 9162 libs optional libaio1_0.3.109-4_amd64.deb
0e0d8993fa1a93102f75281ac4dd31f3 2164 debian-installer optional
libaio1-udeb_0.3.109-4_amd64.udeb
09d5277c7afabade14064dc669c46f2b 11808 debug extra
libaio1-dbg_0.3.109-4_amd64.deb
f45df00e29d516556c91d2d54dad7e49 18736 libdevel optional
libaio-dev_0.3.109-4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlGKuH0ACgkQuW9ciZ2SjJtPOwCgzwSfaLk9p+vPYkMp8rhCaWR9
diYAnRxNpQkumBQAMyPqHKlTTKPm328J
=VKvB
-----END PGP SIGNATURE-----
--- End Message ---