libaio.git
4 years ago[PATCH libaio 24/28] harness: skip 22.p if async_poll isn't supported
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

4 years ago[PATCH libaio 23/28] harness: Handle -ENOTSUP from io_submit() with RWF_NOWAIT
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

4 years ago[PATCH libaio 22/28] harness: Add fallback code for filesystems not supporting O_DIRECT
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

4 years ago[PATCH libaio 21/28] harness: add support for skipping tests
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

4 years ago[PATCH libaio 20/28] harness: Make the test exit with a code matching the pass/fail...
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

4 years ago[PATCH libaio 19/28] harness: Make RISC-V use SYS_eventfd2 instead of unavailable...
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

4 years ago[PATCH libaio 18/28] harness: Use run-time _SC_PAGE_SIZE instead of build-time PAGESIZE
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

4 years ago[PATCH libaio 17/28] harness: Use destination strncpy() expression for sizeof() argument
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

4 years ago[PATCH libaio 16/28] Use ctx consistently for io_context_t instead of ctx_id
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

4 years ago[PATCH libaio 15/28] man: Escape verbatim \n in order to make it through roff
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

4 years ago[PATCH libaio 14/28] man: Fold short lines
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

4 years ago[PATCH libaio 13/28] man: Fix markup
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

4 years ago[PATCH libaio 12/28] man: Fix title header
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

4 years ago[PATCH libaio 11/28] man: Fix typos
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

4 years ago[PATCH libaio 10/28] man: Add "None" to empty sections
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

4 years ago[PATCH libaio 09/28] man: Remove spurious text
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

4 years ago[PATCH libaio 08/28] man: Remove spurious spaces
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

4 years ago[PATCH libaio 07/28] man: Fix period formatting
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

4 years ago[PATCH libaio 06/28] man: Fix casing
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

4 years ago[PATCH libaio 05/28] man: End sentences with a period
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

4 years ago[PATCH libaio 04/28] man: Refer to libaio.h instead of libio.h
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

4 years ago[PATCH libaio 03/28] man: Use the correct troff macro for comments
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

4 years ago[PATCH libaio 02/28] man: Add missing space in man page references
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

4 years ago[PATCH libaio 01/28] harness: allow running tests against the installed library
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

4 years ago[PATCH libaio] Link against libgcc to avoid unresolved symbols
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

4 years agolibaio (0.3.112-12) unstable; urgency=medium
Guillem Jover [Tue, 2 Nov 2021 23:56:45 +0000 (23:56 +0000)]
libaio (0.3.112-12) unstable; urgency=medium

  * Add patch from upstream to fix test suite warning with gcc-11.
  * Fix LTO build by using symver function attribute instead of .symver
    __asm__ statement. (Closes: #998309)

[dgit import unpatched libaio 0.3.112-12]

4 years agoImport libaio_0.3.112-12.debian.tar.xz
Guillem Jover [Tue, 2 Nov 2021 23:56:45 +0000 (23:56 +0000)]
Import libaio_0.3.112-12.debian.tar.xz

[dgit import tarball libaio 0.3.112-12 libaio_0.3.112-12.debian.tar.xz]

6 years agoImport libaio_0.3.112.orig.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]