summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Guillem Jover [Wed, 21 Aug 2019 03:29:50 +0000 (05:29 +0200)]
[PATCH libaio 27/28] harness: Print better error messages on error conditions in 22.t
These should help diagnose problems when dealing with error failures.
In particular this helped distinguish the problem with io_pgetevents()
not being implemented and it failing due to the sigset_t layout bug.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
[JEM: fix up 80 columns violations]
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0027-harness-Print-better-error-messages-on-error-conditi.patch
Guillem Jover [Wed, 14 Aug 2019 02:42:42 +0000 (04:42 +0200)]
[PATCH libaio 26/28] harness: Fix PROT_WRITE mmap check
This partially reverts commit
d7f5065448efb49b2a26e728ff735e12ea05b62e.
The actual problem in the original code was that read() was being used
to assert whether the buffer was readable, but the kernel was instead
reading from the file descriptor and then writing into the buffer, so
no EFAULT was being generated (on architectures that do so).
We needed to use a write() so that the kernel would read from the
buffer.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0026-harness-Fix-PROT_WRITE-mmap-check.patch
Jeff Moyer [Tue, 13 Aug 2019 19:30:05 +0000 (15:30 -0400)]
[PATCH libaio 25/28] harness: fix read into PROT_WRITE mmap test
This test has been broken forever. Fix it up to perform an
aio_read using the result of a regular read as the expected
return code.
Reported-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0025-harness-fix-read-into-PROT_WRITE-mmap-test.patch
Jeff Moyer [Mon, 29 Jul 2019 18:25:01 +0000 (14:25 -0400)]
[PATCH libaio 24/28] harness: skip 22.p if async_poll isn't supported
Use the new skip error code instead of failing the test. Also
add in a Local variables: section for emacs.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0024-harness-skip-22.p-if-async_poll-isn-t-supported.patch
Guillem Jover [Sat, 20 Jul 2019 19:21:02 +0000 (21:21 +0200)]
[PATCH libaio 23/28] harness: Handle -ENOTSUP from io_submit() with RWF_NOWAIT
On filesystems such as tmpfs the syscall might return -ENOTSUP instead
of EINVAL when it does not support the RWF_NOWAIT flag.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
[JEM: skip the test instead of returning success]
[JEM: make the error message differentiate between kernel and fs support]
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0023-harness-Handle-ENOTSUP-from-io_submit-with-RWF_NOWAI.patch
Guillem Jover [Sat, 20 Jul 2019 19:21:01 +0000 (21:21 +0200)]
[PATCH libaio 22/28] harness: Add fallback code for filesystems not supporting O_DIRECT
When running the harness on a filesystem such as a tmpfs, which do not
support O_DIRECT, fallback to calls without the flag.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
[JEM: change from duplicating the open call to using F_SETFL]
[JEM: 18 and 21 require O_DIRECT-skip if not present]
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0022-harness-Add-fallback-code-for-filesystems-not-suppor.patch
Jeff Moyer [Mon, 29 Jul 2019 17:16:18 +0000 (13:16 -0400)]
[PATCH libaio 21/28] harness: add support for skipping tests
Skipped tests will not cause the test harness to return failure. An
exit status of "3" was chosen for skipped tests. This doesn't
conflict with any of the current tests.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0021-harness-add-support-for-skipping-tests.patch
Guillem Jover [Tue, 23 Jul 2019 00:48:43 +0000 (02:48 +0200)]
[PATCH libaio 20/28] harness: Make the test exit with a code matching the pass/fail state
This way we can use the exit code to check whether the tests passed or
failed, and fail the package build.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0020-harness-Make-the-test-exit-with-a-code-matching-the-.patch
Guillem Jover [Sat, 20 Jul 2019 19:21:00 +0000 (21:21 +0200)]
[PATCH libaio 19/28] harness: Make RISC-V use SYS_eventfd2 instead of unavailable SYS_eventfd
This is a recent architecture and as such does not provide legacy
support for SYS_eventfd. Declare that we need to use the new syscall.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0019-harness-Make-RISC-V-use-SYS_eventfd2-instead-of-unav.patch
Guillem Jover [Sat, 20 Jul 2019 19:20:59 +0000 (21:20 +0200)]
[PATCH libaio 18/28] harness: Use run-time _SC_PAGE_SIZE instead of build-time PAGESIZE
The getconf(1) command is inherently not cross-compilation friendly.
In addition PAGESIZE depends on the specific system, even within a
specific arch, so using a hard-coded value is never safe.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0018-harness-Use-run-time-_SC_PAGE_SIZE-instead-of-build-.patch
Guillem Jover [Sat, 20 Jul 2019 19:20:58 +0000 (21:20 +0200)]
[PATCH libaio 17/28] harness: Use destination strncpy() expression for sizeof() argument
Even though this is the same size, as the sizeof() is derived from the
source expression, recent gcc versions will emit a warning, which is
turned into an error by -Werror:
error: argument to ‘sizeof’ in ‘strncpy’ call is the same expression
as the source; did you mean to use the size of the destination?
[-Werror=sizeof-pointer-memaccess]
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0017-harness-Use-destination-strncpy-expression-for-sizeo.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:14 +0000 (21:18 +0200)]
[PATCH libaio 16/28] Use ctx consistently for io_context_t instead of ctx_id
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0016-Use-ctx-consistently-for-io_context_t-instead-of-ctx.patch
Stephan Springl [Sat, 20 Jul 2019 19:18:13 +0000 (21:18 +0200)]
[PATCH libaio 15/28] man: Escape verbatim \n in order to make it through roff
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0015-man-Escape-verbatim-n-in-order-to-make-it-through-ro.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:12 +0000 (21:18 +0200)]
[PATCH libaio 14/28] man: Fold short lines
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0014-man-Fold-short-lines.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:11 +0000 (21:18 +0200)]
[PATCH libaio 13/28] man: Fix markup
- Remove unnecessary macro argument quoting.
- Variables, pathnames in italics.
- Keywords in bold.
- Man page references in bold, followed by the man page number.
- Fix TP/TQ macro usage.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0013-man-Fix-markup.patch
Guillem Jover [Mon, 22 Jul 2019 23:28:10 +0000 (01:28 +0200)]
[PATCH libaio 12/28] man: Fix title header
- Update year.
- Balance double quotes.
- Remove version from source argument as recommended in man-pages(7).
- Fix all sections numbers to 3.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0012-man-Fix-title-header.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:09 +0000 (21:18 +0200)]
[PATCH libaio 11/28] man: Fix typos
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0011-man-Fix-typos.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:08 +0000 (21:18 +0200)]
[PATCH libaio 10/28] man: Add "None" to empty sections
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0010-man-Add-None-to-empty-sections.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:07 +0000 (21:18 +0200)]
[PATCH libaio 09/28] man: Remove spurious text
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0009-man-Remove-spurious-text.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:06 +0000 (21:18 +0200)]
[PATCH libaio 08/28] man: Remove spurious spaces
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0008-man-Remove-spurious-spaces.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:05 +0000 (21:18 +0200)]
[PATCH libaio 07/28] man: Fix period formatting
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0007-man-Fix-period-formatting.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:04 +0000 (21:18 +0200)]
[PATCH libaio 06/28] man: Fix casing
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0006-man-Fix-casing.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:03 +0000 (21:18 +0200)]
[PATCH libaio 05/28] man: End sentences with a period
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0005-man-End-sentences-with-a-period.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:02 +0000 (21:18 +0200)]
[PATCH libaio 04/28] man: Refer to libaio.h instead of libio.h
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0004-man-Refer-to-libaio.h-instead-of-libio.h.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:01 +0000 (21:18 +0200)]
[PATCH libaio 03/28] man: Use the correct troff macro for comments
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0003-man-Use-the-correct-troff-macro-for-comments.patch
Guillem Jover [Sat, 20 Jul 2019 19:18:00 +0000 (21:18 +0200)]
[PATCH libaio 02/28] man: Add missing space in man page references
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0002-man-Add-missing-space-in-man-page-references.patch
Jeff Moyer [Mon, 29 Jul 2019 14:07:23 +0000 (10:07 -0400)]
[PATCH libaio 01/28] harness: allow running tests against the installed library
A user can now specify "LIBAIO=/path/to/libaio.so" in order to run
the test harness against the installed library.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0001-harness-allow-running-tests-against-the-installed-li.patch
Guillem Jover [Fri, 28 Sep 2018 10:15:54 +0000 (13:15 +0300)]
[PATCH libaio] Link against libgcc to avoid unresolved symbols
We need to link agaisnt -lgcc, on at least hppa, PPC and ARC.
That's because in some corner-cases like compilation with -Os
on ARC and PPC so-called millicode (basically function prologue and
epilogue) implemented in libgcc.a is used. So we end up with
GLOBAL UNDEFINED symbol in libaio.so and then on linkage of the final
applicaiton LD fails to proceed saying:
--------------------------->8----------------------
hidden symbol '__ld_r13_to_r15_ret' in .../libgcc.a(_millicodethunk_ret.o) is referenced by DSO
--------------------------->8----------------------
Also it looks like in general it is not the best idea to use either
"-nostartfiles" or "-nostdlib" when linking shared libs because
default construtor/destructor functions won't be executed, see
"5.2. Library constructor and destructor functions" in [1]
So let's stop passing "-nostdlib" and "-nostartfiles" and get required
stuff built-in libaio.
Initial patch taken from Debian [2].
Fixes build failures in Buildroot like blktrace [3], lvm2 [4].
[1] http://tldp.org/HOWTO/Program-Library-HOWTO/miscellaneous.html
[2] https://sources.debian.org/patches/libaio/0.3.111-1/01_link_libs.patch/
[3] http://autobuild.buildroot.net/results/
17461209755038a30118d76acb4f43469a22a139/
[4] http://autobuild.buildroot.net/results/
a5dfc87f94b97135e5cc84f6a876114891ed9dd9/
Signed-off-by: Guillem Jover <guillem@debian.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0001-Link-against-libgcc-to-avoid-unresolved-symbols.patch
Guillem Jover [Thu, 11 Nov 2021 03:56:01 +0000 (03:56 +0000)]
libaio (0.3.112-13) unstable; urgency=medium
* Pass CPPFLAGS to linker command, which as a side effect makes the
build reproducible on differing build pathnames.
[dgit import unpatched libaio 0.3.112-13]
Guillem Jover [Thu, 11 Nov 2021 03:56:01 +0000 (03:56 +0000)]
Import libaio_0.3.112-13.debian.tar.xz
[dgit import tarball libaio 0.3.112-13 libaio_0.3.112-13.debian.tar.xz]
Guillem Jover [Mon, 25 Feb 2019 01:56:55 +0000 (01:56 +0000)]
Import libaio_0.3.112.orig.tar.xz
[dgit import orig libaio_0.3.112.orig.tar.xz]