1. 23 Dec, 2019 1 commit
  2. 18 Nov, 2019 1 commit
  3. 23 Aug, 2019 1 commit
  4. 19 Aug, 2019 1 commit
  5. 21 Jul, 2019 1 commit
  6. 04 May, 2019 1 commit
  7. 26 Apr, 2019 1 commit
  8. 04 Jan, 2019 1 commit
    • alpine-mips-patches's avatar
      main/xfsprogs: fix build on mips* and ppc64le · b0c083a3
      alpine-mips-patches authored
      musl-1.1.20 implements support (or lack thereof) for the MAP_SYNC flag by #define'ing
      it uncoditionally in generic <sys/mman.h> then #undef'ining optionally in arch-specific
      <bits/mman.h> (e.g. for mips* and powerpc*). So io/mmap.c fails to compile since it
      includes <sys/mman.h> (which undefines MAP_SYNC on mips* and powerpc*) after "linux.h"
      (which either defines fallback MAP_SYNC values or pulls <asm-generic/mman{-common.h}>).
      
      The proposes patch also fixes the flawed MAP_SYNC detection logic in the configure script
      because io/mmap.c always uses the MAP_SYNC definition (either real one or zero fallback).
      Otherwise xfsprogs wrongly detects the MAP_SYNC presence on mips* and ppc64le and the code
      does not define MAP_SYNC fallback so io/mmap.c still fails to compile.
      
      Note the last (2018-07-11) successful xfsprogs build for ppc64le was against musl-1.1.19
      (without any support for MAP_SYNC).
      
      The problem with MAP_SYNC detection is as follows. The configure script checks only
      <asm-generic/mman{-common}.h> headers for the MAP_SYNC definition instead of using
      the arch-specific <asm/mman.h>. But some architectures (mips, powerpc, parisc) do not
      support the MAP_SYNC feature at all, do not use the <asm-generic/mman{-common.h}> files
      and do not define the flag in the corresponding <asm/mman.h> header.
      b0c083a3
  9. 05 Dec, 2018 1 commit
  10. 11 Jul, 2018 1 commit
  11. 06 Jun, 2018 2 commits
  12. 30 Nov, 2017 1 commit
  13. 10 Nov, 2017 2 commits
  14. 25 Mar, 2017 1 commit
  15. 18 Mar, 2016 1 commit
  16. 11 Dec, 2015 2 commits
  17. 10 Sep, 2015 1 commit
  18. 30 Jul, 2015 1 commit
  19. 12 Jun, 2015 1 commit
  20. 29 Apr, 2015 1 commit
  21. 04 Dec, 2014 1 commit
  22. 20 Nov, 2014 1 commit
  23. 18 May, 2014 1 commit
  24. 07 Mar, 2014 1 commit
  25. 13 Feb, 2014 1 commit
  26. 29 Sep, 2013 1 commit
  27. 30 Jul, 2013 1 commit
  28. 09 May, 2013 1 commit
  29. 18 Dec, 2012 1 commit
  30. 23 Mar, 2012 1 commit
  31. 20 Nov, 2011 1 commit
  32. 16 Oct, 2011 1 commit
  33. 29 Jun, 2011 1 commit
  34. 04 Apr, 2011 1 commit
  35. 24 Mar, 2011 1 commit
  36. 13 Jan, 2011 1 commit
  37. 13 Dec, 2010 1 commit