[lxc-devel] [lxc/lxc] ff0e49: utils: fix ppc64le builds

GitHub noreply at github.com
Mon May 22 19:49:56 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ff0e49c768ae23b3c700ec66ea42023c94dd1ca8
      https://github.com/lxc/lxc/commit/ff0e49c768ae23b3c700ec66ea42023c94dd1ca8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  utils: fix ppc64le builds

I suspect that there's a glibc bug on ppc64le. Both clang and gcc a very
unhappy when you return -errno from these functions. Instead, let's return
concrete errno numbers, e.g. -EINVAL.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 37a5dcd45df96141c6a9456e8ed8ddb64749e7ef
      https://github.com/lxc/lxc/commit/37a5dcd45df96141c6a9456e8ed8ddb64749e7ef
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2017-05-22 (Mon, 22 May 2017)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Merge pull request #1573 from brauner/2017-05-18/fix_ppc64le_build

utils: fix ppc64le builds


Compare: https://github.com/lxc/lxc/compare/78678dc167fd...37a5dcd45df9


More information about the lxc-devel mailing list