1. 21 Oct, 2020 1 commit
  2. 05 Sep, 2020 1 commit
  3. 24 Jul, 2020 1 commit
  4. 26 Apr, 2020 1 commit
  5. 15 Apr, 2020 1 commit
  6. 13 Mar, 2020 1 commit
  7. 23 Dec, 2019 1 commit
  8. 18 Nov, 2019 1 commit
  9. 23 Aug, 2019 1 commit
  10. 19 Aug, 2019 1 commit
  11. 21 Jul, 2019 1 commit
  12. 04 May, 2019 1 commit
  13. 26 Apr, 2019 1 commit
  14. 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
  15. 05 Dec, 2018 1 commit
  16. 11 Jul, 2018 1 commit
  17. 06 Jun, 2018 2 commits
  18. 30 Nov, 2017 1 commit
  19. 10 Nov, 2017 2 commits
  20. 25 Mar, 2017 1 commit
  21. 18 Mar, 2016 1 commit
  22. 11 Dec, 2015 2 commits
  23. 10 Sep, 2015 1 commit
  24. 30 Jul, 2015 1 commit
  25. 12 Jun, 2015 1 commit
  26. 29 Apr, 2015 1 commit
  27. 04 Dec, 2014 1 commit
  28. 20 Nov, 2014 1 commit
  29. 18 May, 2014 1 commit
  30. 07 Mar, 2014 1 commit
  31. 13 Feb, 2014 1 commit
  32. 29 Sep, 2013 1 commit
  33. 30 Jul, 2013 1 commit
  34. 09 May, 2013 1 commit
  35. 18 Dec, 2012 1 commit
  36. 23 Mar, 2012 1 commit
  37. 20 Nov, 2011 1 commit