Guest User

on deb8, running autogen.sh changes tools/configure

a guest
Jan 16th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.71 KB | None | 0 0
  1. in deb8 (jessie), I extract xen-4.5.0.tar.gz, then do
  2. cp ./tools/configure ./tools/configure.orig
  3. ./autogen.sh
  4. diff -u ./tools/configure.orig ./tools/configure > large_off.diff
  5.  
  6. There should be no difference, since I applied no patches. There is a difference
  7. only on debian, but not RH. The autogen.sh makes no difference on RH
  8.  
  9. I see this:
  10. ------------- large_off.diff ---------
  11. --- ./tools/configure.orig 2015-01-16 13:20:15.269626173 -0800
  12. +++ ./tools/configure 2015-01-16 13:19:22.585626173 -0800
  13. @@ -3216,7 +3216,7 @@
  14. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  15. since some C++ compilers masquerading as C compilers
  16. incorrectly reject 9223372036854775807. */
  17. -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  18. +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  19. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  20. && LARGE_OFF_T % 2147483647 == 1)
  21. ? 1 : -1];
  22. @@ -3262,7 +3262,7 @@
  23. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  24. since some C++ compilers masquerading as C compilers
  25. incorrectly reject 9223372036854775807. */
  26. -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  27. +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  28. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  29. && LARGE_OFF_T % 2147483647 == 1)
  30. ? 1 : -1];
  31. @@ -3286,7 +3286,7 @@
  32. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  33. since some C++ compilers masquerading as C compilers
  34. incorrectly reject 9223372036854775807. */
  35. -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  36. +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  37. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  38. && LARGE_OFF_T % 2147483647 == 1)
  39. ? 1 : -1];
  40. @@ -3331,7 +3331,7 @@
  41. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  42. since some C++ compilers masquerading as C compilers
  43. incorrectly reject 9223372036854775807. */
  44. -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  45. +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  46. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  47. && LARGE_OFF_T % 2147483647 == 1)
  48. ? 1 : -1];
  49. @@ -3355,7 +3355,7 @@
  50. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  51. since some C++ compilers masquerading as C compilers
  52. incorrectly reject 9223372036854775807. */
  53. -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  54. +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  55. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  56. && LARGE_OFF_T % 2147483647 == 1)
  57. ? 1 : -1];
  58. ------------ snip -------
Advertisement
Add Comment
Please, Sign In to add comment