libaio.git
6 years ago[PATCH 2/7] harness: Use run-time _SC_PAGE_SIZE instead of build-time PAGESIZE
Guillem Jover [Fri, 8 Feb 2019 23:28:53 +0000 (00:28 +0100)]
[PATCH 2/7] 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>
Gbp-Pq: Name 0002-harness-Use-run-time-_SC_PAGE_SIZE-instead-of-build-.patch

6 years ago[PATCH 1/7] harness: Use destination strncpy() expression for sizeof() argument
Guillem Jover [Fri, 8 Feb 2019 23:25:38 +0000 (00:25 +0100)]
[PATCH 1/7] 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>
Gbp-Pq: Name 0001-harness-Use-destination-strncpy-expression-for-sizeo.patch

6 years agoHonour user build flags
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Honour user build flags

Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

CPPFLAGS, CFLAGS and LDFLAGS are user flags, which we need to preserve, any
required flag that the build system needs, has to be set in some other flag
so that the build will succeed even of the user flags are passed.

Gbp-Pq: Name 05_build-flags.patch

6 years agoFix FTBFS with newer gcc 4.6
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Fix FTBFS with newer gcc 4.6

Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

Using -Werror on a released project is in general not a good idea, as changes
in the toolchain and environment can trigger unexpected build failures.

Gbp-Pq: Name 04_no_Werror.patch

6 years agoFix installation of shared vs static libraries
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Fix installation of shared vs static libraries

Origin: vendor
Forwarded: no
Last-Update: 2007-09-11

Gbp-Pq: Name 02_libdevdir.patch

6 years agoLink against libgcc and libc to avoid unresolved symbols
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Link against libgcc and libc to avoid unresolved symbols

Origin: vendor
Bug-Debian: 764509
Forwarded: no
Last-Update: 2014-10-09

We need to link agaisnt -lgcc, on at least hppa. We also need to link
against -lc, because we are now always using the syscall() libc function.
So let's stop passing -nostdlib and -nostartfiles.

Note: we used to use -Wl,--as-needed, this way we made sure we pulled the
required fortified functions from the internal libc_nonshared.a, but did
not link against the shared library because we did not use any of its
symbols.

Gbp-Pq: Name 01_link_libs.patch

6 years agoFix structure padding for mips64
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Fix structure padding for mips64

Forwarded: no
Last-Update: 2014-07-23

Gbp-Pq: Name 00_arches_mips_fix_padding.patch

6 years agoAdd support for x32 (from the Yocto project)
Daniel Schepler [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Add support for x32 (from the Yocto project)

Origin: vendor
Forwarded: no
Bug-Debian: 702183
Last-Update: 2013-05-06

Gbp-Pq: Name 00_arches_x32.patch

6 years agoAdd SH supprt
Nobuhiro Iwamatsu [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Add SH supprt

The test-suite logs can be found at:

<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535288>

Gbp-Pq: Name 00_arches_sh.patch

6 years agoAdd/fix support for m68k, mips, paris, sparc
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Add/fix support for m68k, mips, paris, sparc

Origin: vendor
Forwarded: no
Last-Update: 2014-10-09

Gbp-Pq: Name 00_arches.patch

6 years agolibaio (0.3.112-3) unstable; urgency=medium
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
libaio (0.3.112-3) unstable; urgency=medium

  * Test suite fixes:
    - Fix logic inversion in EINVAL check.
    - Revert making the test suite fatal on failures, as the Debian buildd
      setup is peculiar enough to make at least two tests fail. This will
      need further work.

[dgit import unpatched libaio 0.3.112-3]

6 years agoImport libaio_0.3.112-3.debian.tar.xz
Guillem Jover [Tue, 26 Feb 2019 04:26:21 +0000 (04:26 +0000)]
Import libaio_0.3.112-3.debian.tar.xz

[dgit import tarball libaio 0.3.112-3 libaio_0.3.112-3.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]