Guest User

Untitled

a guest
Feb 14th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 690.92 KB | None | 0 0
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.
  3.  
  4. It was created by The Glorious Glasgow Haskell Compilation System configure 8.7, which was
  5. generated by GNU Autoconf 2.69. Invocation command line was
  6.  
  7. $ ./configure --target=aarch64-unknown-linux-gnu
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = enterprise
  14. uname -m = x86_64
  15. uname -r = 4.14.90
  16. uname -s = Linux
  17. uname -v = #1-NixOS SMP Fri Dec 21 13:13:19 UTC 2018
  18.  
  19. /usr/bin/uname -p = unknown
  20. /bin/uname -X = unknown
  21.  
  22. /bin/arch = unknown
  23. /usr/bin/arch -k = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo = unknown
  26. /bin/machine = unknown
  27. /usr/bin/oslevel = unknown
  28. /bin/universe = unknown
  29.  
  30. PATH: /home/alp/WT/ghc2/result/bin
  31. PATH: /nix/store/jbp1i0623jz4igc9sjljz9n7w6qa32r1-patchelf-0.9/bin
  32. PATH: /nix/store/f1di5zznks8f9602g9zm6zwgbg4i47nk-paxctl-0.9/bin
  33. PATH: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin
  34. PATH: /nix/store/nly6dg3af8ycqn1x87ns1r3mrcjpv43a-gcc-7.3.0/bin
  35. PATH: /nix/store/8bh94qdmga1zkb85li56380i44ay82cs-glibc-2.27-bin/bin
  36. PATH: /nix/store/dm20hrdk6s4jzfmk1197p2nya0p8fy3a-coreutils-8.29/bin
  37. PATH: /nix/store/p3rksdhjr1sr5rvg99vb20cki03ay29g-binutils-wrapper-2.30/bin
  38. PATH: /nix/store/b0yc8vswfzcanhdm6dgmfmdcgjmxvxa0-binutils-2.30/bin
  39. PATH: /nix/store/8bh94qdmga1zkb85li56380i44ay82cs-glibc-2.27-bin/bin
  40. PATH: /nix/store/dm20hrdk6s4jzfmk1197p2nya0p8fy3a-coreutils-8.29/bin
  41. PATH: /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin
  42. PATH: /nix/store/xc9i4r8s1ql4m0l9s6k9nsvmpggbiqg6-arcanist-20170323/bin
  43. PATH: /nix/store/dm20hrdk6s4jzfmk1197p2nya0p8fy3a-coreutils-8.29/bin
  44. PATH: /nix/store/9gnkv6x5d5fsn62vi8lnfiscmh7jpf8z-findutils-4.6.0/bin
  45. PATH: /nix/store/p9aa2d2r8xqx2qsjhkzazfz3462fhm4w-diffutils-3.6/bin
  46. PATH: /nix/store/s3jpqbw2y0hvwh3nl4063v5c763parg0-gnused-4.5/bin
  47. PATH: /nix/store/2zffhanx8r6zk9qlnn1nrnnwyg45n4lw-gnugrep-3.1/bin
  48. PATH: /nix/store/4cwnik4mnh4dhc1z88f3210291qhsvs3-gawk-4.2.1/bin
  49. PATH: /nix/store/z5r5s8ccp7hlxkmaijhdikppcawa6d0p-gnutar-1.30/bin
  50. PATH: /nix/store/zrzqgdm6jxihsban195vrlcskmx9m4zc-gzip-1.9/bin
  51. PATH: /nix/store/5rd9qb6jkzkgd18dm1b379m8439cszac-bzip2-1.0.6.0.1-bin/bin
  52. PATH: /nix/store/gl4csr7bf9873p8rbskqh8785zlspxxx-gnumake-4.2.1/bin
  53. PATH: /nix/store/a9i0a06gcs8w9fj9nghsl0b6vvqpzpi4-bash-4.4-p23/bin
  54. PATH: /nix/store/vcin3m0v7d9ph55468jp5zy9v4k4ba9a-patch-2.7.6/bin
  55. PATH: /nix/store/bgv7sypfxl64bdy76l055nghmds8ndgl-xz-5.2.4-bin/bin
  56. PATH: /nix/store/vp7mwr3wx0a8a6bg7ifg9iq1wk6n0w6j-python3-3.6.8/bin
  57. PATH: /nix/store/d7rz0m045gi6d4rznibcg2mkfk1pgdas-guake-3.3.2/bin
  58. PATH: /nix/store/6lk126ls44j7wj7114s490xwnnwb6rl4-python3.6-setuptools-40.2.0/bin
  59. PATH: /nix/store/5sxgy8s73giicb92rmfkx7zb7w2lk2xl-python3.6-pbr-4.2.0/bin
  60. PATH: /nix/store/0449k5h5iyk6xjiglsvnccylsxim3055-cairo-1.15.12-dev/bin
  61. PATH: /nix/store/nlhnfs5mmdynrgh7xniii8saqa59mr0g-freetype-2.9-dev/bin
  62. PATH: /nix/store/5rd9qb6jkzkgd18dm1b379m8439cszac-bzip2-1.0.6.0.1-bin/bin
  63. PATH: /nix/store/yqmmdk60ki0kqg0g74xz2n4zzg4hsz6i-libpng-apng-1.6.35-dev/bin
  64. PATH: /nix/store/rb6hrmw9il6zgma0sfq71783fb7x1616-fontconfig-2.12.6-bin/bin
  65. PATH: /nix/store/34zjcsia647gg39lhi5ng34fixkmyjzv-expat-2.2.6-dev/bin
  66. PATH: /nix/store/wbw7l6584paf8a16kzfh2zxd6dfqj2rd-glib-2.56.0-dev/bin
  67. PATH: /nix/store/j1jcx95p61pjr3sgbqgixrbs0fsw579r-gettext-0.19.8.1/bin
  68. PATH: /home/alp/bin
  69. PATH: /run/wrappers/bin
  70. PATH: /home/alp/.nix-profile/bin
  71. PATH: /nix/var/nix/profiles/default/bin
  72. PATH: /run/current-system/sw/bin
  73. PATH: /etc/profiles/per-user/alp/bin
  74.  
  75.  
  76. ## ----------- ##
  77. ## Core tests. ##
  78. ## ----------- ##
  79.  
  80. configure:2714: checking for gfind
  81. configure:2747: result: no
  82. configure:2714: checking for find
  83. configure:2732: found /nix/store/9gnkv6x5d5fsn62vi8lnfiscmh7jpf8z-findutils-4.6.0/bin/find
  84. configure:2744: result: /nix/store/9gnkv6x5d5fsn62vi8lnfiscmh7jpf8z-findutils-4.6.0/bin/find
  85. configure:2824: checking for sort
  86. configure:2842: found /nix/store/dm20hrdk6s4jzfmk1197p2nya0p8fy3a-coreutils-8.29/bin/sort
  87. configure:2854: result: /nix/store/dm20hrdk6s4jzfmk1197p2nya0p8fy3a-coreutils-8.29/bin/sort
  88. configure:2931: checking for GHC version date
  89. configure:2944: result: inferred 8.7.20190211
  90. configure:2957: checking for GHC Git commit id
  91. configure:2965: result: inferred 180c9762d4565f0e8b192abf95d2bed57765e0c5
  92. configure:3058: checking for ghc
  93. configure:3076: found /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/ghc
  94. configure:3088: result: /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/ghc
  95. configure:3141: checking version of ghc
  96. The Glorious Glasgow Haskell Compilation System, version 8.4.3
  97. configure:3170: result: 8.4.3
  98. configure:3346: checking build system type
  99. configure:3360: result: x86_64-pc-linux-gnu
  100. configure:3380: checking host system type
  101. configure:3393: result: x86_64-pc-linux-gnu
  102. configure:3413: checking target system type
  103. configure:3426: result: aarch64-unknown-linux-gnu
  104. configure:4387: checking for path to top of build tree
  105. configure:4413: result: /home/alp/WT/ghc2
  106. configure:4908: checking for aarch64-unknown-linux-gnu-windres
  107. configure:4924: found /home/alp/WT/ghc2/result/bin/aarch64-unknown-linux-gnu-windres
  108. configure:4935: result: aarch64-unknown-linux-gnu-windres
  109. configure:4992: checking for aarch64-unknown-linux-gnu-dllwrap
  110. configure:5008: found /home/alp/WT/ghc2/result/bin/aarch64-unknown-linux-gnu-dllwrap
  111. configure:5019: result: aarch64-unknown-linux-gnu-dllwrap
  112. configure:5076: checking for aarch64-unknown-linux-gnu-objdump
  113. configure:5103: result: objdump
  114. configure:5360: checking for aarch64-unknown-linux-gnu-gcc
  115. configure:5387: result: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc
  116. configure:5462: checking for C compiler version
  117. configure:5471: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc --version >&5
  118. gcc (GCC) 7.3.0
  119. Copyright (C) 2017 Free Software Foundation, Inc.
  120. This is free software; see the source for copying conditions. There is NO
  121. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  122.  
  123. configure:5482: $? = 0
  124. configure:5471: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -v >&5
  125. Using built-in specs.
  126. COLLECT_GCC=/nix/store/nly6dg3af8ycqn1x87ns1r3mrcjpv43a-gcc-7.3.0/bin/gcc
  127. COLLECT_LTO_WRAPPER=/nix/store/nly6dg3af8ycqn1x87ns1r3mrcjpv43a-gcc-7.3.0/libexec/gcc/x86_64-unknown-linux-gnu/7.3.0/lto-wrapper
  128. Target: x86_64-unknown-linux-gnu
  129. Configured with:
  130. Thread model: posix
  131. gcc version 7.3.0 (GCC)
  132. configure:5482: $? = 0
  133. configure:5471: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -V >&5
  134. gcc: error: unrecognized command line option '-V'
  135. gcc: fatal error: no input files
  136. compilation terminated.
  137. configure:5482: $? = 1
  138. configure:5471: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -qversion >&5
  139. gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
  140. gcc: fatal error: no input files
  141. compilation terminated.
  142. configure:5482: $? = 1
  143. configure:5502: checking whether the C compiler works
  144. configure:5524: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib conftest.c >&5
  145. configure:5528: $? = 0
  146. configure:5576: result: yes
  147. configure:5579: checking for C compiler default output file name
  148. configure:5581: result: a.out
  149. configure:5587: checking for suffix of executables
  150. configure:5594: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib conftest.c >&5
  151. configure:5598: $? = 0
  152. configure:5620: result:
  153. configure:5642: checking whether we are cross compiling
  154. configure:5680: result: yes
  155. configure:5685: checking for suffix of object files
  156. configure:5707: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  157. configure:5711: $? = 0
  158. configure:5732: result: o
  159. configure:5736: checking whether we are using the GNU C compiler
  160. configure:5755: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  161. configure:5755: $? = 0
  162. configure:5764: result: yes
  163. configure:5773: checking whether /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc accepts -g
  164. configure:5793: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -g -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  165. configure:5793: $? = 0
  166. configure:5834: result: yes
  167. configure:5851: checking for /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc option to accept ISO C89
  168. configure:5914: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  169. configure:5914: $? = 0
  170. configure:5927: result: none needed
  171. configure:5962: checking how to run the C preprocessor
  172. configure:5993: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  173. configure:5993: $? = 0
  174. configure:6007: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  175. conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
  176. #include <ac_nonexistent.h>
  177. ^~~~~~~~~~~~~~~~~~
  178. compilation terminated.
  179. configure:6007: $? = 1
  180. configure: failed program was:
  181. | /* confdefs.h */
  182. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  183. | #define PACKAGE_TARNAME "ghc-8.7"
  184. | #define PACKAGE_VERSION "8.7"
  185. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  186. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  187. | #define PACKAGE_URL ""
  188. | /* end confdefs.h. */
  189. | #include <ac_nonexistent.h>
  190. configure:6032: result: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E
  191. configure:6052: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  192. configure:6052: $? = 0
  193. configure:6066: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  194. conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
  195. #include <ac_nonexistent.h>
  196. ^~~~~~~~~~~~~~~~~~
  197. compilation terminated.
  198. configure:6066: $? = 1
  199. configure: failed program was:
  200. | /* confdefs.h */
  201. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  202. | #define PACKAGE_TARNAME "ghc-8.7"
  203. | #define PACKAGE_VERSION "8.7"
  204. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  205. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  206. | #define PACKAGE_URL ""
  207. | /* end confdefs.h. */
  208. | #include <ac_nonexistent.h>
  209. configure:6095: checking for grep that handles long lines and -e
  210. configure:6153: result: /nix/store/2zffhanx8r6zk9qlnn1nrnnwyg45n4lw-gnugrep-3.1/bin/grep
  211. configure:6158: checking for egrep
  212. configure:6220: result: /nix/store/2zffhanx8r6zk9qlnn1nrnnwyg45n4lw-gnugrep-3.1/bin/grep -E
  213. configure:6225: checking for ANSI C header files
  214. configure:6245: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  215. configure:6245: $? = 0
  216. configure:6329: result: yes
  217. configure:6342: checking for sys/types.h
  218. configure:6342: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  219. configure:6342: $? = 0
  220. configure:6342: result: yes
  221. configure:6342: checking for sys/stat.h
  222. configure:6342: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  223. configure:6342: $? = 0
  224. configure:6342: result: yes
  225. configure:6342: checking for stdlib.h
  226. configure:6342: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  227. configure:6342: $? = 0
  228. configure:6342: result: yes
  229. configure:6342: checking for string.h
  230. configure:6342: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  231. configure:6342: $? = 0
  232. configure:6342: result: yes
  233. configure:6342: checking for memory.h
  234. configure:6342: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  235. configure:6342: $? = 0
  236. configure:6342: result: yes
  237. configure:6342: checking for strings.h
  238. configure:6342: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  239. configure:6342: $? = 0
  240. configure:6342: result: yes
  241. configure:6342: checking for inttypes.h
  242. configure:6342: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  243. configure:6342: $? = 0
  244. configure:6342: result: yes
  245. configure:6342: checking for stdint.h
  246. configure:6342: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  247. configure:6342: $? = 0
  248. configure:6342: result: yes
  249. configure:6342: checking for unistd.h
  250. configure:6342: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  251. configure:6342: $? = 0
  252. configure:6342: result: yes
  253. configure:6355: checking minix/config.h usability
  254. configure:6355: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  255. conftest.c:52:10: fatal error: minix/config.h: No such file or directory
  256. #include <minix/config.h>
  257. ^~~~~~~~~~~~~~~~
  258. compilation terminated.
  259. configure:6355: $? = 1
  260. configure: failed program was:
  261. | /* confdefs.h */
  262. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  263. | #define PACKAGE_TARNAME "ghc-8.7"
  264. | #define PACKAGE_VERSION "8.7"
  265. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  266. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  267. | #define PACKAGE_URL ""
  268. | #define STDC_HEADERS 1
  269. | #define HAVE_SYS_TYPES_H 1
  270. | #define HAVE_SYS_STAT_H 1
  271. | #define HAVE_STDLIB_H 1
  272. | #define HAVE_STRING_H 1
  273. | #define HAVE_MEMORY_H 1
  274. | #define HAVE_STRINGS_H 1
  275. | #define HAVE_INTTYPES_H 1
  276. | #define HAVE_STDINT_H 1
  277. | #define HAVE_UNISTD_H 1
  278. | /* end confdefs.h. */
  279. | #include <stdio.h>
  280. | #ifdef HAVE_SYS_TYPES_H
  281. | # include <sys/types.h>
  282. | #endif
  283. | #ifdef HAVE_SYS_STAT_H
  284. | # include <sys/stat.h>
  285. | #endif
  286. | #ifdef STDC_HEADERS
  287. | # include <stdlib.h>
  288. | # include <stddef.h>
  289. | #else
  290. | # ifdef HAVE_STDLIB_H
  291. | # include <stdlib.h>
  292. | # endif
  293. | #endif
  294. | #ifdef HAVE_STRING_H
  295. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  296. | # include <memory.h>
  297. | # endif
  298. | # include <string.h>
  299. | #endif
  300. | #ifdef HAVE_STRINGS_H
  301. | # include <strings.h>
  302. | #endif
  303. | #ifdef HAVE_INTTYPES_H
  304. | # include <inttypes.h>
  305. | #endif
  306. | #ifdef HAVE_STDINT_H
  307. | # include <stdint.h>
  308. | #endif
  309. | #ifdef HAVE_UNISTD_H
  310. | # include <unistd.h>
  311. | #endif
  312. | #include <minix/config.h>
  313. configure:6355: result: no
  314. configure:6355: checking minix/config.h presence
  315. configure:6355: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  316. conftest.c:19:10: fatal error: minix/config.h: No such file or directory
  317. #include <minix/config.h>
  318. ^~~~~~~~~~~~~~~~
  319. compilation terminated.
  320. configure:6355: $? = 1
  321. configure: failed program was:
  322. | /* confdefs.h */
  323. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  324. | #define PACKAGE_TARNAME "ghc-8.7"
  325. | #define PACKAGE_VERSION "8.7"
  326. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  327. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  328. | #define PACKAGE_URL ""
  329. | #define STDC_HEADERS 1
  330. | #define HAVE_SYS_TYPES_H 1
  331. | #define HAVE_SYS_STAT_H 1
  332. | #define HAVE_STDLIB_H 1
  333. | #define HAVE_STRING_H 1
  334. | #define HAVE_MEMORY_H 1
  335. | #define HAVE_STRINGS_H 1
  336. | #define HAVE_INTTYPES_H 1
  337. | #define HAVE_STDINT_H 1
  338. | #define HAVE_UNISTD_H 1
  339. | /* end confdefs.h. */
  340. | #include <minix/config.h>
  341. configure:6355: result: no
  342. configure:6355: checking for minix/config.h
  343. configure:6355: result: no
  344. configure:6376: checking whether it is safe to define __EXTENSIONS__
  345. configure:6394: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  346. configure:6394: $? = 0
  347. configure:6401: result: yes
  348. configure:6421: checking how to run the C preprocessor
  349. configure:6491: result: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E
  350. configure:6511: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  351. configure:6511: $? = 0
  352. configure:6525: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  353. conftest.c:24:10: fatal error: ac_nonexistent.h: No such file or directory
  354. #include <ac_nonexistent.h>
  355. ^~~~~~~~~~~~~~~~~~
  356. compilation terminated.
  357. configure:6525: $? = 1
  358. configure: failed program was:
  359. | /* confdefs.h */
  360. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  361. | #define PACKAGE_TARNAME "ghc-8.7"
  362. | #define PACKAGE_VERSION "8.7"
  363. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  364. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  365. | #define PACKAGE_URL ""
  366. | #define STDC_HEADERS 1
  367. | #define HAVE_SYS_TYPES_H 1
  368. | #define HAVE_SYS_STAT_H 1
  369. | #define HAVE_STDLIB_H 1
  370. | #define HAVE_STRING_H 1
  371. | #define HAVE_MEMORY_H 1
  372. | #define HAVE_STRINGS_H 1
  373. | #define HAVE_INTTYPES_H 1
  374. | #define HAVE_STDINT_H 1
  375. | #define HAVE_UNISTD_H 1
  376. | #define __EXTENSIONS__ 1
  377. | #define _ALL_SOURCE 1
  378. | #define _GNU_SOURCE 1
  379. | #define _POSIX_PTHREAD_SEMANTICS 1
  380. | #define _TANDEM_SOURCE 1
  381. | /* end confdefs.h. */
  382. | #include <ac_nonexistent.h>
  383. configure:6667: checking for /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc option to accept ISO C99
  384. configure:6816: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  385. configure:6816: $? = 0
  386. configure:6829: result: none needed
  387. configure:6868: checking for /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc option to accept ISO C99
  388. configure:7017: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c conftest.c >&5
  389. configure:7017: $? = 0
  390. configure:7030: result: none needed
  391. configure:7069: checking for /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc option to accept ISO C99
  392. configure:7218: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c conftest.c >&5
  393. configure:7218: $? = 0
  394. configure:7231: result: none needed
  395. configure:7270: checking for /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc option to accept ISO C99
  396. configure:7419: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c conftest.c >&5
  397. configure:7419: $? = 0
  398. configure:7432: result: none needed
  399. configure:7477: checking for aarch64-unknown-linux-gnu-ld
  400. configure:7504: result: ld
  401. configure:8137: checking whether ld is GNU ld
  402. configure:8148: result: YES
  403. configure:8154: checking whether ld understands --build-id
  404. configure:8168: result: yes
  405. configure:8178: checking whether ld understands -no_compact_unwind
  406. configure:8192: result: yes
  407. configure:8202: checking whether ld understands -filelist
  408. configure:8223: result: no
  409. configure:8236: checking for aarch64-unknown-linux-gnu-nm
  410. configure:8263: result: nm
  411. configure:8448: checking for aarch64-unknown-linux-gnu-ranlib
  412. configure:8475: result: ranlib
  413. configure:8545: checking for aarch64-unknown-linux-gnu-strip
  414. configure:8572: result: strip
  415. configure:8680: checking for aarch64-unknown-linux-gnu-libtool
  416. configure:8710: result: no
  417. configure:8781: checking for aarch64-unknown-linux-gnu-clang
  418. configure:8811: result: no
  419. configure:8873: checking for aarch64-unknown-linux-gnu-llc-7.0
  420. configure:8903: result: no
  421. configure:8873: checking for aarch64-unknown-linux-gnu-llc
  422. configure:8903: result: no
  423. configure:8917: checking for llc-7.0
  424. configure:8947: result: no
  425. configure:8917: checking for llc
  426. configure:8933: found /home/alp/WT/ghc2/result/bin/llc
  427. configure:8944: result: llc
  428. configure:8960: WARNING: using cross tools not prefixed with host triplet
  429. configure:8969: checking llc is version 7.0
  430. configure:8972: result: yes
  431. configure:8993: checking for aarch64-unknown-linux-gnu-opt-7.0
  432. configure:9023: result: no
  433. configure:8993: checking for aarch64-unknown-linux-gnu-opt
  434. configure:9023: result: no
  435. configure:9037: checking for opt-7.0
  436. configure:9067: result: no
  437. configure:9037: checking for opt
  438. configure:9053: found /home/alp/WT/ghc2/result/bin/opt
  439. configure:9064: result: opt
  440. configure:9089: checking opt is version 7.0
  441. configure:9092: result: yes
  442. configure:9107: Creating links for in-tree file handling routines.
  443. configure:9114: Routines in place. Packages can now be build normally.
  444. configure:9126: checking whether #! works in shell scripts
  445. configure:9143: result: yes
  446. configure:9206: checking for perl
  447. configure:9224: found /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/perl
  448. configure:9236: result: /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/perl
  449. configure:9269: checking version of gcc
  450. configure:9326: result: 7.3.0
  451. configure:9335: checking whether GCC supports -no-pie
  452. configure:9341: result: yes
  453. configure:9353: checking whether GCC supports __atomic_ builtins
  454. configure:9358: result: yes
  455. configure:9372: checking for extra options to pass gcc when compiling via C
  456. configure:9426: result: -fwrapv -fno-builtin
  457. configure:9433: checking whether C compiler is clang
  458. configure:9445: result: no
  459. configure:9447: checking whether C compiler has an LLVM back end
  460. configure:9461: result: no
  461. configure:9471: checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS
  462. configure:9550: result: done
  463. configure:9554: checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0
  464. configure:9633: result: done
  465. configure:9637: checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1
  466. configure:9716: result: done
  467. configure:9720: checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2
  468. configure:9799: result: done
  469. configure:10090: checking for .subsections_via_symbols
  470. configure:10103: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  471. conftest.c: Assembler messages:
  472. conftest.c:30: Error: unknown pseudo-op: `.subsections_via_symbols'
  473. configure:10103: $? = 1
  474. configure: failed program was:
  475. | /* confdefs.h */
  476. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  477. | #define PACKAGE_TARNAME "ghc-8.7"
  478. | #define PACKAGE_VERSION "8.7"
  479. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  480. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  481. | #define PACKAGE_URL ""
  482. | #define STDC_HEADERS 1
  483. | #define HAVE_SYS_TYPES_H 1
  484. | #define HAVE_SYS_STAT_H 1
  485. | #define HAVE_STDLIB_H 1
  486. | #define HAVE_STRING_H 1
  487. | #define HAVE_MEMORY_H 1
  488. | #define HAVE_STRINGS_H 1
  489. | #define HAVE_INTTYPES_H 1
  490. | #define HAVE_STDINT_H 1
  491. | #define HAVE_UNISTD_H 1
  492. | #define __EXTENSIONS__ 1
  493. | #define _ALL_SOURCE 1
  494. | #define _GNU_SOURCE 1
  495. | #define _POSIX_PTHREAD_SEMANTICS 1
  496. | #define _TANDEM_SOURCE 1
  497. | #define sUPPORTED_LLVM_VERSION (7,0)
  498. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  499. | /* end confdefs.h. */
  500. |
  501. | int
  502. | main ()
  503. | {
  504. | __asm__ (".subsections_via_symbols");
  505. | ;
  506. | return 0;
  507. | }
  508. configure:10113: result: no
  509. configure:10119: checking whether your assembler supports .ident directive
  510. configure:10125: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  511. configure:10125: $? = 0
  512. configure:10126: result: yes
  513. configure:10147: checking for GNU non-executable stack support
  514. configure:10160: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  515. configure:10160: $? = 0
  516. configure:10161: result: yes
  517. configure:10191: checking for a working context diff
  518. configure:10207: result: diff -U 1
  519. configure:10231: checking for a BSD-compatible install
  520. configure:10299: result: /nix/store/dm20hrdk6s4jzfmk1197p2nya0p8fy3a-coreutils-8.29/bin/install -c
  521. configure:10360: checking for aarch64-unknown-linux-gnu-ar
  522. configure:10376: found /home/alp/WT/ghc2/result/bin/aarch64-unknown-linux-gnu-ar
  523. configure:10387: result: aarch64-unknown-linux-gnu-ar
  524. configure:10449: checking whether aarch64-unknown-linux-gnu-ar is GNU ar
  525. configure:10460: result: yes
  526. configure:10467: checking for ar arguments
  527. configure:10497: result: q
  528. configure:10508: checking whether aarch64-unknown-linux-gnu-ar supports @file
  529. configure:10528: result: yes
  530. configure:10542: checking for aarch64-unknown-linux-gnu-ranlib
  531. configure:10569: result: ranlib
  532. configure:10670: checking whether ln -s works
  533. configure:10674: result: yes
  534. configure:10782: checking for gsed
  535. configure:10815: result: no
  536. configure:10782: checking for sed
  537. configure:10800: found /nix/store/s3jpqbw2y0hvwh3nl4063v5c763parg0-gnused-4.5/bin/sed
  538. configure:10812: result: /nix/store/s3jpqbw2y0hvwh3nl4063v5c763parg0-gnused-4.5/bin/sed
  539. configure:10828: checking for time
  540. configure:10846: found /run/current-system/sw/bin/time
  541. configure:10858: result: /run/current-system/sw/bin/time
  542. configure:10871: checking for gnutar
  543. configure:10904: result: no
  544. configure:10871: checking for gtar
  545. configure:10904: result: no
  546. configure:10871: checking for tar
  547. configure:10889: found /nix/store/z5r5s8ccp7hlxkmaijhdikppcawa6d0p-gnutar-1.30/bin/tar
  548. configure:10901: result: /nix/store/z5r5s8ccp7hlxkmaijhdikppcawa6d0p-gnutar-1.30/bin/tar
  549. configure:10918: checking for bzip2
  550. configure:10936: found /nix/store/5rd9qb6jkzkgd18dm1b379m8439cszac-bzip2-1.0.6.0.1-bin/bin/bzip2
  551. configure:10948: result: /nix/store/5rd9qb6jkzkgd18dm1b379m8439cszac-bzip2-1.0.6.0.1-bin/bin/bzip2
  552. configure:10964: checking for gzip
  553. configure:10982: found /nix/store/zrzqgdm6jxihsban195vrlcskmx9m4zc-gzip-1.9/bin/gzip
  554. configure:10994: result: /nix/store/zrzqgdm6jxihsban195vrlcskmx9m4zc-gzip-1.9/bin/gzip
  555. configure:11010: checking for pxz
  556. configure:11043: result: no
  557. configure:11010: checking for xz
  558. configure:11028: found /nix/store/bgv7sypfxl64bdy76l055nghmds8ndgl-xz-5.2.4-bin/bin/xz
  559. configure:11040: result: /nix/store/bgv7sypfxl64bdy76l055nghmds8ndgl-xz-5.2.4-bin/bin/xz
  560. configure:11057: checking for gpatch
  561. configure:11090: result: no
  562. configure:11057: checking for patch
  563. configure:11075: found /nix/store/vcin3m0v7d9ph55468jp5zy9v4k4ba9a-patch-2.7.6/bin/patch
  564. configure:11087: result: /nix/store/vcin3m0v7d9ph55468jp5zy9v4k4ba9a-patch-2.7.6/bin/patch
  565. configure:11113: checking for dtrace
  566. configure:11146: result: no
  567. configure:11164: checking for HsColour
  568. configure:11197: result: no
  569. configure:11213: checking for sphinx-build
  570. configure:11231: found /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/sphinx-build
  571. configure:11243: result: /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/sphinx-build
  572. configure:11251: checking for version of sphinx-build
  573. configure:11261: result: 1.7.8
  574. configure:11290: checking for xelatex
  575. configure:11308: found /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/xelatex
  576. configure:11320: result: /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/xelatex
  577. configure:11329: checking for ghc-pkg matching /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/ghc
  578. configure:11347: result: /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/ghc-pkg
  579. configure:11357: checking for happy
  580. configure:11375: found /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/happy
  581. configure:11387: result: /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/happy
  582. configure:11397: checking for version of happy
  583. configure:11411: result: 1.19.9
  584. configure:11447: checking for alex
  585. configure:11465: found /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/alex
  586. configure:11477: result: /nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/alex
  587. configure:11487: checking for version of alex
  588. configure:11500: result: 3.2.4
  589. configure:11531: checking for ANSI C header files
  590. configure:11635: result: yes
  591. configure:11651: checking for special C compiler options needed for large files
  592. configure:11696: result: no
  593. configure:11702: checking for _FILE_OFFSET_BITS value needed for large files
  594. configure:11727: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  595. configure:11727: $? = 0
  596. configure:11759: result: no
  597. configure:11848: checking ctype.h usability
  598. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  599. configure:11848: $? = 0
  600. configure:11848: result: yes
  601. configure:11848: checking ctype.h presence
  602. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  603. configure:11848: $? = 0
  604. configure:11848: result: yes
  605. configure:11848: checking for ctype.h
  606. configure:11848: result: yes
  607. configure:11848: checking dirent.h usability
  608. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  609. configure:11848: $? = 0
  610. configure:11848: result: yes
  611. configure:11848: checking dirent.h presence
  612. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  613. configure:11848: $? = 0
  614. configure:11848: result: yes
  615. configure:11848: checking for dirent.h
  616. configure:11848: result: yes
  617. configure:11848: checking dlfcn.h usability
  618. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  619. configure:11848: $? = 0
  620. configure:11848: result: yes
  621. configure:11848: checking dlfcn.h presence
  622. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  623. configure:11848: $? = 0
  624. configure:11848: result: yes
  625. configure:11848: checking for dlfcn.h
  626. configure:11848: result: yes
  627. configure:11848: checking errno.h usability
  628. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  629. configure:11848: $? = 0
  630. configure:11848: result: yes
  631. configure:11848: checking errno.h presence
  632. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  633. configure:11848: $? = 0
  634. configure:11848: result: yes
  635. configure:11848: checking for errno.h
  636. configure:11848: result: yes
  637. configure:11848: checking fcntl.h usability
  638. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  639. configure:11848: $? = 0
  640. configure:11848: result: yes
  641. configure:11848: checking fcntl.h presence
  642. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  643. configure:11848: $? = 0
  644. configure:11848: result: yes
  645. configure:11848: checking for fcntl.h
  646. configure:11848: result: yes
  647. configure:11848: checking grp.h usability
  648. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  649. configure:11848: $? = 0
  650. configure:11848: result: yes
  651. configure:11848: checking grp.h presence
  652. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  653. configure:11848: $? = 0
  654. configure:11848: result: yes
  655. configure:11848: checking for grp.h
  656. configure:11848: result: yes
  657. configure:11848: checking limits.h usability
  658. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  659. configure:11848: $? = 0
  660. configure:11848: result: yes
  661. configure:11848: checking limits.h presence
  662. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  663. configure:11848: $? = 0
  664. configure:11848: result: yes
  665. configure:11848: checking for limits.h
  666. configure:11848: result: yes
  667. configure:11848: checking locale.h usability
  668. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  669. configure:11848: $? = 0
  670. configure:11848: result: yes
  671. configure:11848: checking locale.h presence
  672. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  673. configure:11848: $? = 0
  674. configure:11848: result: yes
  675. configure:11848: checking for locale.h
  676. configure:11848: result: yes
  677. configure:11848: checking nlist.h usability
  678. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  679. configure:11848: $? = 0
  680. configure:11848: result: yes
  681. configure:11848: checking nlist.h presence
  682. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  683. configure:11848: $? = 0
  684. configure:11848: result: yes
  685. configure:11848: checking for nlist.h
  686. configure:11848: result: yes
  687. configure:11848: checking pthread.h usability
  688. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  689. configure:11848: $? = 0
  690. configure:11848: result: yes
  691. configure:11848: checking pthread.h presence
  692. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  693. configure:11848: $? = 0
  694. configure:11848: result: yes
  695. configure:11848: checking for pthread.h
  696. configure:11848: result: yes
  697. configure:11848: checking pwd.h usability
  698. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  699. configure:11848: $? = 0
  700. configure:11848: result: yes
  701. configure:11848: checking pwd.h presence
  702. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  703. configure:11848: $? = 0
  704. configure:11848: result: yes
  705. configure:11848: checking for pwd.h
  706. configure:11848: result: yes
  707. configure:11848: checking signal.h usability
  708. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  709. configure:11848: $? = 0
  710. configure:11848: result: yes
  711. configure:11848: checking signal.h presence
  712. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  713. configure:11848: $? = 0
  714. configure:11848: result: yes
  715. configure:11848: checking for signal.h
  716. configure:11848: result: yes
  717. configure:11848: checking sys/param.h usability
  718. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  719. configure:11848: $? = 0
  720. configure:11848: result: yes
  721. configure:11848: checking sys/param.h presence
  722. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  723. configure:11848: $? = 0
  724. configure:11848: result: yes
  725. configure:11848: checking for sys/param.h
  726. configure:11848: result: yes
  727. configure:11848: checking sys/mman.h usability
  728. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  729. configure:11848: $? = 0
  730. configure:11848: result: yes
  731. configure:11848: checking sys/mman.h presence
  732. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  733. configure:11848: $? = 0
  734. configure:11848: result: yes
  735. configure:11848: checking for sys/mman.h
  736. configure:11848: result: yes
  737. configure:11848: checking sys/resource.h usability
  738. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  739. configure:11848: $? = 0
  740. configure:11848: result: yes
  741. configure:11848: checking sys/resource.h presence
  742. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  743. configure:11848: $? = 0
  744. configure:11848: result: yes
  745. configure:11848: checking for sys/resource.h
  746. configure:11848: result: yes
  747. configure:11848: checking sys/select.h usability
  748. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  749. configure:11848: $? = 0
  750. configure:11848: result: yes
  751. configure:11848: checking sys/select.h presence
  752. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  753. configure:11848: $? = 0
  754. configure:11848: result: yes
  755. configure:11848: checking for sys/select.h
  756. configure:11848: result: yes
  757. configure:11848: checking sys/time.h usability
  758. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  759. configure:11848: $? = 0
  760. configure:11848: result: yes
  761. configure:11848: checking sys/time.h presence
  762. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  763. configure:11848: $? = 0
  764. configure:11848: result: yes
  765. configure:11848: checking for sys/time.h
  766. configure:11848: result: yes
  767. configure:11848: checking sys/timeb.h usability
  768. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  769. configure:11848: $? = 0
  770. configure:11848: result: yes
  771. configure:11848: checking sys/timeb.h presence
  772. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  773. configure:11848: $? = 0
  774. configure:11848: result: yes
  775. configure:11848: checking for sys/timeb.h
  776. configure:11848: result: yes
  777. configure:11848: checking sys/timerfd.h usability
  778. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  779. configure:11848: $? = 0
  780. configure:11848: result: yes
  781. configure:11848: checking sys/timerfd.h presence
  782. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  783. configure:11848: $? = 0
  784. configure:11848: result: yes
  785. configure:11848: checking for sys/timerfd.h
  786. configure:11848: result: yes
  787. configure:11848: checking sys/timers.h usability
  788. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  789. conftest.c:79:10: fatal error: sys/timers.h: No such file or directory
  790. #include <sys/timers.h>
  791. ^~~~~~~~~~~~~~
  792. compilation terminated.
  793. configure:11848: $? = 1
  794. configure: failed program was:
  795. | /* confdefs.h */
  796. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  797. | #define PACKAGE_TARNAME "ghc-8.7"
  798. | #define PACKAGE_VERSION "8.7"
  799. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  800. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  801. | #define PACKAGE_URL ""
  802. | #define STDC_HEADERS 1
  803. | #define HAVE_SYS_TYPES_H 1
  804. | #define HAVE_SYS_STAT_H 1
  805. | #define HAVE_STDLIB_H 1
  806. | #define HAVE_STRING_H 1
  807. | #define HAVE_MEMORY_H 1
  808. | #define HAVE_STRINGS_H 1
  809. | #define HAVE_INTTYPES_H 1
  810. | #define HAVE_STDINT_H 1
  811. | #define HAVE_UNISTD_H 1
  812. | #define __EXTENSIONS__ 1
  813. | #define _ALL_SOURCE 1
  814. | #define _GNU_SOURCE 1
  815. | #define _POSIX_PTHREAD_SEMANTICS 1
  816. | #define _TANDEM_SOURCE 1
  817. | #define sUPPORTED_LLVM_VERSION (7,0)
  818. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  819. | #define STDC_HEADERS 1
  820. | #define HAVE_CTYPE_H 1
  821. | #define HAVE_DIRENT_H 1
  822. | #define HAVE_DLFCN_H 1
  823. | #define HAVE_ERRNO_H 1
  824. | #define HAVE_FCNTL_H 1
  825. | #define HAVE_GRP_H 1
  826. | #define HAVE_LIMITS_H 1
  827. | #define HAVE_LOCALE_H 1
  828. | #define HAVE_NLIST_H 1
  829. | #define HAVE_PTHREAD_H 1
  830. | #define HAVE_PWD_H 1
  831. | #define HAVE_SIGNAL_H 1
  832. | #define HAVE_SYS_PARAM_H 1
  833. | #define HAVE_SYS_MMAN_H 1
  834. | #define HAVE_SYS_RESOURCE_H 1
  835. | #define HAVE_SYS_SELECT_H 1
  836. | #define HAVE_SYS_TIME_H 1
  837. | #define HAVE_SYS_TIMEB_H 1
  838. | #define HAVE_SYS_TIMERFD_H 1
  839. | /* end confdefs.h. */
  840. | #include <stdio.h>
  841. | #ifdef HAVE_SYS_TYPES_H
  842. | # include <sys/types.h>
  843. | #endif
  844. | #ifdef HAVE_SYS_STAT_H
  845. | # include <sys/stat.h>
  846. | #endif
  847. | #ifdef STDC_HEADERS
  848. | # include <stdlib.h>
  849. | # include <stddef.h>
  850. | #else
  851. | # ifdef HAVE_STDLIB_H
  852. | # include <stdlib.h>
  853. | # endif
  854. | #endif
  855. | #ifdef HAVE_STRING_H
  856. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  857. | # include <memory.h>
  858. | # endif
  859. | # include <string.h>
  860. | #endif
  861. | #ifdef HAVE_STRINGS_H
  862. | # include <strings.h>
  863. | #endif
  864. | #ifdef HAVE_INTTYPES_H
  865. | # include <inttypes.h>
  866. | #endif
  867. | #ifdef HAVE_STDINT_H
  868. | # include <stdint.h>
  869. | #endif
  870. | #ifdef HAVE_UNISTD_H
  871. | # include <unistd.h>
  872. | #endif
  873. | #include <sys/timers.h>
  874. configure:11848: result: no
  875. configure:11848: checking sys/timers.h presence
  876. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  877. conftest.c:46:10: fatal error: sys/timers.h: No such file or directory
  878. #include <sys/timers.h>
  879. ^~~~~~~~~~~~~~
  880. compilation terminated.
  881. configure:11848: $? = 1
  882. configure: failed program was:
  883. | /* confdefs.h */
  884. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  885. | #define PACKAGE_TARNAME "ghc-8.7"
  886. | #define PACKAGE_VERSION "8.7"
  887. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  888. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  889. | #define PACKAGE_URL ""
  890. | #define STDC_HEADERS 1
  891. | #define HAVE_SYS_TYPES_H 1
  892. | #define HAVE_SYS_STAT_H 1
  893. | #define HAVE_STDLIB_H 1
  894. | #define HAVE_STRING_H 1
  895. | #define HAVE_MEMORY_H 1
  896. | #define HAVE_STRINGS_H 1
  897. | #define HAVE_INTTYPES_H 1
  898. | #define HAVE_STDINT_H 1
  899. | #define HAVE_UNISTD_H 1
  900. | #define __EXTENSIONS__ 1
  901. | #define _ALL_SOURCE 1
  902. | #define _GNU_SOURCE 1
  903. | #define _POSIX_PTHREAD_SEMANTICS 1
  904. | #define _TANDEM_SOURCE 1
  905. | #define sUPPORTED_LLVM_VERSION (7,0)
  906. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  907. | #define STDC_HEADERS 1
  908. | #define HAVE_CTYPE_H 1
  909. | #define HAVE_DIRENT_H 1
  910. | #define HAVE_DLFCN_H 1
  911. | #define HAVE_ERRNO_H 1
  912. | #define HAVE_FCNTL_H 1
  913. | #define HAVE_GRP_H 1
  914. | #define HAVE_LIMITS_H 1
  915. | #define HAVE_LOCALE_H 1
  916. | #define HAVE_NLIST_H 1
  917. | #define HAVE_PTHREAD_H 1
  918. | #define HAVE_PWD_H 1
  919. | #define HAVE_SIGNAL_H 1
  920. | #define HAVE_SYS_PARAM_H 1
  921. | #define HAVE_SYS_MMAN_H 1
  922. | #define HAVE_SYS_RESOURCE_H 1
  923. | #define HAVE_SYS_SELECT_H 1
  924. | #define HAVE_SYS_TIME_H 1
  925. | #define HAVE_SYS_TIMEB_H 1
  926. | #define HAVE_SYS_TIMERFD_H 1
  927. | /* end confdefs.h. */
  928. | #include <sys/timers.h>
  929. configure:11848: result: no
  930. configure:11848: checking for sys/timers.h
  931. configure:11848: result: no
  932. configure:11848: checking sys/times.h usability
  933. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  934. configure:11848: $? = 0
  935. configure:11848: result: yes
  936. configure:11848: checking sys/times.h presence
  937. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  938. configure:11848: $? = 0
  939. configure:11848: result: yes
  940. configure:11848: checking for sys/times.h
  941. configure:11848: result: yes
  942. configure:11848: checking sys/utsname.h usability
  943. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  944. configure:11848: $? = 0
  945. configure:11848: result: yes
  946. configure:11848: checking sys/utsname.h presence
  947. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  948. configure:11848: $? = 0
  949. configure:11848: result: yes
  950. configure:11848: checking for sys/utsname.h
  951. configure:11848: result: yes
  952. configure:11848: checking sys/wait.h usability
  953. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  954. configure:11848: $? = 0
  955. configure:11848: result: yes
  956. configure:11848: checking sys/wait.h presence
  957. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  958. configure:11848: $? = 0
  959. configure:11848: result: yes
  960. configure:11848: checking for sys/wait.h
  961. configure:11848: result: yes
  962. configure:11848: checking termios.h usability
  963. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  964. configure:11848: $? = 0
  965. configure:11848: result: yes
  966. configure:11848: checking termios.h presence
  967. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  968. configure:11848: $? = 0
  969. configure:11848: result: yes
  970. configure:11848: checking for termios.h
  971. configure:11848: result: yes
  972. configure:11848: checking time.h usability
  973. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  974. configure:11848: $? = 0
  975. configure:11848: result: yes
  976. configure:11848: checking time.h presence
  977. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  978. configure:11848: $? = 0
  979. configure:11848: result: yes
  980. configure:11848: checking for time.h
  981. configure:11848: result: yes
  982. configure:11848: checking utime.h usability
  983. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  984. configure:11848: $? = 0
  985. configure:11848: result: yes
  986. configure:11848: checking utime.h presence
  987. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  988. configure:11848: $? = 0
  989. configure:11848: result: yes
  990. configure:11848: checking for utime.h
  991. configure:11848: result: yes
  992. configure:11848: checking windows.h usability
  993. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  994. conftest.c:85:10: fatal error: windows.h: No such file or directory
  995. #include <windows.h>
  996. ^~~~~~~~~~~
  997. compilation terminated.
  998. configure:11848: $? = 1
  999. configure: failed program was:
  1000. | /* confdefs.h */
  1001. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1002. | #define PACKAGE_TARNAME "ghc-8.7"
  1003. | #define PACKAGE_VERSION "8.7"
  1004. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1005. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1006. | #define PACKAGE_URL ""
  1007. | #define STDC_HEADERS 1
  1008. | #define HAVE_SYS_TYPES_H 1
  1009. | #define HAVE_SYS_STAT_H 1
  1010. | #define HAVE_STDLIB_H 1
  1011. | #define HAVE_STRING_H 1
  1012. | #define HAVE_MEMORY_H 1
  1013. | #define HAVE_STRINGS_H 1
  1014. | #define HAVE_INTTYPES_H 1
  1015. | #define HAVE_STDINT_H 1
  1016. | #define HAVE_UNISTD_H 1
  1017. | #define __EXTENSIONS__ 1
  1018. | #define _ALL_SOURCE 1
  1019. | #define _GNU_SOURCE 1
  1020. | #define _POSIX_PTHREAD_SEMANTICS 1
  1021. | #define _TANDEM_SOURCE 1
  1022. | #define sUPPORTED_LLVM_VERSION (7,0)
  1023. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1024. | #define STDC_HEADERS 1
  1025. | #define HAVE_CTYPE_H 1
  1026. | #define HAVE_DIRENT_H 1
  1027. | #define HAVE_DLFCN_H 1
  1028. | #define HAVE_ERRNO_H 1
  1029. | #define HAVE_FCNTL_H 1
  1030. | #define HAVE_GRP_H 1
  1031. | #define HAVE_LIMITS_H 1
  1032. | #define HAVE_LOCALE_H 1
  1033. | #define HAVE_NLIST_H 1
  1034. | #define HAVE_PTHREAD_H 1
  1035. | #define HAVE_PWD_H 1
  1036. | #define HAVE_SIGNAL_H 1
  1037. | #define HAVE_SYS_PARAM_H 1
  1038. | #define HAVE_SYS_MMAN_H 1
  1039. | #define HAVE_SYS_RESOURCE_H 1
  1040. | #define HAVE_SYS_SELECT_H 1
  1041. | #define HAVE_SYS_TIME_H 1
  1042. | #define HAVE_SYS_TIMEB_H 1
  1043. | #define HAVE_SYS_TIMERFD_H 1
  1044. | #define HAVE_SYS_TIMES_H 1
  1045. | #define HAVE_SYS_UTSNAME_H 1
  1046. | #define HAVE_SYS_WAIT_H 1
  1047. | #define HAVE_TERMIOS_H 1
  1048. | #define HAVE_TIME_H 1
  1049. | #define HAVE_UTIME_H 1
  1050. | /* end confdefs.h. */
  1051. | #include <stdio.h>
  1052. | #ifdef HAVE_SYS_TYPES_H
  1053. | # include <sys/types.h>
  1054. | #endif
  1055. | #ifdef HAVE_SYS_STAT_H
  1056. | # include <sys/stat.h>
  1057. | #endif
  1058. | #ifdef STDC_HEADERS
  1059. | # include <stdlib.h>
  1060. | # include <stddef.h>
  1061. | #else
  1062. | # ifdef HAVE_STDLIB_H
  1063. | # include <stdlib.h>
  1064. | # endif
  1065. | #endif
  1066. | #ifdef HAVE_STRING_H
  1067. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1068. | # include <memory.h>
  1069. | # endif
  1070. | # include <string.h>
  1071. | #endif
  1072. | #ifdef HAVE_STRINGS_H
  1073. | # include <strings.h>
  1074. | #endif
  1075. | #ifdef HAVE_INTTYPES_H
  1076. | # include <inttypes.h>
  1077. | #endif
  1078. | #ifdef HAVE_STDINT_H
  1079. | # include <stdint.h>
  1080. | #endif
  1081. | #ifdef HAVE_UNISTD_H
  1082. | # include <unistd.h>
  1083. | #endif
  1084. | #include <windows.h>
  1085. configure:11848: result: no
  1086. configure:11848: checking windows.h presence
  1087. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  1088. conftest.c:52:10: fatal error: windows.h: No such file or directory
  1089. #include <windows.h>
  1090. ^~~~~~~~~~~
  1091. compilation terminated.
  1092. configure:11848: $? = 1
  1093. configure: failed program was:
  1094. | /* confdefs.h */
  1095. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1096. | #define PACKAGE_TARNAME "ghc-8.7"
  1097. | #define PACKAGE_VERSION "8.7"
  1098. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1099. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1100. | #define PACKAGE_URL ""
  1101. | #define STDC_HEADERS 1
  1102. | #define HAVE_SYS_TYPES_H 1
  1103. | #define HAVE_SYS_STAT_H 1
  1104. | #define HAVE_STDLIB_H 1
  1105. | #define HAVE_STRING_H 1
  1106. | #define HAVE_MEMORY_H 1
  1107. | #define HAVE_STRINGS_H 1
  1108. | #define HAVE_INTTYPES_H 1
  1109. | #define HAVE_STDINT_H 1
  1110. | #define HAVE_UNISTD_H 1
  1111. | #define __EXTENSIONS__ 1
  1112. | #define _ALL_SOURCE 1
  1113. | #define _GNU_SOURCE 1
  1114. | #define _POSIX_PTHREAD_SEMANTICS 1
  1115. | #define _TANDEM_SOURCE 1
  1116. | #define sUPPORTED_LLVM_VERSION (7,0)
  1117. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1118. | #define STDC_HEADERS 1
  1119. | #define HAVE_CTYPE_H 1
  1120. | #define HAVE_DIRENT_H 1
  1121. | #define HAVE_DLFCN_H 1
  1122. | #define HAVE_ERRNO_H 1
  1123. | #define HAVE_FCNTL_H 1
  1124. | #define HAVE_GRP_H 1
  1125. | #define HAVE_LIMITS_H 1
  1126. | #define HAVE_LOCALE_H 1
  1127. | #define HAVE_NLIST_H 1
  1128. | #define HAVE_PTHREAD_H 1
  1129. | #define HAVE_PWD_H 1
  1130. | #define HAVE_SIGNAL_H 1
  1131. | #define HAVE_SYS_PARAM_H 1
  1132. | #define HAVE_SYS_MMAN_H 1
  1133. | #define HAVE_SYS_RESOURCE_H 1
  1134. | #define HAVE_SYS_SELECT_H 1
  1135. | #define HAVE_SYS_TIME_H 1
  1136. | #define HAVE_SYS_TIMEB_H 1
  1137. | #define HAVE_SYS_TIMERFD_H 1
  1138. | #define HAVE_SYS_TIMES_H 1
  1139. | #define HAVE_SYS_UTSNAME_H 1
  1140. | #define HAVE_SYS_WAIT_H 1
  1141. | #define HAVE_TERMIOS_H 1
  1142. | #define HAVE_TIME_H 1
  1143. | #define HAVE_UTIME_H 1
  1144. | /* end confdefs.h. */
  1145. | #include <windows.h>
  1146. configure:11848: result: no
  1147. configure:11848: checking for windows.h
  1148. configure:11848: result: no
  1149. configure:11848: checking winsock.h usability
  1150. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1151. conftest.c:85:10: fatal error: winsock.h: No such file or directory
  1152. #include <winsock.h>
  1153. ^~~~~~~~~~~
  1154. compilation terminated.
  1155. configure:11848: $? = 1
  1156. configure: failed program was:
  1157. | /* confdefs.h */
  1158. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1159. | #define PACKAGE_TARNAME "ghc-8.7"
  1160. | #define PACKAGE_VERSION "8.7"
  1161. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1162. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1163. | #define PACKAGE_URL ""
  1164. | #define STDC_HEADERS 1
  1165. | #define HAVE_SYS_TYPES_H 1
  1166. | #define HAVE_SYS_STAT_H 1
  1167. | #define HAVE_STDLIB_H 1
  1168. | #define HAVE_STRING_H 1
  1169. | #define HAVE_MEMORY_H 1
  1170. | #define HAVE_STRINGS_H 1
  1171. | #define HAVE_INTTYPES_H 1
  1172. | #define HAVE_STDINT_H 1
  1173. | #define HAVE_UNISTD_H 1
  1174. | #define __EXTENSIONS__ 1
  1175. | #define _ALL_SOURCE 1
  1176. | #define _GNU_SOURCE 1
  1177. | #define _POSIX_PTHREAD_SEMANTICS 1
  1178. | #define _TANDEM_SOURCE 1
  1179. | #define sUPPORTED_LLVM_VERSION (7,0)
  1180. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1181. | #define STDC_HEADERS 1
  1182. | #define HAVE_CTYPE_H 1
  1183. | #define HAVE_DIRENT_H 1
  1184. | #define HAVE_DLFCN_H 1
  1185. | #define HAVE_ERRNO_H 1
  1186. | #define HAVE_FCNTL_H 1
  1187. | #define HAVE_GRP_H 1
  1188. | #define HAVE_LIMITS_H 1
  1189. | #define HAVE_LOCALE_H 1
  1190. | #define HAVE_NLIST_H 1
  1191. | #define HAVE_PTHREAD_H 1
  1192. | #define HAVE_PWD_H 1
  1193. | #define HAVE_SIGNAL_H 1
  1194. | #define HAVE_SYS_PARAM_H 1
  1195. | #define HAVE_SYS_MMAN_H 1
  1196. | #define HAVE_SYS_RESOURCE_H 1
  1197. | #define HAVE_SYS_SELECT_H 1
  1198. | #define HAVE_SYS_TIME_H 1
  1199. | #define HAVE_SYS_TIMEB_H 1
  1200. | #define HAVE_SYS_TIMERFD_H 1
  1201. | #define HAVE_SYS_TIMES_H 1
  1202. | #define HAVE_SYS_UTSNAME_H 1
  1203. | #define HAVE_SYS_WAIT_H 1
  1204. | #define HAVE_TERMIOS_H 1
  1205. | #define HAVE_TIME_H 1
  1206. | #define HAVE_UTIME_H 1
  1207. | /* end confdefs.h. */
  1208. | #include <stdio.h>
  1209. | #ifdef HAVE_SYS_TYPES_H
  1210. | # include <sys/types.h>
  1211. | #endif
  1212. | #ifdef HAVE_SYS_STAT_H
  1213. | # include <sys/stat.h>
  1214. | #endif
  1215. | #ifdef STDC_HEADERS
  1216. | # include <stdlib.h>
  1217. | # include <stddef.h>
  1218. | #else
  1219. | # ifdef HAVE_STDLIB_H
  1220. | # include <stdlib.h>
  1221. | # endif
  1222. | #endif
  1223. | #ifdef HAVE_STRING_H
  1224. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1225. | # include <memory.h>
  1226. | # endif
  1227. | # include <string.h>
  1228. | #endif
  1229. | #ifdef HAVE_STRINGS_H
  1230. | # include <strings.h>
  1231. | #endif
  1232. | #ifdef HAVE_INTTYPES_H
  1233. | # include <inttypes.h>
  1234. | #endif
  1235. | #ifdef HAVE_STDINT_H
  1236. | # include <stdint.h>
  1237. | #endif
  1238. | #ifdef HAVE_UNISTD_H
  1239. | # include <unistd.h>
  1240. | #endif
  1241. | #include <winsock.h>
  1242. configure:11848: result: no
  1243. configure:11848: checking winsock.h presence
  1244. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  1245. conftest.c:52:10: fatal error: winsock.h: No such file or directory
  1246. #include <winsock.h>
  1247. ^~~~~~~~~~~
  1248. compilation terminated.
  1249. configure:11848: $? = 1
  1250. configure: failed program was:
  1251. | /* confdefs.h */
  1252. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1253. | #define PACKAGE_TARNAME "ghc-8.7"
  1254. | #define PACKAGE_VERSION "8.7"
  1255. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1256. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1257. | #define PACKAGE_URL ""
  1258. | #define STDC_HEADERS 1
  1259. | #define HAVE_SYS_TYPES_H 1
  1260. | #define HAVE_SYS_STAT_H 1
  1261. | #define HAVE_STDLIB_H 1
  1262. | #define HAVE_STRING_H 1
  1263. | #define HAVE_MEMORY_H 1
  1264. | #define HAVE_STRINGS_H 1
  1265. | #define HAVE_INTTYPES_H 1
  1266. | #define HAVE_STDINT_H 1
  1267. | #define HAVE_UNISTD_H 1
  1268. | #define __EXTENSIONS__ 1
  1269. | #define _ALL_SOURCE 1
  1270. | #define _GNU_SOURCE 1
  1271. | #define _POSIX_PTHREAD_SEMANTICS 1
  1272. | #define _TANDEM_SOURCE 1
  1273. | #define sUPPORTED_LLVM_VERSION (7,0)
  1274. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1275. | #define STDC_HEADERS 1
  1276. | #define HAVE_CTYPE_H 1
  1277. | #define HAVE_DIRENT_H 1
  1278. | #define HAVE_DLFCN_H 1
  1279. | #define HAVE_ERRNO_H 1
  1280. | #define HAVE_FCNTL_H 1
  1281. | #define HAVE_GRP_H 1
  1282. | #define HAVE_LIMITS_H 1
  1283. | #define HAVE_LOCALE_H 1
  1284. | #define HAVE_NLIST_H 1
  1285. | #define HAVE_PTHREAD_H 1
  1286. | #define HAVE_PWD_H 1
  1287. | #define HAVE_SIGNAL_H 1
  1288. | #define HAVE_SYS_PARAM_H 1
  1289. | #define HAVE_SYS_MMAN_H 1
  1290. | #define HAVE_SYS_RESOURCE_H 1
  1291. | #define HAVE_SYS_SELECT_H 1
  1292. | #define HAVE_SYS_TIME_H 1
  1293. | #define HAVE_SYS_TIMEB_H 1
  1294. | #define HAVE_SYS_TIMERFD_H 1
  1295. | #define HAVE_SYS_TIMES_H 1
  1296. | #define HAVE_SYS_UTSNAME_H 1
  1297. | #define HAVE_SYS_WAIT_H 1
  1298. | #define HAVE_TERMIOS_H 1
  1299. | #define HAVE_TIME_H 1
  1300. | #define HAVE_UTIME_H 1
  1301. | /* end confdefs.h. */
  1302. | #include <winsock.h>
  1303. configure:11848: result: no
  1304. configure:11848: checking for winsock.h
  1305. configure:11848: result: no
  1306. configure:11848: checking sched.h usability
  1307. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1308. configure:11848: $? = 0
  1309. configure:11848: result: yes
  1310. configure:11848: checking sched.h presence
  1311. configure:11848: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  1312. configure:11848: $? = 0
  1313. configure:11848: result: yes
  1314. configure:11848: checking for sched.h
  1315. configure:11848: result: yes
  1316. configure:11861: checking for sys/cpuset.h
  1317. configure:11861: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1318. conftest.c:58:10: fatal error: sys/cpuset.h: No such file or directory
  1319. #include <sys/cpuset.h>
  1320. ^~~~~~~~~~~~~~
  1321. compilation terminated.
  1322. configure:11861: $? = 1
  1323. configure: failed program was:
  1324. | /* confdefs.h */
  1325. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1326. | #define PACKAGE_TARNAME "ghc-8.7"
  1327. | #define PACKAGE_VERSION "8.7"
  1328. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1329. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1330. | #define PACKAGE_URL ""
  1331. | #define STDC_HEADERS 1
  1332. | #define HAVE_SYS_TYPES_H 1
  1333. | #define HAVE_SYS_STAT_H 1
  1334. | #define HAVE_STDLIB_H 1
  1335. | #define HAVE_STRING_H 1
  1336. | #define HAVE_MEMORY_H 1
  1337. | #define HAVE_STRINGS_H 1
  1338. | #define HAVE_INTTYPES_H 1
  1339. | #define HAVE_STDINT_H 1
  1340. | #define HAVE_UNISTD_H 1
  1341. | #define __EXTENSIONS__ 1
  1342. | #define _ALL_SOURCE 1
  1343. | #define _GNU_SOURCE 1
  1344. | #define _POSIX_PTHREAD_SEMANTICS 1
  1345. | #define _TANDEM_SOURCE 1
  1346. | #define sUPPORTED_LLVM_VERSION (7,0)
  1347. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1348. | #define STDC_HEADERS 1
  1349. | #define HAVE_CTYPE_H 1
  1350. | #define HAVE_DIRENT_H 1
  1351. | #define HAVE_DLFCN_H 1
  1352. | #define HAVE_ERRNO_H 1
  1353. | #define HAVE_FCNTL_H 1
  1354. | #define HAVE_GRP_H 1
  1355. | #define HAVE_LIMITS_H 1
  1356. | #define HAVE_LOCALE_H 1
  1357. | #define HAVE_NLIST_H 1
  1358. | #define HAVE_PTHREAD_H 1
  1359. | #define HAVE_PWD_H 1
  1360. | #define HAVE_SIGNAL_H 1
  1361. | #define HAVE_SYS_PARAM_H 1
  1362. | #define HAVE_SYS_MMAN_H 1
  1363. | #define HAVE_SYS_RESOURCE_H 1
  1364. | #define HAVE_SYS_SELECT_H 1
  1365. | #define HAVE_SYS_TIME_H 1
  1366. | #define HAVE_SYS_TIMEB_H 1
  1367. | #define HAVE_SYS_TIMERFD_H 1
  1368. | #define HAVE_SYS_TIMES_H 1
  1369. | #define HAVE_SYS_UTSNAME_H 1
  1370. | #define HAVE_SYS_WAIT_H 1
  1371. | #define HAVE_TERMIOS_H 1
  1372. | #define HAVE_TIME_H 1
  1373. | #define HAVE_UTIME_H 1
  1374. | #define HAVE_SCHED_H 1
  1375. | /* end confdefs.h. */
  1376. | #if HAVE_SYS_PARAM_H
  1377. | # include <sys/param.h>
  1378. | #endif
  1379. |
  1380. |
  1381. | #include <sys/cpuset.h>
  1382. configure:11861: result: no
  1383. configure:11876: checking whether time.h and sys/time.h may both be included
  1384. configure:11896: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1385. configure:11896: $? = 0
  1386. configure:11903: result: yes
  1387. configure:11912: checking for long long
  1388. configure:11912: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1389. configure:11912: $? = 0
  1390. configure:11912: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1391. conftest.c: In function 'main':
  1392. conftest.c:90:24: error: expected expression before ')' token
  1393. if (sizeof ((long long)))
  1394. ^
  1395. configure:11912: $? = 1
  1396. configure: failed program was:
  1397. | /* confdefs.h */
  1398. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1399. | #define PACKAGE_TARNAME "ghc-8.7"
  1400. | #define PACKAGE_VERSION "8.7"
  1401. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1402. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1403. | #define PACKAGE_URL ""
  1404. | #define STDC_HEADERS 1
  1405. | #define HAVE_SYS_TYPES_H 1
  1406. | #define HAVE_SYS_STAT_H 1
  1407. | #define HAVE_STDLIB_H 1
  1408. | #define HAVE_STRING_H 1
  1409. | #define HAVE_MEMORY_H 1
  1410. | #define HAVE_STRINGS_H 1
  1411. | #define HAVE_INTTYPES_H 1
  1412. | #define HAVE_STDINT_H 1
  1413. | #define HAVE_UNISTD_H 1
  1414. | #define __EXTENSIONS__ 1
  1415. | #define _ALL_SOURCE 1
  1416. | #define _GNU_SOURCE 1
  1417. | #define _POSIX_PTHREAD_SEMANTICS 1
  1418. | #define _TANDEM_SOURCE 1
  1419. | #define sUPPORTED_LLVM_VERSION (7,0)
  1420. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1421. | #define STDC_HEADERS 1
  1422. | #define HAVE_CTYPE_H 1
  1423. | #define HAVE_DIRENT_H 1
  1424. | #define HAVE_DLFCN_H 1
  1425. | #define HAVE_ERRNO_H 1
  1426. | #define HAVE_FCNTL_H 1
  1427. | #define HAVE_GRP_H 1
  1428. | #define HAVE_LIMITS_H 1
  1429. | #define HAVE_LOCALE_H 1
  1430. | #define HAVE_NLIST_H 1
  1431. | #define HAVE_PTHREAD_H 1
  1432. | #define HAVE_PWD_H 1
  1433. | #define HAVE_SIGNAL_H 1
  1434. | #define HAVE_SYS_PARAM_H 1
  1435. | #define HAVE_SYS_MMAN_H 1
  1436. | #define HAVE_SYS_RESOURCE_H 1
  1437. | #define HAVE_SYS_SELECT_H 1
  1438. | #define HAVE_SYS_TIME_H 1
  1439. | #define HAVE_SYS_TIMEB_H 1
  1440. | #define HAVE_SYS_TIMERFD_H 1
  1441. | #define HAVE_SYS_TIMES_H 1
  1442. | #define HAVE_SYS_UTSNAME_H 1
  1443. | #define HAVE_SYS_WAIT_H 1
  1444. | #define HAVE_TERMIOS_H 1
  1445. | #define HAVE_TIME_H 1
  1446. | #define HAVE_UTIME_H 1
  1447. | #define HAVE_SCHED_H 1
  1448. | #define TIME_WITH_SYS_TIME 1
  1449. | /* end confdefs.h. */
  1450. | #include <stdio.h>
  1451. | #ifdef HAVE_SYS_TYPES_H
  1452. | # include <sys/types.h>
  1453. | #endif
  1454. | #ifdef HAVE_SYS_STAT_H
  1455. | # include <sys/stat.h>
  1456. | #endif
  1457. | #ifdef STDC_HEADERS
  1458. | # include <stdlib.h>
  1459. | # include <stddef.h>
  1460. | #else
  1461. | # ifdef HAVE_STDLIB_H
  1462. | # include <stdlib.h>
  1463. | # endif
  1464. | #endif
  1465. | #ifdef HAVE_STRING_H
  1466. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1467. | # include <memory.h>
  1468. | # endif
  1469. | # include <string.h>
  1470. | #endif
  1471. | #ifdef HAVE_STRINGS_H
  1472. | # include <strings.h>
  1473. | #endif
  1474. | #ifdef HAVE_INTTYPES_H
  1475. | # include <inttypes.h>
  1476. | #endif
  1477. | #ifdef HAVE_STDINT_H
  1478. | # include <stdint.h>
  1479. | #endif
  1480. | #ifdef HAVE_UNISTD_H
  1481. | # include <unistd.h>
  1482. | #endif
  1483. | int
  1484. | main ()
  1485. | {
  1486. | if (sizeof ((long long)))
  1487. | return 0;
  1488. | ;
  1489. | return 0;
  1490. | }
  1491. configure:11912: result: yes
  1492. configure:11927: checking size of char
  1493. configure:11932: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1494. configure:11932: $? = 0
  1495. configure:11932: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1496. conftest.c: In function 'main':
  1497. conftest.c:91:12: error: size of array 'test_array' is negative
  1498. static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= 0)];
  1499. ^~~~~~~~~~
  1500. configure:11932: $? = 1
  1501. configure: failed program was:
  1502. | /* confdefs.h */
  1503. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1504. | #define PACKAGE_TARNAME "ghc-8.7"
  1505. | #define PACKAGE_VERSION "8.7"
  1506. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1507. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1508. | #define PACKAGE_URL ""
  1509. | #define STDC_HEADERS 1
  1510. | #define HAVE_SYS_TYPES_H 1
  1511. | #define HAVE_SYS_STAT_H 1
  1512. | #define HAVE_STDLIB_H 1
  1513. | #define HAVE_STRING_H 1
  1514. | #define HAVE_MEMORY_H 1
  1515. | #define HAVE_STRINGS_H 1
  1516. | #define HAVE_INTTYPES_H 1
  1517. | #define HAVE_STDINT_H 1
  1518. | #define HAVE_UNISTD_H 1
  1519. | #define __EXTENSIONS__ 1
  1520. | #define _ALL_SOURCE 1
  1521. | #define _GNU_SOURCE 1
  1522. | #define _POSIX_PTHREAD_SEMANTICS 1
  1523. | #define _TANDEM_SOURCE 1
  1524. | #define sUPPORTED_LLVM_VERSION (7,0)
  1525. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1526. | #define STDC_HEADERS 1
  1527. | #define HAVE_CTYPE_H 1
  1528. | #define HAVE_DIRENT_H 1
  1529. | #define HAVE_DLFCN_H 1
  1530. | #define HAVE_ERRNO_H 1
  1531. | #define HAVE_FCNTL_H 1
  1532. | #define HAVE_GRP_H 1
  1533. | #define HAVE_LIMITS_H 1
  1534. | #define HAVE_LOCALE_H 1
  1535. | #define HAVE_NLIST_H 1
  1536. | #define HAVE_PTHREAD_H 1
  1537. | #define HAVE_PWD_H 1
  1538. | #define HAVE_SIGNAL_H 1
  1539. | #define HAVE_SYS_PARAM_H 1
  1540. | #define HAVE_SYS_MMAN_H 1
  1541. | #define HAVE_SYS_RESOURCE_H 1
  1542. | #define HAVE_SYS_SELECT_H 1
  1543. | #define HAVE_SYS_TIME_H 1
  1544. | #define HAVE_SYS_TIMEB_H 1
  1545. | #define HAVE_SYS_TIMERFD_H 1
  1546. | #define HAVE_SYS_TIMES_H 1
  1547. | #define HAVE_SYS_UTSNAME_H 1
  1548. | #define HAVE_SYS_WAIT_H 1
  1549. | #define HAVE_TERMIOS_H 1
  1550. | #define HAVE_TIME_H 1
  1551. | #define HAVE_UTIME_H 1
  1552. | #define HAVE_SCHED_H 1
  1553. | #define TIME_WITH_SYS_TIME 1
  1554. | #define HAVE_LONG_LONG 1
  1555. | /* end confdefs.h. */
  1556. | #include <stdio.h>
  1557. | #ifdef HAVE_SYS_TYPES_H
  1558. | # include <sys/types.h>
  1559. | #endif
  1560. | #ifdef HAVE_SYS_STAT_H
  1561. | # include <sys/stat.h>
  1562. | #endif
  1563. | #ifdef STDC_HEADERS
  1564. | # include <stdlib.h>
  1565. | # include <stddef.h>
  1566. | #else
  1567. | # ifdef HAVE_STDLIB_H
  1568. | # include <stdlib.h>
  1569. | # endif
  1570. | #endif
  1571. | #ifdef HAVE_STRING_H
  1572. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1573. | # include <memory.h>
  1574. | # endif
  1575. | # include <string.h>
  1576. | #endif
  1577. | #ifdef HAVE_STRINGS_H
  1578. | # include <strings.h>
  1579. | #endif
  1580. | #ifdef HAVE_INTTYPES_H
  1581. | # include <inttypes.h>
  1582. | #endif
  1583. | #ifdef HAVE_STDINT_H
  1584. | # include <stdint.h>
  1585. | #endif
  1586. | #ifdef HAVE_UNISTD_H
  1587. | # include <unistd.h>
  1588. | #endif
  1589. | int
  1590. | main ()
  1591. | {
  1592. | static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= 0)];
  1593. | test_array [0] = 0;
  1594. | return test_array [0];
  1595. |
  1596. | ;
  1597. | return 0;
  1598. | }
  1599. configure:11932: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1600. configure:11932: $? = 0
  1601. configure:11946: result: 1
  1602. configure:11956: checking for char
  1603. configure:11956: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1604. configure:11956: $? = 0
  1605. configure:11956: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1606. conftest.c: In function 'main':
  1607. conftest.c:92:19: error: expected expression before ')' token
  1608. if (sizeof ((char)))
  1609. ^
  1610. configure:11956: $? = 1
  1611. configure: failed program was:
  1612. | /* confdefs.h */
  1613. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1614. | #define PACKAGE_TARNAME "ghc-8.7"
  1615. | #define PACKAGE_VERSION "8.7"
  1616. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1617. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1618. | #define PACKAGE_URL ""
  1619. | #define STDC_HEADERS 1
  1620. | #define HAVE_SYS_TYPES_H 1
  1621. | #define HAVE_SYS_STAT_H 1
  1622. | #define HAVE_STDLIB_H 1
  1623. | #define HAVE_STRING_H 1
  1624. | #define HAVE_MEMORY_H 1
  1625. | #define HAVE_STRINGS_H 1
  1626. | #define HAVE_INTTYPES_H 1
  1627. | #define HAVE_STDINT_H 1
  1628. | #define HAVE_UNISTD_H 1
  1629. | #define __EXTENSIONS__ 1
  1630. | #define _ALL_SOURCE 1
  1631. | #define _GNU_SOURCE 1
  1632. | #define _POSIX_PTHREAD_SEMANTICS 1
  1633. | #define _TANDEM_SOURCE 1
  1634. | #define sUPPORTED_LLVM_VERSION (7,0)
  1635. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1636. | #define STDC_HEADERS 1
  1637. | #define HAVE_CTYPE_H 1
  1638. | #define HAVE_DIRENT_H 1
  1639. | #define HAVE_DLFCN_H 1
  1640. | #define HAVE_ERRNO_H 1
  1641. | #define HAVE_FCNTL_H 1
  1642. | #define HAVE_GRP_H 1
  1643. | #define HAVE_LIMITS_H 1
  1644. | #define HAVE_LOCALE_H 1
  1645. | #define HAVE_NLIST_H 1
  1646. | #define HAVE_PTHREAD_H 1
  1647. | #define HAVE_PWD_H 1
  1648. | #define HAVE_SIGNAL_H 1
  1649. | #define HAVE_SYS_PARAM_H 1
  1650. | #define HAVE_SYS_MMAN_H 1
  1651. | #define HAVE_SYS_RESOURCE_H 1
  1652. | #define HAVE_SYS_SELECT_H 1
  1653. | #define HAVE_SYS_TIME_H 1
  1654. | #define HAVE_SYS_TIMEB_H 1
  1655. | #define HAVE_SYS_TIMERFD_H 1
  1656. | #define HAVE_SYS_TIMES_H 1
  1657. | #define HAVE_SYS_UTSNAME_H 1
  1658. | #define HAVE_SYS_WAIT_H 1
  1659. | #define HAVE_TERMIOS_H 1
  1660. | #define HAVE_TIME_H 1
  1661. | #define HAVE_UTIME_H 1
  1662. | #define HAVE_SCHED_H 1
  1663. | #define TIME_WITH_SYS_TIME 1
  1664. | #define HAVE_LONG_LONG 1
  1665. | #define SIZEOF_CHAR 1
  1666. | /* end confdefs.h. */
  1667. | #include <stdio.h>
  1668. | #ifdef HAVE_SYS_TYPES_H
  1669. | # include <sys/types.h>
  1670. | #endif
  1671. | #ifdef HAVE_SYS_STAT_H
  1672. | # include <sys/stat.h>
  1673. | #endif
  1674. | #ifdef STDC_HEADERS
  1675. | # include <stdlib.h>
  1676. | # include <stddef.h>
  1677. | #else
  1678. | # ifdef HAVE_STDLIB_H
  1679. | # include <stdlib.h>
  1680. | # endif
  1681. | #endif
  1682. | #ifdef HAVE_STRING_H
  1683. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1684. | # include <memory.h>
  1685. | # endif
  1686. | # include <string.h>
  1687. | #endif
  1688. | #ifdef HAVE_STRINGS_H
  1689. | # include <strings.h>
  1690. | #endif
  1691. | #ifdef HAVE_INTTYPES_H
  1692. | # include <inttypes.h>
  1693. | #endif
  1694. | #ifdef HAVE_STDINT_H
  1695. | # include <stdint.h>
  1696. | #endif
  1697. | #ifdef HAVE_UNISTD_H
  1698. | # include <unistd.h>
  1699. | #endif
  1700. | int
  1701. | main ()
  1702. | {
  1703. | if (sizeof ((char)))
  1704. | return 0;
  1705. | ;
  1706. | return 0;
  1707. | }
  1708. configure:11956: result: yes
  1709. configure:11960: checking alignment of char
  1710. configure:11966: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1711. configure:11966: $? = 0
  1712. configure:11966: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1713. conftest.c: In function 'main':
  1714. conftest.c:92:12: error: size of array 'test_array' is negative
  1715. static int test_array [1 - 2 * !((offsetof(struct { char c; char ty; },ty)) <= 0)];
  1716. ^~~~~~~~~~
  1717. configure:11966: $? = 1
  1718. configure: failed program was:
  1719. | /* confdefs.h */
  1720. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1721. | #define PACKAGE_TARNAME "ghc-8.7"
  1722. | #define PACKAGE_VERSION "8.7"
  1723. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1724. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1725. | #define PACKAGE_URL ""
  1726. | #define STDC_HEADERS 1
  1727. | #define HAVE_SYS_TYPES_H 1
  1728. | #define HAVE_SYS_STAT_H 1
  1729. | #define HAVE_STDLIB_H 1
  1730. | #define HAVE_STRING_H 1
  1731. | #define HAVE_MEMORY_H 1
  1732. | #define HAVE_STRINGS_H 1
  1733. | #define HAVE_INTTYPES_H 1
  1734. | #define HAVE_STDINT_H 1
  1735. | #define HAVE_UNISTD_H 1
  1736. | #define __EXTENSIONS__ 1
  1737. | #define _ALL_SOURCE 1
  1738. | #define _GNU_SOURCE 1
  1739. | #define _POSIX_PTHREAD_SEMANTICS 1
  1740. | #define _TANDEM_SOURCE 1
  1741. | #define sUPPORTED_LLVM_VERSION (7,0)
  1742. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1743. | #define STDC_HEADERS 1
  1744. | #define HAVE_CTYPE_H 1
  1745. | #define HAVE_DIRENT_H 1
  1746. | #define HAVE_DLFCN_H 1
  1747. | #define HAVE_ERRNO_H 1
  1748. | #define HAVE_FCNTL_H 1
  1749. | #define HAVE_GRP_H 1
  1750. | #define HAVE_LIMITS_H 1
  1751. | #define HAVE_LOCALE_H 1
  1752. | #define HAVE_NLIST_H 1
  1753. | #define HAVE_PTHREAD_H 1
  1754. | #define HAVE_PWD_H 1
  1755. | #define HAVE_SIGNAL_H 1
  1756. | #define HAVE_SYS_PARAM_H 1
  1757. | #define HAVE_SYS_MMAN_H 1
  1758. | #define HAVE_SYS_RESOURCE_H 1
  1759. | #define HAVE_SYS_SELECT_H 1
  1760. | #define HAVE_SYS_TIME_H 1
  1761. | #define HAVE_SYS_TIMEB_H 1
  1762. | #define HAVE_SYS_TIMERFD_H 1
  1763. | #define HAVE_SYS_TIMES_H 1
  1764. | #define HAVE_SYS_UTSNAME_H 1
  1765. | #define HAVE_SYS_WAIT_H 1
  1766. | #define HAVE_TERMIOS_H 1
  1767. | #define HAVE_TIME_H 1
  1768. | #define HAVE_UTIME_H 1
  1769. | #define HAVE_SCHED_H 1
  1770. | #define TIME_WITH_SYS_TIME 1
  1771. | #define HAVE_LONG_LONG 1
  1772. | #define SIZEOF_CHAR 1
  1773. | /* end confdefs.h. */
  1774. | #include <stdio.h>
  1775. | #ifdef HAVE_SYS_TYPES_H
  1776. | # include <sys/types.h>
  1777. | #endif
  1778. | #ifdef HAVE_SYS_STAT_H
  1779. | # include <sys/stat.h>
  1780. | #endif
  1781. | #ifdef STDC_HEADERS
  1782. | # include <stdlib.h>
  1783. | # include <stddef.h>
  1784. | #else
  1785. | # ifdef HAVE_STDLIB_H
  1786. | # include <stdlib.h>
  1787. | # endif
  1788. | #endif
  1789. | #ifdef HAVE_STRING_H
  1790. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1791. | # include <memory.h>
  1792. | # endif
  1793. | # include <string.h>
  1794. | #endif
  1795. | #ifdef HAVE_STRINGS_H
  1796. | # include <strings.h>
  1797. | #endif
  1798. | #ifdef HAVE_INTTYPES_H
  1799. | # include <inttypes.h>
  1800. | #endif
  1801. | #ifdef HAVE_STDINT_H
  1802. | # include <stdint.h>
  1803. | #endif
  1804. | #ifdef HAVE_UNISTD_H
  1805. | # include <unistd.h>
  1806. | #endif
  1807. | int
  1808. | main ()
  1809. | {
  1810. | static int test_array [1 - 2 * !((offsetof(struct { char c; char ty; },ty)) <= 0)];
  1811. | test_array [0] = 0;
  1812. | return test_array [0];
  1813. |
  1814. | ;
  1815. | return 0;
  1816. | }
  1817. configure:11966: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1818. configure:11966: $? = 0
  1819. configure:11978: result: 1
  1820. configure:11989: checking size of double
  1821. configure:11994: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1822. configure:11994: $? = 0
  1823. configure:11994: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1824. conftest.c: In function 'main':
  1825. conftest.c:93:12: error: size of array 'test_array' is negative
  1826. static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 0)];
  1827. ^~~~~~~~~~
  1828. configure:11994: $? = 1
  1829. configure: failed program was:
  1830. | /* confdefs.h */
  1831. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1832. | #define PACKAGE_TARNAME "ghc-8.7"
  1833. | #define PACKAGE_VERSION "8.7"
  1834. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1835. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1836. | #define PACKAGE_URL ""
  1837. | #define STDC_HEADERS 1
  1838. | #define HAVE_SYS_TYPES_H 1
  1839. | #define HAVE_SYS_STAT_H 1
  1840. | #define HAVE_STDLIB_H 1
  1841. | #define HAVE_STRING_H 1
  1842. | #define HAVE_MEMORY_H 1
  1843. | #define HAVE_STRINGS_H 1
  1844. | #define HAVE_INTTYPES_H 1
  1845. | #define HAVE_STDINT_H 1
  1846. | #define HAVE_UNISTD_H 1
  1847. | #define __EXTENSIONS__ 1
  1848. | #define _ALL_SOURCE 1
  1849. | #define _GNU_SOURCE 1
  1850. | #define _POSIX_PTHREAD_SEMANTICS 1
  1851. | #define _TANDEM_SOURCE 1
  1852. | #define sUPPORTED_LLVM_VERSION (7,0)
  1853. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1854. | #define STDC_HEADERS 1
  1855. | #define HAVE_CTYPE_H 1
  1856. | #define HAVE_DIRENT_H 1
  1857. | #define HAVE_DLFCN_H 1
  1858. | #define HAVE_ERRNO_H 1
  1859. | #define HAVE_FCNTL_H 1
  1860. | #define HAVE_GRP_H 1
  1861. | #define HAVE_LIMITS_H 1
  1862. | #define HAVE_LOCALE_H 1
  1863. | #define HAVE_NLIST_H 1
  1864. | #define HAVE_PTHREAD_H 1
  1865. | #define HAVE_PWD_H 1
  1866. | #define HAVE_SIGNAL_H 1
  1867. | #define HAVE_SYS_PARAM_H 1
  1868. | #define HAVE_SYS_MMAN_H 1
  1869. | #define HAVE_SYS_RESOURCE_H 1
  1870. | #define HAVE_SYS_SELECT_H 1
  1871. | #define HAVE_SYS_TIME_H 1
  1872. | #define HAVE_SYS_TIMEB_H 1
  1873. | #define HAVE_SYS_TIMERFD_H 1
  1874. | #define HAVE_SYS_TIMES_H 1
  1875. | #define HAVE_SYS_UTSNAME_H 1
  1876. | #define HAVE_SYS_WAIT_H 1
  1877. | #define HAVE_TERMIOS_H 1
  1878. | #define HAVE_TIME_H 1
  1879. | #define HAVE_UTIME_H 1
  1880. | #define HAVE_SCHED_H 1
  1881. | #define TIME_WITH_SYS_TIME 1
  1882. | #define HAVE_LONG_LONG 1
  1883. | #define SIZEOF_CHAR 1
  1884. | #define ALIGNMENT_CHAR 1
  1885. | /* end confdefs.h. */
  1886. | #include <stdio.h>
  1887. | #ifdef HAVE_SYS_TYPES_H
  1888. | # include <sys/types.h>
  1889. | #endif
  1890. | #ifdef HAVE_SYS_STAT_H
  1891. | # include <sys/stat.h>
  1892. | #endif
  1893. | #ifdef STDC_HEADERS
  1894. | # include <stdlib.h>
  1895. | # include <stddef.h>
  1896. | #else
  1897. | # ifdef HAVE_STDLIB_H
  1898. | # include <stdlib.h>
  1899. | # endif
  1900. | #endif
  1901. | #ifdef HAVE_STRING_H
  1902. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1903. | # include <memory.h>
  1904. | # endif
  1905. | # include <string.h>
  1906. | #endif
  1907. | #ifdef HAVE_STRINGS_H
  1908. | # include <strings.h>
  1909. | #endif
  1910. | #ifdef HAVE_INTTYPES_H
  1911. | # include <inttypes.h>
  1912. | #endif
  1913. | #ifdef HAVE_STDINT_H
  1914. | # include <stdint.h>
  1915. | #endif
  1916. | #ifdef HAVE_UNISTD_H
  1917. | # include <unistd.h>
  1918. | #endif
  1919. | int
  1920. | main ()
  1921. | {
  1922. | static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 0)];
  1923. | test_array [0] = 0;
  1924. | return test_array [0];
  1925. |
  1926. | ;
  1927. | return 0;
  1928. | }
  1929. configure:11994: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  1930. conftest.c: In function 'main':
  1931. conftest.c:93:12: error: size of array 'test_array' is negative
  1932. static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 1)];
  1933. ^~~~~~~~~~
  1934. configure:11994: $? = 1
  1935. configure: failed program was:
  1936. | /* confdefs.h */
  1937. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  1938. | #define PACKAGE_TARNAME "ghc-8.7"
  1939. | #define PACKAGE_VERSION "8.7"
  1940. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  1941. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  1942. | #define PACKAGE_URL ""
  1943. | #define STDC_HEADERS 1
  1944. | #define HAVE_SYS_TYPES_H 1
  1945. | #define HAVE_SYS_STAT_H 1
  1946. | #define HAVE_STDLIB_H 1
  1947. | #define HAVE_STRING_H 1
  1948. | #define HAVE_MEMORY_H 1
  1949. | #define HAVE_STRINGS_H 1
  1950. | #define HAVE_INTTYPES_H 1
  1951. | #define HAVE_STDINT_H 1
  1952. | #define HAVE_UNISTD_H 1
  1953. | #define __EXTENSIONS__ 1
  1954. | #define _ALL_SOURCE 1
  1955. | #define _GNU_SOURCE 1
  1956. | #define _POSIX_PTHREAD_SEMANTICS 1
  1957. | #define _TANDEM_SOURCE 1
  1958. | #define sUPPORTED_LLVM_VERSION (7,0)
  1959. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  1960. | #define STDC_HEADERS 1
  1961. | #define HAVE_CTYPE_H 1
  1962. | #define HAVE_DIRENT_H 1
  1963. | #define HAVE_DLFCN_H 1
  1964. | #define HAVE_ERRNO_H 1
  1965. | #define HAVE_FCNTL_H 1
  1966. | #define HAVE_GRP_H 1
  1967. | #define HAVE_LIMITS_H 1
  1968. | #define HAVE_LOCALE_H 1
  1969. | #define HAVE_NLIST_H 1
  1970. | #define HAVE_PTHREAD_H 1
  1971. | #define HAVE_PWD_H 1
  1972. | #define HAVE_SIGNAL_H 1
  1973. | #define HAVE_SYS_PARAM_H 1
  1974. | #define HAVE_SYS_MMAN_H 1
  1975. | #define HAVE_SYS_RESOURCE_H 1
  1976. | #define HAVE_SYS_SELECT_H 1
  1977. | #define HAVE_SYS_TIME_H 1
  1978. | #define HAVE_SYS_TIMEB_H 1
  1979. | #define HAVE_SYS_TIMERFD_H 1
  1980. | #define HAVE_SYS_TIMES_H 1
  1981. | #define HAVE_SYS_UTSNAME_H 1
  1982. | #define HAVE_SYS_WAIT_H 1
  1983. | #define HAVE_TERMIOS_H 1
  1984. | #define HAVE_TIME_H 1
  1985. | #define HAVE_UTIME_H 1
  1986. | #define HAVE_SCHED_H 1
  1987. | #define TIME_WITH_SYS_TIME 1
  1988. | #define HAVE_LONG_LONG 1
  1989. | #define SIZEOF_CHAR 1
  1990. | #define ALIGNMENT_CHAR 1
  1991. | /* end confdefs.h. */
  1992. | #include <stdio.h>
  1993. | #ifdef HAVE_SYS_TYPES_H
  1994. | # include <sys/types.h>
  1995. | #endif
  1996. | #ifdef HAVE_SYS_STAT_H
  1997. | # include <sys/stat.h>
  1998. | #endif
  1999. | #ifdef STDC_HEADERS
  2000. | # include <stdlib.h>
  2001. | # include <stddef.h>
  2002. | #else
  2003. | # ifdef HAVE_STDLIB_H
  2004. | # include <stdlib.h>
  2005. | # endif
  2006. | #endif
  2007. | #ifdef HAVE_STRING_H
  2008. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2009. | # include <memory.h>
  2010. | # endif
  2011. | # include <string.h>
  2012. | #endif
  2013. | #ifdef HAVE_STRINGS_H
  2014. | # include <strings.h>
  2015. | #endif
  2016. | #ifdef HAVE_INTTYPES_H
  2017. | # include <inttypes.h>
  2018. | #endif
  2019. | #ifdef HAVE_STDINT_H
  2020. | # include <stdint.h>
  2021. | #endif
  2022. | #ifdef HAVE_UNISTD_H
  2023. | # include <unistd.h>
  2024. | #endif
  2025. | int
  2026. | main ()
  2027. | {
  2028. | static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 1)];
  2029. | test_array [0] = 0;
  2030. | return test_array [0];
  2031. |
  2032. | ;
  2033. | return 0;
  2034. | }
  2035. configure:11994: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2036. conftest.c: In function 'main':
  2037. conftest.c:93:12: error: size of array 'test_array' is negative
  2038. static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 3)];
  2039. ^~~~~~~~~~
  2040. configure:11994: $? = 1
  2041. configure: failed program was:
  2042. | /* confdefs.h */
  2043. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  2044. | #define PACKAGE_TARNAME "ghc-8.7"
  2045. | #define PACKAGE_VERSION "8.7"
  2046. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  2047. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  2048. | #define PACKAGE_URL ""
  2049. | #define STDC_HEADERS 1
  2050. | #define HAVE_SYS_TYPES_H 1
  2051. | #define HAVE_SYS_STAT_H 1
  2052. | #define HAVE_STDLIB_H 1
  2053. | #define HAVE_STRING_H 1
  2054. | #define HAVE_MEMORY_H 1
  2055. | #define HAVE_STRINGS_H 1
  2056. | #define HAVE_INTTYPES_H 1
  2057. | #define HAVE_STDINT_H 1
  2058. | #define HAVE_UNISTD_H 1
  2059. | #define __EXTENSIONS__ 1
  2060. | #define _ALL_SOURCE 1
  2061. | #define _GNU_SOURCE 1
  2062. | #define _POSIX_PTHREAD_SEMANTICS 1
  2063. | #define _TANDEM_SOURCE 1
  2064. | #define sUPPORTED_LLVM_VERSION (7,0)
  2065. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  2066. | #define STDC_HEADERS 1
  2067. | #define HAVE_CTYPE_H 1
  2068. | #define HAVE_DIRENT_H 1
  2069. | #define HAVE_DLFCN_H 1
  2070. | #define HAVE_ERRNO_H 1
  2071. | #define HAVE_FCNTL_H 1
  2072. | #define HAVE_GRP_H 1
  2073. | #define HAVE_LIMITS_H 1
  2074. | #define HAVE_LOCALE_H 1
  2075. | #define HAVE_NLIST_H 1
  2076. | #define HAVE_PTHREAD_H 1
  2077. | #define HAVE_PWD_H 1
  2078. | #define HAVE_SIGNAL_H 1
  2079. | #define HAVE_SYS_PARAM_H 1
  2080. | #define HAVE_SYS_MMAN_H 1
  2081. | #define HAVE_SYS_RESOURCE_H 1
  2082. | #define HAVE_SYS_SELECT_H 1
  2083. | #define HAVE_SYS_TIME_H 1
  2084. | #define HAVE_SYS_TIMEB_H 1
  2085. | #define HAVE_SYS_TIMERFD_H 1
  2086. | #define HAVE_SYS_TIMES_H 1
  2087. | #define HAVE_SYS_UTSNAME_H 1
  2088. | #define HAVE_SYS_WAIT_H 1
  2089. | #define HAVE_TERMIOS_H 1
  2090. | #define HAVE_TIME_H 1
  2091. | #define HAVE_UTIME_H 1
  2092. | #define HAVE_SCHED_H 1
  2093. | #define TIME_WITH_SYS_TIME 1
  2094. | #define HAVE_LONG_LONG 1
  2095. | #define SIZEOF_CHAR 1
  2096. | #define ALIGNMENT_CHAR 1
  2097. | /* end confdefs.h. */
  2098. | #include <stdio.h>
  2099. | #ifdef HAVE_SYS_TYPES_H
  2100. | # include <sys/types.h>
  2101. | #endif
  2102. | #ifdef HAVE_SYS_STAT_H
  2103. | # include <sys/stat.h>
  2104. | #endif
  2105. | #ifdef STDC_HEADERS
  2106. | # include <stdlib.h>
  2107. | # include <stddef.h>
  2108. | #else
  2109. | # ifdef HAVE_STDLIB_H
  2110. | # include <stdlib.h>
  2111. | # endif
  2112. | #endif
  2113. | #ifdef HAVE_STRING_H
  2114. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2115. | # include <memory.h>
  2116. | # endif
  2117. | # include <string.h>
  2118. | #endif
  2119. | #ifdef HAVE_STRINGS_H
  2120. | # include <strings.h>
  2121. | #endif
  2122. | #ifdef HAVE_INTTYPES_H
  2123. | # include <inttypes.h>
  2124. | #endif
  2125. | #ifdef HAVE_STDINT_H
  2126. | # include <stdint.h>
  2127. | #endif
  2128. | #ifdef HAVE_UNISTD_H
  2129. | # include <unistd.h>
  2130. | #endif
  2131. | int
  2132. | main ()
  2133. | {
  2134. | static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 3)];
  2135. | test_array [0] = 0;
  2136. | return test_array [0];
  2137. |
  2138. | ;
  2139. | return 0;
  2140. | }
  2141. configure:11994: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2142. conftest.c: In function 'main':
  2143. conftest.c:93:12: error: size of array 'test_array' is negative
  2144. static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 7)];
  2145. ^~~~~~~~~~
  2146. configure:11994: $? = 1
  2147. configure: failed program was:
  2148. | /* confdefs.h */
  2149. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  2150. | #define PACKAGE_TARNAME "ghc-8.7"
  2151. | #define PACKAGE_VERSION "8.7"
  2152. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  2153. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  2154. | #define PACKAGE_URL ""
  2155. | #define STDC_HEADERS 1
  2156. | #define HAVE_SYS_TYPES_H 1
  2157. | #define HAVE_SYS_STAT_H 1
  2158. | #define HAVE_STDLIB_H 1
  2159. | #define HAVE_STRING_H 1
  2160. | #define HAVE_MEMORY_H 1
  2161. | #define HAVE_STRINGS_H 1
  2162. | #define HAVE_INTTYPES_H 1
  2163. | #define HAVE_STDINT_H 1
  2164. | #define HAVE_UNISTD_H 1
  2165. | #define __EXTENSIONS__ 1
  2166. | #define _ALL_SOURCE 1
  2167. | #define _GNU_SOURCE 1
  2168. | #define _POSIX_PTHREAD_SEMANTICS 1
  2169. | #define _TANDEM_SOURCE 1
  2170. | #define sUPPORTED_LLVM_VERSION (7,0)
  2171. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  2172. | #define STDC_HEADERS 1
  2173. | #define HAVE_CTYPE_H 1
  2174. | #define HAVE_DIRENT_H 1
  2175. | #define HAVE_DLFCN_H 1
  2176. | #define HAVE_ERRNO_H 1
  2177. | #define HAVE_FCNTL_H 1
  2178. | #define HAVE_GRP_H 1
  2179. | #define HAVE_LIMITS_H 1
  2180. | #define HAVE_LOCALE_H 1
  2181. | #define HAVE_NLIST_H 1
  2182. | #define HAVE_PTHREAD_H 1
  2183. | #define HAVE_PWD_H 1
  2184. | #define HAVE_SIGNAL_H 1
  2185. | #define HAVE_SYS_PARAM_H 1
  2186. | #define HAVE_SYS_MMAN_H 1
  2187. | #define HAVE_SYS_RESOURCE_H 1
  2188. | #define HAVE_SYS_SELECT_H 1
  2189. | #define HAVE_SYS_TIME_H 1
  2190. | #define HAVE_SYS_TIMEB_H 1
  2191. | #define HAVE_SYS_TIMERFD_H 1
  2192. | #define HAVE_SYS_TIMES_H 1
  2193. | #define HAVE_SYS_UTSNAME_H 1
  2194. | #define HAVE_SYS_WAIT_H 1
  2195. | #define HAVE_TERMIOS_H 1
  2196. | #define HAVE_TIME_H 1
  2197. | #define HAVE_UTIME_H 1
  2198. | #define HAVE_SCHED_H 1
  2199. | #define TIME_WITH_SYS_TIME 1
  2200. | #define HAVE_LONG_LONG 1
  2201. | #define SIZEOF_CHAR 1
  2202. | #define ALIGNMENT_CHAR 1
  2203. | /* end confdefs.h. */
  2204. | #include <stdio.h>
  2205. | #ifdef HAVE_SYS_TYPES_H
  2206. | # include <sys/types.h>
  2207. | #endif
  2208. | #ifdef HAVE_SYS_STAT_H
  2209. | # include <sys/stat.h>
  2210. | #endif
  2211. | #ifdef STDC_HEADERS
  2212. | # include <stdlib.h>
  2213. | # include <stddef.h>
  2214. | #else
  2215. | # ifdef HAVE_STDLIB_H
  2216. | # include <stdlib.h>
  2217. | # endif
  2218. | #endif
  2219. | #ifdef HAVE_STRING_H
  2220. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2221. | # include <memory.h>
  2222. | # endif
  2223. | # include <string.h>
  2224. | #endif
  2225. | #ifdef HAVE_STRINGS_H
  2226. | # include <strings.h>
  2227. | #endif
  2228. | #ifdef HAVE_INTTYPES_H
  2229. | # include <inttypes.h>
  2230. | #endif
  2231. | #ifdef HAVE_STDINT_H
  2232. | # include <stdint.h>
  2233. | #endif
  2234. | #ifdef HAVE_UNISTD_H
  2235. | # include <unistd.h>
  2236. | #endif
  2237. | int
  2238. | main ()
  2239. | {
  2240. | static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 7)];
  2241. | test_array [0] = 0;
  2242. | return test_array [0];
  2243. |
  2244. | ;
  2245. | return 0;
  2246. | }
  2247. configure:11994: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2248. configure:11994: $? = 0
  2249. configure:11994: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2250. configure:11994: $? = 0
  2251. configure:11994: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2252. configure:11994: $? = 0
  2253. configure:11994: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2254. configure:11994: $? = 0
  2255. configure:12008: result: 8
  2256. configure:12018: checking for double
  2257. configure:12018: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2258. configure:12018: $? = 0
  2259. configure:12018: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2260. conftest.c: In function 'main':
  2261. conftest.c:94:21: error: expected expression before ')' token
  2262. if (sizeof ((double)))
  2263. ^
  2264. configure:12018: $? = 1
  2265. configure: failed program was:
  2266. | /* confdefs.h */
  2267. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  2268. | #define PACKAGE_TARNAME "ghc-8.7"
  2269. | #define PACKAGE_VERSION "8.7"
  2270. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  2271. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  2272. | #define PACKAGE_URL ""
  2273. | #define STDC_HEADERS 1
  2274. | #define HAVE_SYS_TYPES_H 1
  2275. | #define HAVE_SYS_STAT_H 1
  2276. | #define HAVE_STDLIB_H 1
  2277. | #define HAVE_STRING_H 1
  2278. | #define HAVE_MEMORY_H 1
  2279. | #define HAVE_STRINGS_H 1
  2280. | #define HAVE_INTTYPES_H 1
  2281. | #define HAVE_STDINT_H 1
  2282. | #define HAVE_UNISTD_H 1
  2283. | #define __EXTENSIONS__ 1
  2284. | #define _ALL_SOURCE 1
  2285. | #define _GNU_SOURCE 1
  2286. | #define _POSIX_PTHREAD_SEMANTICS 1
  2287. | #define _TANDEM_SOURCE 1
  2288. | #define sUPPORTED_LLVM_VERSION (7,0)
  2289. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  2290. | #define STDC_HEADERS 1
  2291. | #define HAVE_CTYPE_H 1
  2292. | #define HAVE_DIRENT_H 1
  2293. | #define HAVE_DLFCN_H 1
  2294. | #define HAVE_ERRNO_H 1
  2295. | #define HAVE_FCNTL_H 1
  2296. | #define HAVE_GRP_H 1
  2297. | #define HAVE_LIMITS_H 1
  2298. | #define HAVE_LOCALE_H 1
  2299. | #define HAVE_NLIST_H 1
  2300. | #define HAVE_PTHREAD_H 1
  2301. | #define HAVE_PWD_H 1
  2302. | #define HAVE_SIGNAL_H 1
  2303. | #define HAVE_SYS_PARAM_H 1
  2304. | #define HAVE_SYS_MMAN_H 1
  2305. | #define HAVE_SYS_RESOURCE_H 1
  2306. | #define HAVE_SYS_SELECT_H 1
  2307. | #define HAVE_SYS_TIME_H 1
  2308. | #define HAVE_SYS_TIMEB_H 1
  2309. | #define HAVE_SYS_TIMERFD_H 1
  2310. | #define HAVE_SYS_TIMES_H 1
  2311. | #define HAVE_SYS_UTSNAME_H 1
  2312. | #define HAVE_SYS_WAIT_H 1
  2313. | #define HAVE_TERMIOS_H 1
  2314. | #define HAVE_TIME_H 1
  2315. | #define HAVE_UTIME_H 1
  2316. | #define HAVE_SCHED_H 1
  2317. | #define TIME_WITH_SYS_TIME 1
  2318. | #define HAVE_LONG_LONG 1
  2319. | #define SIZEOF_CHAR 1
  2320. | #define ALIGNMENT_CHAR 1
  2321. | #define SIZEOF_DOUBLE 8
  2322. | /* end confdefs.h. */
  2323. | #include <stdio.h>
  2324. | #ifdef HAVE_SYS_TYPES_H
  2325. | # include <sys/types.h>
  2326. | #endif
  2327. | #ifdef HAVE_SYS_STAT_H
  2328. | # include <sys/stat.h>
  2329. | #endif
  2330. | #ifdef STDC_HEADERS
  2331. | # include <stdlib.h>
  2332. | # include <stddef.h>
  2333. | #else
  2334. | # ifdef HAVE_STDLIB_H
  2335. | # include <stdlib.h>
  2336. | # endif
  2337. | #endif
  2338. | #ifdef HAVE_STRING_H
  2339. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2340. | # include <memory.h>
  2341. | # endif
  2342. | # include <string.h>
  2343. | #endif
  2344. | #ifdef HAVE_STRINGS_H
  2345. | # include <strings.h>
  2346. | #endif
  2347. | #ifdef HAVE_INTTYPES_H
  2348. | # include <inttypes.h>
  2349. | #endif
  2350. | #ifdef HAVE_STDINT_H
  2351. | # include <stdint.h>
  2352. | #endif
  2353. | #ifdef HAVE_UNISTD_H
  2354. | # include <unistd.h>
  2355. | #endif
  2356. | int
  2357. | main ()
  2358. | {
  2359. | if (sizeof ((double)))
  2360. | return 0;
  2361. | ;
  2362. | return 0;
  2363. | }
  2364. configure:12018: result: yes
  2365. configure:12022: checking alignment of double
  2366. configure:12028: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2367. configure:12028: $? = 0
  2368. configure:12028: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2369. conftest.c: In function 'main':
  2370. conftest.c:94:12: error: size of array 'test_array' is negative
  2371. static int test_array [1 - 2 * !((offsetof(struct { char c; double ty; },ty)) <= 0)];
  2372. ^~~~~~~~~~
  2373. configure:12028: $? = 1
  2374. configure: failed program was:
  2375. | /* confdefs.h */
  2376. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  2377. | #define PACKAGE_TARNAME "ghc-8.7"
  2378. | #define PACKAGE_VERSION "8.7"
  2379. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  2380. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  2381. | #define PACKAGE_URL ""
  2382. | #define STDC_HEADERS 1
  2383. | #define HAVE_SYS_TYPES_H 1
  2384. | #define HAVE_SYS_STAT_H 1
  2385. | #define HAVE_STDLIB_H 1
  2386. | #define HAVE_STRING_H 1
  2387. | #define HAVE_MEMORY_H 1
  2388. | #define HAVE_STRINGS_H 1
  2389. | #define HAVE_INTTYPES_H 1
  2390. | #define HAVE_STDINT_H 1
  2391. | #define HAVE_UNISTD_H 1
  2392. | #define __EXTENSIONS__ 1
  2393. | #define _ALL_SOURCE 1
  2394. | #define _GNU_SOURCE 1
  2395. | #define _POSIX_PTHREAD_SEMANTICS 1
  2396. | #define _TANDEM_SOURCE 1
  2397. | #define sUPPORTED_LLVM_VERSION (7,0)
  2398. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  2399. | #define STDC_HEADERS 1
  2400. | #define HAVE_CTYPE_H 1
  2401. | #define HAVE_DIRENT_H 1
  2402. | #define HAVE_DLFCN_H 1
  2403. | #define HAVE_ERRNO_H 1
  2404. | #define HAVE_FCNTL_H 1
  2405. | #define HAVE_GRP_H 1
  2406. | #define HAVE_LIMITS_H 1
  2407. | #define HAVE_LOCALE_H 1
  2408. | #define HAVE_NLIST_H 1
  2409. | #define HAVE_PTHREAD_H 1
  2410. | #define HAVE_PWD_H 1
  2411. | #define HAVE_SIGNAL_H 1
  2412. | #define HAVE_SYS_PARAM_H 1
  2413. | #define HAVE_SYS_MMAN_H 1
  2414. | #define HAVE_SYS_RESOURCE_H 1
  2415. | #define HAVE_SYS_SELECT_H 1
  2416. | #define HAVE_SYS_TIME_H 1
  2417. | #define HAVE_SYS_TIMEB_H 1
  2418. | #define HAVE_SYS_TIMERFD_H 1
  2419. | #define HAVE_SYS_TIMES_H 1
  2420. | #define HAVE_SYS_UTSNAME_H 1
  2421. | #define HAVE_SYS_WAIT_H 1
  2422. | #define HAVE_TERMIOS_H 1
  2423. | #define HAVE_TIME_H 1
  2424. | #define HAVE_UTIME_H 1
  2425. | #define HAVE_SCHED_H 1
  2426. | #define TIME_WITH_SYS_TIME 1
  2427. | #define HAVE_LONG_LONG 1
  2428. | #define SIZEOF_CHAR 1
  2429. | #define ALIGNMENT_CHAR 1
  2430. | #define SIZEOF_DOUBLE 8
  2431. | /* end confdefs.h. */
  2432. | #include <stdio.h>
  2433. | #ifdef HAVE_SYS_TYPES_H
  2434. | # include <sys/types.h>
  2435. | #endif
  2436. | #ifdef HAVE_SYS_STAT_H
  2437. | # include <sys/stat.h>
  2438. | #endif
  2439. | #ifdef STDC_HEADERS
  2440. | # include <stdlib.h>
  2441. | # include <stddef.h>
  2442. | #else
  2443. | # ifdef HAVE_STDLIB_H
  2444. | # include <stdlib.h>
  2445. | # endif
  2446. | #endif
  2447. | #ifdef HAVE_STRING_H
  2448. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2449. | # include <memory.h>
  2450. | # endif
  2451. | # include <string.h>
  2452. | #endif
  2453. | #ifdef HAVE_STRINGS_H
  2454. | # include <strings.h>
  2455. | #endif
  2456. | #ifdef HAVE_INTTYPES_H
  2457. | # include <inttypes.h>
  2458. | #endif
  2459. | #ifdef HAVE_STDINT_H
  2460. | # include <stdint.h>
  2461. | #endif
  2462. | #ifdef HAVE_UNISTD_H
  2463. | # include <unistd.h>
  2464. | #endif
  2465. | int
  2466. | main ()
  2467. | {
  2468. | static int test_array [1 - 2 * !((offsetof(struct { char c; double ty; },ty)) <= 0)];
  2469. | test_array [0] = 0;
  2470. | return test_array [0];
  2471. |
  2472. | ;
  2473. | return 0;
  2474. | }
  2475. configure:12028: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2476. conftest.c: In function 'main':
  2477. conftest.c:94:12: error: size of array 'test_array' is negative
  2478. static int test_array [1 - 2 * !((offsetof(struct { char c; double ty; },ty)) <= 1)];
  2479. ^~~~~~~~~~
  2480. configure:12028: $? = 1
  2481. configure: failed program was:
  2482. | /* confdefs.h */
  2483. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  2484. | #define PACKAGE_TARNAME "ghc-8.7"
  2485. | #define PACKAGE_VERSION "8.7"
  2486. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  2487. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  2488. | #define PACKAGE_URL ""
  2489. | #define STDC_HEADERS 1
  2490. | #define HAVE_SYS_TYPES_H 1
  2491. | #define HAVE_SYS_STAT_H 1
  2492. | #define HAVE_STDLIB_H 1
  2493. | #define HAVE_STRING_H 1
  2494. | #define HAVE_MEMORY_H 1
  2495. | #define HAVE_STRINGS_H 1
  2496. | #define HAVE_INTTYPES_H 1
  2497. | #define HAVE_STDINT_H 1
  2498. | #define HAVE_UNISTD_H 1
  2499. | #define __EXTENSIONS__ 1
  2500. | #define _ALL_SOURCE 1
  2501. | #define _GNU_SOURCE 1
  2502. | #define _POSIX_PTHREAD_SEMANTICS 1
  2503. | #define _TANDEM_SOURCE 1
  2504. | #define sUPPORTED_LLVM_VERSION (7,0)
  2505. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  2506. | #define STDC_HEADERS 1
  2507. | #define HAVE_CTYPE_H 1
  2508. | #define HAVE_DIRENT_H 1
  2509. | #define HAVE_DLFCN_H 1
  2510. | #define HAVE_ERRNO_H 1
  2511. | #define HAVE_FCNTL_H 1
  2512. | #define HAVE_GRP_H 1
  2513. | #define HAVE_LIMITS_H 1
  2514. | #define HAVE_LOCALE_H 1
  2515. | #define HAVE_NLIST_H 1
  2516. | #define HAVE_PTHREAD_H 1
  2517. | #define HAVE_PWD_H 1
  2518. | #define HAVE_SIGNAL_H 1
  2519. | #define HAVE_SYS_PARAM_H 1
  2520. | #define HAVE_SYS_MMAN_H 1
  2521. | #define HAVE_SYS_RESOURCE_H 1
  2522. | #define HAVE_SYS_SELECT_H 1
  2523. | #define HAVE_SYS_TIME_H 1
  2524. | #define HAVE_SYS_TIMEB_H 1
  2525. | #define HAVE_SYS_TIMERFD_H 1
  2526. | #define HAVE_SYS_TIMES_H 1
  2527. | #define HAVE_SYS_UTSNAME_H 1
  2528. | #define HAVE_SYS_WAIT_H 1
  2529. | #define HAVE_TERMIOS_H 1
  2530. | #define HAVE_TIME_H 1
  2531. | #define HAVE_UTIME_H 1
  2532. | #define HAVE_SCHED_H 1
  2533. | #define TIME_WITH_SYS_TIME 1
  2534. | #define HAVE_LONG_LONG 1
  2535. | #define SIZEOF_CHAR 1
  2536. | #define ALIGNMENT_CHAR 1
  2537. | #define SIZEOF_DOUBLE 8
  2538. | /* end confdefs.h. */
  2539. | #include <stdio.h>
  2540. | #ifdef HAVE_SYS_TYPES_H
  2541. | # include <sys/types.h>
  2542. | #endif
  2543. | #ifdef HAVE_SYS_STAT_H
  2544. | # include <sys/stat.h>
  2545. | #endif
  2546. | #ifdef STDC_HEADERS
  2547. | # include <stdlib.h>
  2548. | # include <stddef.h>
  2549. | #else
  2550. | # ifdef HAVE_STDLIB_H
  2551. | # include <stdlib.h>
  2552. | # endif
  2553. | #endif
  2554. | #ifdef HAVE_STRING_H
  2555. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2556. | # include <memory.h>
  2557. | # endif
  2558. | # include <string.h>
  2559. | #endif
  2560. | #ifdef HAVE_STRINGS_H
  2561. | # include <strings.h>
  2562. | #endif
  2563. | #ifdef HAVE_INTTYPES_H
  2564. | # include <inttypes.h>
  2565. | #endif
  2566. | #ifdef HAVE_STDINT_H
  2567. | # include <stdint.h>
  2568. | #endif
  2569. | #ifdef HAVE_UNISTD_H
  2570. | # include <unistd.h>
  2571. | #endif
  2572. | int
  2573. | main ()
  2574. | {
  2575. | static int test_array [1 - 2 * !((offsetof(struct { char c; double ty; },ty)) <= 1)];
  2576. | test_array [0] = 0;
  2577. | return test_array [0];
  2578. |
  2579. | ;
  2580. | return 0;
  2581. | }
  2582. configure:12028: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2583. conftest.c: In function 'main':
  2584. conftest.c:94:12: error: size of array 'test_array' is negative
  2585. static int test_array [1 - 2 * !((offsetof(struct { char c; double ty; },ty)) <= 3)];
  2586. ^~~~~~~~~~
  2587. configure:12028: $? = 1
  2588. configure: failed program was:
  2589. | /* confdefs.h */
  2590. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  2591. | #define PACKAGE_TARNAME "ghc-8.7"
  2592. | #define PACKAGE_VERSION "8.7"
  2593. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  2594. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  2595. | #define PACKAGE_URL ""
  2596. | #define STDC_HEADERS 1
  2597. | #define HAVE_SYS_TYPES_H 1
  2598. | #define HAVE_SYS_STAT_H 1
  2599. | #define HAVE_STDLIB_H 1
  2600. | #define HAVE_STRING_H 1
  2601. | #define HAVE_MEMORY_H 1
  2602. | #define HAVE_STRINGS_H 1
  2603. | #define HAVE_INTTYPES_H 1
  2604. | #define HAVE_STDINT_H 1
  2605. | #define HAVE_UNISTD_H 1
  2606. | #define __EXTENSIONS__ 1
  2607. | #define _ALL_SOURCE 1
  2608. | #define _GNU_SOURCE 1
  2609. | #define _POSIX_PTHREAD_SEMANTICS 1
  2610. | #define _TANDEM_SOURCE 1
  2611. | #define sUPPORTED_LLVM_VERSION (7,0)
  2612. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  2613. | #define STDC_HEADERS 1
  2614. | #define HAVE_CTYPE_H 1
  2615. | #define HAVE_DIRENT_H 1
  2616. | #define HAVE_DLFCN_H 1
  2617. | #define HAVE_ERRNO_H 1
  2618. | #define HAVE_FCNTL_H 1
  2619. | #define HAVE_GRP_H 1
  2620. | #define HAVE_LIMITS_H 1
  2621. | #define HAVE_LOCALE_H 1
  2622. | #define HAVE_NLIST_H 1
  2623. | #define HAVE_PTHREAD_H 1
  2624. | #define HAVE_PWD_H 1
  2625. | #define HAVE_SIGNAL_H 1
  2626. | #define HAVE_SYS_PARAM_H 1
  2627. | #define HAVE_SYS_MMAN_H 1
  2628. | #define HAVE_SYS_RESOURCE_H 1
  2629. | #define HAVE_SYS_SELECT_H 1
  2630. | #define HAVE_SYS_TIME_H 1
  2631. | #define HAVE_SYS_TIMEB_H 1
  2632. | #define HAVE_SYS_TIMERFD_H 1
  2633. | #define HAVE_SYS_TIMES_H 1
  2634. | #define HAVE_SYS_UTSNAME_H 1
  2635. | #define HAVE_SYS_WAIT_H 1
  2636. | #define HAVE_TERMIOS_H 1
  2637. | #define HAVE_TIME_H 1
  2638. | #define HAVE_UTIME_H 1
  2639. | #define HAVE_SCHED_H 1
  2640. | #define TIME_WITH_SYS_TIME 1
  2641. | #define HAVE_LONG_LONG 1
  2642. | #define SIZEOF_CHAR 1
  2643. | #define ALIGNMENT_CHAR 1
  2644. | #define SIZEOF_DOUBLE 8
  2645. | /* end confdefs.h. */
  2646. | #include <stdio.h>
  2647. | #ifdef HAVE_SYS_TYPES_H
  2648. | # include <sys/types.h>
  2649. | #endif
  2650. | #ifdef HAVE_SYS_STAT_H
  2651. | # include <sys/stat.h>
  2652. | #endif
  2653. | #ifdef STDC_HEADERS
  2654. | # include <stdlib.h>
  2655. | # include <stddef.h>
  2656. | #else
  2657. | # ifdef HAVE_STDLIB_H
  2658. | # include <stdlib.h>
  2659. | # endif
  2660. | #endif
  2661. | #ifdef HAVE_STRING_H
  2662. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2663. | # include <memory.h>
  2664. | # endif
  2665. | # include <string.h>
  2666. | #endif
  2667. | #ifdef HAVE_STRINGS_H
  2668. | # include <strings.h>
  2669. | #endif
  2670. | #ifdef HAVE_INTTYPES_H
  2671. | # include <inttypes.h>
  2672. | #endif
  2673. | #ifdef HAVE_STDINT_H
  2674. | # include <stdint.h>
  2675. | #endif
  2676. | #ifdef HAVE_UNISTD_H
  2677. | # include <unistd.h>
  2678. | #endif
  2679. | int
  2680. | main ()
  2681. | {
  2682. | static int test_array [1 - 2 * !((offsetof(struct { char c; double ty; },ty)) <= 3)];
  2683. | test_array [0] = 0;
  2684. | return test_array [0];
  2685. |
  2686. | ;
  2687. | return 0;
  2688. | }
  2689. configure:12028: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2690. conftest.c: In function 'main':
  2691. conftest.c:94:12: error: size of array 'test_array' is negative
  2692. static int test_array [1 - 2 * !((offsetof(struct { char c; double ty; },ty)) <= 7)];
  2693. ^~~~~~~~~~
  2694. configure:12028: $? = 1
  2695. configure: failed program was:
  2696. | /* confdefs.h */
  2697. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  2698. | #define PACKAGE_TARNAME "ghc-8.7"
  2699. | #define PACKAGE_VERSION "8.7"
  2700. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  2701. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  2702. | #define PACKAGE_URL ""
  2703. | #define STDC_HEADERS 1
  2704. | #define HAVE_SYS_TYPES_H 1
  2705. | #define HAVE_SYS_STAT_H 1
  2706. | #define HAVE_STDLIB_H 1
  2707. | #define HAVE_STRING_H 1
  2708. | #define HAVE_MEMORY_H 1
  2709. | #define HAVE_STRINGS_H 1
  2710. | #define HAVE_INTTYPES_H 1
  2711. | #define HAVE_STDINT_H 1
  2712. | #define HAVE_UNISTD_H 1
  2713. | #define __EXTENSIONS__ 1
  2714. | #define _ALL_SOURCE 1
  2715. | #define _GNU_SOURCE 1
  2716. | #define _POSIX_PTHREAD_SEMANTICS 1
  2717. | #define _TANDEM_SOURCE 1
  2718. | #define sUPPORTED_LLVM_VERSION (7,0)
  2719. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  2720. | #define STDC_HEADERS 1
  2721. | #define HAVE_CTYPE_H 1
  2722. | #define HAVE_DIRENT_H 1
  2723. | #define HAVE_DLFCN_H 1
  2724. | #define HAVE_ERRNO_H 1
  2725. | #define HAVE_FCNTL_H 1
  2726. | #define HAVE_GRP_H 1
  2727. | #define HAVE_LIMITS_H 1
  2728. | #define HAVE_LOCALE_H 1
  2729. | #define HAVE_NLIST_H 1
  2730. | #define HAVE_PTHREAD_H 1
  2731. | #define HAVE_PWD_H 1
  2732. | #define HAVE_SIGNAL_H 1
  2733. | #define HAVE_SYS_PARAM_H 1
  2734. | #define HAVE_SYS_MMAN_H 1
  2735. | #define HAVE_SYS_RESOURCE_H 1
  2736. | #define HAVE_SYS_SELECT_H 1
  2737. | #define HAVE_SYS_TIME_H 1
  2738. | #define HAVE_SYS_TIMEB_H 1
  2739. | #define HAVE_SYS_TIMERFD_H 1
  2740. | #define HAVE_SYS_TIMES_H 1
  2741. | #define HAVE_SYS_UTSNAME_H 1
  2742. | #define HAVE_SYS_WAIT_H 1
  2743. | #define HAVE_TERMIOS_H 1
  2744. | #define HAVE_TIME_H 1
  2745. | #define HAVE_UTIME_H 1
  2746. | #define HAVE_SCHED_H 1
  2747. | #define TIME_WITH_SYS_TIME 1
  2748. | #define HAVE_LONG_LONG 1
  2749. | #define SIZEOF_CHAR 1
  2750. | #define ALIGNMENT_CHAR 1
  2751. | #define SIZEOF_DOUBLE 8
  2752. | /* end confdefs.h. */
  2753. | #include <stdio.h>
  2754. | #ifdef HAVE_SYS_TYPES_H
  2755. | # include <sys/types.h>
  2756. | #endif
  2757. | #ifdef HAVE_SYS_STAT_H
  2758. | # include <sys/stat.h>
  2759. | #endif
  2760. | #ifdef STDC_HEADERS
  2761. | # include <stdlib.h>
  2762. | # include <stddef.h>
  2763. | #else
  2764. | # ifdef HAVE_STDLIB_H
  2765. | # include <stdlib.h>
  2766. | # endif
  2767. | #endif
  2768. | #ifdef HAVE_STRING_H
  2769. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2770. | # include <memory.h>
  2771. | # endif
  2772. | # include <string.h>
  2773. | #endif
  2774. | #ifdef HAVE_STRINGS_H
  2775. | # include <strings.h>
  2776. | #endif
  2777. | #ifdef HAVE_INTTYPES_H
  2778. | # include <inttypes.h>
  2779. | #endif
  2780. | #ifdef HAVE_STDINT_H
  2781. | # include <stdint.h>
  2782. | #endif
  2783. | #ifdef HAVE_UNISTD_H
  2784. | # include <unistd.h>
  2785. | #endif
  2786. | int
  2787. | main ()
  2788. | {
  2789. | static int test_array [1 - 2 * !((offsetof(struct { char c; double ty; },ty)) <= 7)];
  2790. | test_array [0] = 0;
  2791. | return test_array [0];
  2792. |
  2793. | ;
  2794. | return 0;
  2795. | }
  2796. configure:12028: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2797. configure:12028: $? = 0
  2798. configure:12028: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2799. configure:12028: $? = 0
  2800. configure:12028: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2801. configure:12028: $? = 0
  2802. configure:12028: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2803. configure:12028: $? = 0
  2804. configure:12040: result: 8
  2805. configure:12051: checking size of float
  2806. configure:12056: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2807. configure:12056: $? = 0
  2808. configure:12056: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2809. conftest.c: In function 'main':
  2810. conftest.c:95:12: error: size of array 'test_array' is negative
  2811. static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= 0)];
  2812. ^~~~~~~~~~
  2813. configure:12056: $? = 1
  2814. configure: failed program was:
  2815. | /* confdefs.h */
  2816. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  2817. | #define PACKAGE_TARNAME "ghc-8.7"
  2818. | #define PACKAGE_VERSION "8.7"
  2819. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  2820. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  2821. | #define PACKAGE_URL ""
  2822. | #define STDC_HEADERS 1
  2823. | #define HAVE_SYS_TYPES_H 1
  2824. | #define HAVE_SYS_STAT_H 1
  2825. | #define HAVE_STDLIB_H 1
  2826. | #define HAVE_STRING_H 1
  2827. | #define HAVE_MEMORY_H 1
  2828. | #define HAVE_STRINGS_H 1
  2829. | #define HAVE_INTTYPES_H 1
  2830. | #define HAVE_STDINT_H 1
  2831. | #define HAVE_UNISTD_H 1
  2832. | #define __EXTENSIONS__ 1
  2833. | #define _ALL_SOURCE 1
  2834. | #define _GNU_SOURCE 1
  2835. | #define _POSIX_PTHREAD_SEMANTICS 1
  2836. | #define _TANDEM_SOURCE 1
  2837. | #define sUPPORTED_LLVM_VERSION (7,0)
  2838. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  2839. | #define STDC_HEADERS 1
  2840. | #define HAVE_CTYPE_H 1
  2841. | #define HAVE_DIRENT_H 1
  2842. | #define HAVE_DLFCN_H 1
  2843. | #define HAVE_ERRNO_H 1
  2844. | #define HAVE_FCNTL_H 1
  2845. | #define HAVE_GRP_H 1
  2846. | #define HAVE_LIMITS_H 1
  2847. | #define HAVE_LOCALE_H 1
  2848. | #define HAVE_NLIST_H 1
  2849. | #define HAVE_PTHREAD_H 1
  2850. | #define HAVE_PWD_H 1
  2851. | #define HAVE_SIGNAL_H 1
  2852. | #define HAVE_SYS_PARAM_H 1
  2853. | #define HAVE_SYS_MMAN_H 1
  2854. | #define HAVE_SYS_RESOURCE_H 1
  2855. | #define HAVE_SYS_SELECT_H 1
  2856. | #define HAVE_SYS_TIME_H 1
  2857. | #define HAVE_SYS_TIMEB_H 1
  2858. | #define HAVE_SYS_TIMERFD_H 1
  2859. | #define HAVE_SYS_TIMES_H 1
  2860. | #define HAVE_SYS_UTSNAME_H 1
  2861. | #define HAVE_SYS_WAIT_H 1
  2862. | #define HAVE_TERMIOS_H 1
  2863. | #define HAVE_TIME_H 1
  2864. | #define HAVE_UTIME_H 1
  2865. | #define HAVE_SCHED_H 1
  2866. | #define TIME_WITH_SYS_TIME 1
  2867. | #define HAVE_LONG_LONG 1
  2868. | #define SIZEOF_CHAR 1
  2869. | #define ALIGNMENT_CHAR 1
  2870. | #define SIZEOF_DOUBLE 8
  2871. | #define ALIGNMENT_DOUBLE 8
  2872. | /* end confdefs.h. */
  2873. | #include <stdio.h>
  2874. | #ifdef HAVE_SYS_TYPES_H
  2875. | # include <sys/types.h>
  2876. | #endif
  2877. | #ifdef HAVE_SYS_STAT_H
  2878. | # include <sys/stat.h>
  2879. | #endif
  2880. | #ifdef STDC_HEADERS
  2881. | # include <stdlib.h>
  2882. | # include <stddef.h>
  2883. | #else
  2884. | # ifdef HAVE_STDLIB_H
  2885. | # include <stdlib.h>
  2886. | # endif
  2887. | #endif
  2888. | #ifdef HAVE_STRING_H
  2889. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2890. | # include <memory.h>
  2891. | # endif
  2892. | # include <string.h>
  2893. | #endif
  2894. | #ifdef HAVE_STRINGS_H
  2895. | # include <strings.h>
  2896. | #endif
  2897. | #ifdef HAVE_INTTYPES_H
  2898. | # include <inttypes.h>
  2899. | #endif
  2900. | #ifdef HAVE_STDINT_H
  2901. | # include <stdint.h>
  2902. | #endif
  2903. | #ifdef HAVE_UNISTD_H
  2904. | # include <unistd.h>
  2905. | #endif
  2906. | int
  2907. | main ()
  2908. | {
  2909. | static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= 0)];
  2910. | test_array [0] = 0;
  2911. | return test_array [0];
  2912. |
  2913. | ;
  2914. | return 0;
  2915. | }
  2916. configure:12056: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  2917. conftest.c: In function 'main':
  2918. conftest.c:95:12: error: size of array 'test_array' is negative
  2919. static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= 1)];
  2920. ^~~~~~~~~~
  2921. configure:12056: $? = 1
  2922. configure: failed program was:
  2923. | /* confdefs.h */
  2924. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  2925. | #define PACKAGE_TARNAME "ghc-8.7"
  2926. | #define PACKAGE_VERSION "8.7"
  2927. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  2928. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  2929. | #define PACKAGE_URL ""
  2930. | #define STDC_HEADERS 1
  2931. | #define HAVE_SYS_TYPES_H 1
  2932. | #define HAVE_SYS_STAT_H 1
  2933. | #define HAVE_STDLIB_H 1
  2934. | #define HAVE_STRING_H 1
  2935. | #define HAVE_MEMORY_H 1
  2936. | #define HAVE_STRINGS_H 1
  2937. | #define HAVE_INTTYPES_H 1
  2938. | #define HAVE_STDINT_H 1
  2939. | #define HAVE_UNISTD_H 1
  2940. | #define __EXTENSIONS__ 1
  2941. | #define _ALL_SOURCE 1
  2942. | #define _GNU_SOURCE 1
  2943. | #define _POSIX_PTHREAD_SEMANTICS 1
  2944. | #define _TANDEM_SOURCE 1
  2945. | #define sUPPORTED_LLVM_VERSION (7,0)
  2946. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  2947. | #define STDC_HEADERS 1
  2948. | #define HAVE_CTYPE_H 1
  2949. | #define HAVE_DIRENT_H 1
  2950. | #define HAVE_DLFCN_H 1
  2951. | #define HAVE_ERRNO_H 1
  2952. | #define HAVE_FCNTL_H 1
  2953. | #define HAVE_GRP_H 1
  2954. | #define HAVE_LIMITS_H 1
  2955. | #define HAVE_LOCALE_H 1
  2956. | #define HAVE_NLIST_H 1
  2957. | #define HAVE_PTHREAD_H 1
  2958. | #define HAVE_PWD_H 1
  2959. | #define HAVE_SIGNAL_H 1
  2960. | #define HAVE_SYS_PARAM_H 1
  2961. | #define HAVE_SYS_MMAN_H 1
  2962. | #define HAVE_SYS_RESOURCE_H 1
  2963. | #define HAVE_SYS_SELECT_H 1
  2964. | #define HAVE_SYS_TIME_H 1
  2965. | #define HAVE_SYS_TIMEB_H 1
  2966. | #define HAVE_SYS_TIMERFD_H 1
  2967. | #define HAVE_SYS_TIMES_H 1
  2968. | #define HAVE_SYS_UTSNAME_H 1
  2969. | #define HAVE_SYS_WAIT_H 1
  2970. | #define HAVE_TERMIOS_H 1
  2971. | #define HAVE_TIME_H 1
  2972. | #define HAVE_UTIME_H 1
  2973. | #define HAVE_SCHED_H 1
  2974. | #define TIME_WITH_SYS_TIME 1
  2975. | #define HAVE_LONG_LONG 1
  2976. | #define SIZEOF_CHAR 1
  2977. | #define ALIGNMENT_CHAR 1
  2978. | #define SIZEOF_DOUBLE 8
  2979. | #define ALIGNMENT_DOUBLE 8
  2980. | /* end confdefs.h. */
  2981. | #include <stdio.h>
  2982. | #ifdef HAVE_SYS_TYPES_H
  2983. | # include <sys/types.h>
  2984. | #endif
  2985. | #ifdef HAVE_SYS_STAT_H
  2986. | # include <sys/stat.h>
  2987. | #endif
  2988. | #ifdef STDC_HEADERS
  2989. | # include <stdlib.h>
  2990. | # include <stddef.h>
  2991. | #else
  2992. | # ifdef HAVE_STDLIB_H
  2993. | # include <stdlib.h>
  2994. | # endif
  2995. | #endif
  2996. | #ifdef HAVE_STRING_H
  2997. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2998. | # include <memory.h>
  2999. | # endif
  3000. | # include <string.h>
  3001. | #endif
  3002. | #ifdef HAVE_STRINGS_H
  3003. | # include <strings.h>
  3004. | #endif
  3005. | #ifdef HAVE_INTTYPES_H
  3006. | # include <inttypes.h>
  3007. | #endif
  3008. | #ifdef HAVE_STDINT_H
  3009. | # include <stdint.h>
  3010. | #endif
  3011. | #ifdef HAVE_UNISTD_H
  3012. | # include <unistd.h>
  3013. | #endif
  3014. | int
  3015. | main ()
  3016. | {
  3017. | static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= 1)];
  3018. | test_array [0] = 0;
  3019. | return test_array [0];
  3020. |
  3021. | ;
  3022. | return 0;
  3023. | }
  3024. configure:12056: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3025. conftest.c: In function 'main':
  3026. conftest.c:95:12: error: size of array 'test_array' is negative
  3027. static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= 3)];
  3028. ^~~~~~~~~~
  3029. configure:12056: $? = 1
  3030. configure: failed program was:
  3031. | /* confdefs.h */
  3032. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  3033. | #define PACKAGE_TARNAME "ghc-8.7"
  3034. | #define PACKAGE_VERSION "8.7"
  3035. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  3036. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  3037. | #define PACKAGE_URL ""
  3038. | #define STDC_HEADERS 1
  3039. | #define HAVE_SYS_TYPES_H 1
  3040. | #define HAVE_SYS_STAT_H 1
  3041. | #define HAVE_STDLIB_H 1
  3042. | #define HAVE_STRING_H 1
  3043. | #define HAVE_MEMORY_H 1
  3044. | #define HAVE_STRINGS_H 1
  3045. | #define HAVE_INTTYPES_H 1
  3046. | #define HAVE_STDINT_H 1
  3047. | #define HAVE_UNISTD_H 1
  3048. | #define __EXTENSIONS__ 1
  3049. | #define _ALL_SOURCE 1
  3050. | #define _GNU_SOURCE 1
  3051. | #define _POSIX_PTHREAD_SEMANTICS 1
  3052. | #define _TANDEM_SOURCE 1
  3053. | #define sUPPORTED_LLVM_VERSION (7,0)
  3054. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  3055. | #define STDC_HEADERS 1
  3056. | #define HAVE_CTYPE_H 1
  3057. | #define HAVE_DIRENT_H 1
  3058. | #define HAVE_DLFCN_H 1
  3059. | #define HAVE_ERRNO_H 1
  3060. | #define HAVE_FCNTL_H 1
  3061. | #define HAVE_GRP_H 1
  3062. | #define HAVE_LIMITS_H 1
  3063. | #define HAVE_LOCALE_H 1
  3064. | #define HAVE_NLIST_H 1
  3065. | #define HAVE_PTHREAD_H 1
  3066. | #define HAVE_PWD_H 1
  3067. | #define HAVE_SIGNAL_H 1
  3068. | #define HAVE_SYS_PARAM_H 1
  3069. | #define HAVE_SYS_MMAN_H 1
  3070. | #define HAVE_SYS_RESOURCE_H 1
  3071. | #define HAVE_SYS_SELECT_H 1
  3072. | #define HAVE_SYS_TIME_H 1
  3073. | #define HAVE_SYS_TIMEB_H 1
  3074. | #define HAVE_SYS_TIMERFD_H 1
  3075. | #define HAVE_SYS_TIMES_H 1
  3076. | #define HAVE_SYS_UTSNAME_H 1
  3077. | #define HAVE_SYS_WAIT_H 1
  3078. | #define HAVE_TERMIOS_H 1
  3079. | #define HAVE_TIME_H 1
  3080. | #define HAVE_UTIME_H 1
  3081. | #define HAVE_SCHED_H 1
  3082. | #define TIME_WITH_SYS_TIME 1
  3083. | #define HAVE_LONG_LONG 1
  3084. | #define SIZEOF_CHAR 1
  3085. | #define ALIGNMENT_CHAR 1
  3086. | #define SIZEOF_DOUBLE 8
  3087. | #define ALIGNMENT_DOUBLE 8
  3088. | /* end confdefs.h. */
  3089. | #include <stdio.h>
  3090. | #ifdef HAVE_SYS_TYPES_H
  3091. | # include <sys/types.h>
  3092. | #endif
  3093. | #ifdef HAVE_SYS_STAT_H
  3094. | # include <sys/stat.h>
  3095. | #endif
  3096. | #ifdef STDC_HEADERS
  3097. | # include <stdlib.h>
  3098. | # include <stddef.h>
  3099. | #else
  3100. | # ifdef HAVE_STDLIB_H
  3101. | # include <stdlib.h>
  3102. | # endif
  3103. | #endif
  3104. | #ifdef HAVE_STRING_H
  3105. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3106. | # include <memory.h>
  3107. | # endif
  3108. | # include <string.h>
  3109. | #endif
  3110. | #ifdef HAVE_STRINGS_H
  3111. | # include <strings.h>
  3112. | #endif
  3113. | #ifdef HAVE_INTTYPES_H
  3114. | # include <inttypes.h>
  3115. | #endif
  3116. | #ifdef HAVE_STDINT_H
  3117. | # include <stdint.h>
  3118. | #endif
  3119. | #ifdef HAVE_UNISTD_H
  3120. | # include <unistd.h>
  3121. | #endif
  3122. | int
  3123. | main ()
  3124. | {
  3125. | static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= 3)];
  3126. | test_array [0] = 0;
  3127. | return test_array [0];
  3128. |
  3129. | ;
  3130. | return 0;
  3131. | }
  3132. configure:12056: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3133. configure:12056: $? = 0
  3134. configure:12056: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3135. configure:12056: $? = 0
  3136. configure:12056: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3137. configure:12056: $? = 0
  3138. configure:12070: result: 4
  3139. configure:12080: checking for float
  3140. configure:12080: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3141. configure:12080: $? = 0
  3142. configure:12080: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3143. conftest.c: In function 'main':
  3144. conftest.c:96:20: error: expected expression before ')' token
  3145. if (sizeof ((float)))
  3146. ^
  3147. configure:12080: $? = 1
  3148. configure: failed program was:
  3149. | /* confdefs.h */
  3150. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  3151. | #define PACKAGE_TARNAME "ghc-8.7"
  3152. | #define PACKAGE_VERSION "8.7"
  3153. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  3154. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  3155. | #define PACKAGE_URL ""
  3156. | #define STDC_HEADERS 1
  3157. | #define HAVE_SYS_TYPES_H 1
  3158. | #define HAVE_SYS_STAT_H 1
  3159. | #define HAVE_STDLIB_H 1
  3160. | #define HAVE_STRING_H 1
  3161. | #define HAVE_MEMORY_H 1
  3162. | #define HAVE_STRINGS_H 1
  3163. | #define HAVE_INTTYPES_H 1
  3164. | #define HAVE_STDINT_H 1
  3165. | #define HAVE_UNISTD_H 1
  3166. | #define __EXTENSIONS__ 1
  3167. | #define _ALL_SOURCE 1
  3168. | #define _GNU_SOURCE 1
  3169. | #define _POSIX_PTHREAD_SEMANTICS 1
  3170. | #define _TANDEM_SOURCE 1
  3171. | #define sUPPORTED_LLVM_VERSION (7,0)
  3172. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  3173. | #define STDC_HEADERS 1
  3174. | #define HAVE_CTYPE_H 1
  3175. | #define HAVE_DIRENT_H 1
  3176. | #define HAVE_DLFCN_H 1
  3177. | #define HAVE_ERRNO_H 1
  3178. | #define HAVE_FCNTL_H 1
  3179. | #define HAVE_GRP_H 1
  3180. | #define HAVE_LIMITS_H 1
  3181. | #define HAVE_LOCALE_H 1
  3182. | #define HAVE_NLIST_H 1
  3183. | #define HAVE_PTHREAD_H 1
  3184. | #define HAVE_PWD_H 1
  3185. | #define HAVE_SIGNAL_H 1
  3186. | #define HAVE_SYS_PARAM_H 1
  3187. | #define HAVE_SYS_MMAN_H 1
  3188. | #define HAVE_SYS_RESOURCE_H 1
  3189. | #define HAVE_SYS_SELECT_H 1
  3190. | #define HAVE_SYS_TIME_H 1
  3191. | #define HAVE_SYS_TIMEB_H 1
  3192. | #define HAVE_SYS_TIMERFD_H 1
  3193. | #define HAVE_SYS_TIMES_H 1
  3194. | #define HAVE_SYS_UTSNAME_H 1
  3195. | #define HAVE_SYS_WAIT_H 1
  3196. | #define HAVE_TERMIOS_H 1
  3197. | #define HAVE_TIME_H 1
  3198. | #define HAVE_UTIME_H 1
  3199. | #define HAVE_SCHED_H 1
  3200. | #define TIME_WITH_SYS_TIME 1
  3201. | #define HAVE_LONG_LONG 1
  3202. | #define SIZEOF_CHAR 1
  3203. | #define ALIGNMENT_CHAR 1
  3204. | #define SIZEOF_DOUBLE 8
  3205. | #define ALIGNMENT_DOUBLE 8
  3206. | #define SIZEOF_FLOAT 4
  3207. | /* end confdefs.h. */
  3208. | #include <stdio.h>
  3209. | #ifdef HAVE_SYS_TYPES_H
  3210. | # include <sys/types.h>
  3211. | #endif
  3212. | #ifdef HAVE_SYS_STAT_H
  3213. | # include <sys/stat.h>
  3214. | #endif
  3215. | #ifdef STDC_HEADERS
  3216. | # include <stdlib.h>
  3217. | # include <stddef.h>
  3218. | #else
  3219. | # ifdef HAVE_STDLIB_H
  3220. | # include <stdlib.h>
  3221. | # endif
  3222. | #endif
  3223. | #ifdef HAVE_STRING_H
  3224. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3225. | # include <memory.h>
  3226. | # endif
  3227. | # include <string.h>
  3228. | #endif
  3229. | #ifdef HAVE_STRINGS_H
  3230. | # include <strings.h>
  3231. | #endif
  3232. | #ifdef HAVE_INTTYPES_H
  3233. | # include <inttypes.h>
  3234. | #endif
  3235. | #ifdef HAVE_STDINT_H
  3236. | # include <stdint.h>
  3237. | #endif
  3238. | #ifdef HAVE_UNISTD_H
  3239. | # include <unistd.h>
  3240. | #endif
  3241. | int
  3242. | main ()
  3243. | {
  3244. | if (sizeof ((float)))
  3245. | return 0;
  3246. | ;
  3247. | return 0;
  3248. | }
  3249. configure:12080: result: yes
  3250. configure:12084: checking alignment of float
  3251. configure:12090: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3252. configure:12090: $? = 0
  3253. configure:12090: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3254. conftest.c: In function 'main':
  3255. conftest.c:96:12: error: size of array 'test_array' is negative
  3256. static int test_array [1 - 2 * !((offsetof(struct { char c; float ty; },ty)) <= 0)];
  3257. ^~~~~~~~~~
  3258. configure:12090: $? = 1
  3259. configure: failed program was:
  3260. | /* confdefs.h */
  3261. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  3262. | #define PACKAGE_TARNAME "ghc-8.7"
  3263. | #define PACKAGE_VERSION "8.7"
  3264. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  3265. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  3266. | #define PACKAGE_URL ""
  3267. | #define STDC_HEADERS 1
  3268. | #define HAVE_SYS_TYPES_H 1
  3269. | #define HAVE_SYS_STAT_H 1
  3270. | #define HAVE_STDLIB_H 1
  3271. | #define HAVE_STRING_H 1
  3272. | #define HAVE_MEMORY_H 1
  3273. | #define HAVE_STRINGS_H 1
  3274. | #define HAVE_INTTYPES_H 1
  3275. | #define HAVE_STDINT_H 1
  3276. | #define HAVE_UNISTD_H 1
  3277. | #define __EXTENSIONS__ 1
  3278. | #define _ALL_SOURCE 1
  3279. | #define _GNU_SOURCE 1
  3280. | #define _POSIX_PTHREAD_SEMANTICS 1
  3281. | #define _TANDEM_SOURCE 1
  3282. | #define sUPPORTED_LLVM_VERSION (7,0)
  3283. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  3284. | #define STDC_HEADERS 1
  3285. | #define HAVE_CTYPE_H 1
  3286. | #define HAVE_DIRENT_H 1
  3287. | #define HAVE_DLFCN_H 1
  3288. | #define HAVE_ERRNO_H 1
  3289. | #define HAVE_FCNTL_H 1
  3290. | #define HAVE_GRP_H 1
  3291. | #define HAVE_LIMITS_H 1
  3292. | #define HAVE_LOCALE_H 1
  3293. | #define HAVE_NLIST_H 1
  3294. | #define HAVE_PTHREAD_H 1
  3295. | #define HAVE_PWD_H 1
  3296. | #define HAVE_SIGNAL_H 1
  3297. | #define HAVE_SYS_PARAM_H 1
  3298. | #define HAVE_SYS_MMAN_H 1
  3299. | #define HAVE_SYS_RESOURCE_H 1
  3300. | #define HAVE_SYS_SELECT_H 1
  3301. | #define HAVE_SYS_TIME_H 1
  3302. | #define HAVE_SYS_TIMEB_H 1
  3303. | #define HAVE_SYS_TIMERFD_H 1
  3304. | #define HAVE_SYS_TIMES_H 1
  3305. | #define HAVE_SYS_UTSNAME_H 1
  3306. | #define HAVE_SYS_WAIT_H 1
  3307. | #define HAVE_TERMIOS_H 1
  3308. | #define HAVE_TIME_H 1
  3309. | #define HAVE_UTIME_H 1
  3310. | #define HAVE_SCHED_H 1
  3311. | #define TIME_WITH_SYS_TIME 1
  3312. | #define HAVE_LONG_LONG 1
  3313. | #define SIZEOF_CHAR 1
  3314. | #define ALIGNMENT_CHAR 1
  3315. | #define SIZEOF_DOUBLE 8
  3316. | #define ALIGNMENT_DOUBLE 8
  3317. | #define SIZEOF_FLOAT 4
  3318. | /* end confdefs.h. */
  3319. | #include <stdio.h>
  3320. | #ifdef HAVE_SYS_TYPES_H
  3321. | # include <sys/types.h>
  3322. | #endif
  3323. | #ifdef HAVE_SYS_STAT_H
  3324. | # include <sys/stat.h>
  3325. | #endif
  3326. | #ifdef STDC_HEADERS
  3327. | # include <stdlib.h>
  3328. | # include <stddef.h>
  3329. | #else
  3330. | # ifdef HAVE_STDLIB_H
  3331. | # include <stdlib.h>
  3332. | # endif
  3333. | #endif
  3334. | #ifdef HAVE_STRING_H
  3335. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3336. | # include <memory.h>
  3337. | # endif
  3338. | # include <string.h>
  3339. | #endif
  3340. | #ifdef HAVE_STRINGS_H
  3341. | # include <strings.h>
  3342. | #endif
  3343. | #ifdef HAVE_INTTYPES_H
  3344. | # include <inttypes.h>
  3345. | #endif
  3346. | #ifdef HAVE_STDINT_H
  3347. | # include <stdint.h>
  3348. | #endif
  3349. | #ifdef HAVE_UNISTD_H
  3350. | # include <unistd.h>
  3351. | #endif
  3352. | int
  3353. | main ()
  3354. | {
  3355. | static int test_array [1 - 2 * !((offsetof(struct { char c; float ty; },ty)) <= 0)];
  3356. | test_array [0] = 0;
  3357. | return test_array [0];
  3358. |
  3359. | ;
  3360. | return 0;
  3361. | }
  3362. configure:12090: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3363. conftest.c: In function 'main':
  3364. conftest.c:96:12: error: size of array 'test_array' is negative
  3365. static int test_array [1 - 2 * !((offsetof(struct { char c; float ty; },ty)) <= 1)];
  3366. ^~~~~~~~~~
  3367. configure:12090: $? = 1
  3368. configure: failed program was:
  3369. | /* confdefs.h */
  3370. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  3371. | #define PACKAGE_TARNAME "ghc-8.7"
  3372. | #define PACKAGE_VERSION "8.7"
  3373. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  3374. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  3375. | #define PACKAGE_URL ""
  3376. | #define STDC_HEADERS 1
  3377. | #define HAVE_SYS_TYPES_H 1
  3378. | #define HAVE_SYS_STAT_H 1
  3379. | #define HAVE_STDLIB_H 1
  3380. | #define HAVE_STRING_H 1
  3381. | #define HAVE_MEMORY_H 1
  3382. | #define HAVE_STRINGS_H 1
  3383. | #define HAVE_INTTYPES_H 1
  3384. | #define HAVE_STDINT_H 1
  3385. | #define HAVE_UNISTD_H 1
  3386. | #define __EXTENSIONS__ 1
  3387. | #define _ALL_SOURCE 1
  3388. | #define _GNU_SOURCE 1
  3389. | #define _POSIX_PTHREAD_SEMANTICS 1
  3390. | #define _TANDEM_SOURCE 1
  3391. | #define sUPPORTED_LLVM_VERSION (7,0)
  3392. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  3393. | #define STDC_HEADERS 1
  3394. | #define HAVE_CTYPE_H 1
  3395. | #define HAVE_DIRENT_H 1
  3396. | #define HAVE_DLFCN_H 1
  3397. | #define HAVE_ERRNO_H 1
  3398. | #define HAVE_FCNTL_H 1
  3399. | #define HAVE_GRP_H 1
  3400. | #define HAVE_LIMITS_H 1
  3401. | #define HAVE_LOCALE_H 1
  3402. | #define HAVE_NLIST_H 1
  3403. | #define HAVE_PTHREAD_H 1
  3404. | #define HAVE_PWD_H 1
  3405. | #define HAVE_SIGNAL_H 1
  3406. | #define HAVE_SYS_PARAM_H 1
  3407. | #define HAVE_SYS_MMAN_H 1
  3408. | #define HAVE_SYS_RESOURCE_H 1
  3409. | #define HAVE_SYS_SELECT_H 1
  3410. | #define HAVE_SYS_TIME_H 1
  3411. | #define HAVE_SYS_TIMEB_H 1
  3412. | #define HAVE_SYS_TIMERFD_H 1
  3413. | #define HAVE_SYS_TIMES_H 1
  3414. | #define HAVE_SYS_UTSNAME_H 1
  3415. | #define HAVE_SYS_WAIT_H 1
  3416. | #define HAVE_TERMIOS_H 1
  3417. | #define HAVE_TIME_H 1
  3418. | #define HAVE_UTIME_H 1
  3419. | #define HAVE_SCHED_H 1
  3420. | #define TIME_WITH_SYS_TIME 1
  3421. | #define HAVE_LONG_LONG 1
  3422. | #define SIZEOF_CHAR 1
  3423. | #define ALIGNMENT_CHAR 1
  3424. | #define SIZEOF_DOUBLE 8
  3425. | #define ALIGNMENT_DOUBLE 8
  3426. | #define SIZEOF_FLOAT 4
  3427. | /* end confdefs.h. */
  3428. | #include <stdio.h>
  3429. | #ifdef HAVE_SYS_TYPES_H
  3430. | # include <sys/types.h>
  3431. | #endif
  3432. | #ifdef HAVE_SYS_STAT_H
  3433. | # include <sys/stat.h>
  3434. | #endif
  3435. | #ifdef STDC_HEADERS
  3436. | # include <stdlib.h>
  3437. | # include <stddef.h>
  3438. | #else
  3439. | # ifdef HAVE_STDLIB_H
  3440. | # include <stdlib.h>
  3441. | # endif
  3442. | #endif
  3443. | #ifdef HAVE_STRING_H
  3444. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3445. | # include <memory.h>
  3446. | # endif
  3447. | # include <string.h>
  3448. | #endif
  3449. | #ifdef HAVE_STRINGS_H
  3450. | # include <strings.h>
  3451. | #endif
  3452. | #ifdef HAVE_INTTYPES_H
  3453. | # include <inttypes.h>
  3454. | #endif
  3455. | #ifdef HAVE_STDINT_H
  3456. | # include <stdint.h>
  3457. | #endif
  3458. | #ifdef HAVE_UNISTD_H
  3459. | # include <unistd.h>
  3460. | #endif
  3461. | int
  3462. | main ()
  3463. | {
  3464. | static int test_array [1 - 2 * !((offsetof(struct { char c; float ty; },ty)) <= 1)];
  3465. | test_array [0] = 0;
  3466. | return test_array [0];
  3467. |
  3468. | ;
  3469. | return 0;
  3470. | }
  3471. configure:12090: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3472. conftest.c: In function 'main':
  3473. conftest.c:96:12: error: size of array 'test_array' is negative
  3474. static int test_array [1 - 2 * !((offsetof(struct { char c; float ty; },ty)) <= 3)];
  3475. ^~~~~~~~~~
  3476. configure:12090: $? = 1
  3477. configure: failed program was:
  3478. | /* confdefs.h */
  3479. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  3480. | #define PACKAGE_TARNAME "ghc-8.7"
  3481. | #define PACKAGE_VERSION "8.7"
  3482. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  3483. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  3484. | #define PACKAGE_URL ""
  3485. | #define STDC_HEADERS 1
  3486. | #define HAVE_SYS_TYPES_H 1
  3487. | #define HAVE_SYS_STAT_H 1
  3488. | #define HAVE_STDLIB_H 1
  3489. | #define HAVE_STRING_H 1
  3490. | #define HAVE_MEMORY_H 1
  3491. | #define HAVE_STRINGS_H 1
  3492. | #define HAVE_INTTYPES_H 1
  3493. | #define HAVE_STDINT_H 1
  3494. | #define HAVE_UNISTD_H 1
  3495. | #define __EXTENSIONS__ 1
  3496. | #define _ALL_SOURCE 1
  3497. | #define _GNU_SOURCE 1
  3498. | #define _POSIX_PTHREAD_SEMANTICS 1
  3499. | #define _TANDEM_SOURCE 1
  3500. | #define sUPPORTED_LLVM_VERSION (7,0)
  3501. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  3502. | #define STDC_HEADERS 1
  3503. | #define HAVE_CTYPE_H 1
  3504. | #define HAVE_DIRENT_H 1
  3505. | #define HAVE_DLFCN_H 1
  3506. | #define HAVE_ERRNO_H 1
  3507. | #define HAVE_FCNTL_H 1
  3508. | #define HAVE_GRP_H 1
  3509. | #define HAVE_LIMITS_H 1
  3510. | #define HAVE_LOCALE_H 1
  3511. | #define HAVE_NLIST_H 1
  3512. | #define HAVE_PTHREAD_H 1
  3513. | #define HAVE_PWD_H 1
  3514. | #define HAVE_SIGNAL_H 1
  3515. | #define HAVE_SYS_PARAM_H 1
  3516. | #define HAVE_SYS_MMAN_H 1
  3517. | #define HAVE_SYS_RESOURCE_H 1
  3518. | #define HAVE_SYS_SELECT_H 1
  3519. | #define HAVE_SYS_TIME_H 1
  3520. | #define HAVE_SYS_TIMEB_H 1
  3521. | #define HAVE_SYS_TIMERFD_H 1
  3522. | #define HAVE_SYS_TIMES_H 1
  3523. | #define HAVE_SYS_UTSNAME_H 1
  3524. | #define HAVE_SYS_WAIT_H 1
  3525. | #define HAVE_TERMIOS_H 1
  3526. | #define HAVE_TIME_H 1
  3527. | #define HAVE_UTIME_H 1
  3528. | #define HAVE_SCHED_H 1
  3529. | #define TIME_WITH_SYS_TIME 1
  3530. | #define HAVE_LONG_LONG 1
  3531. | #define SIZEOF_CHAR 1
  3532. | #define ALIGNMENT_CHAR 1
  3533. | #define SIZEOF_DOUBLE 8
  3534. | #define ALIGNMENT_DOUBLE 8
  3535. | #define SIZEOF_FLOAT 4
  3536. | /* end confdefs.h. */
  3537. | #include <stdio.h>
  3538. | #ifdef HAVE_SYS_TYPES_H
  3539. | # include <sys/types.h>
  3540. | #endif
  3541. | #ifdef HAVE_SYS_STAT_H
  3542. | # include <sys/stat.h>
  3543. | #endif
  3544. | #ifdef STDC_HEADERS
  3545. | # include <stdlib.h>
  3546. | # include <stddef.h>
  3547. | #else
  3548. | # ifdef HAVE_STDLIB_H
  3549. | # include <stdlib.h>
  3550. | # endif
  3551. | #endif
  3552. | #ifdef HAVE_STRING_H
  3553. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3554. | # include <memory.h>
  3555. | # endif
  3556. | # include <string.h>
  3557. | #endif
  3558. | #ifdef HAVE_STRINGS_H
  3559. | # include <strings.h>
  3560. | #endif
  3561. | #ifdef HAVE_INTTYPES_H
  3562. | # include <inttypes.h>
  3563. | #endif
  3564. | #ifdef HAVE_STDINT_H
  3565. | # include <stdint.h>
  3566. | #endif
  3567. | #ifdef HAVE_UNISTD_H
  3568. | # include <unistd.h>
  3569. | #endif
  3570. | int
  3571. | main ()
  3572. | {
  3573. | static int test_array [1 - 2 * !((offsetof(struct { char c; float ty; },ty)) <= 3)];
  3574. | test_array [0] = 0;
  3575. | return test_array [0];
  3576. |
  3577. | ;
  3578. | return 0;
  3579. | }
  3580. configure:12090: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3581. configure:12090: $? = 0
  3582. configure:12090: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3583. configure:12090: $? = 0
  3584. configure:12090: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3585. configure:12090: $? = 0
  3586. configure:12102: result: 4
  3587. configure:12113: checking size of int
  3588. configure:12118: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3589. configure:12118: $? = 0
  3590. configure:12118: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3591. conftest.c: In function 'main':
  3592. conftest.c:97:12: error: size of array 'test_array' is negative
  3593. static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)];
  3594. ^~~~~~~~~~
  3595. configure:12118: $? = 1
  3596. configure: failed program was:
  3597. | /* confdefs.h */
  3598. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  3599. | #define PACKAGE_TARNAME "ghc-8.7"
  3600. | #define PACKAGE_VERSION "8.7"
  3601. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  3602. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  3603. | #define PACKAGE_URL ""
  3604. | #define STDC_HEADERS 1
  3605. | #define HAVE_SYS_TYPES_H 1
  3606. | #define HAVE_SYS_STAT_H 1
  3607. | #define HAVE_STDLIB_H 1
  3608. | #define HAVE_STRING_H 1
  3609. | #define HAVE_MEMORY_H 1
  3610. | #define HAVE_STRINGS_H 1
  3611. | #define HAVE_INTTYPES_H 1
  3612. | #define HAVE_STDINT_H 1
  3613. | #define HAVE_UNISTD_H 1
  3614. | #define __EXTENSIONS__ 1
  3615. | #define _ALL_SOURCE 1
  3616. | #define _GNU_SOURCE 1
  3617. | #define _POSIX_PTHREAD_SEMANTICS 1
  3618. | #define _TANDEM_SOURCE 1
  3619. | #define sUPPORTED_LLVM_VERSION (7,0)
  3620. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  3621. | #define STDC_HEADERS 1
  3622. | #define HAVE_CTYPE_H 1
  3623. | #define HAVE_DIRENT_H 1
  3624. | #define HAVE_DLFCN_H 1
  3625. | #define HAVE_ERRNO_H 1
  3626. | #define HAVE_FCNTL_H 1
  3627. | #define HAVE_GRP_H 1
  3628. | #define HAVE_LIMITS_H 1
  3629. | #define HAVE_LOCALE_H 1
  3630. | #define HAVE_NLIST_H 1
  3631. | #define HAVE_PTHREAD_H 1
  3632. | #define HAVE_PWD_H 1
  3633. | #define HAVE_SIGNAL_H 1
  3634. | #define HAVE_SYS_PARAM_H 1
  3635. | #define HAVE_SYS_MMAN_H 1
  3636. | #define HAVE_SYS_RESOURCE_H 1
  3637. | #define HAVE_SYS_SELECT_H 1
  3638. | #define HAVE_SYS_TIME_H 1
  3639. | #define HAVE_SYS_TIMEB_H 1
  3640. | #define HAVE_SYS_TIMERFD_H 1
  3641. | #define HAVE_SYS_TIMES_H 1
  3642. | #define HAVE_SYS_UTSNAME_H 1
  3643. | #define HAVE_SYS_WAIT_H 1
  3644. | #define HAVE_TERMIOS_H 1
  3645. | #define HAVE_TIME_H 1
  3646. | #define HAVE_UTIME_H 1
  3647. | #define HAVE_SCHED_H 1
  3648. | #define TIME_WITH_SYS_TIME 1
  3649. | #define HAVE_LONG_LONG 1
  3650. | #define SIZEOF_CHAR 1
  3651. | #define ALIGNMENT_CHAR 1
  3652. | #define SIZEOF_DOUBLE 8
  3653. | #define ALIGNMENT_DOUBLE 8
  3654. | #define SIZEOF_FLOAT 4
  3655. | #define ALIGNMENT_FLOAT 4
  3656. | /* end confdefs.h. */
  3657. | #include <stdio.h>
  3658. | #ifdef HAVE_SYS_TYPES_H
  3659. | # include <sys/types.h>
  3660. | #endif
  3661. | #ifdef HAVE_SYS_STAT_H
  3662. | # include <sys/stat.h>
  3663. | #endif
  3664. | #ifdef STDC_HEADERS
  3665. | # include <stdlib.h>
  3666. | # include <stddef.h>
  3667. | #else
  3668. | # ifdef HAVE_STDLIB_H
  3669. | # include <stdlib.h>
  3670. | # endif
  3671. | #endif
  3672. | #ifdef HAVE_STRING_H
  3673. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3674. | # include <memory.h>
  3675. | # endif
  3676. | # include <string.h>
  3677. | #endif
  3678. | #ifdef HAVE_STRINGS_H
  3679. | # include <strings.h>
  3680. | #endif
  3681. | #ifdef HAVE_INTTYPES_H
  3682. | # include <inttypes.h>
  3683. | #endif
  3684. | #ifdef HAVE_STDINT_H
  3685. | # include <stdint.h>
  3686. | #endif
  3687. | #ifdef HAVE_UNISTD_H
  3688. | # include <unistd.h>
  3689. | #endif
  3690. | int
  3691. | main ()
  3692. | {
  3693. | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)];
  3694. | test_array [0] = 0;
  3695. | return test_array [0];
  3696. |
  3697. | ;
  3698. | return 0;
  3699. | }
  3700. configure:12118: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3701. conftest.c: In function 'main':
  3702. conftest.c:97:12: error: size of array 'test_array' is negative
  3703. static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)];
  3704. ^~~~~~~~~~
  3705. configure:12118: $? = 1
  3706. configure: failed program was:
  3707. | /* confdefs.h */
  3708. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  3709. | #define PACKAGE_TARNAME "ghc-8.7"
  3710. | #define PACKAGE_VERSION "8.7"
  3711. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  3712. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  3713. | #define PACKAGE_URL ""
  3714. | #define STDC_HEADERS 1
  3715. | #define HAVE_SYS_TYPES_H 1
  3716. | #define HAVE_SYS_STAT_H 1
  3717. | #define HAVE_STDLIB_H 1
  3718. | #define HAVE_STRING_H 1
  3719. | #define HAVE_MEMORY_H 1
  3720. | #define HAVE_STRINGS_H 1
  3721. | #define HAVE_INTTYPES_H 1
  3722. | #define HAVE_STDINT_H 1
  3723. | #define HAVE_UNISTD_H 1
  3724. | #define __EXTENSIONS__ 1
  3725. | #define _ALL_SOURCE 1
  3726. | #define _GNU_SOURCE 1
  3727. | #define _POSIX_PTHREAD_SEMANTICS 1
  3728. | #define _TANDEM_SOURCE 1
  3729. | #define sUPPORTED_LLVM_VERSION (7,0)
  3730. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  3731. | #define STDC_HEADERS 1
  3732. | #define HAVE_CTYPE_H 1
  3733. | #define HAVE_DIRENT_H 1
  3734. | #define HAVE_DLFCN_H 1
  3735. | #define HAVE_ERRNO_H 1
  3736. | #define HAVE_FCNTL_H 1
  3737. | #define HAVE_GRP_H 1
  3738. | #define HAVE_LIMITS_H 1
  3739. | #define HAVE_LOCALE_H 1
  3740. | #define HAVE_NLIST_H 1
  3741. | #define HAVE_PTHREAD_H 1
  3742. | #define HAVE_PWD_H 1
  3743. | #define HAVE_SIGNAL_H 1
  3744. | #define HAVE_SYS_PARAM_H 1
  3745. | #define HAVE_SYS_MMAN_H 1
  3746. | #define HAVE_SYS_RESOURCE_H 1
  3747. | #define HAVE_SYS_SELECT_H 1
  3748. | #define HAVE_SYS_TIME_H 1
  3749. | #define HAVE_SYS_TIMEB_H 1
  3750. | #define HAVE_SYS_TIMERFD_H 1
  3751. | #define HAVE_SYS_TIMES_H 1
  3752. | #define HAVE_SYS_UTSNAME_H 1
  3753. | #define HAVE_SYS_WAIT_H 1
  3754. | #define HAVE_TERMIOS_H 1
  3755. | #define HAVE_TIME_H 1
  3756. | #define HAVE_UTIME_H 1
  3757. | #define HAVE_SCHED_H 1
  3758. | #define TIME_WITH_SYS_TIME 1
  3759. | #define HAVE_LONG_LONG 1
  3760. | #define SIZEOF_CHAR 1
  3761. | #define ALIGNMENT_CHAR 1
  3762. | #define SIZEOF_DOUBLE 8
  3763. | #define ALIGNMENT_DOUBLE 8
  3764. | #define SIZEOF_FLOAT 4
  3765. | #define ALIGNMENT_FLOAT 4
  3766. | /* end confdefs.h. */
  3767. | #include <stdio.h>
  3768. | #ifdef HAVE_SYS_TYPES_H
  3769. | # include <sys/types.h>
  3770. | #endif
  3771. | #ifdef HAVE_SYS_STAT_H
  3772. | # include <sys/stat.h>
  3773. | #endif
  3774. | #ifdef STDC_HEADERS
  3775. | # include <stdlib.h>
  3776. | # include <stddef.h>
  3777. | #else
  3778. | # ifdef HAVE_STDLIB_H
  3779. | # include <stdlib.h>
  3780. | # endif
  3781. | #endif
  3782. | #ifdef HAVE_STRING_H
  3783. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3784. | # include <memory.h>
  3785. | # endif
  3786. | # include <string.h>
  3787. | #endif
  3788. | #ifdef HAVE_STRINGS_H
  3789. | # include <strings.h>
  3790. | #endif
  3791. | #ifdef HAVE_INTTYPES_H
  3792. | # include <inttypes.h>
  3793. | #endif
  3794. | #ifdef HAVE_STDINT_H
  3795. | # include <stdint.h>
  3796. | #endif
  3797. | #ifdef HAVE_UNISTD_H
  3798. | # include <unistd.h>
  3799. | #endif
  3800. | int
  3801. | main ()
  3802. | {
  3803. | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)];
  3804. | test_array [0] = 0;
  3805. | return test_array [0];
  3806. |
  3807. | ;
  3808. | return 0;
  3809. | }
  3810. configure:12118: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3811. conftest.c: In function 'main':
  3812. conftest.c:97:12: error: size of array 'test_array' is negative
  3813. static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)];
  3814. ^~~~~~~~~~
  3815. configure:12118: $? = 1
  3816. configure: failed program was:
  3817. | /* confdefs.h */
  3818. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  3819. | #define PACKAGE_TARNAME "ghc-8.7"
  3820. | #define PACKAGE_VERSION "8.7"
  3821. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  3822. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  3823. | #define PACKAGE_URL ""
  3824. | #define STDC_HEADERS 1
  3825. | #define HAVE_SYS_TYPES_H 1
  3826. | #define HAVE_SYS_STAT_H 1
  3827. | #define HAVE_STDLIB_H 1
  3828. | #define HAVE_STRING_H 1
  3829. | #define HAVE_MEMORY_H 1
  3830. | #define HAVE_STRINGS_H 1
  3831. | #define HAVE_INTTYPES_H 1
  3832. | #define HAVE_STDINT_H 1
  3833. | #define HAVE_UNISTD_H 1
  3834. | #define __EXTENSIONS__ 1
  3835. | #define _ALL_SOURCE 1
  3836. | #define _GNU_SOURCE 1
  3837. | #define _POSIX_PTHREAD_SEMANTICS 1
  3838. | #define _TANDEM_SOURCE 1
  3839. | #define sUPPORTED_LLVM_VERSION (7,0)
  3840. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  3841. | #define STDC_HEADERS 1
  3842. | #define HAVE_CTYPE_H 1
  3843. | #define HAVE_DIRENT_H 1
  3844. | #define HAVE_DLFCN_H 1
  3845. | #define HAVE_ERRNO_H 1
  3846. | #define HAVE_FCNTL_H 1
  3847. | #define HAVE_GRP_H 1
  3848. | #define HAVE_LIMITS_H 1
  3849. | #define HAVE_LOCALE_H 1
  3850. | #define HAVE_NLIST_H 1
  3851. | #define HAVE_PTHREAD_H 1
  3852. | #define HAVE_PWD_H 1
  3853. | #define HAVE_SIGNAL_H 1
  3854. | #define HAVE_SYS_PARAM_H 1
  3855. | #define HAVE_SYS_MMAN_H 1
  3856. | #define HAVE_SYS_RESOURCE_H 1
  3857. | #define HAVE_SYS_SELECT_H 1
  3858. | #define HAVE_SYS_TIME_H 1
  3859. | #define HAVE_SYS_TIMEB_H 1
  3860. | #define HAVE_SYS_TIMERFD_H 1
  3861. | #define HAVE_SYS_TIMES_H 1
  3862. | #define HAVE_SYS_UTSNAME_H 1
  3863. | #define HAVE_SYS_WAIT_H 1
  3864. | #define HAVE_TERMIOS_H 1
  3865. | #define HAVE_TIME_H 1
  3866. | #define HAVE_UTIME_H 1
  3867. | #define HAVE_SCHED_H 1
  3868. | #define TIME_WITH_SYS_TIME 1
  3869. | #define HAVE_LONG_LONG 1
  3870. | #define SIZEOF_CHAR 1
  3871. | #define ALIGNMENT_CHAR 1
  3872. | #define SIZEOF_DOUBLE 8
  3873. | #define ALIGNMENT_DOUBLE 8
  3874. | #define SIZEOF_FLOAT 4
  3875. | #define ALIGNMENT_FLOAT 4
  3876. | /* end confdefs.h. */
  3877. | #include <stdio.h>
  3878. | #ifdef HAVE_SYS_TYPES_H
  3879. | # include <sys/types.h>
  3880. | #endif
  3881. | #ifdef HAVE_SYS_STAT_H
  3882. | # include <sys/stat.h>
  3883. | #endif
  3884. | #ifdef STDC_HEADERS
  3885. | # include <stdlib.h>
  3886. | # include <stddef.h>
  3887. | #else
  3888. | # ifdef HAVE_STDLIB_H
  3889. | # include <stdlib.h>
  3890. | # endif
  3891. | #endif
  3892. | #ifdef HAVE_STRING_H
  3893. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3894. | # include <memory.h>
  3895. | # endif
  3896. | # include <string.h>
  3897. | #endif
  3898. | #ifdef HAVE_STRINGS_H
  3899. | # include <strings.h>
  3900. | #endif
  3901. | #ifdef HAVE_INTTYPES_H
  3902. | # include <inttypes.h>
  3903. | #endif
  3904. | #ifdef HAVE_STDINT_H
  3905. | # include <stdint.h>
  3906. | #endif
  3907. | #ifdef HAVE_UNISTD_H
  3908. | # include <unistd.h>
  3909. | #endif
  3910. | int
  3911. | main ()
  3912. | {
  3913. | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)];
  3914. | test_array [0] = 0;
  3915. | return test_array [0];
  3916. |
  3917. | ;
  3918. | return 0;
  3919. | }
  3920. configure:12118: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3921. configure:12118: $? = 0
  3922. configure:12118: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3923. configure:12118: $? = 0
  3924. configure:12118: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3925. configure:12118: $? = 0
  3926. configure:12132: result: 4
  3927. configure:12142: checking for int
  3928. configure:12142: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3929. configure:12142: $? = 0
  3930. configure:12142: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  3931. conftest.c: In function 'main':
  3932. conftest.c:98:18: error: expected expression before ')' token
  3933. if (sizeof ((int)))
  3934. ^
  3935. configure:12142: $? = 1
  3936. configure: failed program was:
  3937. | /* confdefs.h */
  3938. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  3939. | #define PACKAGE_TARNAME "ghc-8.7"
  3940. | #define PACKAGE_VERSION "8.7"
  3941. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  3942. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  3943. | #define PACKAGE_URL ""
  3944. | #define STDC_HEADERS 1
  3945. | #define HAVE_SYS_TYPES_H 1
  3946. | #define HAVE_SYS_STAT_H 1
  3947. | #define HAVE_STDLIB_H 1
  3948. | #define HAVE_STRING_H 1
  3949. | #define HAVE_MEMORY_H 1
  3950. | #define HAVE_STRINGS_H 1
  3951. | #define HAVE_INTTYPES_H 1
  3952. | #define HAVE_STDINT_H 1
  3953. | #define HAVE_UNISTD_H 1
  3954. | #define __EXTENSIONS__ 1
  3955. | #define _ALL_SOURCE 1
  3956. | #define _GNU_SOURCE 1
  3957. | #define _POSIX_PTHREAD_SEMANTICS 1
  3958. | #define _TANDEM_SOURCE 1
  3959. | #define sUPPORTED_LLVM_VERSION (7,0)
  3960. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  3961. | #define STDC_HEADERS 1
  3962. | #define HAVE_CTYPE_H 1
  3963. | #define HAVE_DIRENT_H 1
  3964. | #define HAVE_DLFCN_H 1
  3965. | #define HAVE_ERRNO_H 1
  3966. | #define HAVE_FCNTL_H 1
  3967. | #define HAVE_GRP_H 1
  3968. | #define HAVE_LIMITS_H 1
  3969. | #define HAVE_LOCALE_H 1
  3970. | #define HAVE_NLIST_H 1
  3971. | #define HAVE_PTHREAD_H 1
  3972. | #define HAVE_PWD_H 1
  3973. | #define HAVE_SIGNAL_H 1
  3974. | #define HAVE_SYS_PARAM_H 1
  3975. | #define HAVE_SYS_MMAN_H 1
  3976. | #define HAVE_SYS_RESOURCE_H 1
  3977. | #define HAVE_SYS_SELECT_H 1
  3978. | #define HAVE_SYS_TIME_H 1
  3979. | #define HAVE_SYS_TIMEB_H 1
  3980. | #define HAVE_SYS_TIMERFD_H 1
  3981. | #define HAVE_SYS_TIMES_H 1
  3982. | #define HAVE_SYS_UTSNAME_H 1
  3983. | #define HAVE_SYS_WAIT_H 1
  3984. | #define HAVE_TERMIOS_H 1
  3985. | #define HAVE_TIME_H 1
  3986. | #define HAVE_UTIME_H 1
  3987. | #define HAVE_SCHED_H 1
  3988. | #define TIME_WITH_SYS_TIME 1
  3989. | #define HAVE_LONG_LONG 1
  3990. | #define SIZEOF_CHAR 1
  3991. | #define ALIGNMENT_CHAR 1
  3992. | #define SIZEOF_DOUBLE 8
  3993. | #define ALIGNMENT_DOUBLE 8
  3994. | #define SIZEOF_FLOAT 4
  3995. | #define ALIGNMENT_FLOAT 4
  3996. | #define SIZEOF_INT 4
  3997. | /* end confdefs.h. */
  3998. | #include <stdio.h>
  3999. | #ifdef HAVE_SYS_TYPES_H
  4000. | # include <sys/types.h>
  4001. | #endif
  4002. | #ifdef HAVE_SYS_STAT_H
  4003. | # include <sys/stat.h>
  4004. | #endif
  4005. | #ifdef STDC_HEADERS
  4006. | # include <stdlib.h>
  4007. | # include <stddef.h>
  4008. | #else
  4009. | # ifdef HAVE_STDLIB_H
  4010. | # include <stdlib.h>
  4011. | # endif
  4012. | #endif
  4013. | #ifdef HAVE_STRING_H
  4014. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4015. | # include <memory.h>
  4016. | # endif
  4017. | # include <string.h>
  4018. | #endif
  4019. | #ifdef HAVE_STRINGS_H
  4020. | # include <strings.h>
  4021. | #endif
  4022. | #ifdef HAVE_INTTYPES_H
  4023. | # include <inttypes.h>
  4024. | #endif
  4025. | #ifdef HAVE_STDINT_H
  4026. | # include <stdint.h>
  4027. | #endif
  4028. | #ifdef HAVE_UNISTD_H
  4029. | # include <unistd.h>
  4030. | #endif
  4031. | int
  4032. | main ()
  4033. | {
  4034. | if (sizeof ((int)))
  4035. | return 0;
  4036. | ;
  4037. | return 0;
  4038. | }
  4039. configure:12142: result: yes
  4040. configure:12146: checking alignment of int
  4041. configure:12152: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4042. configure:12152: $? = 0
  4043. configure:12152: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4044. conftest.c: In function 'main':
  4045. conftest.c:98:12: error: size of array 'test_array' is negative
  4046. static int test_array [1 - 2 * !((offsetof(struct { char c; int ty; },ty)) <= 0)];
  4047. ^~~~~~~~~~
  4048. configure:12152: $? = 1
  4049. configure: failed program was:
  4050. | /* confdefs.h */
  4051. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  4052. | #define PACKAGE_TARNAME "ghc-8.7"
  4053. | #define PACKAGE_VERSION "8.7"
  4054. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  4055. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  4056. | #define PACKAGE_URL ""
  4057. | #define STDC_HEADERS 1
  4058. | #define HAVE_SYS_TYPES_H 1
  4059. | #define HAVE_SYS_STAT_H 1
  4060. | #define HAVE_STDLIB_H 1
  4061. | #define HAVE_STRING_H 1
  4062. | #define HAVE_MEMORY_H 1
  4063. | #define HAVE_STRINGS_H 1
  4064. | #define HAVE_INTTYPES_H 1
  4065. | #define HAVE_STDINT_H 1
  4066. | #define HAVE_UNISTD_H 1
  4067. | #define __EXTENSIONS__ 1
  4068. | #define _ALL_SOURCE 1
  4069. | #define _GNU_SOURCE 1
  4070. | #define _POSIX_PTHREAD_SEMANTICS 1
  4071. | #define _TANDEM_SOURCE 1
  4072. | #define sUPPORTED_LLVM_VERSION (7,0)
  4073. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  4074. | #define STDC_HEADERS 1
  4075. | #define HAVE_CTYPE_H 1
  4076. | #define HAVE_DIRENT_H 1
  4077. | #define HAVE_DLFCN_H 1
  4078. | #define HAVE_ERRNO_H 1
  4079. | #define HAVE_FCNTL_H 1
  4080. | #define HAVE_GRP_H 1
  4081. | #define HAVE_LIMITS_H 1
  4082. | #define HAVE_LOCALE_H 1
  4083. | #define HAVE_NLIST_H 1
  4084. | #define HAVE_PTHREAD_H 1
  4085. | #define HAVE_PWD_H 1
  4086. | #define HAVE_SIGNAL_H 1
  4087. | #define HAVE_SYS_PARAM_H 1
  4088. | #define HAVE_SYS_MMAN_H 1
  4089. | #define HAVE_SYS_RESOURCE_H 1
  4090. | #define HAVE_SYS_SELECT_H 1
  4091. | #define HAVE_SYS_TIME_H 1
  4092. | #define HAVE_SYS_TIMEB_H 1
  4093. | #define HAVE_SYS_TIMERFD_H 1
  4094. | #define HAVE_SYS_TIMES_H 1
  4095. | #define HAVE_SYS_UTSNAME_H 1
  4096. | #define HAVE_SYS_WAIT_H 1
  4097. | #define HAVE_TERMIOS_H 1
  4098. | #define HAVE_TIME_H 1
  4099. | #define HAVE_UTIME_H 1
  4100. | #define HAVE_SCHED_H 1
  4101. | #define TIME_WITH_SYS_TIME 1
  4102. | #define HAVE_LONG_LONG 1
  4103. | #define SIZEOF_CHAR 1
  4104. | #define ALIGNMENT_CHAR 1
  4105. | #define SIZEOF_DOUBLE 8
  4106. | #define ALIGNMENT_DOUBLE 8
  4107. | #define SIZEOF_FLOAT 4
  4108. | #define ALIGNMENT_FLOAT 4
  4109. | #define SIZEOF_INT 4
  4110. | /* end confdefs.h. */
  4111. | #include <stdio.h>
  4112. | #ifdef HAVE_SYS_TYPES_H
  4113. | # include <sys/types.h>
  4114. | #endif
  4115. | #ifdef HAVE_SYS_STAT_H
  4116. | # include <sys/stat.h>
  4117. | #endif
  4118. | #ifdef STDC_HEADERS
  4119. | # include <stdlib.h>
  4120. | # include <stddef.h>
  4121. | #else
  4122. | # ifdef HAVE_STDLIB_H
  4123. | # include <stdlib.h>
  4124. | # endif
  4125. | #endif
  4126. | #ifdef HAVE_STRING_H
  4127. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4128. | # include <memory.h>
  4129. | # endif
  4130. | # include <string.h>
  4131. | #endif
  4132. | #ifdef HAVE_STRINGS_H
  4133. | # include <strings.h>
  4134. | #endif
  4135. | #ifdef HAVE_INTTYPES_H
  4136. | # include <inttypes.h>
  4137. | #endif
  4138. | #ifdef HAVE_STDINT_H
  4139. | # include <stdint.h>
  4140. | #endif
  4141. | #ifdef HAVE_UNISTD_H
  4142. | # include <unistd.h>
  4143. | #endif
  4144. | int
  4145. | main ()
  4146. | {
  4147. | static int test_array [1 - 2 * !((offsetof(struct { char c; int ty; },ty)) <= 0)];
  4148. | test_array [0] = 0;
  4149. | return test_array [0];
  4150. |
  4151. | ;
  4152. | return 0;
  4153. | }
  4154. configure:12152: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4155. conftest.c: In function 'main':
  4156. conftest.c:98:12: error: size of array 'test_array' is negative
  4157. static int test_array [1 - 2 * !((offsetof(struct { char c; int ty; },ty)) <= 1)];
  4158. ^~~~~~~~~~
  4159. configure:12152: $? = 1
  4160. configure: failed program was:
  4161. | /* confdefs.h */
  4162. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  4163. | #define PACKAGE_TARNAME "ghc-8.7"
  4164. | #define PACKAGE_VERSION "8.7"
  4165. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  4166. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  4167. | #define PACKAGE_URL ""
  4168. | #define STDC_HEADERS 1
  4169. | #define HAVE_SYS_TYPES_H 1
  4170. | #define HAVE_SYS_STAT_H 1
  4171. | #define HAVE_STDLIB_H 1
  4172. | #define HAVE_STRING_H 1
  4173. | #define HAVE_MEMORY_H 1
  4174. | #define HAVE_STRINGS_H 1
  4175. | #define HAVE_INTTYPES_H 1
  4176. | #define HAVE_STDINT_H 1
  4177. | #define HAVE_UNISTD_H 1
  4178. | #define __EXTENSIONS__ 1
  4179. | #define _ALL_SOURCE 1
  4180. | #define _GNU_SOURCE 1
  4181. | #define _POSIX_PTHREAD_SEMANTICS 1
  4182. | #define _TANDEM_SOURCE 1
  4183. | #define sUPPORTED_LLVM_VERSION (7,0)
  4184. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  4185. | #define STDC_HEADERS 1
  4186. | #define HAVE_CTYPE_H 1
  4187. | #define HAVE_DIRENT_H 1
  4188. | #define HAVE_DLFCN_H 1
  4189. | #define HAVE_ERRNO_H 1
  4190. | #define HAVE_FCNTL_H 1
  4191. | #define HAVE_GRP_H 1
  4192. | #define HAVE_LIMITS_H 1
  4193. | #define HAVE_LOCALE_H 1
  4194. | #define HAVE_NLIST_H 1
  4195. | #define HAVE_PTHREAD_H 1
  4196. | #define HAVE_PWD_H 1
  4197. | #define HAVE_SIGNAL_H 1
  4198. | #define HAVE_SYS_PARAM_H 1
  4199. | #define HAVE_SYS_MMAN_H 1
  4200. | #define HAVE_SYS_RESOURCE_H 1
  4201. | #define HAVE_SYS_SELECT_H 1
  4202. | #define HAVE_SYS_TIME_H 1
  4203. | #define HAVE_SYS_TIMEB_H 1
  4204. | #define HAVE_SYS_TIMERFD_H 1
  4205. | #define HAVE_SYS_TIMES_H 1
  4206. | #define HAVE_SYS_UTSNAME_H 1
  4207. | #define HAVE_SYS_WAIT_H 1
  4208. | #define HAVE_TERMIOS_H 1
  4209. | #define HAVE_TIME_H 1
  4210. | #define HAVE_UTIME_H 1
  4211. | #define HAVE_SCHED_H 1
  4212. | #define TIME_WITH_SYS_TIME 1
  4213. | #define HAVE_LONG_LONG 1
  4214. | #define SIZEOF_CHAR 1
  4215. | #define ALIGNMENT_CHAR 1
  4216. | #define SIZEOF_DOUBLE 8
  4217. | #define ALIGNMENT_DOUBLE 8
  4218. | #define SIZEOF_FLOAT 4
  4219. | #define ALIGNMENT_FLOAT 4
  4220. | #define SIZEOF_INT 4
  4221. | /* end confdefs.h. */
  4222. | #include <stdio.h>
  4223. | #ifdef HAVE_SYS_TYPES_H
  4224. | # include <sys/types.h>
  4225. | #endif
  4226. | #ifdef HAVE_SYS_STAT_H
  4227. | # include <sys/stat.h>
  4228. | #endif
  4229. | #ifdef STDC_HEADERS
  4230. | # include <stdlib.h>
  4231. | # include <stddef.h>
  4232. | #else
  4233. | # ifdef HAVE_STDLIB_H
  4234. | # include <stdlib.h>
  4235. | # endif
  4236. | #endif
  4237. | #ifdef HAVE_STRING_H
  4238. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4239. | # include <memory.h>
  4240. | # endif
  4241. | # include <string.h>
  4242. | #endif
  4243. | #ifdef HAVE_STRINGS_H
  4244. | # include <strings.h>
  4245. | #endif
  4246. | #ifdef HAVE_INTTYPES_H
  4247. | # include <inttypes.h>
  4248. | #endif
  4249. | #ifdef HAVE_STDINT_H
  4250. | # include <stdint.h>
  4251. | #endif
  4252. | #ifdef HAVE_UNISTD_H
  4253. | # include <unistd.h>
  4254. | #endif
  4255. | int
  4256. | main ()
  4257. | {
  4258. | static int test_array [1 - 2 * !((offsetof(struct { char c; int ty; },ty)) <= 1)];
  4259. | test_array [0] = 0;
  4260. | return test_array [0];
  4261. |
  4262. | ;
  4263. | return 0;
  4264. | }
  4265. configure:12152: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4266. conftest.c: In function 'main':
  4267. conftest.c:98:12: error: size of array 'test_array' is negative
  4268. static int test_array [1 - 2 * !((offsetof(struct { char c; int ty; },ty)) <= 3)];
  4269. ^~~~~~~~~~
  4270. configure:12152: $? = 1
  4271. configure: failed program was:
  4272. | /* confdefs.h */
  4273. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  4274. | #define PACKAGE_TARNAME "ghc-8.7"
  4275. | #define PACKAGE_VERSION "8.7"
  4276. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  4277. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  4278. | #define PACKAGE_URL ""
  4279. | #define STDC_HEADERS 1
  4280. | #define HAVE_SYS_TYPES_H 1
  4281. | #define HAVE_SYS_STAT_H 1
  4282. | #define HAVE_STDLIB_H 1
  4283. | #define HAVE_STRING_H 1
  4284. | #define HAVE_MEMORY_H 1
  4285. | #define HAVE_STRINGS_H 1
  4286. | #define HAVE_INTTYPES_H 1
  4287. | #define HAVE_STDINT_H 1
  4288. | #define HAVE_UNISTD_H 1
  4289. | #define __EXTENSIONS__ 1
  4290. | #define _ALL_SOURCE 1
  4291. | #define _GNU_SOURCE 1
  4292. | #define _POSIX_PTHREAD_SEMANTICS 1
  4293. | #define _TANDEM_SOURCE 1
  4294. | #define sUPPORTED_LLVM_VERSION (7,0)
  4295. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  4296. | #define STDC_HEADERS 1
  4297. | #define HAVE_CTYPE_H 1
  4298. | #define HAVE_DIRENT_H 1
  4299. | #define HAVE_DLFCN_H 1
  4300. | #define HAVE_ERRNO_H 1
  4301. | #define HAVE_FCNTL_H 1
  4302. | #define HAVE_GRP_H 1
  4303. | #define HAVE_LIMITS_H 1
  4304. | #define HAVE_LOCALE_H 1
  4305. | #define HAVE_NLIST_H 1
  4306. | #define HAVE_PTHREAD_H 1
  4307. | #define HAVE_PWD_H 1
  4308. | #define HAVE_SIGNAL_H 1
  4309. | #define HAVE_SYS_PARAM_H 1
  4310. | #define HAVE_SYS_MMAN_H 1
  4311. | #define HAVE_SYS_RESOURCE_H 1
  4312. | #define HAVE_SYS_SELECT_H 1
  4313. | #define HAVE_SYS_TIME_H 1
  4314. | #define HAVE_SYS_TIMEB_H 1
  4315. | #define HAVE_SYS_TIMERFD_H 1
  4316. | #define HAVE_SYS_TIMES_H 1
  4317. | #define HAVE_SYS_UTSNAME_H 1
  4318. | #define HAVE_SYS_WAIT_H 1
  4319. | #define HAVE_TERMIOS_H 1
  4320. | #define HAVE_TIME_H 1
  4321. | #define HAVE_UTIME_H 1
  4322. | #define HAVE_SCHED_H 1
  4323. | #define TIME_WITH_SYS_TIME 1
  4324. | #define HAVE_LONG_LONG 1
  4325. | #define SIZEOF_CHAR 1
  4326. | #define ALIGNMENT_CHAR 1
  4327. | #define SIZEOF_DOUBLE 8
  4328. | #define ALIGNMENT_DOUBLE 8
  4329. | #define SIZEOF_FLOAT 4
  4330. | #define ALIGNMENT_FLOAT 4
  4331. | #define SIZEOF_INT 4
  4332. | /* end confdefs.h. */
  4333. | #include <stdio.h>
  4334. | #ifdef HAVE_SYS_TYPES_H
  4335. | # include <sys/types.h>
  4336. | #endif
  4337. | #ifdef HAVE_SYS_STAT_H
  4338. | # include <sys/stat.h>
  4339. | #endif
  4340. | #ifdef STDC_HEADERS
  4341. | # include <stdlib.h>
  4342. | # include <stddef.h>
  4343. | #else
  4344. | # ifdef HAVE_STDLIB_H
  4345. | # include <stdlib.h>
  4346. | # endif
  4347. | #endif
  4348. | #ifdef HAVE_STRING_H
  4349. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4350. | # include <memory.h>
  4351. | # endif
  4352. | # include <string.h>
  4353. | #endif
  4354. | #ifdef HAVE_STRINGS_H
  4355. | # include <strings.h>
  4356. | #endif
  4357. | #ifdef HAVE_INTTYPES_H
  4358. | # include <inttypes.h>
  4359. | #endif
  4360. | #ifdef HAVE_STDINT_H
  4361. | # include <stdint.h>
  4362. | #endif
  4363. | #ifdef HAVE_UNISTD_H
  4364. | # include <unistd.h>
  4365. | #endif
  4366. | int
  4367. | main ()
  4368. | {
  4369. | static int test_array [1 - 2 * !((offsetof(struct { char c; int ty; },ty)) <= 3)];
  4370. | test_array [0] = 0;
  4371. | return test_array [0];
  4372. |
  4373. | ;
  4374. | return 0;
  4375. | }
  4376. configure:12152: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4377. configure:12152: $? = 0
  4378. configure:12152: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4379. configure:12152: $? = 0
  4380. configure:12152: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4381. configure:12152: $? = 0
  4382. configure:12164: result: 4
  4383. configure:12175: checking size of long
  4384. configure:12180: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4385. configure:12180: $? = 0
  4386. configure:12180: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4387. conftest.c: In function 'main':
  4388. conftest.c:99:12: error: size of array 'test_array' is negative
  4389. static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)];
  4390. ^~~~~~~~~~
  4391. configure:12180: $? = 1
  4392. configure: failed program was:
  4393. | /* confdefs.h */
  4394. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  4395. | #define PACKAGE_TARNAME "ghc-8.7"
  4396. | #define PACKAGE_VERSION "8.7"
  4397. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  4398. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  4399. | #define PACKAGE_URL ""
  4400. | #define STDC_HEADERS 1
  4401. | #define HAVE_SYS_TYPES_H 1
  4402. | #define HAVE_SYS_STAT_H 1
  4403. | #define HAVE_STDLIB_H 1
  4404. | #define HAVE_STRING_H 1
  4405. | #define HAVE_MEMORY_H 1
  4406. | #define HAVE_STRINGS_H 1
  4407. | #define HAVE_INTTYPES_H 1
  4408. | #define HAVE_STDINT_H 1
  4409. | #define HAVE_UNISTD_H 1
  4410. | #define __EXTENSIONS__ 1
  4411. | #define _ALL_SOURCE 1
  4412. | #define _GNU_SOURCE 1
  4413. | #define _POSIX_PTHREAD_SEMANTICS 1
  4414. | #define _TANDEM_SOURCE 1
  4415. | #define sUPPORTED_LLVM_VERSION (7,0)
  4416. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  4417. | #define STDC_HEADERS 1
  4418. | #define HAVE_CTYPE_H 1
  4419. | #define HAVE_DIRENT_H 1
  4420. | #define HAVE_DLFCN_H 1
  4421. | #define HAVE_ERRNO_H 1
  4422. | #define HAVE_FCNTL_H 1
  4423. | #define HAVE_GRP_H 1
  4424. | #define HAVE_LIMITS_H 1
  4425. | #define HAVE_LOCALE_H 1
  4426. | #define HAVE_NLIST_H 1
  4427. | #define HAVE_PTHREAD_H 1
  4428. | #define HAVE_PWD_H 1
  4429. | #define HAVE_SIGNAL_H 1
  4430. | #define HAVE_SYS_PARAM_H 1
  4431. | #define HAVE_SYS_MMAN_H 1
  4432. | #define HAVE_SYS_RESOURCE_H 1
  4433. | #define HAVE_SYS_SELECT_H 1
  4434. | #define HAVE_SYS_TIME_H 1
  4435. | #define HAVE_SYS_TIMEB_H 1
  4436. | #define HAVE_SYS_TIMERFD_H 1
  4437. | #define HAVE_SYS_TIMES_H 1
  4438. | #define HAVE_SYS_UTSNAME_H 1
  4439. | #define HAVE_SYS_WAIT_H 1
  4440. | #define HAVE_TERMIOS_H 1
  4441. | #define HAVE_TIME_H 1
  4442. | #define HAVE_UTIME_H 1
  4443. | #define HAVE_SCHED_H 1
  4444. | #define TIME_WITH_SYS_TIME 1
  4445. | #define HAVE_LONG_LONG 1
  4446. | #define SIZEOF_CHAR 1
  4447. | #define ALIGNMENT_CHAR 1
  4448. | #define SIZEOF_DOUBLE 8
  4449. | #define ALIGNMENT_DOUBLE 8
  4450. | #define SIZEOF_FLOAT 4
  4451. | #define ALIGNMENT_FLOAT 4
  4452. | #define SIZEOF_INT 4
  4453. | #define ALIGNMENT_INT 4
  4454. | /* end confdefs.h. */
  4455. | #include <stdio.h>
  4456. | #ifdef HAVE_SYS_TYPES_H
  4457. | # include <sys/types.h>
  4458. | #endif
  4459. | #ifdef HAVE_SYS_STAT_H
  4460. | # include <sys/stat.h>
  4461. | #endif
  4462. | #ifdef STDC_HEADERS
  4463. | # include <stdlib.h>
  4464. | # include <stddef.h>
  4465. | #else
  4466. | # ifdef HAVE_STDLIB_H
  4467. | # include <stdlib.h>
  4468. | # endif
  4469. | #endif
  4470. | #ifdef HAVE_STRING_H
  4471. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4472. | # include <memory.h>
  4473. | # endif
  4474. | # include <string.h>
  4475. | #endif
  4476. | #ifdef HAVE_STRINGS_H
  4477. | # include <strings.h>
  4478. | #endif
  4479. | #ifdef HAVE_INTTYPES_H
  4480. | # include <inttypes.h>
  4481. | #endif
  4482. | #ifdef HAVE_STDINT_H
  4483. | # include <stdint.h>
  4484. | #endif
  4485. | #ifdef HAVE_UNISTD_H
  4486. | # include <unistd.h>
  4487. | #endif
  4488. | int
  4489. | main ()
  4490. | {
  4491. | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)];
  4492. | test_array [0] = 0;
  4493. | return test_array [0];
  4494. |
  4495. | ;
  4496. | return 0;
  4497. | }
  4498. configure:12180: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4499. conftest.c: In function 'main':
  4500. conftest.c:99:12: error: size of array 'test_array' is negative
  4501. static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)];
  4502. ^~~~~~~~~~
  4503. configure:12180: $? = 1
  4504. configure: failed program was:
  4505. | /* confdefs.h */
  4506. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  4507. | #define PACKAGE_TARNAME "ghc-8.7"
  4508. | #define PACKAGE_VERSION "8.7"
  4509. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  4510. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  4511. | #define PACKAGE_URL ""
  4512. | #define STDC_HEADERS 1
  4513. | #define HAVE_SYS_TYPES_H 1
  4514. | #define HAVE_SYS_STAT_H 1
  4515. | #define HAVE_STDLIB_H 1
  4516. | #define HAVE_STRING_H 1
  4517. | #define HAVE_MEMORY_H 1
  4518. | #define HAVE_STRINGS_H 1
  4519. | #define HAVE_INTTYPES_H 1
  4520. | #define HAVE_STDINT_H 1
  4521. | #define HAVE_UNISTD_H 1
  4522. | #define __EXTENSIONS__ 1
  4523. | #define _ALL_SOURCE 1
  4524. | #define _GNU_SOURCE 1
  4525. | #define _POSIX_PTHREAD_SEMANTICS 1
  4526. | #define _TANDEM_SOURCE 1
  4527. | #define sUPPORTED_LLVM_VERSION (7,0)
  4528. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  4529. | #define STDC_HEADERS 1
  4530. | #define HAVE_CTYPE_H 1
  4531. | #define HAVE_DIRENT_H 1
  4532. | #define HAVE_DLFCN_H 1
  4533. | #define HAVE_ERRNO_H 1
  4534. | #define HAVE_FCNTL_H 1
  4535. | #define HAVE_GRP_H 1
  4536. | #define HAVE_LIMITS_H 1
  4537. | #define HAVE_LOCALE_H 1
  4538. | #define HAVE_NLIST_H 1
  4539. | #define HAVE_PTHREAD_H 1
  4540. | #define HAVE_PWD_H 1
  4541. | #define HAVE_SIGNAL_H 1
  4542. | #define HAVE_SYS_PARAM_H 1
  4543. | #define HAVE_SYS_MMAN_H 1
  4544. | #define HAVE_SYS_RESOURCE_H 1
  4545. | #define HAVE_SYS_SELECT_H 1
  4546. | #define HAVE_SYS_TIME_H 1
  4547. | #define HAVE_SYS_TIMEB_H 1
  4548. | #define HAVE_SYS_TIMERFD_H 1
  4549. | #define HAVE_SYS_TIMES_H 1
  4550. | #define HAVE_SYS_UTSNAME_H 1
  4551. | #define HAVE_SYS_WAIT_H 1
  4552. | #define HAVE_TERMIOS_H 1
  4553. | #define HAVE_TIME_H 1
  4554. | #define HAVE_UTIME_H 1
  4555. | #define HAVE_SCHED_H 1
  4556. | #define TIME_WITH_SYS_TIME 1
  4557. | #define HAVE_LONG_LONG 1
  4558. | #define SIZEOF_CHAR 1
  4559. | #define ALIGNMENT_CHAR 1
  4560. | #define SIZEOF_DOUBLE 8
  4561. | #define ALIGNMENT_DOUBLE 8
  4562. | #define SIZEOF_FLOAT 4
  4563. | #define ALIGNMENT_FLOAT 4
  4564. | #define SIZEOF_INT 4
  4565. | #define ALIGNMENT_INT 4
  4566. | /* end confdefs.h. */
  4567. | #include <stdio.h>
  4568. | #ifdef HAVE_SYS_TYPES_H
  4569. | # include <sys/types.h>
  4570. | #endif
  4571. | #ifdef HAVE_SYS_STAT_H
  4572. | # include <sys/stat.h>
  4573. | #endif
  4574. | #ifdef STDC_HEADERS
  4575. | # include <stdlib.h>
  4576. | # include <stddef.h>
  4577. | #else
  4578. | # ifdef HAVE_STDLIB_H
  4579. | # include <stdlib.h>
  4580. | # endif
  4581. | #endif
  4582. | #ifdef HAVE_STRING_H
  4583. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4584. | # include <memory.h>
  4585. | # endif
  4586. | # include <string.h>
  4587. | #endif
  4588. | #ifdef HAVE_STRINGS_H
  4589. | # include <strings.h>
  4590. | #endif
  4591. | #ifdef HAVE_INTTYPES_H
  4592. | # include <inttypes.h>
  4593. | #endif
  4594. | #ifdef HAVE_STDINT_H
  4595. | # include <stdint.h>
  4596. | #endif
  4597. | #ifdef HAVE_UNISTD_H
  4598. | # include <unistd.h>
  4599. | #endif
  4600. | int
  4601. | main ()
  4602. | {
  4603. | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)];
  4604. | test_array [0] = 0;
  4605. | return test_array [0];
  4606. |
  4607. | ;
  4608. | return 0;
  4609. | }
  4610. configure:12180: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4611. conftest.c: In function 'main':
  4612. conftest.c:99:12: error: size of array 'test_array' is negative
  4613. static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)];
  4614. ^~~~~~~~~~
  4615. configure:12180: $? = 1
  4616. configure: failed program was:
  4617. | /* confdefs.h */
  4618. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  4619. | #define PACKAGE_TARNAME "ghc-8.7"
  4620. | #define PACKAGE_VERSION "8.7"
  4621. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  4622. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  4623. | #define PACKAGE_URL ""
  4624. | #define STDC_HEADERS 1
  4625. | #define HAVE_SYS_TYPES_H 1
  4626. | #define HAVE_SYS_STAT_H 1
  4627. | #define HAVE_STDLIB_H 1
  4628. | #define HAVE_STRING_H 1
  4629. | #define HAVE_MEMORY_H 1
  4630. | #define HAVE_STRINGS_H 1
  4631. | #define HAVE_INTTYPES_H 1
  4632. | #define HAVE_STDINT_H 1
  4633. | #define HAVE_UNISTD_H 1
  4634. | #define __EXTENSIONS__ 1
  4635. | #define _ALL_SOURCE 1
  4636. | #define _GNU_SOURCE 1
  4637. | #define _POSIX_PTHREAD_SEMANTICS 1
  4638. | #define _TANDEM_SOURCE 1
  4639. | #define sUPPORTED_LLVM_VERSION (7,0)
  4640. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  4641. | #define STDC_HEADERS 1
  4642. | #define HAVE_CTYPE_H 1
  4643. | #define HAVE_DIRENT_H 1
  4644. | #define HAVE_DLFCN_H 1
  4645. | #define HAVE_ERRNO_H 1
  4646. | #define HAVE_FCNTL_H 1
  4647. | #define HAVE_GRP_H 1
  4648. | #define HAVE_LIMITS_H 1
  4649. | #define HAVE_LOCALE_H 1
  4650. | #define HAVE_NLIST_H 1
  4651. | #define HAVE_PTHREAD_H 1
  4652. | #define HAVE_PWD_H 1
  4653. | #define HAVE_SIGNAL_H 1
  4654. | #define HAVE_SYS_PARAM_H 1
  4655. | #define HAVE_SYS_MMAN_H 1
  4656. | #define HAVE_SYS_RESOURCE_H 1
  4657. | #define HAVE_SYS_SELECT_H 1
  4658. | #define HAVE_SYS_TIME_H 1
  4659. | #define HAVE_SYS_TIMEB_H 1
  4660. | #define HAVE_SYS_TIMERFD_H 1
  4661. | #define HAVE_SYS_TIMES_H 1
  4662. | #define HAVE_SYS_UTSNAME_H 1
  4663. | #define HAVE_SYS_WAIT_H 1
  4664. | #define HAVE_TERMIOS_H 1
  4665. | #define HAVE_TIME_H 1
  4666. | #define HAVE_UTIME_H 1
  4667. | #define HAVE_SCHED_H 1
  4668. | #define TIME_WITH_SYS_TIME 1
  4669. | #define HAVE_LONG_LONG 1
  4670. | #define SIZEOF_CHAR 1
  4671. | #define ALIGNMENT_CHAR 1
  4672. | #define SIZEOF_DOUBLE 8
  4673. | #define ALIGNMENT_DOUBLE 8
  4674. | #define SIZEOF_FLOAT 4
  4675. | #define ALIGNMENT_FLOAT 4
  4676. | #define SIZEOF_INT 4
  4677. | #define ALIGNMENT_INT 4
  4678. | /* end confdefs.h. */
  4679. | #include <stdio.h>
  4680. | #ifdef HAVE_SYS_TYPES_H
  4681. | # include <sys/types.h>
  4682. | #endif
  4683. | #ifdef HAVE_SYS_STAT_H
  4684. | # include <sys/stat.h>
  4685. | #endif
  4686. | #ifdef STDC_HEADERS
  4687. | # include <stdlib.h>
  4688. | # include <stddef.h>
  4689. | #else
  4690. | # ifdef HAVE_STDLIB_H
  4691. | # include <stdlib.h>
  4692. | # endif
  4693. | #endif
  4694. | #ifdef HAVE_STRING_H
  4695. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4696. | # include <memory.h>
  4697. | # endif
  4698. | # include <string.h>
  4699. | #endif
  4700. | #ifdef HAVE_STRINGS_H
  4701. | # include <strings.h>
  4702. | #endif
  4703. | #ifdef HAVE_INTTYPES_H
  4704. | # include <inttypes.h>
  4705. | #endif
  4706. | #ifdef HAVE_STDINT_H
  4707. | # include <stdint.h>
  4708. | #endif
  4709. | #ifdef HAVE_UNISTD_H
  4710. | # include <unistd.h>
  4711. | #endif
  4712. | int
  4713. | main ()
  4714. | {
  4715. | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)];
  4716. | test_array [0] = 0;
  4717. | return test_array [0];
  4718. |
  4719. | ;
  4720. | return 0;
  4721. | }
  4722. configure:12180: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4723. conftest.c: In function 'main':
  4724. conftest.c:99:12: error: size of array 'test_array' is negative
  4725. static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)];
  4726. ^~~~~~~~~~
  4727. configure:12180: $? = 1
  4728. configure: failed program was:
  4729. | /* confdefs.h */
  4730. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  4731. | #define PACKAGE_TARNAME "ghc-8.7"
  4732. | #define PACKAGE_VERSION "8.7"
  4733. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  4734. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  4735. | #define PACKAGE_URL ""
  4736. | #define STDC_HEADERS 1
  4737. | #define HAVE_SYS_TYPES_H 1
  4738. | #define HAVE_SYS_STAT_H 1
  4739. | #define HAVE_STDLIB_H 1
  4740. | #define HAVE_STRING_H 1
  4741. | #define HAVE_MEMORY_H 1
  4742. | #define HAVE_STRINGS_H 1
  4743. | #define HAVE_INTTYPES_H 1
  4744. | #define HAVE_STDINT_H 1
  4745. | #define HAVE_UNISTD_H 1
  4746. | #define __EXTENSIONS__ 1
  4747. | #define _ALL_SOURCE 1
  4748. | #define _GNU_SOURCE 1
  4749. | #define _POSIX_PTHREAD_SEMANTICS 1
  4750. | #define _TANDEM_SOURCE 1
  4751. | #define sUPPORTED_LLVM_VERSION (7,0)
  4752. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  4753. | #define STDC_HEADERS 1
  4754. | #define HAVE_CTYPE_H 1
  4755. | #define HAVE_DIRENT_H 1
  4756. | #define HAVE_DLFCN_H 1
  4757. | #define HAVE_ERRNO_H 1
  4758. | #define HAVE_FCNTL_H 1
  4759. | #define HAVE_GRP_H 1
  4760. | #define HAVE_LIMITS_H 1
  4761. | #define HAVE_LOCALE_H 1
  4762. | #define HAVE_NLIST_H 1
  4763. | #define HAVE_PTHREAD_H 1
  4764. | #define HAVE_PWD_H 1
  4765. | #define HAVE_SIGNAL_H 1
  4766. | #define HAVE_SYS_PARAM_H 1
  4767. | #define HAVE_SYS_MMAN_H 1
  4768. | #define HAVE_SYS_RESOURCE_H 1
  4769. | #define HAVE_SYS_SELECT_H 1
  4770. | #define HAVE_SYS_TIME_H 1
  4771. | #define HAVE_SYS_TIMEB_H 1
  4772. | #define HAVE_SYS_TIMERFD_H 1
  4773. | #define HAVE_SYS_TIMES_H 1
  4774. | #define HAVE_SYS_UTSNAME_H 1
  4775. | #define HAVE_SYS_WAIT_H 1
  4776. | #define HAVE_TERMIOS_H 1
  4777. | #define HAVE_TIME_H 1
  4778. | #define HAVE_UTIME_H 1
  4779. | #define HAVE_SCHED_H 1
  4780. | #define TIME_WITH_SYS_TIME 1
  4781. | #define HAVE_LONG_LONG 1
  4782. | #define SIZEOF_CHAR 1
  4783. | #define ALIGNMENT_CHAR 1
  4784. | #define SIZEOF_DOUBLE 8
  4785. | #define ALIGNMENT_DOUBLE 8
  4786. | #define SIZEOF_FLOAT 4
  4787. | #define ALIGNMENT_FLOAT 4
  4788. | #define SIZEOF_INT 4
  4789. | #define ALIGNMENT_INT 4
  4790. | /* end confdefs.h. */
  4791. | #include <stdio.h>
  4792. | #ifdef HAVE_SYS_TYPES_H
  4793. | # include <sys/types.h>
  4794. | #endif
  4795. | #ifdef HAVE_SYS_STAT_H
  4796. | # include <sys/stat.h>
  4797. | #endif
  4798. | #ifdef STDC_HEADERS
  4799. | # include <stdlib.h>
  4800. | # include <stddef.h>
  4801. | #else
  4802. | # ifdef HAVE_STDLIB_H
  4803. | # include <stdlib.h>
  4804. | # endif
  4805. | #endif
  4806. | #ifdef HAVE_STRING_H
  4807. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4808. | # include <memory.h>
  4809. | # endif
  4810. | # include <string.h>
  4811. | #endif
  4812. | #ifdef HAVE_STRINGS_H
  4813. | # include <strings.h>
  4814. | #endif
  4815. | #ifdef HAVE_INTTYPES_H
  4816. | # include <inttypes.h>
  4817. | #endif
  4818. | #ifdef HAVE_STDINT_H
  4819. | # include <stdint.h>
  4820. | #endif
  4821. | #ifdef HAVE_UNISTD_H
  4822. | # include <unistd.h>
  4823. | #endif
  4824. | int
  4825. | main ()
  4826. | {
  4827. | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)];
  4828. | test_array [0] = 0;
  4829. | return test_array [0];
  4830. |
  4831. | ;
  4832. | return 0;
  4833. | }
  4834. configure:12180: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4835. configure:12180: $? = 0
  4836. configure:12180: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4837. configure:12180: $? = 0
  4838. configure:12180: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4839. configure:12180: $? = 0
  4840. configure:12180: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4841. configure:12180: $? = 0
  4842. configure:12194: result: 8
  4843. configure:12204: checking for long
  4844. configure:12204: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4845. configure:12204: $? = 0
  4846. configure:12204: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4847. conftest.c: In function 'main':
  4848. conftest.c:100:19: error: expected expression before ')' token
  4849. if (sizeof ((long)))
  4850. ^
  4851. configure:12204: $? = 1
  4852. configure: failed program was:
  4853. | /* confdefs.h */
  4854. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  4855. | #define PACKAGE_TARNAME "ghc-8.7"
  4856. | #define PACKAGE_VERSION "8.7"
  4857. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  4858. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  4859. | #define PACKAGE_URL ""
  4860. | #define STDC_HEADERS 1
  4861. | #define HAVE_SYS_TYPES_H 1
  4862. | #define HAVE_SYS_STAT_H 1
  4863. | #define HAVE_STDLIB_H 1
  4864. | #define HAVE_STRING_H 1
  4865. | #define HAVE_MEMORY_H 1
  4866. | #define HAVE_STRINGS_H 1
  4867. | #define HAVE_INTTYPES_H 1
  4868. | #define HAVE_STDINT_H 1
  4869. | #define HAVE_UNISTD_H 1
  4870. | #define __EXTENSIONS__ 1
  4871. | #define _ALL_SOURCE 1
  4872. | #define _GNU_SOURCE 1
  4873. | #define _POSIX_PTHREAD_SEMANTICS 1
  4874. | #define _TANDEM_SOURCE 1
  4875. | #define sUPPORTED_LLVM_VERSION (7,0)
  4876. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  4877. | #define STDC_HEADERS 1
  4878. | #define HAVE_CTYPE_H 1
  4879. | #define HAVE_DIRENT_H 1
  4880. | #define HAVE_DLFCN_H 1
  4881. | #define HAVE_ERRNO_H 1
  4882. | #define HAVE_FCNTL_H 1
  4883. | #define HAVE_GRP_H 1
  4884. | #define HAVE_LIMITS_H 1
  4885. | #define HAVE_LOCALE_H 1
  4886. | #define HAVE_NLIST_H 1
  4887. | #define HAVE_PTHREAD_H 1
  4888. | #define HAVE_PWD_H 1
  4889. | #define HAVE_SIGNAL_H 1
  4890. | #define HAVE_SYS_PARAM_H 1
  4891. | #define HAVE_SYS_MMAN_H 1
  4892. | #define HAVE_SYS_RESOURCE_H 1
  4893. | #define HAVE_SYS_SELECT_H 1
  4894. | #define HAVE_SYS_TIME_H 1
  4895. | #define HAVE_SYS_TIMEB_H 1
  4896. | #define HAVE_SYS_TIMERFD_H 1
  4897. | #define HAVE_SYS_TIMES_H 1
  4898. | #define HAVE_SYS_UTSNAME_H 1
  4899. | #define HAVE_SYS_WAIT_H 1
  4900. | #define HAVE_TERMIOS_H 1
  4901. | #define HAVE_TIME_H 1
  4902. | #define HAVE_UTIME_H 1
  4903. | #define HAVE_SCHED_H 1
  4904. | #define TIME_WITH_SYS_TIME 1
  4905. | #define HAVE_LONG_LONG 1
  4906. | #define SIZEOF_CHAR 1
  4907. | #define ALIGNMENT_CHAR 1
  4908. | #define SIZEOF_DOUBLE 8
  4909. | #define ALIGNMENT_DOUBLE 8
  4910. | #define SIZEOF_FLOAT 4
  4911. | #define ALIGNMENT_FLOAT 4
  4912. | #define SIZEOF_INT 4
  4913. | #define ALIGNMENT_INT 4
  4914. | #define SIZEOF_LONG 8
  4915. | /* end confdefs.h. */
  4916. | #include <stdio.h>
  4917. | #ifdef HAVE_SYS_TYPES_H
  4918. | # include <sys/types.h>
  4919. | #endif
  4920. | #ifdef HAVE_SYS_STAT_H
  4921. | # include <sys/stat.h>
  4922. | #endif
  4923. | #ifdef STDC_HEADERS
  4924. | # include <stdlib.h>
  4925. | # include <stddef.h>
  4926. | #else
  4927. | # ifdef HAVE_STDLIB_H
  4928. | # include <stdlib.h>
  4929. | # endif
  4930. | #endif
  4931. | #ifdef HAVE_STRING_H
  4932. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4933. | # include <memory.h>
  4934. | # endif
  4935. | # include <string.h>
  4936. | #endif
  4937. | #ifdef HAVE_STRINGS_H
  4938. | # include <strings.h>
  4939. | #endif
  4940. | #ifdef HAVE_INTTYPES_H
  4941. | # include <inttypes.h>
  4942. | #endif
  4943. | #ifdef HAVE_STDINT_H
  4944. | # include <stdint.h>
  4945. | #endif
  4946. | #ifdef HAVE_UNISTD_H
  4947. | # include <unistd.h>
  4948. | #endif
  4949. | int
  4950. | main ()
  4951. | {
  4952. | if (sizeof ((long)))
  4953. | return 0;
  4954. | ;
  4955. | return 0;
  4956. | }
  4957. configure:12204: result: yes
  4958. configure:12208: checking alignment of long
  4959. configure:12214: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4960. configure:12214: $? = 0
  4961. configure:12214: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  4962. conftest.c: In function 'main':
  4963. conftest.c:100:12: error: size of array 'test_array' is negative
  4964. static int test_array [1 - 2 * !((offsetof(struct { char c; long ty; },ty)) <= 0)];
  4965. ^~~~~~~~~~
  4966. configure:12214: $? = 1
  4967. configure: failed program was:
  4968. | /* confdefs.h */
  4969. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  4970. | #define PACKAGE_TARNAME "ghc-8.7"
  4971. | #define PACKAGE_VERSION "8.7"
  4972. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  4973. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  4974. | #define PACKAGE_URL ""
  4975. | #define STDC_HEADERS 1
  4976. | #define HAVE_SYS_TYPES_H 1
  4977. | #define HAVE_SYS_STAT_H 1
  4978. | #define HAVE_STDLIB_H 1
  4979. | #define HAVE_STRING_H 1
  4980. | #define HAVE_MEMORY_H 1
  4981. | #define HAVE_STRINGS_H 1
  4982. | #define HAVE_INTTYPES_H 1
  4983. | #define HAVE_STDINT_H 1
  4984. | #define HAVE_UNISTD_H 1
  4985. | #define __EXTENSIONS__ 1
  4986. | #define _ALL_SOURCE 1
  4987. | #define _GNU_SOURCE 1
  4988. | #define _POSIX_PTHREAD_SEMANTICS 1
  4989. | #define _TANDEM_SOURCE 1
  4990. | #define sUPPORTED_LLVM_VERSION (7,0)
  4991. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  4992. | #define STDC_HEADERS 1
  4993. | #define HAVE_CTYPE_H 1
  4994. | #define HAVE_DIRENT_H 1
  4995. | #define HAVE_DLFCN_H 1
  4996. | #define HAVE_ERRNO_H 1
  4997. | #define HAVE_FCNTL_H 1
  4998. | #define HAVE_GRP_H 1
  4999. | #define HAVE_LIMITS_H 1
  5000. | #define HAVE_LOCALE_H 1
  5001. | #define HAVE_NLIST_H 1
  5002. | #define HAVE_PTHREAD_H 1
  5003. | #define HAVE_PWD_H 1
  5004. | #define HAVE_SIGNAL_H 1
  5005. | #define HAVE_SYS_PARAM_H 1
  5006. | #define HAVE_SYS_MMAN_H 1
  5007. | #define HAVE_SYS_RESOURCE_H 1
  5008. | #define HAVE_SYS_SELECT_H 1
  5009. | #define HAVE_SYS_TIME_H 1
  5010. | #define HAVE_SYS_TIMEB_H 1
  5011. | #define HAVE_SYS_TIMERFD_H 1
  5012. | #define HAVE_SYS_TIMES_H 1
  5013. | #define HAVE_SYS_UTSNAME_H 1
  5014. | #define HAVE_SYS_WAIT_H 1
  5015. | #define HAVE_TERMIOS_H 1
  5016. | #define HAVE_TIME_H 1
  5017. | #define HAVE_UTIME_H 1
  5018. | #define HAVE_SCHED_H 1
  5019. | #define TIME_WITH_SYS_TIME 1
  5020. | #define HAVE_LONG_LONG 1
  5021. | #define SIZEOF_CHAR 1
  5022. | #define ALIGNMENT_CHAR 1
  5023. | #define SIZEOF_DOUBLE 8
  5024. | #define ALIGNMENT_DOUBLE 8
  5025. | #define SIZEOF_FLOAT 4
  5026. | #define ALIGNMENT_FLOAT 4
  5027. | #define SIZEOF_INT 4
  5028. | #define ALIGNMENT_INT 4
  5029. | #define SIZEOF_LONG 8
  5030. | /* end confdefs.h. */
  5031. | #include <stdio.h>
  5032. | #ifdef HAVE_SYS_TYPES_H
  5033. | # include <sys/types.h>
  5034. | #endif
  5035. | #ifdef HAVE_SYS_STAT_H
  5036. | # include <sys/stat.h>
  5037. | #endif
  5038. | #ifdef STDC_HEADERS
  5039. | # include <stdlib.h>
  5040. | # include <stddef.h>
  5041. | #else
  5042. | # ifdef HAVE_STDLIB_H
  5043. | # include <stdlib.h>
  5044. | # endif
  5045. | #endif
  5046. | #ifdef HAVE_STRING_H
  5047. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5048. | # include <memory.h>
  5049. | # endif
  5050. | # include <string.h>
  5051. | #endif
  5052. | #ifdef HAVE_STRINGS_H
  5053. | # include <strings.h>
  5054. | #endif
  5055. | #ifdef HAVE_INTTYPES_H
  5056. | # include <inttypes.h>
  5057. | #endif
  5058. | #ifdef HAVE_STDINT_H
  5059. | # include <stdint.h>
  5060. | #endif
  5061. | #ifdef HAVE_UNISTD_H
  5062. | # include <unistd.h>
  5063. | #endif
  5064. | int
  5065. | main ()
  5066. | {
  5067. | static int test_array [1 - 2 * !((offsetof(struct { char c; long ty; },ty)) <= 0)];
  5068. | test_array [0] = 0;
  5069. | return test_array [0];
  5070. |
  5071. | ;
  5072. | return 0;
  5073. | }
  5074. configure:12214: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5075. conftest.c: In function 'main':
  5076. conftest.c:100:12: error: size of array 'test_array' is negative
  5077. static int test_array [1 - 2 * !((offsetof(struct { char c; long ty; },ty)) <= 1)];
  5078. ^~~~~~~~~~
  5079. configure:12214: $? = 1
  5080. configure: failed program was:
  5081. | /* confdefs.h */
  5082. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  5083. | #define PACKAGE_TARNAME "ghc-8.7"
  5084. | #define PACKAGE_VERSION "8.7"
  5085. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  5086. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  5087. | #define PACKAGE_URL ""
  5088. | #define STDC_HEADERS 1
  5089. | #define HAVE_SYS_TYPES_H 1
  5090. | #define HAVE_SYS_STAT_H 1
  5091. | #define HAVE_STDLIB_H 1
  5092. | #define HAVE_STRING_H 1
  5093. | #define HAVE_MEMORY_H 1
  5094. | #define HAVE_STRINGS_H 1
  5095. | #define HAVE_INTTYPES_H 1
  5096. | #define HAVE_STDINT_H 1
  5097. | #define HAVE_UNISTD_H 1
  5098. | #define __EXTENSIONS__ 1
  5099. | #define _ALL_SOURCE 1
  5100. | #define _GNU_SOURCE 1
  5101. | #define _POSIX_PTHREAD_SEMANTICS 1
  5102. | #define _TANDEM_SOURCE 1
  5103. | #define sUPPORTED_LLVM_VERSION (7,0)
  5104. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  5105. | #define STDC_HEADERS 1
  5106. | #define HAVE_CTYPE_H 1
  5107. | #define HAVE_DIRENT_H 1
  5108. | #define HAVE_DLFCN_H 1
  5109. | #define HAVE_ERRNO_H 1
  5110. | #define HAVE_FCNTL_H 1
  5111. | #define HAVE_GRP_H 1
  5112. | #define HAVE_LIMITS_H 1
  5113. | #define HAVE_LOCALE_H 1
  5114. | #define HAVE_NLIST_H 1
  5115. | #define HAVE_PTHREAD_H 1
  5116. | #define HAVE_PWD_H 1
  5117. | #define HAVE_SIGNAL_H 1
  5118. | #define HAVE_SYS_PARAM_H 1
  5119. | #define HAVE_SYS_MMAN_H 1
  5120. | #define HAVE_SYS_RESOURCE_H 1
  5121. | #define HAVE_SYS_SELECT_H 1
  5122. | #define HAVE_SYS_TIME_H 1
  5123. | #define HAVE_SYS_TIMEB_H 1
  5124. | #define HAVE_SYS_TIMERFD_H 1
  5125. | #define HAVE_SYS_TIMES_H 1
  5126. | #define HAVE_SYS_UTSNAME_H 1
  5127. | #define HAVE_SYS_WAIT_H 1
  5128. | #define HAVE_TERMIOS_H 1
  5129. | #define HAVE_TIME_H 1
  5130. | #define HAVE_UTIME_H 1
  5131. | #define HAVE_SCHED_H 1
  5132. | #define TIME_WITH_SYS_TIME 1
  5133. | #define HAVE_LONG_LONG 1
  5134. | #define SIZEOF_CHAR 1
  5135. | #define ALIGNMENT_CHAR 1
  5136. | #define SIZEOF_DOUBLE 8
  5137. | #define ALIGNMENT_DOUBLE 8
  5138. | #define SIZEOF_FLOAT 4
  5139. | #define ALIGNMENT_FLOAT 4
  5140. | #define SIZEOF_INT 4
  5141. | #define ALIGNMENT_INT 4
  5142. | #define SIZEOF_LONG 8
  5143. | /* end confdefs.h. */
  5144. | #include <stdio.h>
  5145. | #ifdef HAVE_SYS_TYPES_H
  5146. | # include <sys/types.h>
  5147. | #endif
  5148. | #ifdef HAVE_SYS_STAT_H
  5149. | # include <sys/stat.h>
  5150. | #endif
  5151. | #ifdef STDC_HEADERS
  5152. | # include <stdlib.h>
  5153. | # include <stddef.h>
  5154. | #else
  5155. | # ifdef HAVE_STDLIB_H
  5156. | # include <stdlib.h>
  5157. | # endif
  5158. | #endif
  5159. | #ifdef HAVE_STRING_H
  5160. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5161. | # include <memory.h>
  5162. | # endif
  5163. | # include <string.h>
  5164. | #endif
  5165. | #ifdef HAVE_STRINGS_H
  5166. | # include <strings.h>
  5167. | #endif
  5168. | #ifdef HAVE_INTTYPES_H
  5169. | # include <inttypes.h>
  5170. | #endif
  5171. | #ifdef HAVE_STDINT_H
  5172. | # include <stdint.h>
  5173. | #endif
  5174. | #ifdef HAVE_UNISTD_H
  5175. | # include <unistd.h>
  5176. | #endif
  5177. | int
  5178. | main ()
  5179. | {
  5180. | static int test_array [1 - 2 * !((offsetof(struct { char c; long ty; },ty)) <= 1)];
  5181. | test_array [0] = 0;
  5182. | return test_array [0];
  5183. |
  5184. | ;
  5185. | return 0;
  5186. | }
  5187. configure:12214: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5188. conftest.c: In function 'main':
  5189. conftest.c:100:12: error: size of array 'test_array' is negative
  5190. static int test_array [1 - 2 * !((offsetof(struct { char c; long ty; },ty)) <= 3)];
  5191. ^~~~~~~~~~
  5192. configure:12214: $? = 1
  5193. configure: failed program was:
  5194. | /* confdefs.h */
  5195. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  5196. | #define PACKAGE_TARNAME "ghc-8.7"
  5197. | #define PACKAGE_VERSION "8.7"
  5198. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  5199. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  5200. | #define PACKAGE_URL ""
  5201. | #define STDC_HEADERS 1
  5202. | #define HAVE_SYS_TYPES_H 1
  5203. | #define HAVE_SYS_STAT_H 1
  5204. | #define HAVE_STDLIB_H 1
  5205. | #define HAVE_STRING_H 1
  5206. | #define HAVE_MEMORY_H 1
  5207. | #define HAVE_STRINGS_H 1
  5208. | #define HAVE_INTTYPES_H 1
  5209. | #define HAVE_STDINT_H 1
  5210. | #define HAVE_UNISTD_H 1
  5211. | #define __EXTENSIONS__ 1
  5212. | #define _ALL_SOURCE 1
  5213. | #define _GNU_SOURCE 1
  5214. | #define _POSIX_PTHREAD_SEMANTICS 1
  5215. | #define _TANDEM_SOURCE 1
  5216. | #define sUPPORTED_LLVM_VERSION (7,0)
  5217. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  5218. | #define STDC_HEADERS 1
  5219. | #define HAVE_CTYPE_H 1
  5220. | #define HAVE_DIRENT_H 1
  5221. | #define HAVE_DLFCN_H 1
  5222. | #define HAVE_ERRNO_H 1
  5223. | #define HAVE_FCNTL_H 1
  5224. | #define HAVE_GRP_H 1
  5225. | #define HAVE_LIMITS_H 1
  5226. | #define HAVE_LOCALE_H 1
  5227. | #define HAVE_NLIST_H 1
  5228. | #define HAVE_PTHREAD_H 1
  5229. | #define HAVE_PWD_H 1
  5230. | #define HAVE_SIGNAL_H 1
  5231. | #define HAVE_SYS_PARAM_H 1
  5232. | #define HAVE_SYS_MMAN_H 1
  5233. | #define HAVE_SYS_RESOURCE_H 1
  5234. | #define HAVE_SYS_SELECT_H 1
  5235. | #define HAVE_SYS_TIME_H 1
  5236. | #define HAVE_SYS_TIMEB_H 1
  5237. | #define HAVE_SYS_TIMERFD_H 1
  5238. | #define HAVE_SYS_TIMES_H 1
  5239. | #define HAVE_SYS_UTSNAME_H 1
  5240. | #define HAVE_SYS_WAIT_H 1
  5241. | #define HAVE_TERMIOS_H 1
  5242. | #define HAVE_TIME_H 1
  5243. | #define HAVE_UTIME_H 1
  5244. | #define HAVE_SCHED_H 1
  5245. | #define TIME_WITH_SYS_TIME 1
  5246. | #define HAVE_LONG_LONG 1
  5247. | #define SIZEOF_CHAR 1
  5248. | #define ALIGNMENT_CHAR 1
  5249. | #define SIZEOF_DOUBLE 8
  5250. | #define ALIGNMENT_DOUBLE 8
  5251. | #define SIZEOF_FLOAT 4
  5252. | #define ALIGNMENT_FLOAT 4
  5253. | #define SIZEOF_INT 4
  5254. | #define ALIGNMENT_INT 4
  5255. | #define SIZEOF_LONG 8
  5256. | /* end confdefs.h. */
  5257. | #include <stdio.h>
  5258. | #ifdef HAVE_SYS_TYPES_H
  5259. | # include <sys/types.h>
  5260. | #endif
  5261. | #ifdef HAVE_SYS_STAT_H
  5262. | # include <sys/stat.h>
  5263. | #endif
  5264. | #ifdef STDC_HEADERS
  5265. | # include <stdlib.h>
  5266. | # include <stddef.h>
  5267. | #else
  5268. | # ifdef HAVE_STDLIB_H
  5269. | # include <stdlib.h>
  5270. | # endif
  5271. | #endif
  5272. | #ifdef HAVE_STRING_H
  5273. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5274. | # include <memory.h>
  5275. | # endif
  5276. | # include <string.h>
  5277. | #endif
  5278. | #ifdef HAVE_STRINGS_H
  5279. | # include <strings.h>
  5280. | #endif
  5281. | #ifdef HAVE_INTTYPES_H
  5282. | # include <inttypes.h>
  5283. | #endif
  5284. | #ifdef HAVE_STDINT_H
  5285. | # include <stdint.h>
  5286. | #endif
  5287. | #ifdef HAVE_UNISTD_H
  5288. | # include <unistd.h>
  5289. | #endif
  5290. | int
  5291. | main ()
  5292. | {
  5293. | static int test_array [1 - 2 * !((offsetof(struct { char c; long ty; },ty)) <= 3)];
  5294. | test_array [0] = 0;
  5295. | return test_array [0];
  5296. |
  5297. | ;
  5298. | return 0;
  5299. | }
  5300. configure:12214: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5301. conftest.c: In function 'main':
  5302. conftest.c:100:12: error: size of array 'test_array' is negative
  5303. static int test_array [1 - 2 * !((offsetof(struct { char c; long ty; },ty)) <= 7)];
  5304. ^~~~~~~~~~
  5305. configure:12214: $? = 1
  5306. configure: failed program was:
  5307. | /* confdefs.h */
  5308. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  5309. | #define PACKAGE_TARNAME "ghc-8.7"
  5310. | #define PACKAGE_VERSION "8.7"
  5311. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  5312. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  5313. | #define PACKAGE_URL ""
  5314. | #define STDC_HEADERS 1
  5315. | #define HAVE_SYS_TYPES_H 1
  5316. | #define HAVE_SYS_STAT_H 1
  5317. | #define HAVE_STDLIB_H 1
  5318. | #define HAVE_STRING_H 1
  5319. | #define HAVE_MEMORY_H 1
  5320. | #define HAVE_STRINGS_H 1
  5321. | #define HAVE_INTTYPES_H 1
  5322. | #define HAVE_STDINT_H 1
  5323. | #define HAVE_UNISTD_H 1
  5324. | #define __EXTENSIONS__ 1
  5325. | #define _ALL_SOURCE 1
  5326. | #define _GNU_SOURCE 1
  5327. | #define _POSIX_PTHREAD_SEMANTICS 1
  5328. | #define _TANDEM_SOURCE 1
  5329. | #define sUPPORTED_LLVM_VERSION (7,0)
  5330. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  5331. | #define STDC_HEADERS 1
  5332. | #define HAVE_CTYPE_H 1
  5333. | #define HAVE_DIRENT_H 1
  5334. | #define HAVE_DLFCN_H 1
  5335. | #define HAVE_ERRNO_H 1
  5336. | #define HAVE_FCNTL_H 1
  5337. | #define HAVE_GRP_H 1
  5338. | #define HAVE_LIMITS_H 1
  5339. | #define HAVE_LOCALE_H 1
  5340. | #define HAVE_NLIST_H 1
  5341. | #define HAVE_PTHREAD_H 1
  5342. | #define HAVE_PWD_H 1
  5343. | #define HAVE_SIGNAL_H 1
  5344. | #define HAVE_SYS_PARAM_H 1
  5345. | #define HAVE_SYS_MMAN_H 1
  5346. | #define HAVE_SYS_RESOURCE_H 1
  5347. | #define HAVE_SYS_SELECT_H 1
  5348. | #define HAVE_SYS_TIME_H 1
  5349. | #define HAVE_SYS_TIMEB_H 1
  5350. | #define HAVE_SYS_TIMERFD_H 1
  5351. | #define HAVE_SYS_TIMES_H 1
  5352. | #define HAVE_SYS_UTSNAME_H 1
  5353. | #define HAVE_SYS_WAIT_H 1
  5354. | #define HAVE_TERMIOS_H 1
  5355. | #define HAVE_TIME_H 1
  5356. | #define HAVE_UTIME_H 1
  5357. | #define HAVE_SCHED_H 1
  5358. | #define TIME_WITH_SYS_TIME 1
  5359. | #define HAVE_LONG_LONG 1
  5360. | #define SIZEOF_CHAR 1
  5361. | #define ALIGNMENT_CHAR 1
  5362. | #define SIZEOF_DOUBLE 8
  5363. | #define ALIGNMENT_DOUBLE 8
  5364. | #define SIZEOF_FLOAT 4
  5365. | #define ALIGNMENT_FLOAT 4
  5366. | #define SIZEOF_INT 4
  5367. | #define ALIGNMENT_INT 4
  5368. | #define SIZEOF_LONG 8
  5369. | /* end confdefs.h. */
  5370. | #include <stdio.h>
  5371. | #ifdef HAVE_SYS_TYPES_H
  5372. | # include <sys/types.h>
  5373. | #endif
  5374. | #ifdef HAVE_SYS_STAT_H
  5375. | # include <sys/stat.h>
  5376. | #endif
  5377. | #ifdef STDC_HEADERS
  5378. | # include <stdlib.h>
  5379. | # include <stddef.h>
  5380. | #else
  5381. | # ifdef HAVE_STDLIB_H
  5382. | # include <stdlib.h>
  5383. | # endif
  5384. | #endif
  5385. | #ifdef HAVE_STRING_H
  5386. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5387. | # include <memory.h>
  5388. | # endif
  5389. | # include <string.h>
  5390. | #endif
  5391. | #ifdef HAVE_STRINGS_H
  5392. | # include <strings.h>
  5393. | #endif
  5394. | #ifdef HAVE_INTTYPES_H
  5395. | # include <inttypes.h>
  5396. | #endif
  5397. | #ifdef HAVE_STDINT_H
  5398. | # include <stdint.h>
  5399. | #endif
  5400. | #ifdef HAVE_UNISTD_H
  5401. | # include <unistd.h>
  5402. | #endif
  5403. | int
  5404. | main ()
  5405. | {
  5406. | static int test_array [1 - 2 * !((offsetof(struct { char c; long ty; },ty)) <= 7)];
  5407. | test_array [0] = 0;
  5408. | return test_array [0];
  5409. |
  5410. | ;
  5411. | return 0;
  5412. | }
  5413. configure:12214: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5414. configure:12214: $? = 0
  5415. configure:12214: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5416. configure:12214: $? = 0
  5417. configure:12214: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5418. configure:12214: $? = 0
  5419. configure:12214: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5420. configure:12214: $? = 0
  5421. configure:12226: result: 8
  5422. configure:12238: checking size of long long
  5423. configure:12243: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5424. configure:12243: $? = 0
  5425. configure:12243: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5426. conftest.c: In function 'main':
  5427. conftest.c:101:12: error: size of array 'test_array' is negative
  5428. static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)];
  5429. ^~~~~~~~~~
  5430. configure:12243: $? = 1
  5431. configure: failed program was:
  5432. | /* confdefs.h */
  5433. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  5434. | #define PACKAGE_TARNAME "ghc-8.7"
  5435. | #define PACKAGE_VERSION "8.7"
  5436. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  5437. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  5438. | #define PACKAGE_URL ""
  5439. | #define STDC_HEADERS 1
  5440. | #define HAVE_SYS_TYPES_H 1
  5441. | #define HAVE_SYS_STAT_H 1
  5442. | #define HAVE_STDLIB_H 1
  5443. | #define HAVE_STRING_H 1
  5444. | #define HAVE_MEMORY_H 1
  5445. | #define HAVE_STRINGS_H 1
  5446. | #define HAVE_INTTYPES_H 1
  5447. | #define HAVE_STDINT_H 1
  5448. | #define HAVE_UNISTD_H 1
  5449. | #define __EXTENSIONS__ 1
  5450. | #define _ALL_SOURCE 1
  5451. | #define _GNU_SOURCE 1
  5452. | #define _POSIX_PTHREAD_SEMANTICS 1
  5453. | #define _TANDEM_SOURCE 1
  5454. | #define sUPPORTED_LLVM_VERSION (7,0)
  5455. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  5456. | #define STDC_HEADERS 1
  5457. | #define HAVE_CTYPE_H 1
  5458. | #define HAVE_DIRENT_H 1
  5459. | #define HAVE_DLFCN_H 1
  5460. | #define HAVE_ERRNO_H 1
  5461. | #define HAVE_FCNTL_H 1
  5462. | #define HAVE_GRP_H 1
  5463. | #define HAVE_LIMITS_H 1
  5464. | #define HAVE_LOCALE_H 1
  5465. | #define HAVE_NLIST_H 1
  5466. | #define HAVE_PTHREAD_H 1
  5467. | #define HAVE_PWD_H 1
  5468. | #define HAVE_SIGNAL_H 1
  5469. | #define HAVE_SYS_PARAM_H 1
  5470. | #define HAVE_SYS_MMAN_H 1
  5471. | #define HAVE_SYS_RESOURCE_H 1
  5472. | #define HAVE_SYS_SELECT_H 1
  5473. | #define HAVE_SYS_TIME_H 1
  5474. | #define HAVE_SYS_TIMEB_H 1
  5475. | #define HAVE_SYS_TIMERFD_H 1
  5476. | #define HAVE_SYS_TIMES_H 1
  5477. | #define HAVE_SYS_UTSNAME_H 1
  5478. | #define HAVE_SYS_WAIT_H 1
  5479. | #define HAVE_TERMIOS_H 1
  5480. | #define HAVE_TIME_H 1
  5481. | #define HAVE_UTIME_H 1
  5482. | #define HAVE_SCHED_H 1
  5483. | #define TIME_WITH_SYS_TIME 1
  5484. | #define HAVE_LONG_LONG 1
  5485. | #define SIZEOF_CHAR 1
  5486. | #define ALIGNMENT_CHAR 1
  5487. | #define SIZEOF_DOUBLE 8
  5488. | #define ALIGNMENT_DOUBLE 8
  5489. | #define SIZEOF_FLOAT 4
  5490. | #define ALIGNMENT_FLOAT 4
  5491. | #define SIZEOF_INT 4
  5492. | #define ALIGNMENT_INT 4
  5493. | #define SIZEOF_LONG 8
  5494. | #define ALIGNMENT_LONG 8
  5495. | /* end confdefs.h. */
  5496. | #include <stdio.h>
  5497. | #ifdef HAVE_SYS_TYPES_H
  5498. | # include <sys/types.h>
  5499. | #endif
  5500. | #ifdef HAVE_SYS_STAT_H
  5501. | # include <sys/stat.h>
  5502. | #endif
  5503. | #ifdef STDC_HEADERS
  5504. | # include <stdlib.h>
  5505. | # include <stddef.h>
  5506. | #else
  5507. | # ifdef HAVE_STDLIB_H
  5508. | # include <stdlib.h>
  5509. | # endif
  5510. | #endif
  5511. | #ifdef HAVE_STRING_H
  5512. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5513. | # include <memory.h>
  5514. | # endif
  5515. | # include <string.h>
  5516. | #endif
  5517. | #ifdef HAVE_STRINGS_H
  5518. | # include <strings.h>
  5519. | #endif
  5520. | #ifdef HAVE_INTTYPES_H
  5521. | # include <inttypes.h>
  5522. | #endif
  5523. | #ifdef HAVE_STDINT_H
  5524. | # include <stdint.h>
  5525. | #endif
  5526. | #ifdef HAVE_UNISTD_H
  5527. | # include <unistd.h>
  5528. | #endif
  5529. | int
  5530. | main ()
  5531. | {
  5532. | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)];
  5533. | test_array [0] = 0;
  5534. | return test_array [0];
  5535. |
  5536. | ;
  5537. | return 0;
  5538. | }
  5539. configure:12243: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5540. conftest.c: In function 'main':
  5541. conftest.c:101:12: error: size of array 'test_array' is negative
  5542. static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)];
  5543. ^~~~~~~~~~
  5544. configure:12243: $? = 1
  5545. configure: failed program was:
  5546. | /* confdefs.h */
  5547. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  5548. | #define PACKAGE_TARNAME "ghc-8.7"
  5549. | #define PACKAGE_VERSION "8.7"
  5550. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  5551. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  5552. | #define PACKAGE_URL ""
  5553. | #define STDC_HEADERS 1
  5554. | #define HAVE_SYS_TYPES_H 1
  5555. | #define HAVE_SYS_STAT_H 1
  5556. | #define HAVE_STDLIB_H 1
  5557. | #define HAVE_STRING_H 1
  5558. | #define HAVE_MEMORY_H 1
  5559. | #define HAVE_STRINGS_H 1
  5560. | #define HAVE_INTTYPES_H 1
  5561. | #define HAVE_STDINT_H 1
  5562. | #define HAVE_UNISTD_H 1
  5563. | #define __EXTENSIONS__ 1
  5564. | #define _ALL_SOURCE 1
  5565. | #define _GNU_SOURCE 1
  5566. | #define _POSIX_PTHREAD_SEMANTICS 1
  5567. | #define _TANDEM_SOURCE 1
  5568. | #define sUPPORTED_LLVM_VERSION (7,0)
  5569. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  5570. | #define STDC_HEADERS 1
  5571. | #define HAVE_CTYPE_H 1
  5572. | #define HAVE_DIRENT_H 1
  5573. | #define HAVE_DLFCN_H 1
  5574. | #define HAVE_ERRNO_H 1
  5575. | #define HAVE_FCNTL_H 1
  5576. | #define HAVE_GRP_H 1
  5577. | #define HAVE_LIMITS_H 1
  5578. | #define HAVE_LOCALE_H 1
  5579. | #define HAVE_NLIST_H 1
  5580. | #define HAVE_PTHREAD_H 1
  5581. | #define HAVE_PWD_H 1
  5582. | #define HAVE_SIGNAL_H 1
  5583. | #define HAVE_SYS_PARAM_H 1
  5584. | #define HAVE_SYS_MMAN_H 1
  5585. | #define HAVE_SYS_RESOURCE_H 1
  5586. | #define HAVE_SYS_SELECT_H 1
  5587. | #define HAVE_SYS_TIME_H 1
  5588. | #define HAVE_SYS_TIMEB_H 1
  5589. | #define HAVE_SYS_TIMERFD_H 1
  5590. | #define HAVE_SYS_TIMES_H 1
  5591. | #define HAVE_SYS_UTSNAME_H 1
  5592. | #define HAVE_SYS_WAIT_H 1
  5593. | #define HAVE_TERMIOS_H 1
  5594. | #define HAVE_TIME_H 1
  5595. | #define HAVE_UTIME_H 1
  5596. | #define HAVE_SCHED_H 1
  5597. | #define TIME_WITH_SYS_TIME 1
  5598. | #define HAVE_LONG_LONG 1
  5599. | #define SIZEOF_CHAR 1
  5600. | #define ALIGNMENT_CHAR 1
  5601. | #define SIZEOF_DOUBLE 8
  5602. | #define ALIGNMENT_DOUBLE 8
  5603. | #define SIZEOF_FLOAT 4
  5604. | #define ALIGNMENT_FLOAT 4
  5605. | #define SIZEOF_INT 4
  5606. | #define ALIGNMENT_INT 4
  5607. | #define SIZEOF_LONG 8
  5608. | #define ALIGNMENT_LONG 8
  5609. | /* end confdefs.h. */
  5610. | #include <stdio.h>
  5611. | #ifdef HAVE_SYS_TYPES_H
  5612. | # include <sys/types.h>
  5613. | #endif
  5614. | #ifdef HAVE_SYS_STAT_H
  5615. | # include <sys/stat.h>
  5616. | #endif
  5617. | #ifdef STDC_HEADERS
  5618. | # include <stdlib.h>
  5619. | # include <stddef.h>
  5620. | #else
  5621. | # ifdef HAVE_STDLIB_H
  5622. | # include <stdlib.h>
  5623. | # endif
  5624. | #endif
  5625. | #ifdef HAVE_STRING_H
  5626. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5627. | # include <memory.h>
  5628. | # endif
  5629. | # include <string.h>
  5630. | #endif
  5631. | #ifdef HAVE_STRINGS_H
  5632. | # include <strings.h>
  5633. | #endif
  5634. | #ifdef HAVE_INTTYPES_H
  5635. | # include <inttypes.h>
  5636. | #endif
  5637. | #ifdef HAVE_STDINT_H
  5638. | # include <stdint.h>
  5639. | #endif
  5640. | #ifdef HAVE_UNISTD_H
  5641. | # include <unistd.h>
  5642. | #endif
  5643. | int
  5644. | main ()
  5645. | {
  5646. | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)];
  5647. | test_array [0] = 0;
  5648. | return test_array [0];
  5649. |
  5650. | ;
  5651. | return 0;
  5652. | }
  5653. configure:12243: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5654. conftest.c: In function 'main':
  5655. conftest.c:101:12: error: size of array 'test_array' is negative
  5656. static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)];
  5657. ^~~~~~~~~~
  5658. configure:12243: $? = 1
  5659. configure: failed program was:
  5660. | /* confdefs.h */
  5661. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  5662. | #define PACKAGE_TARNAME "ghc-8.7"
  5663. | #define PACKAGE_VERSION "8.7"
  5664. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  5665. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  5666. | #define PACKAGE_URL ""
  5667. | #define STDC_HEADERS 1
  5668. | #define HAVE_SYS_TYPES_H 1
  5669. | #define HAVE_SYS_STAT_H 1
  5670. | #define HAVE_STDLIB_H 1
  5671. | #define HAVE_STRING_H 1
  5672. | #define HAVE_MEMORY_H 1
  5673. | #define HAVE_STRINGS_H 1
  5674. | #define HAVE_INTTYPES_H 1
  5675. | #define HAVE_STDINT_H 1
  5676. | #define HAVE_UNISTD_H 1
  5677. | #define __EXTENSIONS__ 1
  5678. | #define _ALL_SOURCE 1
  5679. | #define _GNU_SOURCE 1
  5680. | #define _POSIX_PTHREAD_SEMANTICS 1
  5681. | #define _TANDEM_SOURCE 1
  5682. | #define sUPPORTED_LLVM_VERSION (7,0)
  5683. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  5684. | #define STDC_HEADERS 1
  5685. | #define HAVE_CTYPE_H 1
  5686. | #define HAVE_DIRENT_H 1
  5687. | #define HAVE_DLFCN_H 1
  5688. | #define HAVE_ERRNO_H 1
  5689. | #define HAVE_FCNTL_H 1
  5690. | #define HAVE_GRP_H 1
  5691. | #define HAVE_LIMITS_H 1
  5692. | #define HAVE_LOCALE_H 1
  5693. | #define HAVE_NLIST_H 1
  5694. | #define HAVE_PTHREAD_H 1
  5695. | #define HAVE_PWD_H 1
  5696. | #define HAVE_SIGNAL_H 1
  5697. | #define HAVE_SYS_PARAM_H 1
  5698. | #define HAVE_SYS_MMAN_H 1
  5699. | #define HAVE_SYS_RESOURCE_H 1
  5700. | #define HAVE_SYS_SELECT_H 1
  5701. | #define HAVE_SYS_TIME_H 1
  5702. | #define HAVE_SYS_TIMEB_H 1
  5703. | #define HAVE_SYS_TIMERFD_H 1
  5704. | #define HAVE_SYS_TIMES_H 1
  5705. | #define HAVE_SYS_UTSNAME_H 1
  5706. | #define HAVE_SYS_WAIT_H 1
  5707. | #define HAVE_TERMIOS_H 1
  5708. | #define HAVE_TIME_H 1
  5709. | #define HAVE_UTIME_H 1
  5710. | #define HAVE_SCHED_H 1
  5711. | #define TIME_WITH_SYS_TIME 1
  5712. | #define HAVE_LONG_LONG 1
  5713. | #define SIZEOF_CHAR 1
  5714. | #define ALIGNMENT_CHAR 1
  5715. | #define SIZEOF_DOUBLE 8
  5716. | #define ALIGNMENT_DOUBLE 8
  5717. | #define SIZEOF_FLOAT 4
  5718. | #define ALIGNMENT_FLOAT 4
  5719. | #define SIZEOF_INT 4
  5720. | #define ALIGNMENT_INT 4
  5721. | #define SIZEOF_LONG 8
  5722. | #define ALIGNMENT_LONG 8
  5723. | /* end confdefs.h. */
  5724. | #include <stdio.h>
  5725. | #ifdef HAVE_SYS_TYPES_H
  5726. | # include <sys/types.h>
  5727. | #endif
  5728. | #ifdef HAVE_SYS_STAT_H
  5729. | # include <sys/stat.h>
  5730. | #endif
  5731. | #ifdef STDC_HEADERS
  5732. | # include <stdlib.h>
  5733. | # include <stddef.h>
  5734. | #else
  5735. | # ifdef HAVE_STDLIB_H
  5736. | # include <stdlib.h>
  5737. | # endif
  5738. | #endif
  5739. | #ifdef HAVE_STRING_H
  5740. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5741. | # include <memory.h>
  5742. | # endif
  5743. | # include <string.h>
  5744. | #endif
  5745. | #ifdef HAVE_STRINGS_H
  5746. | # include <strings.h>
  5747. | #endif
  5748. | #ifdef HAVE_INTTYPES_H
  5749. | # include <inttypes.h>
  5750. | #endif
  5751. | #ifdef HAVE_STDINT_H
  5752. | # include <stdint.h>
  5753. | #endif
  5754. | #ifdef HAVE_UNISTD_H
  5755. | # include <unistd.h>
  5756. | #endif
  5757. | int
  5758. | main ()
  5759. | {
  5760. | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)];
  5761. | test_array [0] = 0;
  5762. | return test_array [0];
  5763. |
  5764. | ;
  5765. | return 0;
  5766. | }
  5767. configure:12243: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5768. conftest.c: In function 'main':
  5769. conftest.c:101:12: error: size of array 'test_array' is negative
  5770. static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)];
  5771. ^~~~~~~~~~
  5772. configure:12243: $? = 1
  5773. configure: failed program was:
  5774. | /* confdefs.h */
  5775. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  5776. | #define PACKAGE_TARNAME "ghc-8.7"
  5777. | #define PACKAGE_VERSION "8.7"
  5778. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  5779. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  5780. | #define PACKAGE_URL ""
  5781. | #define STDC_HEADERS 1
  5782. | #define HAVE_SYS_TYPES_H 1
  5783. | #define HAVE_SYS_STAT_H 1
  5784. | #define HAVE_STDLIB_H 1
  5785. | #define HAVE_STRING_H 1
  5786. | #define HAVE_MEMORY_H 1
  5787. | #define HAVE_STRINGS_H 1
  5788. | #define HAVE_INTTYPES_H 1
  5789. | #define HAVE_STDINT_H 1
  5790. | #define HAVE_UNISTD_H 1
  5791. | #define __EXTENSIONS__ 1
  5792. | #define _ALL_SOURCE 1
  5793. | #define _GNU_SOURCE 1
  5794. | #define _POSIX_PTHREAD_SEMANTICS 1
  5795. | #define _TANDEM_SOURCE 1
  5796. | #define sUPPORTED_LLVM_VERSION (7,0)
  5797. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  5798. | #define STDC_HEADERS 1
  5799. | #define HAVE_CTYPE_H 1
  5800. | #define HAVE_DIRENT_H 1
  5801. | #define HAVE_DLFCN_H 1
  5802. | #define HAVE_ERRNO_H 1
  5803. | #define HAVE_FCNTL_H 1
  5804. | #define HAVE_GRP_H 1
  5805. | #define HAVE_LIMITS_H 1
  5806. | #define HAVE_LOCALE_H 1
  5807. | #define HAVE_NLIST_H 1
  5808. | #define HAVE_PTHREAD_H 1
  5809. | #define HAVE_PWD_H 1
  5810. | #define HAVE_SIGNAL_H 1
  5811. | #define HAVE_SYS_PARAM_H 1
  5812. | #define HAVE_SYS_MMAN_H 1
  5813. | #define HAVE_SYS_RESOURCE_H 1
  5814. | #define HAVE_SYS_SELECT_H 1
  5815. | #define HAVE_SYS_TIME_H 1
  5816. | #define HAVE_SYS_TIMEB_H 1
  5817. | #define HAVE_SYS_TIMERFD_H 1
  5818. | #define HAVE_SYS_TIMES_H 1
  5819. | #define HAVE_SYS_UTSNAME_H 1
  5820. | #define HAVE_SYS_WAIT_H 1
  5821. | #define HAVE_TERMIOS_H 1
  5822. | #define HAVE_TIME_H 1
  5823. | #define HAVE_UTIME_H 1
  5824. | #define HAVE_SCHED_H 1
  5825. | #define TIME_WITH_SYS_TIME 1
  5826. | #define HAVE_LONG_LONG 1
  5827. | #define SIZEOF_CHAR 1
  5828. | #define ALIGNMENT_CHAR 1
  5829. | #define SIZEOF_DOUBLE 8
  5830. | #define ALIGNMENT_DOUBLE 8
  5831. | #define SIZEOF_FLOAT 4
  5832. | #define ALIGNMENT_FLOAT 4
  5833. | #define SIZEOF_INT 4
  5834. | #define ALIGNMENT_INT 4
  5835. | #define SIZEOF_LONG 8
  5836. | #define ALIGNMENT_LONG 8
  5837. | /* end confdefs.h. */
  5838. | #include <stdio.h>
  5839. | #ifdef HAVE_SYS_TYPES_H
  5840. | # include <sys/types.h>
  5841. | #endif
  5842. | #ifdef HAVE_SYS_STAT_H
  5843. | # include <sys/stat.h>
  5844. | #endif
  5845. | #ifdef STDC_HEADERS
  5846. | # include <stdlib.h>
  5847. | # include <stddef.h>
  5848. | #else
  5849. | # ifdef HAVE_STDLIB_H
  5850. | # include <stdlib.h>
  5851. | # endif
  5852. | #endif
  5853. | #ifdef HAVE_STRING_H
  5854. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5855. | # include <memory.h>
  5856. | # endif
  5857. | # include <string.h>
  5858. | #endif
  5859. | #ifdef HAVE_STRINGS_H
  5860. | # include <strings.h>
  5861. | #endif
  5862. | #ifdef HAVE_INTTYPES_H
  5863. | # include <inttypes.h>
  5864. | #endif
  5865. | #ifdef HAVE_STDINT_H
  5866. | # include <stdint.h>
  5867. | #endif
  5868. | #ifdef HAVE_UNISTD_H
  5869. | # include <unistd.h>
  5870. | #endif
  5871. | int
  5872. | main ()
  5873. | {
  5874. | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)];
  5875. | test_array [0] = 0;
  5876. | return test_array [0];
  5877. |
  5878. | ;
  5879. | return 0;
  5880. | }
  5881. configure:12243: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5882. configure:12243: $? = 0
  5883. configure:12243: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5884. configure:12243: $? = 0
  5885. configure:12243: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5886. configure:12243: $? = 0
  5887. configure:12243: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5888. configure:12243: $? = 0
  5889. configure:12257: result: 8
  5890. configure:12267: checking for long long
  5891. configure:12267: result: yes
  5892. configure:12271: checking alignment of long long
  5893. configure:12277: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5894. configure:12277: $? = 0
  5895. configure:12277: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  5896. conftest.c: In function 'main':
  5897. conftest.c:102:12: error: size of array 'test_array' is negative
  5898. static int test_array [1 - 2 * !((offsetof(struct { char c; long long ty; },ty)) <= 0)];
  5899. ^~~~~~~~~~
  5900. configure:12277: $? = 1
  5901. configure: failed program was:
  5902. | /* confdefs.h */
  5903. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  5904. | #define PACKAGE_TARNAME "ghc-8.7"
  5905. | #define PACKAGE_VERSION "8.7"
  5906. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  5907. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  5908. | #define PACKAGE_URL ""
  5909. | #define STDC_HEADERS 1
  5910. | #define HAVE_SYS_TYPES_H 1
  5911. | #define HAVE_SYS_STAT_H 1
  5912. | #define HAVE_STDLIB_H 1
  5913. | #define HAVE_STRING_H 1
  5914. | #define HAVE_MEMORY_H 1
  5915. | #define HAVE_STRINGS_H 1
  5916. | #define HAVE_INTTYPES_H 1
  5917. | #define HAVE_STDINT_H 1
  5918. | #define HAVE_UNISTD_H 1
  5919. | #define __EXTENSIONS__ 1
  5920. | #define _ALL_SOURCE 1
  5921. | #define _GNU_SOURCE 1
  5922. | #define _POSIX_PTHREAD_SEMANTICS 1
  5923. | #define _TANDEM_SOURCE 1
  5924. | #define sUPPORTED_LLVM_VERSION (7,0)
  5925. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  5926. | #define STDC_HEADERS 1
  5927. | #define HAVE_CTYPE_H 1
  5928. | #define HAVE_DIRENT_H 1
  5929. | #define HAVE_DLFCN_H 1
  5930. | #define HAVE_ERRNO_H 1
  5931. | #define HAVE_FCNTL_H 1
  5932. | #define HAVE_GRP_H 1
  5933. | #define HAVE_LIMITS_H 1
  5934. | #define HAVE_LOCALE_H 1
  5935. | #define HAVE_NLIST_H 1
  5936. | #define HAVE_PTHREAD_H 1
  5937. | #define HAVE_PWD_H 1
  5938. | #define HAVE_SIGNAL_H 1
  5939. | #define HAVE_SYS_PARAM_H 1
  5940. | #define HAVE_SYS_MMAN_H 1
  5941. | #define HAVE_SYS_RESOURCE_H 1
  5942. | #define HAVE_SYS_SELECT_H 1
  5943. | #define HAVE_SYS_TIME_H 1
  5944. | #define HAVE_SYS_TIMEB_H 1
  5945. | #define HAVE_SYS_TIMERFD_H 1
  5946. | #define HAVE_SYS_TIMES_H 1
  5947. | #define HAVE_SYS_UTSNAME_H 1
  5948. | #define HAVE_SYS_WAIT_H 1
  5949. | #define HAVE_TERMIOS_H 1
  5950. | #define HAVE_TIME_H 1
  5951. | #define HAVE_UTIME_H 1
  5952. | #define HAVE_SCHED_H 1
  5953. | #define TIME_WITH_SYS_TIME 1
  5954. | #define HAVE_LONG_LONG 1
  5955. | #define SIZEOF_CHAR 1
  5956. | #define ALIGNMENT_CHAR 1
  5957. | #define SIZEOF_DOUBLE 8
  5958. | #define ALIGNMENT_DOUBLE 8
  5959. | #define SIZEOF_FLOAT 4
  5960. | #define ALIGNMENT_FLOAT 4
  5961. | #define SIZEOF_INT 4
  5962. | #define ALIGNMENT_INT 4
  5963. | #define SIZEOF_LONG 8
  5964. | #define ALIGNMENT_LONG 8
  5965. | #define SIZEOF_LONG_LONG 8
  5966. | /* end confdefs.h. */
  5967. | #include <stdio.h>
  5968. | #ifdef HAVE_SYS_TYPES_H
  5969. | # include <sys/types.h>
  5970. | #endif
  5971. | #ifdef HAVE_SYS_STAT_H
  5972. | # include <sys/stat.h>
  5973. | #endif
  5974. | #ifdef STDC_HEADERS
  5975. | # include <stdlib.h>
  5976. | # include <stddef.h>
  5977. | #else
  5978. | # ifdef HAVE_STDLIB_H
  5979. | # include <stdlib.h>
  5980. | # endif
  5981. | #endif
  5982. | #ifdef HAVE_STRING_H
  5983. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5984. | # include <memory.h>
  5985. | # endif
  5986. | # include <string.h>
  5987. | #endif
  5988. | #ifdef HAVE_STRINGS_H
  5989. | # include <strings.h>
  5990. | #endif
  5991. | #ifdef HAVE_INTTYPES_H
  5992. | # include <inttypes.h>
  5993. | #endif
  5994. | #ifdef HAVE_STDINT_H
  5995. | # include <stdint.h>
  5996. | #endif
  5997. | #ifdef HAVE_UNISTD_H
  5998. | # include <unistd.h>
  5999. | #endif
  6000. | int
  6001. | main ()
  6002. | {
  6003. | static int test_array [1 - 2 * !((offsetof(struct { char c; long long ty; },ty)) <= 0)];
  6004. | test_array [0] = 0;
  6005. | return test_array [0];
  6006. |
  6007. | ;
  6008. | return 0;
  6009. | }
  6010. configure:12277: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6011. conftest.c: In function 'main':
  6012. conftest.c:102:12: error: size of array 'test_array' is negative
  6013. static int test_array [1 - 2 * !((offsetof(struct { char c; long long ty; },ty)) <= 1)];
  6014. ^~~~~~~~~~
  6015. configure:12277: $? = 1
  6016. configure: failed program was:
  6017. | /* confdefs.h */
  6018. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  6019. | #define PACKAGE_TARNAME "ghc-8.7"
  6020. | #define PACKAGE_VERSION "8.7"
  6021. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  6022. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  6023. | #define PACKAGE_URL ""
  6024. | #define STDC_HEADERS 1
  6025. | #define HAVE_SYS_TYPES_H 1
  6026. | #define HAVE_SYS_STAT_H 1
  6027. | #define HAVE_STDLIB_H 1
  6028. | #define HAVE_STRING_H 1
  6029. | #define HAVE_MEMORY_H 1
  6030. | #define HAVE_STRINGS_H 1
  6031. | #define HAVE_INTTYPES_H 1
  6032. | #define HAVE_STDINT_H 1
  6033. | #define HAVE_UNISTD_H 1
  6034. | #define __EXTENSIONS__ 1
  6035. | #define _ALL_SOURCE 1
  6036. | #define _GNU_SOURCE 1
  6037. | #define _POSIX_PTHREAD_SEMANTICS 1
  6038. | #define _TANDEM_SOURCE 1
  6039. | #define sUPPORTED_LLVM_VERSION (7,0)
  6040. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  6041. | #define STDC_HEADERS 1
  6042. | #define HAVE_CTYPE_H 1
  6043. | #define HAVE_DIRENT_H 1
  6044. | #define HAVE_DLFCN_H 1
  6045. | #define HAVE_ERRNO_H 1
  6046. | #define HAVE_FCNTL_H 1
  6047. | #define HAVE_GRP_H 1
  6048. | #define HAVE_LIMITS_H 1
  6049. | #define HAVE_LOCALE_H 1
  6050. | #define HAVE_NLIST_H 1
  6051. | #define HAVE_PTHREAD_H 1
  6052. | #define HAVE_PWD_H 1
  6053. | #define HAVE_SIGNAL_H 1
  6054. | #define HAVE_SYS_PARAM_H 1
  6055. | #define HAVE_SYS_MMAN_H 1
  6056. | #define HAVE_SYS_RESOURCE_H 1
  6057. | #define HAVE_SYS_SELECT_H 1
  6058. | #define HAVE_SYS_TIME_H 1
  6059. | #define HAVE_SYS_TIMEB_H 1
  6060. | #define HAVE_SYS_TIMERFD_H 1
  6061. | #define HAVE_SYS_TIMES_H 1
  6062. | #define HAVE_SYS_UTSNAME_H 1
  6063. | #define HAVE_SYS_WAIT_H 1
  6064. | #define HAVE_TERMIOS_H 1
  6065. | #define HAVE_TIME_H 1
  6066. | #define HAVE_UTIME_H 1
  6067. | #define HAVE_SCHED_H 1
  6068. | #define TIME_WITH_SYS_TIME 1
  6069. | #define HAVE_LONG_LONG 1
  6070. | #define SIZEOF_CHAR 1
  6071. | #define ALIGNMENT_CHAR 1
  6072. | #define SIZEOF_DOUBLE 8
  6073. | #define ALIGNMENT_DOUBLE 8
  6074. | #define SIZEOF_FLOAT 4
  6075. | #define ALIGNMENT_FLOAT 4
  6076. | #define SIZEOF_INT 4
  6077. | #define ALIGNMENT_INT 4
  6078. | #define SIZEOF_LONG 8
  6079. | #define ALIGNMENT_LONG 8
  6080. | #define SIZEOF_LONG_LONG 8
  6081. | /* end confdefs.h. */
  6082. | #include <stdio.h>
  6083. | #ifdef HAVE_SYS_TYPES_H
  6084. | # include <sys/types.h>
  6085. | #endif
  6086. | #ifdef HAVE_SYS_STAT_H
  6087. | # include <sys/stat.h>
  6088. | #endif
  6089. | #ifdef STDC_HEADERS
  6090. | # include <stdlib.h>
  6091. | # include <stddef.h>
  6092. | #else
  6093. | # ifdef HAVE_STDLIB_H
  6094. | # include <stdlib.h>
  6095. | # endif
  6096. | #endif
  6097. | #ifdef HAVE_STRING_H
  6098. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6099. | # include <memory.h>
  6100. | # endif
  6101. | # include <string.h>
  6102. | #endif
  6103. | #ifdef HAVE_STRINGS_H
  6104. | # include <strings.h>
  6105. | #endif
  6106. | #ifdef HAVE_INTTYPES_H
  6107. | # include <inttypes.h>
  6108. | #endif
  6109. | #ifdef HAVE_STDINT_H
  6110. | # include <stdint.h>
  6111. | #endif
  6112. | #ifdef HAVE_UNISTD_H
  6113. | # include <unistd.h>
  6114. | #endif
  6115. | int
  6116. | main ()
  6117. | {
  6118. | static int test_array [1 - 2 * !((offsetof(struct { char c; long long ty; },ty)) <= 1)];
  6119. | test_array [0] = 0;
  6120. | return test_array [0];
  6121. |
  6122. | ;
  6123. | return 0;
  6124. | }
  6125. configure:12277: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6126. conftest.c: In function 'main':
  6127. conftest.c:102:12: error: size of array 'test_array' is negative
  6128. static int test_array [1 - 2 * !((offsetof(struct { char c; long long ty; },ty)) <= 3)];
  6129. ^~~~~~~~~~
  6130. configure:12277: $? = 1
  6131. configure: failed program was:
  6132. | /* confdefs.h */
  6133. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  6134. | #define PACKAGE_TARNAME "ghc-8.7"
  6135. | #define PACKAGE_VERSION "8.7"
  6136. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  6137. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  6138. | #define PACKAGE_URL ""
  6139. | #define STDC_HEADERS 1
  6140. | #define HAVE_SYS_TYPES_H 1
  6141. | #define HAVE_SYS_STAT_H 1
  6142. | #define HAVE_STDLIB_H 1
  6143. | #define HAVE_STRING_H 1
  6144. | #define HAVE_MEMORY_H 1
  6145. | #define HAVE_STRINGS_H 1
  6146. | #define HAVE_INTTYPES_H 1
  6147. | #define HAVE_STDINT_H 1
  6148. | #define HAVE_UNISTD_H 1
  6149. | #define __EXTENSIONS__ 1
  6150. | #define _ALL_SOURCE 1
  6151. | #define _GNU_SOURCE 1
  6152. | #define _POSIX_PTHREAD_SEMANTICS 1
  6153. | #define _TANDEM_SOURCE 1
  6154. | #define sUPPORTED_LLVM_VERSION (7,0)
  6155. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  6156. | #define STDC_HEADERS 1
  6157. | #define HAVE_CTYPE_H 1
  6158. | #define HAVE_DIRENT_H 1
  6159. | #define HAVE_DLFCN_H 1
  6160. | #define HAVE_ERRNO_H 1
  6161. | #define HAVE_FCNTL_H 1
  6162. | #define HAVE_GRP_H 1
  6163. | #define HAVE_LIMITS_H 1
  6164. | #define HAVE_LOCALE_H 1
  6165. | #define HAVE_NLIST_H 1
  6166. | #define HAVE_PTHREAD_H 1
  6167. | #define HAVE_PWD_H 1
  6168. | #define HAVE_SIGNAL_H 1
  6169. | #define HAVE_SYS_PARAM_H 1
  6170. | #define HAVE_SYS_MMAN_H 1
  6171. | #define HAVE_SYS_RESOURCE_H 1
  6172. | #define HAVE_SYS_SELECT_H 1
  6173. | #define HAVE_SYS_TIME_H 1
  6174. | #define HAVE_SYS_TIMEB_H 1
  6175. | #define HAVE_SYS_TIMERFD_H 1
  6176. | #define HAVE_SYS_TIMES_H 1
  6177. | #define HAVE_SYS_UTSNAME_H 1
  6178. | #define HAVE_SYS_WAIT_H 1
  6179. | #define HAVE_TERMIOS_H 1
  6180. | #define HAVE_TIME_H 1
  6181. | #define HAVE_UTIME_H 1
  6182. | #define HAVE_SCHED_H 1
  6183. | #define TIME_WITH_SYS_TIME 1
  6184. | #define HAVE_LONG_LONG 1
  6185. | #define SIZEOF_CHAR 1
  6186. | #define ALIGNMENT_CHAR 1
  6187. | #define SIZEOF_DOUBLE 8
  6188. | #define ALIGNMENT_DOUBLE 8
  6189. | #define SIZEOF_FLOAT 4
  6190. | #define ALIGNMENT_FLOAT 4
  6191. | #define SIZEOF_INT 4
  6192. | #define ALIGNMENT_INT 4
  6193. | #define SIZEOF_LONG 8
  6194. | #define ALIGNMENT_LONG 8
  6195. | #define SIZEOF_LONG_LONG 8
  6196. | /* end confdefs.h. */
  6197. | #include <stdio.h>
  6198. | #ifdef HAVE_SYS_TYPES_H
  6199. | # include <sys/types.h>
  6200. | #endif
  6201. | #ifdef HAVE_SYS_STAT_H
  6202. | # include <sys/stat.h>
  6203. | #endif
  6204. | #ifdef STDC_HEADERS
  6205. | # include <stdlib.h>
  6206. | # include <stddef.h>
  6207. | #else
  6208. | # ifdef HAVE_STDLIB_H
  6209. | # include <stdlib.h>
  6210. | # endif
  6211. | #endif
  6212. | #ifdef HAVE_STRING_H
  6213. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6214. | # include <memory.h>
  6215. | # endif
  6216. | # include <string.h>
  6217. | #endif
  6218. | #ifdef HAVE_STRINGS_H
  6219. | # include <strings.h>
  6220. | #endif
  6221. | #ifdef HAVE_INTTYPES_H
  6222. | # include <inttypes.h>
  6223. | #endif
  6224. | #ifdef HAVE_STDINT_H
  6225. | # include <stdint.h>
  6226. | #endif
  6227. | #ifdef HAVE_UNISTD_H
  6228. | # include <unistd.h>
  6229. | #endif
  6230. | int
  6231. | main ()
  6232. | {
  6233. | static int test_array [1 - 2 * !((offsetof(struct { char c; long long ty; },ty)) <= 3)];
  6234. | test_array [0] = 0;
  6235. | return test_array [0];
  6236. |
  6237. | ;
  6238. | return 0;
  6239. | }
  6240. configure:12277: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6241. conftest.c: In function 'main':
  6242. conftest.c:102:12: error: size of array 'test_array' is negative
  6243. static int test_array [1 - 2 * !((offsetof(struct { char c; long long ty; },ty)) <= 7)];
  6244. ^~~~~~~~~~
  6245. configure:12277: $? = 1
  6246. configure: failed program was:
  6247. | /* confdefs.h */
  6248. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  6249. | #define PACKAGE_TARNAME "ghc-8.7"
  6250. | #define PACKAGE_VERSION "8.7"
  6251. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  6252. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  6253. | #define PACKAGE_URL ""
  6254. | #define STDC_HEADERS 1
  6255. | #define HAVE_SYS_TYPES_H 1
  6256. | #define HAVE_SYS_STAT_H 1
  6257. | #define HAVE_STDLIB_H 1
  6258. | #define HAVE_STRING_H 1
  6259. | #define HAVE_MEMORY_H 1
  6260. | #define HAVE_STRINGS_H 1
  6261. | #define HAVE_INTTYPES_H 1
  6262. | #define HAVE_STDINT_H 1
  6263. | #define HAVE_UNISTD_H 1
  6264. | #define __EXTENSIONS__ 1
  6265. | #define _ALL_SOURCE 1
  6266. | #define _GNU_SOURCE 1
  6267. | #define _POSIX_PTHREAD_SEMANTICS 1
  6268. | #define _TANDEM_SOURCE 1
  6269. | #define sUPPORTED_LLVM_VERSION (7,0)
  6270. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  6271. | #define STDC_HEADERS 1
  6272. | #define HAVE_CTYPE_H 1
  6273. | #define HAVE_DIRENT_H 1
  6274. | #define HAVE_DLFCN_H 1
  6275. | #define HAVE_ERRNO_H 1
  6276. | #define HAVE_FCNTL_H 1
  6277. | #define HAVE_GRP_H 1
  6278. | #define HAVE_LIMITS_H 1
  6279. | #define HAVE_LOCALE_H 1
  6280. | #define HAVE_NLIST_H 1
  6281. | #define HAVE_PTHREAD_H 1
  6282. | #define HAVE_PWD_H 1
  6283. | #define HAVE_SIGNAL_H 1
  6284. | #define HAVE_SYS_PARAM_H 1
  6285. | #define HAVE_SYS_MMAN_H 1
  6286. | #define HAVE_SYS_RESOURCE_H 1
  6287. | #define HAVE_SYS_SELECT_H 1
  6288. | #define HAVE_SYS_TIME_H 1
  6289. | #define HAVE_SYS_TIMEB_H 1
  6290. | #define HAVE_SYS_TIMERFD_H 1
  6291. | #define HAVE_SYS_TIMES_H 1
  6292. | #define HAVE_SYS_UTSNAME_H 1
  6293. | #define HAVE_SYS_WAIT_H 1
  6294. | #define HAVE_TERMIOS_H 1
  6295. | #define HAVE_TIME_H 1
  6296. | #define HAVE_UTIME_H 1
  6297. | #define HAVE_SCHED_H 1
  6298. | #define TIME_WITH_SYS_TIME 1
  6299. | #define HAVE_LONG_LONG 1
  6300. | #define SIZEOF_CHAR 1
  6301. | #define ALIGNMENT_CHAR 1
  6302. | #define SIZEOF_DOUBLE 8
  6303. | #define ALIGNMENT_DOUBLE 8
  6304. | #define SIZEOF_FLOAT 4
  6305. | #define ALIGNMENT_FLOAT 4
  6306. | #define SIZEOF_INT 4
  6307. | #define ALIGNMENT_INT 4
  6308. | #define SIZEOF_LONG 8
  6309. | #define ALIGNMENT_LONG 8
  6310. | #define SIZEOF_LONG_LONG 8
  6311. | /* end confdefs.h. */
  6312. | #include <stdio.h>
  6313. | #ifdef HAVE_SYS_TYPES_H
  6314. | # include <sys/types.h>
  6315. | #endif
  6316. | #ifdef HAVE_SYS_STAT_H
  6317. | # include <sys/stat.h>
  6318. | #endif
  6319. | #ifdef STDC_HEADERS
  6320. | # include <stdlib.h>
  6321. | # include <stddef.h>
  6322. | #else
  6323. | # ifdef HAVE_STDLIB_H
  6324. | # include <stdlib.h>
  6325. | # endif
  6326. | #endif
  6327. | #ifdef HAVE_STRING_H
  6328. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6329. | # include <memory.h>
  6330. | # endif
  6331. | # include <string.h>
  6332. | #endif
  6333. | #ifdef HAVE_STRINGS_H
  6334. | # include <strings.h>
  6335. | #endif
  6336. | #ifdef HAVE_INTTYPES_H
  6337. | # include <inttypes.h>
  6338. | #endif
  6339. | #ifdef HAVE_STDINT_H
  6340. | # include <stdint.h>
  6341. | #endif
  6342. | #ifdef HAVE_UNISTD_H
  6343. | # include <unistd.h>
  6344. | #endif
  6345. | int
  6346. | main ()
  6347. | {
  6348. | static int test_array [1 - 2 * !((offsetof(struct { char c; long long ty; },ty)) <= 7)];
  6349. | test_array [0] = 0;
  6350. | return test_array [0];
  6351. |
  6352. | ;
  6353. | return 0;
  6354. | }
  6355. configure:12277: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6356. configure:12277: $? = 0
  6357. configure:12277: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6358. configure:12277: $? = 0
  6359. configure:12277: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6360. configure:12277: $? = 0
  6361. configure:12277: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6362. configure:12277: $? = 0
  6363. configure:12289: result: 8
  6364. configure:12301: checking size of short
  6365. configure:12306: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6366. configure:12306: $? = 0
  6367. configure:12306: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6368. conftest.c: In function 'main':
  6369. conftest.c:103:12: error: size of array 'test_array' is negative
  6370. static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)];
  6371. ^~~~~~~~~~
  6372. configure:12306: $? = 1
  6373. configure: failed program was:
  6374. | /* confdefs.h */
  6375. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  6376. | #define PACKAGE_TARNAME "ghc-8.7"
  6377. | #define PACKAGE_VERSION "8.7"
  6378. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  6379. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  6380. | #define PACKAGE_URL ""
  6381. | #define STDC_HEADERS 1
  6382. | #define HAVE_SYS_TYPES_H 1
  6383. | #define HAVE_SYS_STAT_H 1
  6384. | #define HAVE_STDLIB_H 1
  6385. | #define HAVE_STRING_H 1
  6386. | #define HAVE_MEMORY_H 1
  6387. | #define HAVE_STRINGS_H 1
  6388. | #define HAVE_INTTYPES_H 1
  6389. | #define HAVE_STDINT_H 1
  6390. | #define HAVE_UNISTD_H 1
  6391. | #define __EXTENSIONS__ 1
  6392. | #define _ALL_SOURCE 1
  6393. | #define _GNU_SOURCE 1
  6394. | #define _POSIX_PTHREAD_SEMANTICS 1
  6395. | #define _TANDEM_SOURCE 1
  6396. | #define sUPPORTED_LLVM_VERSION (7,0)
  6397. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  6398. | #define STDC_HEADERS 1
  6399. | #define HAVE_CTYPE_H 1
  6400. | #define HAVE_DIRENT_H 1
  6401. | #define HAVE_DLFCN_H 1
  6402. | #define HAVE_ERRNO_H 1
  6403. | #define HAVE_FCNTL_H 1
  6404. | #define HAVE_GRP_H 1
  6405. | #define HAVE_LIMITS_H 1
  6406. | #define HAVE_LOCALE_H 1
  6407. | #define HAVE_NLIST_H 1
  6408. | #define HAVE_PTHREAD_H 1
  6409. | #define HAVE_PWD_H 1
  6410. | #define HAVE_SIGNAL_H 1
  6411. | #define HAVE_SYS_PARAM_H 1
  6412. | #define HAVE_SYS_MMAN_H 1
  6413. | #define HAVE_SYS_RESOURCE_H 1
  6414. | #define HAVE_SYS_SELECT_H 1
  6415. | #define HAVE_SYS_TIME_H 1
  6416. | #define HAVE_SYS_TIMEB_H 1
  6417. | #define HAVE_SYS_TIMERFD_H 1
  6418. | #define HAVE_SYS_TIMES_H 1
  6419. | #define HAVE_SYS_UTSNAME_H 1
  6420. | #define HAVE_SYS_WAIT_H 1
  6421. | #define HAVE_TERMIOS_H 1
  6422. | #define HAVE_TIME_H 1
  6423. | #define HAVE_UTIME_H 1
  6424. | #define HAVE_SCHED_H 1
  6425. | #define TIME_WITH_SYS_TIME 1
  6426. | #define HAVE_LONG_LONG 1
  6427. | #define SIZEOF_CHAR 1
  6428. | #define ALIGNMENT_CHAR 1
  6429. | #define SIZEOF_DOUBLE 8
  6430. | #define ALIGNMENT_DOUBLE 8
  6431. | #define SIZEOF_FLOAT 4
  6432. | #define ALIGNMENT_FLOAT 4
  6433. | #define SIZEOF_INT 4
  6434. | #define ALIGNMENT_INT 4
  6435. | #define SIZEOF_LONG 8
  6436. | #define ALIGNMENT_LONG 8
  6437. | #define SIZEOF_LONG_LONG 8
  6438. | #define ALIGNMENT_LONG_LONG 8
  6439. | /* end confdefs.h. */
  6440. | #include <stdio.h>
  6441. | #ifdef HAVE_SYS_TYPES_H
  6442. | # include <sys/types.h>
  6443. | #endif
  6444. | #ifdef HAVE_SYS_STAT_H
  6445. | # include <sys/stat.h>
  6446. | #endif
  6447. | #ifdef STDC_HEADERS
  6448. | # include <stdlib.h>
  6449. | # include <stddef.h>
  6450. | #else
  6451. | # ifdef HAVE_STDLIB_H
  6452. | # include <stdlib.h>
  6453. | # endif
  6454. | #endif
  6455. | #ifdef HAVE_STRING_H
  6456. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6457. | # include <memory.h>
  6458. | # endif
  6459. | # include <string.h>
  6460. | #endif
  6461. | #ifdef HAVE_STRINGS_H
  6462. | # include <strings.h>
  6463. | #endif
  6464. | #ifdef HAVE_INTTYPES_H
  6465. | # include <inttypes.h>
  6466. | #endif
  6467. | #ifdef HAVE_STDINT_H
  6468. | # include <stdint.h>
  6469. | #endif
  6470. | #ifdef HAVE_UNISTD_H
  6471. | # include <unistd.h>
  6472. | #endif
  6473. | int
  6474. | main ()
  6475. | {
  6476. | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)];
  6477. | test_array [0] = 0;
  6478. | return test_array [0];
  6479. |
  6480. | ;
  6481. | return 0;
  6482. | }
  6483. configure:12306: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6484. conftest.c: In function 'main':
  6485. conftest.c:103:12: error: size of array 'test_array' is negative
  6486. static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)];
  6487. ^~~~~~~~~~
  6488. configure:12306: $? = 1
  6489. configure: failed program was:
  6490. | /* confdefs.h */
  6491. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  6492. | #define PACKAGE_TARNAME "ghc-8.7"
  6493. | #define PACKAGE_VERSION "8.7"
  6494. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  6495. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  6496. | #define PACKAGE_URL ""
  6497. | #define STDC_HEADERS 1
  6498. | #define HAVE_SYS_TYPES_H 1
  6499. | #define HAVE_SYS_STAT_H 1
  6500. | #define HAVE_STDLIB_H 1
  6501. | #define HAVE_STRING_H 1
  6502. | #define HAVE_MEMORY_H 1
  6503. | #define HAVE_STRINGS_H 1
  6504. | #define HAVE_INTTYPES_H 1
  6505. | #define HAVE_STDINT_H 1
  6506. | #define HAVE_UNISTD_H 1
  6507. | #define __EXTENSIONS__ 1
  6508. | #define _ALL_SOURCE 1
  6509. | #define _GNU_SOURCE 1
  6510. | #define _POSIX_PTHREAD_SEMANTICS 1
  6511. | #define _TANDEM_SOURCE 1
  6512. | #define sUPPORTED_LLVM_VERSION (7,0)
  6513. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  6514. | #define STDC_HEADERS 1
  6515. | #define HAVE_CTYPE_H 1
  6516. | #define HAVE_DIRENT_H 1
  6517. | #define HAVE_DLFCN_H 1
  6518. | #define HAVE_ERRNO_H 1
  6519. | #define HAVE_FCNTL_H 1
  6520. | #define HAVE_GRP_H 1
  6521. | #define HAVE_LIMITS_H 1
  6522. | #define HAVE_LOCALE_H 1
  6523. | #define HAVE_NLIST_H 1
  6524. | #define HAVE_PTHREAD_H 1
  6525. | #define HAVE_PWD_H 1
  6526. | #define HAVE_SIGNAL_H 1
  6527. | #define HAVE_SYS_PARAM_H 1
  6528. | #define HAVE_SYS_MMAN_H 1
  6529. | #define HAVE_SYS_RESOURCE_H 1
  6530. | #define HAVE_SYS_SELECT_H 1
  6531. | #define HAVE_SYS_TIME_H 1
  6532. | #define HAVE_SYS_TIMEB_H 1
  6533. | #define HAVE_SYS_TIMERFD_H 1
  6534. | #define HAVE_SYS_TIMES_H 1
  6535. | #define HAVE_SYS_UTSNAME_H 1
  6536. | #define HAVE_SYS_WAIT_H 1
  6537. | #define HAVE_TERMIOS_H 1
  6538. | #define HAVE_TIME_H 1
  6539. | #define HAVE_UTIME_H 1
  6540. | #define HAVE_SCHED_H 1
  6541. | #define TIME_WITH_SYS_TIME 1
  6542. | #define HAVE_LONG_LONG 1
  6543. | #define SIZEOF_CHAR 1
  6544. | #define ALIGNMENT_CHAR 1
  6545. | #define SIZEOF_DOUBLE 8
  6546. | #define ALIGNMENT_DOUBLE 8
  6547. | #define SIZEOF_FLOAT 4
  6548. | #define ALIGNMENT_FLOAT 4
  6549. | #define SIZEOF_INT 4
  6550. | #define ALIGNMENT_INT 4
  6551. | #define SIZEOF_LONG 8
  6552. | #define ALIGNMENT_LONG 8
  6553. | #define SIZEOF_LONG_LONG 8
  6554. | #define ALIGNMENT_LONG_LONG 8
  6555. | /* end confdefs.h. */
  6556. | #include <stdio.h>
  6557. | #ifdef HAVE_SYS_TYPES_H
  6558. | # include <sys/types.h>
  6559. | #endif
  6560. | #ifdef HAVE_SYS_STAT_H
  6561. | # include <sys/stat.h>
  6562. | #endif
  6563. | #ifdef STDC_HEADERS
  6564. | # include <stdlib.h>
  6565. | # include <stddef.h>
  6566. | #else
  6567. | # ifdef HAVE_STDLIB_H
  6568. | # include <stdlib.h>
  6569. | # endif
  6570. | #endif
  6571. | #ifdef HAVE_STRING_H
  6572. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6573. | # include <memory.h>
  6574. | # endif
  6575. | # include <string.h>
  6576. | #endif
  6577. | #ifdef HAVE_STRINGS_H
  6578. | # include <strings.h>
  6579. | #endif
  6580. | #ifdef HAVE_INTTYPES_H
  6581. | # include <inttypes.h>
  6582. | #endif
  6583. | #ifdef HAVE_STDINT_H
  6584. | # include <stdint.h>
  6585. | #endif
  6586. | #ifdef HAVE_UNISTD_H
  6587. | # include <unistd.h>
  6588. | #endif
  6589. | int
  6590. | main ()
  6591. | {
  6592. | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)];
  6593. | test_array [0] = 0;
  6594. | return test_array [0];
  6595. |
  6596. | ;
  6597. | return 0;
  6598. | }
  6599. configure:12306: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6600. configure:12306: $? = 0
  6601. configure:12306: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6602. configure:12306: $? = 0
  6603. configure:12320: result: 2
  6604. configure:12330: checking for short
  6605. configure:12330: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6606. configure:12330: $? = 0
  6607. configure:12330: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6608. conftest.c: In function 'main':
  6609. conftest.c:104:20: error: expected expression before ')' token
  6610. if (sizeof ((short)))
  6611. ^
  6612. configure:12330: $? = 1
  6613. configure: failed program was:
  6614. | /* confdefs.h */
  6615. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  6616. | #define PACKAGE_TARNAME "ghc-8.7"
  6617. | #define PACKAGE_VERSION "8.7"
  6618. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  6619. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  6620. | #define PACKAGE_URL ""
  6621. | #define STDC_HEADERS 1
  6622. | #define HAVE_SYS_TYPES_H 1
  6623. | #define HAVE_SYS_STAT_H 1
  6624. | #define HAVE_STDLIB_H 1
  6625. | #define HAVE_STRING_H 1
  6626. | #define HAVE_MEMORY_H 1
  6627. | #define HAVE_STRINGS_H 1
  6628. | #define HAVE_INTTYPES_H 1
  6629. | #define HAVE_STDINT_H 1
  6630. | #define HAVE_UNISTD_H 1
  6631. | #define __EXTENSIONS__ 1
  6632. | #define _ALL_SOURCE 1
  6633. | #define _GNU_SOURCE 1
  6634. | #define _POSIX_PTHREAD_SEMANTICS 1
  6635. | #define _TANDEM_SOURCE 1
  6636. | #define sUPPORTED_LLVM_VERSION (7,0)
  6637. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  6638. | #define STDC_HEADERS 1
  6639. | #define HAVE_CTYPE_H 1
  6640. | #define HAVE_DIRENT_H 1
  6641. | #define HAVE_DLFCN_H 1
  6642. | #define HAVE_ERRNO_H 1
  6643. | #define HAVE_FCNTL_H 1
  6644. | #define HAVE_GRP_H 1
  6645. | #define HAVE_LIMITS_H 1
  6646. | #define HAVE_LOCALE_H 1
  6647. | #define HAVE_NLIST_H 1
  6648. | #define HAVE_PTHREAD_H 1
  6649. | #define HAVE_PWD_H 1
  6650. | #define HAVE_SIGNAL_H 1
  6651. | #define HAVE_SYS_PARAM_H 1
  6652. | #define HAVE_SYS_MMAN_H 1
  6653. | #define HAVE_SYS_RESOURCE_H 1
  6654. | #define HAVE_SYS_SELECT_H 1
  6655. | #define HAVE_SYS_TIME_H 1
  6656. | #define HAVE_SYS_TIMEB_H 1
  6657. | #define HAVE_SYS_TIMERFD_H 1
  6658. | #define HAVE_SYS_TIMES_H 1
  6659. | #define HAVE_SYS_UTSNAME_H 1
  6660. | #define HAVE_SYS_WAIT_H 1
  6661. | #define HAVE_TERMIOS_H 1
  6662. | #define HAVE_TIME_H 1
  6663. | #define HAVE_UTIME_H 1
  6664. | #define HAVE_SCHED_H 1
  6665. | #define TIME_WITH_SYS_TIME 1
  6666. | #define HAVE_LONG_LONG 1
  6667. | #define SIZEOF_CHAR 1
  6668. | #define ALIGNMENT_CHAR 1
  6669. | #define SIZEOF_DOUBLE 8
  6670. | #define ALIGNMENT_DOUBLE 8
  6671. | #define SIZEOF_FLOAT 4
  6672. | #define ALIGNMENT_FLOAT 4
  6673. | #define SIZEOF_INT 4
  6674. | #define ALIGNMENT_INT 4
  6675. | #define SIZEOF_LONG 8
  6676. | #define ALIGNMENT_LONG 8
  6677. | #define SIZEOF_LONG_LONG 8
  6678. | #define ALIGNMENT_LONG_LONG 8
  6679. | #define SIZEOF_SHORT 2
  6680. | /* end confdefs.h. */
  6681. | #include <stdio.h>
  6682. | #ifdef HAVE_SYS_TYPES_H
  6683. | # include <sys/types.h>
  6684. | #endif
  6685. | #ifdef HAVE_SYS_STAT_H
  6686. | # include <sys/stat.h>
  6687. | #endif
  6688. | #ifdef STDC_HEADERS
  6689. | # include <stdlib.h>
  6690. | # include <stddef.h>
  6691. | #else
  6692. | # ifdef HAVE_STDLIB_H
  6693. | # include <stdlib.h>
  6694. | # endif
  6695. | #endif
  6696. | #ifdef HAVE_STRING_H
  6697. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6698. | # include <memory.h>
  6699. | # endif
  6700. | # include <string.h>
  6701. | #endif
  6702. | #ifdef HAVE_STRINGS_H
  6703. | # include <strings.h>
  6704. | #endif
  6705. | #ifdef HAVE_INTTYPES_H
  6706. | # include <inttypes.h>
  6707. | #endif
  6708. | #ifdef HAVE_STDINT_H
  6709. | # include <stdint.h>
  6710. | #endif
  6711. | #ifdef HAVE_UNISTD_H
  6712. | # include <unistd.h>
  6713. | #endif
  6714. | int
  6715. | main ()
  6716. | {
  6717. | if (sizeof ((short)))
  6718. | return 0;
  6719. | ;
  6720. | return 0;
  6721. | }
  6722. configure:12330: result: yes
  6723. configure:12334: checking alignment of short
  6724. configure:12340: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6725. configure:12340: $? = 0
  6726. configure:12340: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6727. conftest.c: In function 'main':
  6728. conftest.c:104:12: error: size of array 'test_array' is negative
  6729. static int test_array [1 - 2 * !((offsetof(struct { char c; short ty; },ty)) <= 0)];
  6730. ^~~~~~~~~~
  6731. configure:12340: $? = 1
  6732. configure: failed program was:
  6733. | /* confdefs.h */
  6734. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  6735. | #define PACKAGE_TARNAME "ghc-8.7"
  6736. | #define PACKAGE_VERSION "8.7"
  6737. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  6738. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  6739. | #define PACKAGE_URL ""
  6740. | #define STDC_HEADERS 1
  6741. | #define HAVE_SYS_TYPES_H 1
  6742. | #define HAVE_SYS_STAT_H 1
  6743. | #define HAVE_STDLIB_H 1
  6744. | #define HAVE_STRING_H 1
  6745. | #define HAVE_MEMORY_H 1
  6746. | #define HAVE_STRINGS_H 1
  6747. | #define HAVE_INTTYPES_H 1
  6748. | #define HAVE_STDINT_H 1
  6749. | #define HAVE_UNISTD_H 1
  6750. | #define __EXTENSIONS__ 1
  6751. | #define _ALL_SOURCE 1
  6752. | #define _GNU_SOURCE 1
  6753. | #define _POSIX_PTHREAD_SEMANTICS 1
  6754. | #define _TANDEM_SOURCE 1
  6755. | #define sUPPORTED_LLVM_VERSION (7,0)
  6756. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  6757. | #define STDC_HEADERS 1
  6758. | #define HAVE_CTYPE_H 1
  6759. | #define HAVE_DIRENT_H 1
  6760. | #define HAVE_DLFCN_H 1
  6761. | #define HAVE_ERRNO_H 1
  6762. | #define HAVE_FCNTL_H 1
  6763. | #define HAVE_GRP_H 1
  6764. | #define HAVE_LIMITS_H 1
  6765. | #define HAVE_LOCALE_H 1
  6766. | #define HAVE_NLIST_H 1
  6767. | #define HAVE_PTHREAD_H 1
  6768. | #define HAVE_PWD_H 1
  6769. | #define HAVE_SIGNAL_H 1
  6770. | #define HAVE_SYS_PARAM_H 1
  6771. | #define HAVE_SYS_MMAN_H 1
  6772. | #define HAVE_SYS_RESOURCE_H 1
  6773. | #define HAVE_SYS_SELECT_H 1
  6774. | #define HAVE_SYS_TIME_H 1
  6775. | #define HAVE_SYS_TIMEB_H 1
  6776. | #define HAVE_SYS_TIMERFD_H 1
  6777. | #define HAVE_SYS_TIMES_H 1
  6778. | #define HAVE_SYS_UTSNAME_H 1
  6779. | #define HAVE_SYS_WAIT_H 1
  6780. | #define HAVE_TERMIOS_H 1
  6781. | #define HAVE_TIME_H 1
  6782. | #define HAVE_UTIME_H 1
  6783. | #define HAVE_SCHED_H 1
  6784. | #define TIME_WITH_SYS_TIME 1
  6785. | #define HAVE_LONG_LONG 1
  6786. | #define SIZEOF_CHAR 1
  6787. | #define ALIGNMENT_CHAR 1
  6788. | #define SIZEOF_DOUBLE 8
  6789. | #define ALIGNMENT_DOUBLE 8
  6790. | #define SIZEOF_FLOAT 4
  6791. | #define ALIGNMENT_FLOAT 4
  6792. | #define SIZEOF_INT 4
  6793. | #define ALIGNMENT_INT 4
  6794. | #define SIZEOF_LONG 8
  6795. | #define ALIGNMENT_LONG 8
  6796. | #define SIZEOF_LONG_LONG 8
  6797. | #define ALIGNMENT_LONG_LONG 8
  6798. | #define SIZEOF_SHORT 2
  6799. | /* end confdefs.h. */
  6800. | #include <stdio.h>
  6801. | #ifdef HAVE_SYS_TYPES_H
  6802. | # include <sys/types.h>
  6803. | #endif
  6804. | #ifdef HAVE_SYS_STAT_H
  6805. | # include <sys/stat.h>
  6806. | #endif
  6807. | #ifdef STDC_HEADERS
  6808. | # include <stdlib.h>
  6809. | # include <stddef.h>
  6810. | #else
  6811. | # ifdef HAVE_STDLIB_H
  6812. | # include <stdlib.h>
  6813. | # endif
  6814. | #endif
  6815. | #ifdef HAVE_STRING_H
  6816. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6817. | # include <memory.h>
  6818. | # endif
  6819. | # include <string.h>
  6820. | #endif
  6821. | #ifdef HAVE_STRINGS_H
  6822. | # include <strings.h>
  6823. | #endif
  6824. | #ifdef HAVE_INTTYPES_H
  6825. | # include <inttypes.h>
  6826. | #endif
  6827. | #ifdef HAVE_STDINT_H
  6828. | # include <stdint.h>
  6829. | #endif
  6830. | #ifdef HAVE_UNISTD_H
  6831. | # include <unistd.h>
  6832. | #endif
  6833. | int
  6834. | main ()
  6835. | {
  6836. | static int test_array [1 - 2 * !((offsetof(struct { char c; short ty; },ty)) <= 0)];
  6837. | test_array [0] = 0;
  6838. | return test_array [0];
  6839. |
  6840. | ;
  6841. | return 0;
  6842. | }
  6843. configure:12340: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6844. conftest.c: In function 'main':
  6845. conftest.c:104:12: error: size of array 'test_array' is negative
  6846. static int test_array [1 - 2 * !((offsetof(struct { char c; short ty; },ty)) <= 1)];
  6847. ^~~~~~~~~~
  6848. configure:12340: $? = 1
  6849. configure: failed program was:
  6850. | /* confdefs.h */
  6851. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  6852. | #define PACKAGE_TARNAME "ghc-8.7"
  6853. | #define PACKAGE_VERSION "8.7"
  6854. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  6855. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  6856. | #define PACKAGE_URL ""
  6857. | #define STDC_HEADERS 1
  6858. | #define HAVE_SYS_TYPES_H 1
  6859. | #define HAVE_SYS_STAT_H 1
  6860. | #define HAVE_STDLIB_H 1
  6861. | #define HAVE_STRING_H 1
  6862. | #define HAVE_MEMORY_H 1
  6863. | #define HAVE_STRINGS_H 1
  6864. | #define HAVE_INTTYPES_H 1
  6865. | #define HAVE_STDINT_H 1
  6866. | #define HAVE_UNISTD_H 1
  6867. | #define __EXTENSIONS__ 1
  6868. | #define _ALL_SOURCE 1
  6869. | #define _GNU_SOURCE 1
  6870. | #define _POSIX_PTHREAD_SEMANTICS 1
  6871. | #define _TANDEM_SOURCE 1
  6872. | #define sUPPORTED_LLVM_VERSION (7,0)
  6873. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  6874. | #define STDC_HEADERS 1
  6875. | #define HAVE_CTYPE_H 1
  6876. | #define HAVE_DIRENT_H 1
  6877. | #define HAVE_DLFCN_H 1
  6878. | #define HAVE_ERRNO_H 1
  6879. | #define HAVE_FCNTL_H 1
  6880. | #define HAVE_GRP_H 1
  6881. | #define HAVE_LIMITS_H 1
  6882. | #define HAVE_LOCALE_H 1
  6883. | #define HAVE_NLIST_H 1
  6884. | #define HAVE_PTHREAD_H 1
  6885. | #define HAVE_PWD_H 1
  6886. | #define HAVE_SIGNAL_H 1
  6887. | #define HAVE_SYS_PARAM_H 1
  6888. | #define HAVE_SYS_MMAN_H 1
  6889. | #define HAVE_SYS_RESOURCE_H 1
  6890. | #define HAVE_SYS_SELECT_H 1
  6891. | #define HAVE_SYS_TIME_H 1
  6892. | #define HAVE_SYS_TIMEB_H 1
  6893. | #define HAVE_SYS_TIMERFD_H 1
  6894. | #define HAVE_SYS_TIMES_H 1
  6895. | #define HAVE_SYS_UTSNAME_H 1
  6896. | #define HAVE_SYS_WAIT_H 1
  6897. | #define HAVE_TERMIOS_H 1
  6898. | #define HAVE_TIME_H 1
  6899. | #define HAVE_UTIME_H 1
  6900. | #define HAVE_SCHED_H 1
  6901. | #define TIME_WITH_SYS_TIME 1
  6902. | #define HAVE_LONG_LONG 1
  6903. | #define SIZEOF_CHAR 1
  6904. | #define ALIGNMENT_CHAR 1
  6905. | #define SIZEOF_DOUBLE 8
  6906. | #define ALIGNMENT_DOUBLE 8
  6907. | #define SIZEOF_FLOAT 4
  6908. | #define ALIGNMENT_FLOAT 4
  6909. | #define SIZEOF_INT 4
  6910. | #define ALIGNMENT_INT 4
  6911. | #define SIZEOF_LONG 8
  6912. | #define ALIGNMENT_LONG 8
  6913. | #define SIZEOF_LONG_LONG 8
  6914. | #define ALIGNMENT_LONG_LONG 8
  6915. | #define SIZEOF_SHORT 2
  6916. | /* end confdefs.h. */
  6917. | #include <stdio.h>
  6918. | #ifdef HAVE_SYS_TYPES_H
  6919. | # include <sys/types.h>
  6920. | #endif
  6921. | #ifdef HAVE_SYS_STAT_H
  6922. | # include <sys/stat.h>
  6923. | #endif
  6924. | #ifdef STDC_HEADERS
  6925. | # include <stdlib.h>
  6926. | # include <stddef.h>
  6927. | #else
  6928. | # ifdef HAVE_STDLIB_H
  6929. | # include <stdlib.h>
  6930. | # endif
  6931. | #endif
  6932. | #ifdef HAVE_STRING_H
  6933. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6934. | # include <memory.h>
  6935. | # endif
  6936. | # include <string.h>
  6937. | #endif
  6938. | #ifdef HAVE_STRINGS_H
  6939. | # include <strings.h>
  6940. | #endif
  6941. | #ifdef HAVE_INTTYPES_H
  6942. | # include <inttypes.h>
  6943. | #endif
  6944. | #ifdef HAVE_STDINT_H
  6945. | # include <stdint.h>
  6946. | #endif
  6947. | #ifdef HAVE_UNISTD_H
  6948. | # include <unistd.h>
  6949. | #endif
  6950. | int
  6951. | main ()
  6952. | {
  6953. | static int test_array [1 - 2 * !((offsetof(struct { char c; short ty; },ty)) <= 1)];
  6954. | test_array [0] = 0;
  6955. | return test_array [0];
  6956. |
  6957. | ;
  6958. | return 0;
  6959. | }
  6960. configure:12340: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6961. configure:12340: $? = 0
  6962. configure:12340: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6963. configure:12340: $? = 0
  6964. configure:12352: result: 2
  6965. configure:12363: checking size of unsigned char
  6966. configure:12368: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6967. configure:12368: $? = 0
  6968. configure:12368: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  6969. conftest.c: In function 'main':
  6970. conftest.c:105:12: error: size of array 'test_array' is negative
  6971. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned char))) <= 0)];
  6972. ^~~~~~~~~~
  6973. configure:12368: $? = 1
  6974. configure: failed program was:
  6975. | /* confdefs.h */
  6976. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  6977. | #define PACKAGE_TARNAME "ghc-8.7"
  6978. | #define PACKAGE_VERSION "8.7"
  6979. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  6980. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  6981. | #define PACKAGE_URL ""
  6982. | #define STDC_HEADERS 1
  6983. | #define HAVE_SYS_TYPES_H 1
  6984. | #define HAVE_SYS_STAT_H 1
  6985. | #define HAVE_STDLIB_H 1
  6986. | #define HAVE_STRING_H 1
  6987. | #define HAVE_MEMORY_H 1
  6988. | #define HAVE_STRINGS_H 1
  6989. | #define HAVE_INTTYPES_H 1
  6990. | #define HAVE_STDINT_H 1
  6991. | #define HAVE_UNISTD_H 1
  6992. | #define __EXTENSIONS__ 1
  6993. | #define _ALL_SOURCE 1
  6994. | #define _GNU_SOURCE 1
  6995. | #define _POSIX_PTHREAD_SEMANTICS 1
  6996. | #define _TANDEM_SOURCE 1
  6997. | #define sUPPORTED_LLVM_VERSION (7,0)
  6998. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  6999. | #define STDC_HEADERS 1
  7000. | #define HAVE_CTYPE_H 1
  7001. | #define HAVE_DIRENT_H 1
  7002. | #define HAVE_DLFCN_H 1
  7003. | #define HAVE_ERRNO_H 1
  7004. | #define HAVE_FCNTL_H 1
  7005. | #define HAVE_GRP_H 1
  7006. | #define HAVE_LIMITS_H 1
  7007. | #define HAVE_LOCALE_H 1
  7008. | #define HAVE_NLIST_H 1
  7009. | #define HAVE_PTHREAD_H 1
  7010. | #define HAVE_PWD_H 1
  7011. | #define HAVE_SIGNAL_H 1
  7012. | #define HAVE_SYS_PARAM_H 1
  7013. | #define HAVE_SYS_MMAN_H 1
  7014. | #define HAVE_SYS_RESOURCE_H 1
  7015. | #define HAVE_SYS_SELECT_H 1
  7016. | #define HAVE_SYS_TIME_H 1
  7017. | #define HAVE_SYS_TIMEB_H 1
  7018. | #define HAVE_SYS_TIMERFD_H 1
  7019. | #define HAVE_SYS_TIMES_H 1
  7020. | #define HAVE_SYS_UTSNAME_H 1
  7021. | #define HAVE_SYS_WAIT_H 1
  7022. | #define HAVE_TERMIOS_H 1
  7023. | #define HAVE_TIME_H 1
  7024. | #define HAVE_UTIME_H 1
  7025. | #define HAVE_SCHED_H 1
  7026. | #define TIME_WITH_SYS_TIME 1
  7027. | #define HAVE_LONG_LONG 1
  7028. | #define SIZEOF_CHAR 1
  7029. | #define ALIGNMENT_CHAR 1
  7030. | #define SIZEOF_DOUBLE 8
  7031. | #define ALIGNMENT_DOUBLE 8
  7032. | #define SIZEOF_FLOAT 4
  7033. | #define ALIGNMENT_FLOAT 4
  7034. | #define SIZEOF_INT 4
  7035. | #define ALIGNMENT_INT 4
  7036. | #define SIZEOF_LONG 8
  7037. | #define ALIGNMENT_LONG 8
  7038. | #define SIZEOF_LONG_LONG 8
  7039. | #define ALIGNMENT_LONG_LONG 8
  7040. | #define SIZEOF_SHORT 2
  7041. | #define ALIGNMENT_SHORT 2
  7042. | /* end confdefs.h. */
  7043. | #include <stdio.h>
  7044. | #ifdef HAVE_SYS_TYPES_H
  7045. | # include <sys/types.h>
  7046. | #endif
  7047. | #ifdef HAVE_SYS_STAT_H
  7048. | # include <sys/stat.h>
  7049. | #endif
  7050. | #ifdef STDC_HEADERS
  7051. | # include <stdlib.h>
  7052. | # include <stddef.h>
  7053. | #else
  7054. | # ifdef HAVE_STDLIB_H
  7055. | # include <stdlib.h>
  7056. | # endif
  7057. | #endif
  7058. | #ifdef HAVE_STRING_H
  7059. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7060. | # include <memory.h>
  7061. | # endif
  7062. | # include <string.h>
  7063. | #endif
  7064. | #ifdef HAVE_STRINGS_H
  7065. | # include <strings.h>
  7066. | #endif
  7067. | #ifdef HAVE_INTTYPES_H
  7068. | # include <inttypes.h>
  7069. | #endif
  7070. | #ifdef HAVE_STDINT_H
  7071. | # include <stdint.h>
  7072. | #endif
  7073. | #ifdef HAVE_UNISTD_H
  7074. | # include <unistd.h>
  7075. | #endif
  7076. | int
  7077. | main ()
  7078. | {
  7079. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned char))) <= 0)];
  7080. | test_array [0] = 0;
  7081. | return test_array [0];
  7082. |
  7083. | ;
  7084. | return 0;
  7085. | }
  7086. configure:12368: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7087. configure:12368: $? = 0
  7088. configure:12382: result: 1
  7089. configure:12392: checking for unsigned char
  7090. configure:12392: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7091. configure:12392: $? = 0
  7092. configure:12392: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7093. conftest.c: In function 'main':
  7094. conftest.c:106:28: error: expected expression before ')' token
  7095. if (sizeof ((unsigned char)))
  7096. ^
  7097. configure:12392: $? = 1
  7098. configure: failed program was:
  7099. | /* confdefs.h */
  7100. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  7101. | #define PACKAGE_TARNAME "ghc-8.7"
  7102. | #define PACKAGE_VERSION "8.7"
  7103. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  7104. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  7105. | #define PACKAGE_URL ""
  7106. | #define STDC_HEADERS 1
  7107. | #define HAVE_SYS_TYPES_H 1
  7108. | #define HAVE_SYS_STAT_H 1
  7109. | #define HAVE_STDLIB_H 1
  7110. | #define HAVE_STRING_H 1
  7111. | #define HAVE_MEMORY_H 1
  7112. | #define HAVE_STRINGS_H 1
  7113. | #define HAVE_INTTYPES_H 1
  7114. | #define HAVE_STDINT_H 1
  7115. | #define HAVE_UNISTD_H 1
  7116. | #define __EXTENSIONS__ 1
  7117. | #define _ALL_SOURCE 1
  7118. | #define _GNU_SOURCE 1
  7119. | #define _POSIX_PTHREAD_SEMANTICS 1
  7120. | #define _TANDEM_SOURCE 1
  7121. | #define sUPPORTED_LLVM_VERSION (7,0)
  7122. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  7123. | #define STDC_HEADERS 1
  7124. | #define HAVE_CTYPE_H 1
  7125. | #define HAVE_DIRENT_H 1
  7126. | #define HAVE_DLFCN_H 1
  7127. | #define HAVE_ERRNO_H 1
  7128. | #define HAVE_FCNTL_H 1
  7129. | #define HAVE_GRP_H 1
  7130. | #define HAVE_LIMITS_H 1
  7131. | #define HAVE_LOCALE_H 1
  7132. | #define HAVE_NLIST_H 1
  7133. | #define HAVE_PTHREAD_H 1
  7134. | #define HAVE_PWD_H 1
  7135. | #define HAVE_SIGNAL_H 1
  7136. | #define HAVE_SYS_PARAM_H 1
  7137. | #define HAVE_SYS_MMAN_H 1
  7138. | #define HAVE_SYS_RESOURCE_H 1
  7139. | #define HAVE_SYS_SELECT_H 1
  7140. | #define HAVE_SYS_TIME_H 1
  7141. | #define HAVE_SYS_TIMEB_H 1
  7142. | #define HAVE_SYS_TIMERFD_H 1
  7143. | #define HAVE_SYS_TIMES_H 1
  7144. | #define HAVE_SYS_UTSNAME_H 1
  7145. | #define HAVE_SYS_WAIT_H 1
  7146. | #define HAVE_TERMIOS_H 1
  7147. | #define HAVE_TIME_H 1
  7148. | #define HAVE_UTIME_H 1
  7149. | #define HAVE_SCHED_H 1
  7150. | #define TIME_WITH_SYS_TIME 1
  7151. | #define HAVE_LONG_LONG 1
  7152. | #define SIZEOF_CHAR 1
  7153. | #define ALIGNMENT_CHAR 1
  7154. | #define SIZEOF_DOUBLE 8
  7155. | #define ALIGNMENT_DOUBLE 8
  7156. | #define SIZEOF_FLOAT 4
  7157. | #define ALIGNMENT_FLOAT 4
  7158. | #define SIZEOF_INT 4
  7159. | #define ALIGNMENT_INT 4
  7160. | #define SIZEOF_LONG 8
  7161. | #define ALIGNMENT_LONG 8
  7162. | #define SIZEOF_LONG_LONG 8
  7163. | #define ALIGNMENT_LONG_LONG 8
  7164. | #define SIZEOF_SHORT 2
  7165. | #define ALIGNMENT_SHORT 2
  7166. | #define SIZEOF_UNSIGNED_CHAR 1
  7167. | /* end confdefs.h. */
  7168. | #include <stdio.h>
  7169. | #ifdef HAVE_SYS_TYPES_H
  7170. | # include <sys/types.h>
  7171. | #endif
  7172. | #ifdef HAVE_SYS_STAT_H
  7173. | # include <sys/stat.h>
  7174. | #endif
  7175. | #ifdef STDC_HEADERS
  7176. | # include <stdlib.h>
  7177. | # include <stddef.h>
  7178. | #else
  7179. | # ifdef HAVE_STDLIB_H
  7180. | # include <stdlib.h>
  7181. | # endif
  7182. | #endif
  7183. | #ifdef HAVE_STRING_H
  7184. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7185. | # include <memory.h>
  7186. | # endif
  7187. | # include <string.h>
  7188. | #endif
  7189. | #ifdef HAVE_STRINGS_H
  7190. | # include <strings.h>
  7191. | #endif
  7192. | #ifdef HAVE_INTTYPES_H
  7193. | # include <inttypes.h>
  7194. | #endif
  7195. | #ifdef HAVE_STDINT_H
  7196. | # include <stdint.h>
  7197. | #endif
  7198. | #ifdef HAVE_UNISTD_H
  7199. | # include <unistd.h>
  7200. | #endif
  7201. | int
  7202. | main ()
  7203. | {
  7204. | if (sizeof ((unsigned char)))
  7205. | return 0;
  7206. | ;
  7207. | return 0;
  7208. | }
  7209. configure:12392: result: yes
  7210. configure:12396: checking alignment of unsigned char
  7211. configure:12402: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7212. configure:12402: $? = 0
  7213. configure:12402: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7214. conftest.c: In function 'main':
  7215. conftest.c:106:12: error: size of array 'test_array' is negative
  7216. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned char ty; },ty)) <= 0)];
  7217. ^~~~~~~~~~
  7218. configure:12402: $? = 1
  7219. configure: failed program was:
  7220. | /* confdefs.h */
  7221. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  7222. | #define PACKAGE_TARNAME "ghc-8.7"
  7223. | #define PACKAGE_VERSION "8.7"
  7224. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  7225. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  7226. | #define PACKAGE_URL ""
  7227. | #define STDC_HEADERS 1
  7228. | #define HAVE_SYS_TYPES_H 1
  7229. | #define HAVE_SYS_STAT_H 1
  7230. | #define HAVE_STDLIB_H 1
  7231. | #define HAVE_STRING_H 1
  7232. | #define HAVE_MEMORY_H 1
  7233. | #define HAVE_STRINGS_H 1
  7234. | #define HAVE_INTTYPES_H 1
  7235. | #define HAVE_STDINT_H 1
  7236. | #define HAVE_UNISTD_H 1
  7237. | #define __EXTENSIONS__ 1
  7238. | #define _ALL_SOURCE 1
  7239. | #define _GNU_SOURCE 1
  7240. | #define _POSIX_PTHREAD_SEMANTICS 1
  7241. | #define _TANDEM_SOURCE 1
  7242. | #define sUPPORTED_LLVM_VERSION (7,0)
  7243. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  7244. | #define STDC_HEADERS 1
  7245. | #define HAVE_CTYPE_H 1
  7246. | #define HAVE_DIRENT_H 1
  7247. | #define HAVE_DLFCN_H 1
  7248. | #define HAVE_ERRNO_H 1
  7249. | #define HAVE_FCNTL_H 1
  7250. | #define HAVE_GRP_H 1
  7251. | #define HAVE_LIMITS_H 1
  7252. | #define HAVE_LOCALE_H 1
  7253. | #define HAVE_NLIST_H 1
  7254. | #define HAVE_PTHREAD_H 1
  7255. | #define HAVE_PWD_H 1
  7256. | #define HAVE_SIGNAL_H 1
  7257. | #define HAVE_SYS_PARAM_H 1
  7258. | #define HAVE_SYS_MMAN_H 1
  7259. | #define HAVE_SYS_RESOURCE_H 1
  7260. | #define HAVE_SYS_SELECT_H 1
  7261. | #define HAVE_SYS_TIME_H 1
  7262. | #define HAVE_SYS_TIMEB_H 1
  7263. | #define HAVE_SYS_TIMERFD_H 1
  7264. | #define HAVE_SYS_TIMES_H 1
  7265. | #define HAVE_SYS_UTSNAME_H 1
  7266. | #define HAVE_SYS_WAIT_H 1
  7267. | #define HAVE_TERMIOS_H 1
  7268. | #define HAVE_TIME_H 1
  7269. | #define HAVE_UTIME_H 1
  7270. | #define HAVE_SCHED_H 1
  7271. | #define TIME_WITH_SYS_TIME 1
  7272. | #define HAVE_LONG_LONG 1
  7273. | #define SIZEOF_CHAR 1
  7274. | #define ALIGNMENT_CHAR 1
  7275. | #define SIZEOF_DOUBLE 8
  7276. | #define ALIGNMENT_DOUBLE 8
  7277. | #define SIZEOF_FLOAT 4
  7278. | #define ALIGNMENT_FLOAT 4
  7279. | #define SIZEOF_INT 4
  7280. | #define ALIGNMENT_INT 4
  7281. | #define SIZEOF_LONG 8
  7282. | #define ALIGNMENT_LONG 8
  7283. | #define SIZEOF_LONG_LONG 8
  7284. | #define ALIGNMENT_LONG_LONG 8
  7285. | #define SIZEOF_SHORT 2
  7286. | #define ALIGNMENT_SHORT 2
  7287. | #define SIZEOF_UNSIGNED_CHAR 1
  7288. | /* end confdefs.h. */
  7289. | #include <stdio.h>
  7290. | #ifdef HAVE_SYS_TYPES_H
  7291. | # include <sys/types.h>
  7292. | #endif
  7293. | #ifdef HAVE_SYS_STAT_H
  7294. | # include <sys/stat.h>
  7295. | #endif
  7296. | #ifdef STDC_HEADERS
  7297. | # include <stdlib.h>
  7298. | # include <stddef.h>
  7299. | #else
  7300. | # ifdef HAVE_STDLIB_H
  7301. | # include <stdlib.h>
  7302. | # endif
  7303. | #endif
  7304. | #ifdef HAVE_STRING_H
  7305. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7306. | # include <memory.h>
  7307. | # endif
  7308. | # include <string.h>
  7309. | #endif
  7310. | #ifdef HAVE_STRINGS_H
  7311. | # include <strings.h>
  7312. | #endif
  7313. | #ifdef HAVE_INTTYPES_H
  7314. | # include <inttypes.h>
  7315. | #endif
  7316. | #ifdef HAVE_STDINT_H
  7317. | # include <stdint.h>
  7318. | #endif
  7319. | #ifdef HAVE_UNISTD_H
  7320. | # include <unistd.h>
  7321. | #endif
  7322. | int
  7323. | main ()
  7324. | {
  7325. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned char ty; },ty)) <= 0)];
  7326. | test_array [0] = 0;
  7327. | return test_array [0];
  7328. |
  7329. | ;
  7330. | return 0;
  7331. | }
  7332. configure:12402: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7333. configure:12402: $? = 0
  7334. configure:12414: result: 1
  7335. configure:12425: checking size of unsigned int
  7336. configure:12430: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7337. configure:12430: $? = 0
  7338. configure:12430: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7339. conftest.c: In function 'main':
  7340. conftest.c:107:12: error: size of array 'test_array' is negative
  7341. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 0)];
  7342. ^~~~~~~~~~
  7343. configure:12430: $? = 1
  7344. configure: failed program was:
  7345. | /* confdefs.h */
  7346. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  7347. | #define PACKAGE_TARNAME "ghc-8.7"
  7348. | #define PACKAGE_VERSION "8.7"
  7349. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  7350. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  7351. | #define PACKAGE_URL ""
  7352. | #define STDC_HEADERS 1
  7353. | #define HAVE_SYS_TYPES_H 1
  7354. | #define HAVE_SYS_STAT_H 1
  7355. | #define HAVE_STDLIB_H 1
  7356. | #define HAVE_STRING_H 1
  7357. | #define HAVE_MEMORY_H 1
  7358. | #define HAVE_STRINGS_H 1
  7359. | #define HAVE_INTTYPES_H 1
  7360. | #define HAVE_STDINT_H 1
  7361. | #define HAVE_UNISTD_H 1
  7362. | #define __EXTENSIONS__ 1
  7363. | #define _ALL_SOURCE 1
  7364. | #define _GNU_SOURCE 1
  7365. | #define _POSIX_PTHREAD_SEMANTICS 1
  7366. | #define _TANDEM_SOURCE 1
  7367. | #define sUPPORTED_LLVM_VERSION (7,0)
  7368. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  7369. | #define STDC_HEADERS 1
  7370. | #define HAVE_CTYPE_H 1
  7371. | #define HAVE_DIRENT_H 1
  7372. | #define HAVE_DLFCN_H 1
  7373. | #define HAVE_ERRNO_H 1
  7374. | #define HAVE_FCNTL_H 1
  7375. | #define HAVE_GRP_H 1
  7376. | #define HAVE_LIMITS_H 1
  7377. | #define HAVE_LOCALE_H 1
  7378. | #define HAVE_NLIST_H 1
  7379. | #define HAVE_PTHREAD_H 1
  7380. | #define HAVE_PWD_H 1
  7381. | #define HAVE_SIGNAL_H 1
  7382. | #define HAVE_SYS_PARAM_H 1
  7383. | #define HAVE_SYS_MMAN_H 1
  7384. | #define HAVE_SYS_RESOURCE_H 1
  7385. | #define HAVE_SYS_SELECT_H 1
  7386. | #define HAVE_SYS_TIME_H 1
  7387. | #define HAVE_SYS_TIMEB_H 1
  7388. | #define HAVE_SYS_TIMERFD_H 1
  7389. | #define HAVE_SYS_TIMES_H 1
  7390. | #define HAVE_SYS_UTSNAME_H 1
  7391. | #define HAVE_SYS_WAIT_H 1
  7392. | #define HAVE_TERMIOS_H 1
  7393. | #define HAVE_TIME_H 1
  7394. | #define HAVE_UTIME_H 1
  7395. | #define HAVE_SCHED_H 1
  7396. | #define TIME_WITH_SYS_TIME 1
  7397. | #define HAVE_LONG_LONG 1
  7398. | #define SIZEOF_CHAR 1
  7399. | #define ALIGNMENT_CHAR 1
  7400. | #define SIZEOF_DOUBLE 8
  7401. | #define ALIGNMENT_DOUBLE 8
  7402. | #define SIZEOF_FLOAT 4
  7403. | #define ALIGNMENT_FLOAT 4
  7404. | #define SIZEOF_INT 4
  7405. | #define ALIGNMENT_INT 4
  7406. | #define SIZEOF_LONG 8
  7407. | #define ALIGNMENT_LONG 8
  7408. | #define SIZEOF_LONG_LONG 8
  7409. | #define ALIGNMENT_LONG_LONG 8
  7410. | #define SIZEOF_SHORT 2
  7411. | #define ALIGNMENT_SHORT 2
  7412. | #define SIZEOF_UNSIGNED_CHAR 1
  7413. | #define ALIGNMENT_UNSIGNED_CHAR 1
  7414. | /* end confdefs.h. */
  7415. | #include <stdio.h>
  7416. | #ifdef HAVE_SYS_TYPES_H
  7417. | # include <sys/types.h>
  7418. | #endif
  7419. | #ifdef HAVE_SYS_STAT_H
  7420. | # include <sys/stat.h>
  7421. | #endif
  7422. | #ifdef STDC_HEADERS
  7423. | # include <stdlib.h>
  7424. | # include <stddef.h>
  7425. | #else
  7426. | # ifdef HAVE_STDLIB_H
  7427. | # include <stdlib.h>
  7428. | # endif
  7429. | #endif
  7430. | #ifdef HAVE_STRING_H
  7431. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7432. | # include <memory.h>
  7433. | # endif
  7434. | # include <string.h>
  7435. | #endif
  7436. | #ifdef HAVE_STRINGS_H
  7437. | # include <strings.h>
  7438. | #endif
  7439. | #ifdef HAVE_INTTYPES_H
  7440. | # include <inttypes.h>
  7441. | #endif
  7442. | #ifdef HAVE_STDINT_H
  7443. | # include <stdint.h>
  7444. | #endif
  7445. | #ifdef HAVE_UNISTD_H
  7446. | # include <unistd.h>
  7447. | #endif
  7448. | int
  7449. | main ()
  7450. | {
  7451. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 0)];
  7452. | test_array [0] = 0;
  7453. | return test_array [0];
  7454. |
  7455. | ;
  7456. | return 0;
  7457. | }
  7458. configure:12430: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7459. conftest.c: In function 'main':
  7460. conftest.c:107:12: error: size of array 'test_array' is negative
  7461. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 1)];
  7462. ^~~~~~~~~~
  7463. configure:12430: $? = 1
  7464. configure: failed program was:
  7465. | /* confdefs.h */
  7466. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  7467. | #define PACKAGE_TARNAME "ghc-8.7"
  7468. | #define PACKAGE_VERSION "8.7"
  7469. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  7470. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  7471. | #define PACKAGE_URL ""
  7472. | #define STDC_HEADERS 1
  7473. | #define HAVE_SYS_TYPES_H 1
  7474. | #define HAVE_SYS_STAT_H 1
  7475. | #define HAVE_STDLIB_H 1
  7476. | #define HAVE_STRING_H 1
  7477. | #define HAVE_MEMORY_H 1
  7478. | #define HAVE_STRINGS_H 1
  7479. | #define HAVE_INTTYPES_H 1
  7480. | #define HAVE_STDINT_H 1
  7481. | #define HAVE_UNISTD_H 1
  7482. | #define __EXTENSIONS__ 1
  7483. | #define _ALL_SOURCE 1
  7484. | #define _GNU_SOURCE 1
  7485. | #define _POSIX_PTHREAD_SEMANTICS 1
  7486. | #define _TANDEM_SOURCE 1
  7487. | #define sUPPORTED_LLVM_VERSION (7,0)
  7488. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  7489. | #define STDC_HEADERS 1
  7490. | #define HAVE_CTYPE_H 1
  7491. | #define HAVE_DIRENT_H 1
  7492. | #define HAVE_DLFCN_H 1
  7493. | #define HAVE_ERRNO_H 1
  7494. | #define HAVE_FCNTL_H 1
  7495. | #define HAVE_GRP_H 1
  7496. | #define HAVE_LIMITS_H 1
  7497. | #define HAVE_LOCALE_H 1
  7498. | #define HAVE_NLIST_H 1
  7499. | #define HAVE_PTHREAD_H 1
  7500. | #define HAVE_PWD_H 1
  7501. | #define HAVE_SIGNAL_H 1
  7502. | #define HAVE_SYS_PARAM_H 1
  7503. | #define HAVE_SYS_MMAN_H 1
  7504. | #define HAVE_SYS_RESOURCE_H 1
  7505. | #define HAVE_SYS_SELECT_H 1
  7506. | #define HAVE_SYS_TIME_H 1
  7507. | #define HAVE_SYS_TIMEB_H 1
  7508. | #define HAVE_SYS_TIMERFD_H 1
  7509. | #define HAVE_SYS_TIMES_H 1
  7510. | #define HAVE_SYS_UTSNAME_H 1
  7511. | #define HAVE_SYS_WAIT_H 1
  7512. | #define HAVE_TERMIOS_H 1
  7513. | #define HAVE_TIME_H 1
  7514. | #define HAVE_UTIME_H 1
  7515. | #define HAVE_SCHED_H 1
  7516. | #define TIME_WITH_SYS_TIME 1
  7517. | #define HAVE_LONG_LONG 1
  7518. | #define SIZEOF_CHAR 1
  7519. | #define ALIGNMENT_CHAR 1
  7520. | #define SIZEOF_DOUBLE 8
  7521. | #define ALIGNMENT_DOUBLE 8
  7522. | #define SIZEOF_FLOAT 4
  7523. | #define ALIGNMENT_FLOAT 4
  7524. | #define SIZEOF_INT 4
  7525. | #define ALIGNMENT_INT 4
  7526. | #define SIZEOF_LONG 8
  7527. | #define ALIGNMENT_LONG 8
  7528. | #define SIZEOF_LONG_LONG 8
  7529. | #define ALIGNMENT_LONG_LONG 8
  7530. | #define SIZEOF_SHORT 2
  7531. | #define ALIGNMENT_SHORT 2
  7532. | #define SIZEOF_UNSIGNED_CHAR 1
  7533. | #define ALIGNMENT_UNSIGNED_CHAR 1
  7534. | /* end confdefs.h. */
  7535. | #include <stdio.h>
  7536. | #ifdef HAVE_SYS_TYPES_H
  7537. | # include <sys/types.h>
  7538. | #endif
  7539. | #ifdef HAVE_SYS_STAT_H
  7540. | # include <sys/stat.h>
  7541. | #endif
  7542. | #ifdef STDC_HEADERS
  7543. | # include <stdlib.h>
  7544. | # include <stddef.h>
  7545. | #else
  7546. | # ifdef HAVE_STDLIB_H
  7547. | # include <stdlib.h>
  7548. | # endif
  7549. | #endif
  7550. | #ifdef HAVE_STRING_H
  7551. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7552. | # include <memory.h>
  7553. | # endif
  7554. | # include <string.h>
  7555. | #endif
  7556. | #ifdef HAVE_STRINGS_H
  7557. | # include <strings.h>
  7558. | #endif
  7559. | #ifdef HAVE_INTTYPES_H
  7560. | # include <inttypes.h>
  7561. | #endif
  7562. | #ifdef HAVE_STDINT_H
  7563. | # include <stdint.h>
  7564. | #endif
  7565. | #ifdef HAVE_UNISTD_H
  7566. | # include <unistd.h>
  7567. | #endif
  7568. | int
  7569. | main ()
  7570. | {
  7571. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 1)];
  7572. | test_array [0] = 0;
  7573. | return test_array [0];
  7574. |
  7575. | ;
  7576. | return 0;
  7577. | }
  7578. configure:12430: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7579. conftest.c: In function 'main':
  7580. conftest.c:107:12: error: size of array 'test_array' is negative
  7581. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 3)];
  7582. ^~~~~~~~~~
  7583. configure:12430: $? = 1
  7584. configure: failed program was:
  7585. | /* confdefs.h */
  7586. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  7587. | #define PACKAGE_TARNAME "ghc-8.7"
  7588. | #define PACKAGE_VERSION "8.7"
  7589. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  7590. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  7591. | #define PACKAGE_URL ""
  7592. | #define STDC_HEADERS 1
  7593. | #define HAVE_SYS_TYPES_H 1
  7594. | #define HAVE_SYS_STAT_H 1
  7595. | #define HAVE_STDLIB_H 1
  7596. | #define HAVE_STRING_H 1
  7597. | #define HAVE_MEMORY_H 1
  7598. | #define HAVE_STRINGS_H 1
  7599. | #define HAVE_INTTYPES_H 1
  7600. | #define HAVE_STDINT_H 1
  7601. | #define HAVE_UNISTD_H 1
  7602. | #define __EXTENSIONS__ 1
  7603. | #define _ALL_SOURCE 1
  7604. | #define _GNU_SOURCE 1
  7605. | #define _POSIX_PTHREAD_SEMANTICS 1
  7606. | #define _TANDEM_SOURCE 1
  7607. | #define sUPPORTED_LLVM_VERSION (7,0)
  7608. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  7609. | #define STDC_HEADERS 1
  7610. | #define HAVE_CTYPE_H 1
  7611. | #define HAVE_DIRENT_H 1
  7612. | #define HAVE_DLFCN_H 1
  7613. | #define HAVE_ERRNO_H 1
  7614. | #define HAVE_FCNTL_H 1
  7615. | #define HAVE_GRP_H 1
  7616. | #define HAVE_LIMITS_H 1
  7617. | #define HAVE_LOCALE_H 1
  7618. | #define HAVE_NLIST_H 1
  7619. | #define HAVE_PTHREAD_H 1
  7620. | #define HAVE_PWD_H 1
  7621. | #define HAVE_SIGNAL_H 1
  7622. | #define HAVE_SYS_PARAM_H 1
  7623. | #define HAVE_SYS_MMAN_H 1
  7624. | #define HAVE_SYS_RESOURCE_H 1
  7625. | #define HAVE_SYS_SELECT_H 1
  7626. | #define HAVE_SYS_TIME_H 1
  7627. | #define HAVE_SYS_TIMEB_H 1
  7628. | #define HAVE_SYS_TIMERFD_H 1
  7629. | #define HAVE_SYS_TIMES_H 1
  7630. | #define HAVE_SYS_UTSNAME_H 1
  7631. | #define HAVE_SYS_WAIT_H 1
  7632. | #define HAVE_TERMIOS_H 1
  7633. | #define HAVE_TIME_H 1
  7634. | #define HAVE_UTIME_H 1
  7635. | #define HAVE_SCHED_H 1
  7636. | #define TIME_WITH_SYS_TIME 1
  7637. | #define HAVE_LONG_LONG 1
  7638. | #define SIZEOF_CHAR 1
  7639. | #define ALIGNMENT_CHAR 1
  7640. | #define SIZEOF_DOUBLE 8
  7641. | #define ALIGNMENT_DOUBLE 8
  7642. | #define SIZEOF_FLOAT 4
  7643. | #define ALIGNMENT_FLOAT 4
  7644. | #define SIZEOF_INT 4
  7645. | #define ALIGNMENT_INT 4
  7646. | #define SIZEOF_LONG 8
  7647. | #define ALIGNMENT_LONG 8
  7648. | #define SIZEOF_LONG_LONG 8
  7649. | #define ALIGNMENT_LONG_LONG 8
  7650. | #define SIZEOF_SHORT 2
  7651. | #define ALIGNMENT_SHORT 2
  7652. | #define SIZEOF_UNSIGNED_CHAR 1
  7653. | #define ALIGNMENT_UNSIGNED_CHAR 1
  7654. | /* end confdefs.h. */
  7655. | #include <stdio.h>
  7656. | #ifdef HAVE_SYS_TYPES_H
  7657. | # include <sys/types.h>
  7658. | #endif
  7659. | #ifdef HAVE_SYS_STAT_H
  7660. | # include <sys/stat.h>
  7661. | #endif
  7662. | #ifdef STDC_HEADERS
  7663. | # include <stdlib.h>
  7664. | # include <stddef.h>
  7665. | #else
  7666. | # ifdef HAVE_STDLIB_H
  7667. | # include <stdlib.h>
  7668. | # endif
  7669. | #endif
  7670. | #ifdef HAVE_STRING_H
  7671. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7672. | # include <memory.h>
  7673. | # endif
  7674. | # include <string.h>
  7675. | #endif
  7676. | #ifdef HAVE_STRINGS_H
  7677. | # include <strings.h>
  7678. | #endif
  7679. | #ifdef HAVE_INTTYPES_H
  7680. | # include <inttypes.h>
  7681. | #endif
  7682. | #ifdef HAVE_STDINT_H
  7683. | # include <stdint.h>
  7684. | #endif
  7685. | #ifdef HAVE_UNISTD_H
  7686. | # include <unistd.h>
  7687. | #endif
  7688. | int
  7689. | main ()
  7690. | {
  7691. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 3)];
  7692. | test_array [0] = 0;
  7693. | return test_array [0];
  7694. |
  7695. | ;
  7696. | return 0;
  7697. | }
  7698. configure:12430: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7699. configure:12430: $? = 0
  7700. configure:12430: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7701. configure:12430: $? = 0
  7702. configure:12430: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7703. configure:12430: $? = 0
  7704. configure:12444: result: 4
  7705. configure:12454: checking for unsigned int
  7706. configure:12454: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7707. configure:12454: $? = 0
  7708. configure:12454: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7709. conftest.c: In function 'main':
  7710. conftest.c:108:27: error: expected expression before ')' token
  7711. if (sizeof ((unsigned int)))
  7712. ^
  7713. configure:12454: $? = 1
  7714. configure: failed program was:
  7715. | /* confdefs.h */
  7716. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  7717. | #define PACKAGE_TARNAME "ghc-8.7"
  7718. | #define PACKAGE_VERSION "8.7"
  7719. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  7720. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  7721. | #define PACKAGE_URL ""
  7722. | #define STDC_HEADERS 1
  7723. | #define HAVE_SYS_TYPES_H 1
  7724. | #define HAVE_SYS_STAT_H 1
  7725. | #define HAVE_STDLIB_H 1
  7726. | #define HAVE_STRING_H 1
  7727. | #define HAVE_MEMORY_H 1
  7728. | #define HAVE_STRINGS_H 1
  7729. | #define HAVE_INTTYPES_H 1
  7730. | #define HAVE_STDINT_H 1
  7731. | #define HAVE_UNISTD_H 1
  7732. | #define __EXTENSIONS__ 1
  7733. | #define _ALL_SOURCE 1
  7734. | #define _GNU_SOURCE 1
  7735. | #define _POSIX_PTHREAD_SEMANTICS 1
  7736. | #define _TANDEM_SOURCE 1
  7737. | #define sUPPORTED_LLVM_VERSION (7,0)
  7738. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  7739. | #define STDC_HEADERS 1
  7740. | #define HAVE_CTYPE_H 1
  7741. | #define HAVE_DIRENT_H 1
  7742. | #define HAVE_DLFCN_H 1
  7743. | #define HAVE_ERRNO_H 1
  7744. | #define HAVE_FCNTL_H 1
  7745. | #define HAVE_GRP_H 1
  7746. | #define HAVE_LIMITS_H 1
  7747. | #define HAVE_LOCALE_H 1
  7748. | #define HAVE_NLIST_H 1
  7749. | #define HAVE_PTHREAD_H 1
  7750. | #define HAVE_PWD_H 1
  7751. | #define HAVE_SIGNAL_H 1
  7752. | #define HAVE_SYS_PARAM_H 1
  7753. | #define HAVE_SYS_MMAN_H 1
  7754. | #define HAVE_SYS_RESOURCE_H 1
  7755. | #define HAVE_SYS_SELECT_H 1
  7756. | #define HAVE_SYS_TIME_H 1
  7757. | #define HAVE_SYS_TIMEB_H 1
  7758. | #define HAVE_SYS_TIMERFD_H 1
  7759. | #define HAVE_SYS_TIMES_H 1
  7760. | #define HAVE_SYS_UTSNAME_H 1
  7761. | #define HAVE_SYS_WAIT_H 1
  7762. | #define HAVE_TERMIOS_H 1
  7763. | #define HAVE_TIME_H 1
  7764. | #define HAVE_UTIME_H 1
  7765. | #define HAVE_SCHED_H 1
  7766. | #define TIME_WITH_SYS_TIME 1
  7767. | #define HAVE_LONG_LONG 1
  7768. | #define SIZEOF_CHAR 1
  7769. | #define ALIGNMENT_CHAR 1
  7770. | #define SIZEOF_DOUBLE 8
  7771. | #define ALIGNMENT_DOUBLE 8
  7772. | #define SIZEOF_FLOAT 4
  7773. | #define ALIGNMENT_FLOAT 4
  7774. | #define SIZEOF_INT 4
  7775. | #define ALIGNMENT_INT 4
  7776. | #define SIZEOF_LONG 8
  7777. | #define ALIGNMENT_LONG 8
  7778. | #define SIZEOF_LONG_LONG 8
  7779. | #define ALIGNMENT_LONG_LONG 8
  7780. | #define SIZEOF_SHORT 2
  7781. | #define ALIGNMENT_SHORT 2
  7782. | #define SIZEOF_UNSIGNED_CHAR 1
  7783. | #define ALIGNMENT_UNSIGNED_CHAR 1
  7784. | #define SIZEOF_UNSIGNED_INT 4
  7785. | /* end confdefs.h. */
  7786. | #include <stdio.h>
  7787. | #ifdef HAVE_SYS_TYPES_H
  7788. | # include <sys/types.h>
  7789. | #endif
  7790. | #ifdef HAVE_SYS_STAT_H
  7791. | # include <sys/stat.h>
  7792. | #endif
  7793. | #ifdef STDC_HEADERS
  7794. | # include <stdlib.h>
  7795. | # include <stddef.h>
  7796. | #else
  7797. | # ifdef HAVE_STDLIB_H
  7798. | # include <stdlib.h>
  7799. | # endif
  7800. | #endif
  7801. | #ifdef HAVE_STRING_H
  7802. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7803. | # include <memory.h>
  7804. | # endif
  7805. | # include <string.h>
  7806. | #endif
  7807. | #ifdef HAVE_STRINGS_H
  7808. | # include <strings.h>
  7809. | #endif
  7810. | #ifdef HAVE_INTTYPES_H
  7811. | # include <inttypes.h>
  7812. | #endif
  7813. | #ifdef HAVE_STDINT_H
  7814. | # include <stdint.h>
  7815. | #endif
  7816. | #ifdef HAVE_UNISTD_H
  7817. | # include <unistd.h>
  7818. | #endif
  7819. | int
  7820. | main ()
  7821. | {
  7822. | if (sizeof ((unsigned int)))
  7823. | return 0;
  7824. | ;
  7825. | return 0;
  7826. | }
  7827. configure:12454: result: yes
  7828. configure:12458: checking alignment of unsigned int
  7829. configure:12464: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7830. configure:12464: $? = 0
  7831. configure:12464: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7832. conftest.c: In function 'main':
  7833. conftest.c:108:12: error: size of array 'test_array' is negative
  7834. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned int ty; },ty)) <= 0)];
  7835. ^~~~~~~~~~
  7836. configure:12464: $? = 1
  7837. configure: failed program was:
  7838. | /* confdefs.h */
  7839. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  7840. | #define PACKAGE_TARNAME "ghc-8.7"
  7841. | #define PACKAGE_VERSION "8.7"
  7842. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  7843. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  7844. | #define PACKAGE_URL ""
  7845. | #define STDC_HEADERS 1
  7846. | #define HAVE_SYS_TYPES_H 1
  7847. | #define HAVE_SYS_STAT_H 1
  7848. | #define HAVE_STDLIB_H 1
  7849. | #define HAVE_STRING_H 1
  7850. | #define HAVE_MEMORY_H 1
  7851. | #define HAVE_STRINGS_H 1
  7852. | #define HAVE_INTTYPES_H 1
  7853. | #define HAVE_STDINT_H 1
  7854. | #define HAVE_UNISTD_H 1
  7855. | #define __EXTENSIONS__ 1
  7856. | #define _ALL_SOURCE 1
  7857. | #define _GNU_SOURCE 1
  7858. | #define _POSIX_PTHREAD_SEMANTICS 1
  7859. | #define _TANDEM_SOURCE 1
  7860. | #define sUPPORTED_LLVM_VERSION (7,0)
  7861. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  7862. | #define STDC_HEADERS 1
  7863. | #define HAVE_CTYPE_H 1
  7864. | #define HAVE_DIRENT_H 1
  7865. | #define HAVE_DLFCN_H 1
  7866. | #define HAVE_ERRNO_H 1
  7867. | #define HAVE_FCNTL_H 1
  7868. | #define HAVE_GRP_H 1
  7869. | #define HAVE_LIMITS_H 1
  7870. | #define HAVE_LOCALE_H 1
  7871. | #define HAVE_NLIST_H 1
  7872. | #define HAVE_PTHREAD_H 1
  7873. | #define HAVE_PWD_H 1
  7874. | #define HAVE_SIGNAL_H 1
  7875. | #define HAVE_SYS_PARAM_H 1
  7876. | #define HAVE_SYS_MMAN_H 1
  7877. | #define HAVE_SYS_RESOURCE_H 1
  7878. | #define HAVE_SYS_SELECT_H 1
  7879. | #define HAVE_SYS_TIME_H 1
  7880. | #define HAVE_SYS_TIMEB_H 1
  7881. | #define HAVE_SYS_TIMERFD_H 1
  7882. | #define HAVE_SYS_TIMES_H 1
  7883. | #define HAVE_SYS_UTSNAME_H 1
  7884. | #define HAVE_SYS_WAIT_H 1
  7885. | #define HAVE_TERMIOS_H 1
  7886. | #define HAVE_TIME_H 1
  7887. | #define HAVE_UTIME_H 1
  7888. | #define HAVE_SCHED_H 1
  7889. | #define TIME_WITH_SYS_TIME 1
  7890. | #define HAVE_LONG_LONG 1
  7891. | #define SIZEOF_CHAR 1
  7892. | #define ALIGNMENT_CHAR 1
  7893. | #define SIZEOF_DOUBLE 8
  7894. | #define ALIGNMENT_DOUBLE 8
  7895. | #define SIZEOF_FLOAT 4
  7896. | #define ALIGNMENT_FLOAT 4
  7897. | #define SIZEOF_INT 4
  7898. | #define ALIGNMENT_INT 4
  7899. | #define SIZEOF_LONG 8
  7900. | #define ALIGNMENT_LONG 8
  7901. | #define SIZEOF_LONG_LONG 8
  7902. | #define ALIGNMENT_LONG_LONG 8
  7903. | #define SIZEOF_SHORT 2
  7904. | #define ALIGNMENT_SHORT 2
  7905. | #define SIZEOF_UNSIGNED_CHAR 1
  7906. | #define ALIGNMENT_UNSIGNED_CHAR 1
  7907. | #define SIZEOF_UNSIGNED_INT 4
  7908. | /* end confdefs.h. */
  7909. | #include <stdio.h>
  7910. | #ifdef HAVE_SYS_TYPES_H
  7911. | # include <sys/types.h>
  7912. | #endif
  7913. | #ifdef HAVE_SYS_STAT_H
  7914. | # include <sys/stat.h>
  7915. | #endif
  7916. | #ifdef STDC_HEADERS
  7917. | # include <stdlib.h>
  7918. | # include <stddef.h>
  7919. | #else
  7920. | # ifdef HAVE_STDLIB_H
  7921. | # include <stdlib.h>
  7922. | # endif
  7923. | #endif
  7924. | #ifdef HAVE_STRING_H
  7925. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7926. | # include <memory.h>
  7927. | # endif
  7928. | # include <string.h>
  7929. | #endif
  7930. | #ifdef HAVE_STRINGS_H
  7931. | # include <strings.h>
  7932. | #endif
  7933. | #ifdef HAVE_INTTYPES_H
  7934. | # include <inttypes.h>
  7935. | #endif
  7936. | #ifdef HAVE_STDINT_H
  7937. | # include <stdint.h>
  7938. | #endif
  7939. | #ifdef HAVE_UNISTD_H
  7940. | # include <unistd.h>
  7941. | #endif
  7942. | int
  7943. | main ()
  7944. | {
  7945. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned int ty; },ty)) <= 0)];
  7946. | test_array [0] = 0;
  7947. | return test_array [0];
  7948. |
  7949. | ;
  7950. | return 0;
  7951. | }
  7952. configure:12464: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  7953. conftest.c: In function 'main':
  7954. conftest.c:108:12: error: size of array 'test_array' is negative
  7955. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned int ty; },ty)) <= 1)];
  7956. ^~~~~~~~~~
  7957. configure:12464: $? = 1
  7958. configure: failed program was:
  7959. | /* confdefs.h */
  7960. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  7961. | #define PACKAGE_TARNAME "ghc-8.7"
  7962. | #define PACKAGE_VERSION "8.7"
  7963. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  7964. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  7965. | #define PACKAGE_URL ""
  7966. | #define STDC_HEADERS 1
  7967. | #define HAVE_SYS_TYPES_H 1
  7968. | #define HAVE_SYS_STAT_H 1
  7969. | #define HAVE_STDLIB_H 1
  7970. | #define HAVE_STRING_H 1
  7971. | #define HAVE_MEMORY_H 1
  7972. | #define HAVE_STRINGS_H 1
  7973. | #define HAVE_INTTYPES_H 1
  7974. | #define HAVE_STDINT_H 1
  7975. | #define HAVE_UNISTD_H 1
  7976. | #define __EXTENSIONS__ 1
  7977. | #define _ALL_SOURCE 1
  7978. | #define _GNU_SOURCE 1
  7979. | #define _POSIX_PTHREAD_SEMANTICS 1
  7980. | #define _TANDEM_SOURCE 1
  7981. | #define sUPPORTED_LLVM_VERSION (7,0)
  7982. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  7983. | #define STDC_HEADERS 1
  7984. | #define HAVE_CTYPE_H 1
  7985. | #define HAVE_DIRENT_H 1
  7986. | #define HAVE_DLFCN_H 1
  7987. | #define HAVE_ERRNO_H 1
  7988. | #define HAVE_FCNTL_H 1
  7989. | #define HAVE_GRP_H 1
  7990. | #define HAVE_LIMITS_H 1
  7991. | #define HAVE_LOCALE_H 1
  7992. | #define HAVE_NLIST_H 1
  7993. | #define HAVE_PTHREAD_H 1
  7994. | #define HAVE_PWD_H 1
  7995. | #define HAVE_SIGNAL_H 1
  7996. | #define HAVE_SYS_PARAM_H 1
  7997. | #define HAVE_SYS_MMAN_H 1
  7998. | #define HAVE_SYS_RESOURCE_H 1
  7999. | #define HAVE_SYS_SELECT_H 1
  8000. | #define HAVE_SYS_TIME_H 1
  8001. | #define HAVE_SYS_TIMEB_H 1
  8002. | #define HAVE_SYS_TIMERFD_H 1
  8003. | #define HAVE_SYS_TIMES_H 1
  8004. | #define HAVE_SYS_UTSNAME_H 1
  8005. | #define HAVE_SYS_WAIT_H 1
  8006. | #define HAVE_TERMIOS_H 1
  8007. | #define HAVE_TIME_H 1
  8008. | #define HAVE_UTIME_H 1
  8009. | #define HAVE_SCHED_H 1
  8010. | #define TIME_WITH_SYS_TIME 1
  8011. | #define HAVE_LONG_LONG 1
  8012. | #define SIZEOF_CHAR 1
  8013. | #define ALIGNMENT_CHAR 1
  8014. | #define SIZEOF_DOUBLE 8
  8015. | #define ALIGNMENT_DOUBLE 8
  8016. | #define SIZEOF_FLOAT 4
  8017. | #define ALIGNMENT_FLOAT 4
  8018. | #define SIZEOF_INT 4
  8019. | #define ALIGNMENT_INT 4
  8020. | #define SIZEOF_LONG 8
  8021. | #define ALIGNMENT_LONG 8
  8022. | #define SIZEOF_LONG_LONG 8
  8023. | #define ALIGNMENT_LONG_LONG 8
  8024. | #define SIZEOF_SHORT 2
  8025. | #define ALIGNMENT_SHORT 2
  8026. | #define SIZEOF_UNSIGNED_CHAR 1
  8027. | #define ALIGNMENT_UNSIGNED_CHAR 1
  8028. | #define SIZEOF_UNSIGNED_INT 4
  8029. | /* end confdefs.h. */
  8030. | #include <stdio.h>
  8031. | #ifdef HAVE_SYS_TYPES_H
  8032. | # include <sys/types.h>
  8033. | #endif
  8034. | #ifdef HAVE_SYS_STAT_H
  8035. | # include <sys/stat.h>
  8036. | #endif
  8037. | #ifdef STDC_HEADERS
  8038. | # include <stdlib.h>
  8039. | # include <stddef.h>
  8040. | #else
  8041. | # ifdef HAVE_STDLIB_H
  8042. | # include <stdlib.h>
  8043. | # endif
  8044. | #endif
  8045. | #ifdef HAVE_STRING_H
  8046. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8047. | # include <memory.h>
  8048. | # endif
  8049. | # include <string.h>
  8050. | #endif
  8051. | #ifdef HAVE_STRINGS_H
  8052. | # include <strings.h>
  8053. | #endif
  8054. | #ifdef HAVE_INTTYPES_H
  8055. | # include <inttypes.h>
  8056. | #endif
  8057. | #ifdef HAVE_STDINT_H
  8058. | # include <stdint.h>
  8059. | #endif
  8060. | #ifdef HAVE_UNISTD_H
  8061. | # include <unistd.h>
  8062. | #endif
  8063. | int
  8064. | main ()
  8065. | {
  8066. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned int ty; },ty)) <= 1)];
  8067. | test_array [0] = 0;
  8068. | return test_array [0];
  8069. |
  8070. | ;
  8071. | return 0;
  8072. | }
  8073. configure:12464: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8074. conftest.c: In function 'main':
  8075. conftest.c:108:12: error: size of array 'test_array' is negative
  8076. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned int ty; },ty)) <= 3)];
  8077. ^~~~~~~~~~
  8078. configure:12464: $? = 1
  8079. configure: failed program was:
  8080. | /* confdefs.h */
  8081. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  8082. | #define PACKAGE_TARNAME "ghc-8.7"
  8083. | #define PACKAGE_VERSION "8.7"
  8084. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  8085. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  8086. | #define PACKAGE_URL ""
  8087. | #define STDC_HEADERS 1
  8088. | #define HAVE_SYS_TYPES_H 1
  8089. | #define HAVE_SYS_STAT_H 1
  8090. | #define HAVE_STDLIB_H 1
  8091. | #define HAVE_STRING_H 1
  8092. | #define HAVE_MEMORY_H 1
  8093. | #define HAVE_STRINGS_H 1
  8094. | #define HAVE_INTTYPES_H 1
  8095. | #define HAVE_STDINT_H 1
  8096. | #define HAVE_UNISTD_H 1
  8097. | #define __EXTENSIONS__ 1
  8098. | #define _ALL_SOURCE 1
  8099. | #define _GNU_SOURCE 1
  8100. | #define _POSIX_PTHREAD_SEMANTICS 1
  8101. | #define _TANDEM_SOURCE 1
  8102. | #define sUPPORTED_LLVM_VERSION (7,0)
  8103. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  8104. | #define STDC_HEADERS 1
  8105. | #define HAVE_CTYPE_H 1
  8106. | #define HAVE_DIRENT_H 1
  8107. | #define HAVE_DLFCN_H 1
  8108. | #define HAVE_ERRNO_H 1
  8109. | #define HAVE_FCNTL_H 1
  8110. | #define HAVE_GRP_H 1
  8111. | #define HAVE_LIMITS_H 1
  8112. | #define HAVE_LOCALE_H 1
  8113. | #define HAVE_NLIST_H 1
  8114. | #define HAVE_PTHREAD_H 1
  8115. | #define HAVE_PWD_H 1
  8116. | #define HAVE_SIGNAL_H 1
  8117. | #define HAVE_SYS_PARAM_H 1
  8118. | #define HAVE_SYS_MMAN_H 1
  8119. | #define HAVE_SYS_RESOURCE_H 1
  8120. | #define HAVE_SYS_SELECT_H 1
  8121. | #define HAVE_SYS_TIME_H 1
  8122. | #define HAVE_SYS_TIMEB_H 1
  8123. | #define HAVE_SYS_TIMERFD_H 1
  8124. | #define HAVE_SYS_TIMES_H 1
  8125. | #define HAVE_SYS_UTSNAME_H 1
  8126. | #define HAVE_SYS_WAIT_H 1
  8127. | #define HAVE_TERMIOS_H 1
  8128. | #define HAVE_TIME_H 1
  8129. | #define HAVE_UTIME_H 1
  8130. | #define HAVE_SCHED_H 1
  8131. | #define TIME_WITH_SYS_TIME 1
  8132. | #define HAVE_LONG_LONG 1
  8133. | #define SIZEOF_CHAR 1
  8134. | #define ALIGNMENT_CHAR 1
  8135. | #define SIZEOF_DOUBLE 8
  8136. | #define ALIGNMENT_DOUBLE 8
  8137. | #define SIZEOF_FLOAT 4
  8138. | #define ALIGNMENT_FLOAT 4
  8139. | #define SIZEOF_INT 4
  8140. | #define ALIGNMENT_INT 4
  8141. | #define SIZEOF_LONG 8
  8142. | #define ALIGNMENT_LONG 8
  8143. | #define SIZEOF_LONG_LONG 8
  8144. | #define ALIGNMENT_LONG_LONG 8
  8145. | #define SIZEOF_SHORT 2
  8146. | #define ALIGNMENT_SHORT 2
  8147. | #define SIZEOF_UNSIGNED_CHAR 1
  8148. | #define ALIGNMENT_UNSIGNED_CHAR 1
  8149. | #define SIZEOF_UNSIGNED_INT 4
  8150. | /* end confdefs.h. */
  8151. | #include <stdio.h>
  8152. | #ifdef HAVE_SYS_TYPES_H
  8153. | # include <sys/types.h>
  8154. | #endif
  8155. | #ifdef HAVE_SYS_STAT_H
  8156. | # include <sys/stat.h>
  8157. | #endif
  8158. | #ifdef STDC_HEADERS
  8159. | # include <stdlib.h>
  8160. | # include <stddef.h>
  8161. | #else
  8162. | # ifdef HAVE_STDLIB_H
  8163. | # include <stdlib.h>
  8164. | # endif
  8165. | #endif
  8166. | #ifdef HAVE_STRING_H
  8167. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8168. | # include <memory.h>
  8169. | # endif
  8170. | # include <string.h>
  8171. | #endif
  8172. | #ifdef HAVE_STRINGS_H
  8173. | # include <strings.h>
  8174. | #endif
  8175. | #ifdef HAVE_INTTYPES_H
  8176. | # include <inttypes.h>
  8177. | #endif
  8178. | #ifdef HAVE_STDINT_H
  8179. | # include <stdint.h>
  8180. | #endif
  8181. | #ifdef HAVE_UNISTD_H
  8182. | # include <unistd.h>
  8183. | #endif
  8184. | int
  8185. | main ()
  8186. | {
  8187. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned int ty; },ty)) <= 3)];
  8188. | test_array [0] = 0;
  8189. | return test_array [0];
  8190. |
  8191. | ;
  8192. | return 0;
  8193. | }
  8194. configure:12464: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8195. configure:12464: $? = 0
  8196. configure:12464: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8197. configure:12464: $? = 0
  8198. configure:12464: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8199. configure:12464: $? = 0
  8200. configure:12476: result: 4
  8201. configure:12487: checking size of unsigned long
  8202. configure:12492: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8203. configure:12492: $? = 0
  8204. configure:12492: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8205. conftest.c: In function 'main':
  8206. conftest.c:109:12: error: size of array 'test_array' is negative
  8207. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 0)];
  8208. ^~~~~~~~~~
  8209. configure:12492: $? = 1
  8210. configure: failed program was:
  8211. | /* confdefs.h */
  8212. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  8213. | #define PACKAGE_TARNAME "ghc-8.7"
  8214. | #define PACKAGE_VERSION "8.7"
  8215. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  8216. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  8217. | #define PACKAGE_URL ""
  8218. | #define STDC_HEADERS 1
  8219. | #define HAVE_SYS_TYPES_H 1
  8220. | #define HAVE_SYS_STAT_H 1
  8221. | #define HAVE_STDLIB_H 1
  8222. | #define HAVE_STRING_H 1
  8223. | #define HAVE_MEMORY_H 1
  8224. | #define HAVE_STRINGS_H 1
  8225. | #define HAVE_INTTYPES_H 1
  8226. | #define HAVE_STDINT_H 1
  8227. | #define HAVE_UNISTD_H 1
  8228. | #define __EXTENSIONS__ 1
  8229. | #define _ALL_SOURCE 1
  8230. | #define _GNU_SOURCE 1
  8231. | #define _POSIX_PTHREAD_SEMANTICS 1
  8232. | #define _TANDEM_SOURCE 1
  8233. | #define sUPPORTED_LLVM_VERSION (7,0)
  8234. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  8235. | #define STDC_HEADERS 1
  8236. | #define HAVE_CTYPE_H 1
  8237. | #define HAVE_DIRENT_H 1
  8238. | #define HAVE_DLFCN_H 1
  8239. | #define HAVE_ERRNO_H 1
  8240. | #define HAVE_FCNTL_H 1
  8241. | #define HAVE_GRP_H 1
  8242. | #define HAVE_LIMITS_H 1
  8243. | #define HAVE_LOCALE_H 1
  8244. | #define HAVE_NLIST_H 1
  8245. | #define HAVE_PTHREAD_H 1
  8246. | #define HAVE_PWD_H 1
  8247. | #define HAVE_SIGNAL_H 1
  8248. | #define HAVE_SYS_PARAM_H 1
  8249. | #define HAVE_SYS_MMAN_H 1
  8250. | #define HAVE_SYS_RESOURCE_H 1
  8251. | #define HAVE_SYS_SELECT_H 1
  8252. | #define HAVE_SYS_TIME_H 1
  8253. | #define HAVE_SYS_TIMEB_H 1
  8254. | #define HAVE_SYS_TIMERFD_H 1
  8255. | #define HAVE_SYS_TIMES_H 1
  8256. | #define HAVE_SYS_UTSNAME_H 1
  8257. | #define HAVE_SYS_WAIT_H 1
  8258. | #define HAVE_TERMIOS_H 1
  8259. | #define HAVE_TIME_H 1
  8260. | #define HAVE_UTIME_H 1
  8261. | #define HAVE_SCHED_H 1
  8262. | #define TIME_WITH_SYS_TIME 1
  8263. | #define HAVE_LONG_LONG 1
  8264. | #define SIZEOF_CHAR 1
  8265. | #define ALIGNMENT_CHAR 1
  8266. | #define SIZEOF_DOUBLE 8
  8267. | #define ALIGNMENT_DOUBLE 8
  8268. | #define SIZEOF_FLOAT 4
  8269. | #define ALIGNMENT_FLOAT 4
  8270. | #define SIZEOF_INT 4
  8271. | #define ALIGNMENT_INT 4
  8272. | #define SIZEOF_LONG 8
  8273. | #define ALIGNMENT_LONG 8
  8274. | #define SIZEOF_LONG_LONG 8
  8275. | #define ALIGNMENT_LONG_LONG 8
  8276. | #define SIZEOF_SHORT 2
  8277. | #define ALIGNMENT_SHORT 2
  8278. | #define SIZEOF_UNSIGNED_CHAR 1
  8279. | #define ALIGNMENT_UNSIGNED_CHAR 1
  8280. | #define SIZEOF_UNSIGNED_INT 4
  8281. | #define ALIGNMENT_UNSIGNED_INT 4
  8282. | /* end confdefs.h. */
  8283. | #include <stdio.h>
  8284. | #ifdef HAVE_SYS_TYPES_H
  8285. | # include <sys/types.h>
  8286. | #endif
  8287. | #ifdef HAVE_SYS_STAT_H
  8288. | # include <sys/stat.h>
  8289. | #endif
  8290. | #ifdef STDC_HEADERS
  8291. | # include <stdlib.h>
  8292. | # include <stddef.h>
  8293. | #else
  8294. | # ifdef HAVE_STDLIB_H
  8295. | # include <stdlib.h>
  8296. | # endif
  8297. | #endif
  8298. | #ifdef HAVE_STRING_H
  8299. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8300. | # include <memory.h>
  8301. | # endif
  8302. | # include <string.h>
  8303. | #endif
  8304. | #ifdef HAVE_STRINGS_H
  8305. | # include <strings.h>
  8306. | #endif
  8307. | #ifdef HAVE_INTTYPES_H
  8308. | # include <inttypes.h>
  8309. | #endif
  8310. | #ifdef HAVE_STDINT_H
  8311. | # include <stdint.h>
  8312. | #endif
  8313. | #ifdef HAVE_UNISTD_H
  8314. | # include <unistd.h>
  8315. | #endif
  8316. | int
  8317. | main ()
  8318. | {
  8319. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 0)];
  8320. | test_array [0] = 0;
  8321. | return test_array [0];
  8322. |
  8323. | ;
  8324. | return 0;
  8325. | }
  8326. configure:12492: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8327. conftest.c: In function 'main':
  8328. conftest.c:109:12: error: size of array 'test_array' is negative
  8329. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 1)];
  8330. ^~~~~~~~~~
  8331. configure:12492: $? = 1
  8332. configure: failed program was:
  8333. | /* confdefs.h */
  8334. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  8335. | #define PACKAGE_TARNAME "ghc-8.7"
  8336. | #define PACKAGE_VERSION "8.7"
  8337. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  8338. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  8339. | #define PACKAGE_URL ""
  8340. | #define STDC_HEADERS 1
  8341. | #define HAVE_SYS_TYPES_H 1
  8342. | #define HAVE_SYS_STAT_H 1
  8343. | #define HAVE_STDLIB_H 1
  8344. | #define HAVE_STRING_H 1
  8345. | #define HAVE_MEMORY_H 1
  8346. | #define HAVE_STRINGS_H 1
  8347. | #define HAVE_INTTYPES_H 1
  8348. | #define HAVE_STDINT_H 1
  8349. | #define HAVE_UNISTD_H 1
  8350. | #define __EXTENSIONS__ 1
  8351. | #define _ALL_SOURCE 1
  8352. | #define _GNU_SOURCE 1
  8353. | #define _POSIX_PTHREAD_SEMANTICS 1
  8354. | #define _TANDEM_SOURCE 1
  8355. | #define sUPPORTED_LLVM_VERSION (7,0)
  8356. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  8357. | #define STDC_HEADERS 1
  8358. | #define HAVE_CTYPE_H 1
  8359. | #define HAVE_DIRENT_H 1
  8360. | #define HAVE_DLFCN_H 1
  8361. | #define HAVE_ERRNO_H 1
  8362. | #define HAVE_FCNTL_H 1
  8363. | #define HAVE_GRP_H 1
  8364. | #define HAVE_LIMITS_H 1
  8365. | #define HAVE_LOCALE_H 1
  8366. | #define HAVE_NLIST_H 1
  8367. | #define HAVE_PTHREAD_H 1
  8368. | #define HAVE_PWD_H 1
  8369. | #define HAVE_SIGNAL_H 1
  8370. | #define HAVE_SYS_PARAM_H 1
  8371. | #define HAVE_SYS_MMAN_H 1
  8372. | #define HAVE_SYS_RESOURCE_H 1
  8373. | #define HAVE_SYS_SELECT_H 1
  8374. | #define HAVE_SYS_TIME_H 1
  8375. | #define HAVE_SYS_TIMEB_H 1
  8376. | #define HAVE_SYS_TIMERFD_H 1
  8377. | #define HAVE_SYS_TIMES_H 1
  8378. | #define HAVE_SYS_UTSNAME_H 1
  8379. | #define HAVE_SYS_WAIT_H 1
  8380. | #define HAVE_TERMIOS_H 1
  8381. | #define HAVE_TIME_H 1
  8382. | #define HAVE_UTIME_H 1
  8383. | #define HAVE_SCHED_H 1
  8384. | #define TIME_WITH_SYS_TIME 1
  8385. | #define HAVE_LONG_LONG 1
  8386. | #define SIZEOF_CHAR 1
  8387. | #define ALIGNMENT_CHAR 1
  8388. | #define SIZEOF_DOUBLE 8
  8389. | #define ALIGNMENT_DOUBLE 8
  8390. | #define SIZEOF_FLOAT 4
  8391. | #define ALIGNMENT_FLOAT 4
  8392. | #define SIZEOF_INT 4
  8393. | #define ALIGNMENT_INT 4
  8394. | #define SIZEOF_LONG 8
  8395. | #define ALIGNMENT_LONG 8
  8396. | #define SIZEOF_LONG_LONG 8
  8397. | #define ALIGNMENT_LONG_LONG 8
  8398. | #define SIZEOF_SHORT 2
  8399. | #define ALIGNMENT_SHORT 2
  8400. | #define SIZEOF_UNSIGNED_CHAR 1
  8401. | #define ALIGNMENT_UNSIGNED_CHAR 1
  8402. | #define SIZEOF_UNSIGNED_INT 4
  8403. | #define ALIGNMENT_UNSIGNED_INT 4
  8404. | /* end confdefs.h. */
  8405. | #include <stdio.h>
  8406. | #ifdef HAVE_SYS_TYPES_H
  8407. | # include <sys/types.h>
  8408. | #endif
  8409. | #ifdef HAVE_SYS_STAT_H
  8410. | # include <sys/stat.h>
  8411. | #endif
  8412. | #ifdef STDC_HEADERS
  8413. | # include <stdlib.h>
  8414. | # include <stddef.h>
  8415. | #else
  8416. | # ifdef HAVE_STDLIB_H
  8417. | # include <stdlib.h>
  8418. | # endif
  8419. | #endif
  8420. | #ifdef HAVE_STRING_H
  8421. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8422. | # include <memory.h>
  8423. | # endif
  8424. | # include <string.h>
  8425. | #endif
  8426. | #ifdef HAVE_STRINGS_H
  8427. | # include <strings.h>
  8428. | #endif
  8429. | #ifdef HAVE_INTTYPES_H
  8430. | # include <inttypes.h>
  8431. | #endif
  8432. | #ifdef HAVE_STDINT_H
  8433. | # include <stdint.h>
  8434. | #endif
  8435. | #ifdef HAVE_UNISTD_H
  8436. | # include <unistd.h>
  8437. | #endif
  8438. | int
  8439. | main ()
  8440. | {
  8441. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 1)];
  8442. | test_array [0] = 0;
  8443. | return test_array [0];
  8444. |
  8445. | ;
  8446. | return 0;
  8447. | }
  8448. configure:12492: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8449. conftest.c: In function 'main':
  8450. conftest.c:109:12: error: size of array 'test_array' is negative
  8451. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 3)];
  8452. ^~~~~~~~~~
  8453. configure:12492: $? = 1
  8454. configure: failed program was:
  8455. | /* confdefs.h */
  8456. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  8457. | #define PACKAGE_TARNAME "ghc-8.7"
  8458. | #define PACKAGE_VERSION "8.7"
  8459. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  8460. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  8461. | #define PACKAGE_URL ""
  8462. | #define STDC_HEADERS 1
  8463. | #define HAVE_SYS_TYPES_H 1
  8464. | #define HAVE_SYS_STAT_H 1
  8465. | #define HAVE_STDLIB_H 1
  8466. | #define HAVE_STRING_H 1
  8467. | #define HAVE_MEMORY_H 1
  8468. | #define HAVE_STRINGS_H 1
  8469. | #define HAVE_INTTYPES_H 1
  8470. | #define HAVE_STDINT_H 1
  8471. | #define HAVE_UNISTD_H 1
  8472. | #define __EXTENSIONS__ 1
  8473. | #define _ALL_SOURCE 1
  8474. | #define _GNU_SOURCE 1
  8475. | #define _POSIX_PTHREAD_SEMANTICS 1
  8476. | #define _TANDEM_SOURCE 1
  8477. | #define sUPPORTED_LLVM_VERSION (7,0)
  8478. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  8479. | #define STDC_HEADERS 1
  8480. | #define HAVE_CTYPE_H 1
  8481. | #define HAVE_DIRENT_H 1
  8482. | #define HAVE_DLFCN_H 1
  8483. | #define HAVE_ERRNO_H 1
  8484. | #define HAVE_FCNTL_H 1
  8485. | #define HAVE_GRP_H 1
  8486. | #define HAVE_LIMITS_H 1
  8487. | #define HAVE_LOCALE_H 1
  8488. | #define HAVE_NLIST_H 1
  8489. | #define HAVE_PTHREAD_H 1
  8490. | #define HAVE_PWD_H 1
  8491. | #define HAVE_SIGNAL_H 1
  8492. | #define HAVE_SYS_PARAM_H 1
  8493. | #define HAVE_SYS_MMAN_H 1
  8494. | #define HAVE_SYS_RESOURCE_H 1
  8495. | #define HAVE_SYS_SELECT_H 1
  8496. | #define HAVE_SYS_TIME_H 1
  8497. | #define HAVE_SYS_TIMEB_H 1
  8498. | #define HAVE_SYS_TIMERFD_H 1
  8499. | #define HAVE_SYS_TIMES_H 1
  8500. | #define HAVE_SYS_UTSNAME_H 1
  8501. | #define HAVE_SYS_WAIT_H 1
  8502. | #define HAVE_TERMIOS_H 1
  8503. | #define HAVE_TIME_H 1
  8504. | #define HAVE_UTIME_H 1
  8505. | #define HAVE_SCHED_H 1
  8506. | #define TIME_WITH_SYS_TIME 1
  8507. | #define HAVE_LONG_LONG 1
  8508. | #define SIZEOF_CHAR 1
  8509. | #define ALIGNMENT_CHAR 1
  8510. | #define SIZEOF_DOUBLE 8
  8511. | #define ALIGNMENT_DOUBLE 8
  8512. | #define SIZEOF_FLOAT 4
  8513. | #define ALIGNMENT_FLOAT 4
  8514. | #define SIZEOF_INT 4
  8515. | #define ALIGNMENT_INT 4
  8516. | #define SIZEOF_LONG 8
  8517. | #define ALIGNMENT_LONG 8
  8518. | #define SIZEOF_LONG_LONG 8
  8519. | #define ALIGNMENT_LONG_LONG 8
  8520. | #define SIZEOF_SHORT 2
  8521. | #define ALIGNMENT_SHORT 2
  8522. | #define SIZEOF_UNSIGNED_CHAR 1
  8523. | #define ALIGNMENT_UNSIGNED_CHAR 1
  8524. | #define SIZEOF_UNSIGNED_INT 4
  8525. | #define ALIGNMENT_UNSIGNED_INT 4
  8526. | /* end confdefs.h. */
  8527. | #include <stdio.h>
  8528. | #ifdef HAVE_SYS_TYPES_H
  8529. | # include <sys/types.h>
  8530. | #endif
  8531. | #ifdef HAVE_SYS_STAT_H
  8532. | # include <sys/stat.h>
  8533. | #endif
  8534. | #ifdef STDC_HEADERS
  8535. | # include <stdlib.h>
  8536. | # include <stddef.h>
  8537. | #else
  8538. | # ifdef HAVE_STDLIB_H
  8539. | # include <stdlib.h>
  8540. | # endif
  8541. | #endif
  8542. | #ifdef HAVE_STRING_H
  8543. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8544. | # include <memory.h>
  8545. | # endif
  8546. | # include <string.h>
  8547. | #endif
  8548. | #ifdef HAVE_STRINGS_H
  8549. | # include <strings.h>
  8550. | #endif
  8551. | #ifdef HAVE_INTTYPES_H
  8552. | # include <inttypes.h>
  8553. | #endif
  8554. | #ifdef HAVE_STDINT_H
  8555. | # include <stdint.h>
  8556. | #endif
  8557. | #ifdef HAVE_UNISTD_H
  8558. | # include <unistd.h>
  8559. | #endif
  8560. | int
  8561. | main ()
  8562. | {
  8563. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 3)];
  8564. | test_array [0] = 0;
  8565. | return test_array [0];
  8566. |
  8567. | ;
  8568. | return 0;
  8569. | }
  8570. configure:12492: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8571. conftest.c: In function 'main':
  8572. conftest.c:109:12: error: size of array 'test_array' is negative
  8573. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 7)];
  8574. ^~~~~~~~~~
  8575. configure:12492: $? = 1
  8576. configure: failed program was:
  8577. | /* confdefs.h */
  8578. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  8579. | #define PACKAGE_TARNAME "ghc-8.7"
  8580. | #define PACKAGE_VERSION "8.7"
  8581. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  8582. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  8583. | #define PACKAGE_URL ""
  8584. | #define STDC_HEADERS 1
  8585. | #define HAVE_SYS_TYPES_H 1
  8586. | #define HAVE_SYS_STAT_H 1
  8587. | #define HAVE_STDLIB_H 1
  8588. | #define HAVE_STRING_H 1
  8589. | #define HAVE_MEMORY_H 1
  8590. | #define HAVE_STRINGS_H 1
  8591. | #define HAVE_INTTYPES_H 1
  8592. | #define HAVE_STDINT_H 1
  8593. | #define HAVE_UNISTD_H 1
  8594. | #define __EXTENSIONS__ 1
  8595. | #define _ALL_SOURCE 1
  8596. | #define _GNU_SOURCE 1
  8597. | #define _POSIX_PTHREAD_SEMANTICS 1
  8598. | #define _TANDEM_SOURCE 1
  8599. | #define sUPPORTED_LLVM_VERSION (7,0)
  8600. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  8601. | #define STDC_HEADERS 1
  8602. | #define HAVE_CTYPE_H 1
  8603. | #define HAVE_DIRENT_H 1
  8604. | #define HAVE_DLFCN_H 1
  8605. | #define HAVE_ERRNO_H 1
  8606. | #define HAVE_FCNTL_H 1
  8607. | #define HAVE_GRP_H 1
  8608. | #define HAVE_LIMITS_H 1
  8609. | #define HAVE_LOCALE_H 1
  8610. | #define HAVE_NLIST_H 1
  8611. | #define HAVE_PTHREAD_H 1
  8612. | #define HAVE_PWD_H 1
  8613. | #define HAVE_SIGNAL_H 1
  8614. | #define HAVE_SYS_PARAM_H 1
  8615. | #define HAVE_SYS_MMAN_H 1
  8616. | #define HAVE_SYS_RESOURCE_H 1
  8617. | #define HAVE_SYS_SELECT_H 1
  8618. | #define HAVE_SYS_TIME_H 1
  8619. | #define HAVE_SYS_TIMEB_H 1
  8620. | #define HAVE_SYS_TIMERFD_H 1
  8621. | #define HAVE_SYS_TIMES_H 1
  8622. | #define HAVE_SYS_UTSNAME_H 1
  8623. | #define HAVE_SYS_WAIT_H 1
  8624. | #define HAVE_TERMIOS_H 1
  8625. | #define HAVE_TIME_H 1
  8626. | #define HAVE_UTIME_H 1
  8627. | #define HAVE_SCHED_H 1
  8628. | #define TIME_WITH_SYS_TIME 1
  8629. | #define HAVE_LONG_LONG 1
  8630. | #define SIZEOF_CHAR 1
  8631. | #define ALIGNMENT_CHAR 1
  8632. | #define SIZEOF_DOUBLE 8
  8633. | #define ALIGNMENT_DOUBLE 8
  8634. | #define SIZEOF_FLOAT 4
  8635. | #define ALIGNMENT_FLOAT 4
  8636. | #define SIZEOF_INT 4
  8637. | #define ALIGNMENT_INT 4
  8638. | #define SIZEOF_LONG 8
  8639. | #define ALIGNMENT_LONG 8
  8640. | #define SIZEOF_LONG_LONG 8
  8641. | #define ALIGNMENT_LONG_LONG 8
  8642. | #define SIZEOF_SHORT 2
  8643. | #define ALIGNMENT_SHORT 2
  8644. | #define SIZEOF_UNSIGNED_CHAR 1
  8645. | #define ALIGNMENT_UNSIGNED_CHAR 1
  8646. | #define SIZEOF_UNSIGNED_INT 4
  8647. | #define ALIGNMENT_UNSIGNED_INT 4
  8648. | /* end confdefs.h. */
  8649. | #include <stdio.h>
  8650. | #ifdef HAVE_SYS_TYPES_H
  8651. | # include <sys/types.h>
  8652. | #endif
  8653. | #ifdef HAVE_SYS_STAT_H
  8654. | # include <sys/stat.h>
  8655. | #endif
  8656. | #ifdef STDC_HEADERS
  8657. | # include <stdlib.h>
  8658. | # include <stddef.h>
  8659. | #else
  8660. | # ifdef HAVE_STDLIB_H
  8661. | # include <stdlib.h>
  8662. | # endif
  8663. | #endif
  8664. | #ifdef HAVE_STRING_H
  8665. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8666. | # include <memory.h>
  8667. | # endif
  8668. | # include <string.h>
  8669. | #endif
  8670. | #ifdef HAVE_STRINGS_H
  8671. | # include <strings.h>
  8672. | #endif
  8673. | #ifdef HAVE_INTTYPES_H
  8674. | # include <inttypes.h>
  8675. | #endif
  8676. | #ifdef HAVE_STDINT_H
  8677. | # include <stdint.h>
  8678. | #endif
  8679. | #ifdef HAVE_UNISTD_H
  8680. | # include <unistd.h>
  8681. | #endif
  8682. | int
  8683. | main ()
  8684. | {
  8685. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 7)];
  8686. | test_array [0] = 0;
  8687. | return test_array [0];
  8688. |
  8689. | ;
  8690. | return 0;
  8691. | }
  8692. configure:12492: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8693. configure:12492: $? = 0
  8694. configure:12492: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8695. configure:12492: $? = 0
  8696. configure:12492: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8697. configure:12492: $? = 0
  8698. configure:12492: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8699. configure:12492: $? = 0
  8700. configure:12506: result: 8
  8701. configure:12516: checking for unsigned long
  8702. configure:12516: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8703. configure:12516: $? = 0
  8704. configure:12516: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8705. conftest.c: In function 'main':
  8706. conftest.c:110:28: error: expected expression before ')' token
  8707. if (sizeof ((unsigned long)))
  8708. ^
  8709. configure:12516: $? = 1
  8710. configure: failed program was:
  8711. | /* confdefs.h */
  8712. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  8713. | #define PACKAGE_TARNAME "ghc-8.7"
  8714. | #define PACKAGE_VERSION "8.7"
  8715. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  8716. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  8717. | #define PACKAGE_URL ""
  8718. | #define STDC_HEADERS 1
  8719. | #define HAVE_SYS_TYPES_H 1
  8720. | #define HAVE_SYS_STAT_H 1
  8721. | #define HAVE_STDLIB_H 1
  8722. | #define HAVE_STRING_H 1
  8723. | #define HAVE_MEMORY_H 1
  8724. | #define HAVE_STRINGS_H 1
  8725. | #define HAVE_INTTYPES_H 1
  8726. | #define HAVE_STDINT_H 1
  8727. | #define HAVE_UNISTD_H 1
  8728. | #define __EXTENSIONS__ 1
  8729. | #define _ALL_SOURCE 1
  8730. | #define _GNU_SOURCE 1
  8731. | #define _POSIX_PTHREAD_SEMANTICS 1
  8732. | #define _TANDEM_SOURCE 1
  8733. | #define sUPPORTED_LLVM_VERSION (7,0)
  8734. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  8735. | #define STDC_HEADERS 1
  8736. | #define HAVE_CTYPE_H 1
  8737. | #define HAVE_DIRENT_H 1
  8738. | #define HAVE_DLFCN_H 1
  8739. | #define HAVE_ERRNO_H 1
  8740. | #define HAVE_FCNTL_H 1
  8741. | #define HAVE_GRP_H 1
  8742. | #define HAVE_LIMITS_H 1
  8743. | #define HAVE_LOCALE_H 1
  8744. | #define HAVE_NLIST_H 1
  8745. | #define HAVE_PTHREAD_H 1
  8746. | #define HAVE_PWD_H 1
  8747. | #define HAVE_SIGNAL_H 1
  8748. | #define HAVE_SYS_PARAM_H 1
  8749. | #define HAVE_SYS_MMAN_H 1
  8750. | #define HAVE_SYS_RESOURCE_H 1
  8751. | #define HAVE_SYS_SELECT_H 1
  8752. | #define HAVE_SYS_TIME_H 1
  8753. | #define HAVE_SYS_TIMEB_H 1
  8754. | #define HAVE_SYS_TIMERFD_H 1
  8755. | #define HAVE_SYS_TIMES_H 1
  8756. | #define HAVE_SYS_UTSNAME_H 1
  8757. | #define HAVE_SYS_WAIT_H 1
  8758. | #define HAVE_TERMIOS_H 1
  8759. | #define HAVE_TIME_H 1
  8760. | #define HAVE_UTIME_H 1
  8761. | #define HAVE_SCHED_H 1
  8762. | #define TIME_WITH_SYS_TIME 1
  8763. | #define HAVE_LONG_LONG 1
  8764. | #define SIZEOF_CHAR 1
  8765. | #define ALIGNMENT_CHAR 1
  8766. | #define SIZEOF_DOUBLE 8
  8767. | #define ALIGNMENT_DOUBLE 8
  8768. | #define SIZEOF_FLOAT 4
  8769. | #define ALIGNMENT_FLOAT 4
  8770. | #define SIZEOF_INT 4
  8771. | #define ALIGNMENT_INT 4
  8772. | #define SIZEOF_LONG 8
  8773. | #define ALIGNMENT_LONG 8
  8774. | #define SIZEOF_LONG_LONG 8
  8775. | #define ALIGNMENT_LONG_LONG 8
  8776. | #define SIZEOF_SHORT 2
  8777. | #define ALIGNMENT_SHORT 2
  8778. | #define SIZEOF_UNSIGNED_CHAR 1
  8779. | #define ALIGNMENT_UNSIGNED_CHAR 1
  8780. | #define SIZEOF_UNSIGNED_INT 4
  8781. | #define ALIGNMENT_UNSIGNED_INT 4
  8782. | #define SIZEOF_UNSIGNED_LONG 8
  8783. | /* end confdefs.h. */
  8784. | #include <stdio.h>
  8785. | #ifdef HAVE_SYS_TYPES_H
  8786. | # include <sys/types.h>
  8787. | #endif
  8788. | #ifdef HAVE_SYS_STAT_H
  8789. | # include <sys/stat.h>
  8790. | #endif
  8791. | #ifdef STDC_HEADERS
  8792. | # include <stdlib.h>
  8793. | # include <stddef.h>
  8794. | #else
  8795. | # ifdef HAVE_STDLIB_H
  8796. | # include <stdlib.h>
  8797. | # endif
  8798. | #endif
  8799. | #ifdef HAVE_STRING_H
  8800. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8801. | # include <memory.h>
  8802. | # endif
  8803. | # include <string.h>
  8804. | #endif
  8805. | #ifdef HAVE_STRINGS_H
  8806. | # include <strings.h>
  8807. | #endif
  8808. | #ifdef HAVE_INTTYPES_H
  8809. | # include <inttypes.h>
  8810. | #endif
  8811. | #ifdef HAVE_STDINT_H
  8812. | # include <stdint.h>
  8813. | #endif
  8814. | #ifdef HAVE_UNISTD_H
  8815. | # include <unistd.h>
  8816. | #endif
  8817. | int
  8818. | main ()
  8819. | {
  8820. | if (sizeof ((unsigned long)))
  8821. | return 0;
  8822. | ;
  8823. | return 0;
  8824. | }
  8825. configure:12516: result: yes
  8826. configure:12520: checking alignment of unsigned long
  8827. configure:12526: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8828. configure:12526: $? = 0
  8829. configure:12526: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8830. conftest.c: In function 'main':
  8831. conftest.c:110:12: error: size of array 'test_array' is negative
  8832. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long ty; },ty)) <= 0)];
  8833. ^~~~~~~~~~
  8834. configure:12526: $? = 1
  8835. configure: failed program was:
  8836. | /* confdefs.h */
  8837. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  8838. | #define PACKAGE_TARNAME "ghc-8.7"
  8839. | #define PACKAGE_VERSION "8.7"
  8840. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  8841. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  8842. | #define PACKAGE_URL ""
  8843. | #define STDC_HEADERS 1
  8844. | #define HAVE_SYS_TYPES_H 1
  8845. | #define HAVE_SYS_STAT_H 1
  8846. | #define HAVE_STDLIB_H 1
  8847. | #define HAVE_STRING_H 1
  8848. | #define HAVE_MEMORY_H 1
  8849. | #define HAVE_STRINGS_H 1
  8850. | #define HAVE_INTTYPES_H 1
  8851. | #define HAVE_STDINT_H 1
  8852. | #define HAVE_UNISTD_H 1
  8853. | #define __EXTENSIONS__ 1
  8854. | #define _ALL_SOURCE 1
  8855. | #define _GNU_SOURCE 1
  8856. | #define _POSIX_PTHREAD_SEMANTICS 1
  8857. | #define _TANDEM_SOURCE 1
  8858. | #define sUPPORTED_LLVM_VERSION (7,0)
  8859. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  8860. | #define STDC_HEADERS 1
  8861. | #define HAVE_CTYPE_H 1
  8862. | #define HAVE_DIRENT_H 1
  8863. | #define HAVE_DLFCN_H 1
  8864. | #define HAVE_ERRNO_H 1
  8865. | #define HAVE_FCNTL_H 1
  8866. | #define HAVE_GRP_H 1
  8867. | #define HAVE_LIMITS_H 1
  8868. | #define HAVE_LOCALE_H 1
  8869. | #define HAVE_NLIST_H 1
  8870. | #define HAVE_PTHREAD_H 1
  8871. | #define HAVE_PWD_H 1
  8872. | #define HAVE_SIGNAL_H 1
  8873. | #define HAVE_SYS_PARAM_H 1
  8874. | #define HAVE_SYS_MMAN_H 1
  8875. | #define HAVE_SYS_RESOURCE_H 1
  8876. | #define HAVE_SYS_SELECT_H 1
  8877. | #define HAVE_SYS_TIME_H 1
  8878. | #define HAVE_SYS_TIMEB_H 1
  8879. | #define HAVE_SYS_TIMERFD_H 1
  8880. | #define HAVE_SYS_TIMES_H 1
  8881. | #define HAVE_SYS_UTSNAME_H 1
  8882. | #define HAVE_SYS_WAIT_H 1
  8883. | #define HAVE_TERMIOS_H 1
  8884. | #define HAVE_TIME_H 1
  8885. | #define HAVE_UTIME_H 1
  8886. | #define HAVE_SCHED_H 1
  8887. | #define TIME_WITH_SYS_TIME 1
  8888. | #define HAVE_LONG_LONG 1
  8889. | #define SIZEOF_CHAR 1
  8890. | #define ALIGNMENT_CHAR 1
  8891. | #define SIZEOF_DOUBLE 8
  8892. | #define ALIGNMENT_DOUBLE 8
  8893. | #define SIZEOF_FLOAT 4
  8894. | #define ALIGNMENT_FLOAT 4
  8895. | #define SIZEOF_INT 4
  8896. | #define ALIGNMENT_INT 4
  8897. | #define SIZEOF_LONG 8
  8898. | #define ALIGNMENT_LONG 8
  8899. | #define SIZEOF_LONG_LONG 8
  8900. | #define ALIGNMENT_LONG_LONG 8
  8901. | #define SIZEOF_SHORT 2
  8902. | #define ALIGNMENT_SHORT 2
  8903. | #define SIZEOF_UNSIGNED_CHAR 1
  8904. | #define ALIGNMENT_UNSIGNED_CHAR 1
  8905. | #define SIZEOF_UNSIGNED_INT 4
  8906. | #define ALIGNMENT_UNSIGNED_INT 4
  8907. | #define SIZEOF_UNSIGNED_LONG 8
  8908. | /* end confdefs.h. */
  8909. | #include <stdio.h>
  8910. | #ifdef HAVE_SYS_TYPES_H
  8911. | # include <sys/types.h>
  8912. | #endif
  8913. | #ifdef HAVE_SYS_STAT_H
  8914. | # include <sys/stat.h>
  8915. | #endif
  8916. | #ifdef STDC_HEADERS
  8917. | # include <stdlib.h>
  8918. | # include <stddef.h>
  8919. | #else
  8920. | # ifdef HAVE_STDLIB_H
  8921. | # include <stdlib.h>
  8922. | # endif
  8923. | #endif
  8924. | #ifdef HAVE_STRING_H
  8925. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8926. | # include <memory.h>
  8927. | # endif
  8928. | # include <string.h>
  8929. | #endif
  8930. | #ifdef HAVE_STRINGS_H
  8931. | # include <strings.h>
  8932. | #endif
  8933. | #ifdef HAVE_INTTYPES_H
  8934. | # include <inttypes.h>
  8935. | #endif
  8936. | #ifdef HAVE_STDINT_H
  8937. | # include <stdint.h>
  8938. | #endif
  8939. | #ifdef HAVE_UNISTD_H
  8940. | # include <unistd.h>
  8941. | #endif
  8942. | int
  8943. | main ()
  8944. | {
  8945. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long ty; },ty)) <= 0)];
  8946. | test_array [0] = 0;
  8947. | return test_array [0];
  8948. |
  8949. | ;
  8950. | return 0;
  8951. | }
  8952. configure:12526: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  8953. conftest.c: In function 'main':
  8954. conftest.c:110:12: error: size of array 'test_array' is negative
  8955. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long ty; },ty)) <= 1)];
  8956. ^~~~~~~~~~
  8957. configure:12526: $? = 1
  8958. configure: failed program was:
  8959. | /* confdefs.h */
  8960. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  8961. | #define PACKAGE_TARNAME "ghc-8.7"
  8962. | #define PACKAGE_VERSION "8.7"
  8963. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  8964. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  8965. | #define PACKAGE_URL ""
  8966. | #define STDC_HEADERS 1
  8967. | #define HAVE_SYS_TYPES_H 1
  8968. | #define HAVE_SYS_STAT_H 1
  8969. | #define HAVE_STDLIB_H 1
  8970. | #define HAVE_STRING_H 1
  8971. | #define HAVE_MEMORY_H 1
  8972. | #define HAVE_STRINGS_H 1
  8973. | #define HAVE_INTTYPES_H 1
  8974. | #define HAVE_STDINT_H 1
  8975. | #define HAVE_UNISTD_H 1
  8976. | #define __EXTENSIONS__ 1
  8977. | #define _ALL_SOURCE 1
  8978. | #define _GNU_SOURCE 1
  8979. | #define _POSIX_PTHREAD_SEMANTICS 1
  8980. | #define _TANDEM_SOURCE 1
  8981. | #define sUPPORTED_LLVM_VERSION (7,0)
  8982. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  8983. | #define STDC_HEADERS 1
  8984. | #define HAVE_CTYPE_H 1
  8985. | #define HAVE_DIRENT_H 1
  8986. | #define HAVE_DLFCN_H 1
  8987. | #define HAVE_ERRNO_H 1
  8988. | #define HAVE_FCNTL_H 1
  8989. | #define HAVE_GRP_H 1
  8990. | #define HAVE_LIMITS_H 1
  8991. | #define HAVE_LOCALE_H 1
  8992. | #define HAVE_NLIST_H 1
  8993. | #define HAVE_PTHREAD_H 1
  8994. | #define HAVE_PWD_H 1
  8995. | #define HAVE_SIGNAL_H 1
  8996. | #define HAVE_SYS_PARAM_H 1
  8997. | #define HAVE_SYS_MMAN_H 1
  8998. | #define HAVE_SYS_RESOURCE_H 1
  8999. | #define HAVE_SYS_SELECT_H 1
  9000. | #define HAVE_SYS_TIME_H 1
  9001. | #define HAVE_SYS_TIMEB_H 1
  9002. | #define HAVE_SYS_TIMERFD_H 1
  9003. | #define HAVE_SYS_TIMES_H 1
  9004. | #define HAVE_SYS_UTSNAME_H 1
  9005. | #define HAVE_SYS_WAIT_H 1
  9006. | #define HAVE_TERMIOS_H 1
  9007. | #define HAVE_TIME_H 1
  9008. | #define HAVE_UTIME_H 1
  9009. | #define HAVE_SCHED_H 1
  9010. | #define TIME_WITH_SYS_TIME 1
  9011. | #define HAVE_LONG_LONG 1
  9012. | #define SIZEOF_CHAR 1
  9013. | #define ALIGNMENT_CHAR 1
  9014. | #define SIZEOF_DOUBLE 8
  9015. | #define ALIGNMENT_DOUBLE 8
  9016. | #define SIZEOF_FLOAT 4
  9017. | #define ALIGNMENT_FLOAT 4
  9018. | #define SIZEOF_INT 4
  9019. | #define ALIGNMENT_INT 4
  9020. | #define SIZEOF_LONG 8
  9021. | #define ALIGNMENT_LONG 8
  9022. | #define SIZEOF_LONG_LONG 8
  9023. | #define ALIGNMENT_LONG_LONG 8
  9024. | #define SIZEOF_SHORT 2
  9025. | #define ALIGNMENT_SHORT 2
  9026. | #define SIZEOF_UNSIGNED_CHAR 1
  9027. | #define ALIGNMENT_UNSIGNED_CHAR 1
  9028. | #define SIZEOF_UNSIGNED_INT 4
  9029. | #define ALIGNMENT_UNSIGNED_INT 4
  9030. | #define SIZEOF_UNSIGNED_LONG 8
  9031. | /* end confdefs.h. */
  9032. | #include <stdio.h>
  9033. | #ifdef HAVE_SYS_TYPES_H
  9034. | # include <sys/types.h>
  9035. | #endif
  9036. | #ifdef HAVE_SYS_STAT_H
  9037. | # include <sys/stat.h>
  9038. | #endif
  9039. | #ifdef STDC_HEADERS
  9040. | # include <stdlib.h>
  9041. | # include <stddef.h>
  9042. | #else
  9043. | # ifdef HAVE_STDLIB_H
  9044. | # include <stdlib.h>
  9045. | # endif
  9046. | #endif
  9047. | #ifdef HAVE_STRING_H
  9048. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9049. | # include <memory.h>
  9050. | # endif
  9051. | # include <string.h>
  9052. | #endif
  9053. | #ifdef HAVE_STRINGS_H
  9054. | # include <strings.h>
  9055. | #endif
  9056. | #ifdef HAVE_INTTYPES_H
  9057. | # include <inttypes.h>
  9058. | #endif
  9059. | #ifdef HAVE_STDINT_H
  9060. | # include <stdint.h>
  9061. | #endif
  9062. | #ifdef HAVE_UNISTD_H
  9063. | # include <unistd.h>
  9064. | #endif
  9065. | int
  9066. | main ()
  9067. | {
  9068. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long ty; },ty)) <= 1)];
  9069. | test_array [0] = 0;
  9070. | return test_array [0];
  9071. |
  9072. | ;
  9073. | return 0;
  9074. | }
  9075. configure:12526: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9076. conftest.c: In function 'main':
  9077. conftest.c:110:12: error: size of array 'test_array' is negative
  9078. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long ty; },ty)) <= 3)];
  9079. ^~~~~~~~~~
  9080. configure:12526: $? = 1
  9081. configure: failed program was:
  9082. | /* confdefs.h */
  9083. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  9084. | #define PACKAGE_TARNAME "ghc-8.7"
  9085. | #define PACKAGE_VERSION "8.7"
  9086. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  9087. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  9088. | #define PACKAGE_URL ""
  9089. | #define STDC_HEADERS 1
  9090. | #define HAVE_SYS_TYPES_H 1
  9091. | #define HAVE_SYS_STAT_H 1
  9092. | #define HAVE_STDLIB_H 1
  9093. | #define HAVE_STRING_H 1
  9094. | #define HAVE_MEMORY_H 1
  9095. | #define HAVE_STRINGS_H 1
  9096. | #define HAVE_INTTYPES_H 1
  9097. | #define HAVE_STDINT_H 1
  9098. | #define HAVE_UNISTD_H 1
  9099. | #define __EXTENSIONS__ 1
  9100. | #define _ALL_SOURCE 1
  9101. | #define _GNU_SOURCE 1
  9102. | #define _POSIX_PTHREAD_SEMANTICS 1
  9103. | #define _TANDEM_SOURCE 1
  9104. | #define sUPPORTED_LLVM_VERSION (7,0)
  9105. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  9106. | #define STDC_HEADERS 1
  9107. | #define HAVE_CTYPE_H 1
  9108. | #define HAVE_DIRENT_H 1
  9109. | #define HAVE_DLFCN_H 1
  9110. | #define HAVE_ERRNO_H 1
  9111. | #define HAVE_FCNTL_H 1
  9112. | #define HAVE_GRP_H 1
  9113. | #define HAVE_LIMITS_H 1
  9114. | #define HAVE_LOCALE_H 1
  9115. | #define HAVE_NLIST_H 1
  9116. | #define HAVE_PTHREAD_H 1
  9117. | #define HAVE_PWD_H 1
  9118. | #define HAVE_SIGNAL_H 1
  9119. | #define HAVE_SYS_PARAM_H 1
  9120. | #define HAVE_SYS_MMAN_H 1
  9121. | #define HAVE_SYS_RESOURCE_H 1
  9122. | #define HAVE_SYS_SELECT_H 1
  9123. | #define HAVE_SYS_TIME_H 1
  9124. | #define HAVE_SYS_TIMEB_H 1
  9125. | #define HAVE_SYS_TIMERFD_H 1
  9126. | #define HAVE_SYS_TIMES_H 1
  9127. | #define HAVE_SYS_UTSNAME_H 1
  9128. | #define HAVE_SYS_WAIT_H 1
  9129. | #define HAVE_TERMIOS_H 1
  9130. | #define HAVE_TIME_H 1
  9131. | #define HAVE_UTIME_H 1
  9132. | #define HAVE_SCHED_H 1
  9133. | #define TIME_WITH_SYS_TIME 1
  9134. | #define HAVE_LONG_LONG 1
  9135. | #define SIZEOF_CHAR 1
  9136. | #define ALIGNMENT_CHAR 1
  9137. | #define SIZEOF_DOUBLE 8
  9138. | #define ALIGNMENT_DOUBLE 8
  9139. | #define SIZEOF_FLOAT 4
  9140. | #define ALIGNMENT_FLOAT 4
  9141. | #define SIZEOF_INT 4
  9142. | #define ALIGNMENT_INT 4
  9143. | #define SIZEOF_LONG 8
  9144. | #define ALIGNMENT_LONG 8
  9145. | #define SIZEOF_LONG_LONG 8
  9146. | #define ALIGNMENT_LONG_LONG 8
  9147. | #define SIZEOF_SHORT 2
  9148. | #define ALIGNMENT_SHORT 2
  9149. | #define SIZEOF_UNSIGNED_CHAR 1
  9150. | #define ALIGNMENT_UNSIGNED_CHAR 1
  9151. | #define SIZEOF_UNSIGNED_INT 4
  9152. | #define ALIGNMENT_UNSIGNED_INT 4
  9153. | #define SIZEOF_UNSIGNED_LONG 8
  9154. | /* end confdefs.h. */
  9155. | #include <stdio.h>
  9156. | #ifdef HAVE_SYS_TYPES_H
  9157. | # include <sys/types.h>
  9158. | #endif
  9159. | #ifdef HAVE_SYS_STAT_H
  9160. | # include <sys/stat.h>
  9161. | #endif
  9162. | #ifdef STDC_HEADERS
  9163. | # include <stdlib.h>
  9164. | # include <stddef.h>
  9165. | #else
  9166. | # ifdef HAVE_STDLIB_H
  9167. | # include <stdlib.h>
  9168. | # endif
  9169. | #endif
  9170. | #ifdef HAVE_STRING_H
  9171. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9172. | # include <memory.h>
  9173. | # endif
  9174. | # include <string.h>
  9175. | #endif
  9176. | #ifdef HAVE_STRINGS_H
  9177. | # include <strings.h>
  9178. | #endif
  9179. | #ifdef HAVE_INTTYPES_H
  9180. | # include <inttypes.h>
  9181. | #endif
  9182. | #ifdef HAVE_STDINT_H
  9183. | # include <stdint.h>
  9184. | #endif
  9185. | #ifdef HAVE_UNISTD_H
  9186. | # include <unistd.h>
  9187. | #endif
  9188. | int
  9189. | main ()
  9190. | {
  9191. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long ty; },ty)) <= 3)];
  9192. | test_array [0] = 0;
  9193. | return test_array [0];
  9194. |
  9195. | ;
  9196. | return 0;
  9197. | }
  9198. configure:12526: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9199. conftest.c: In function 'main':
  9200. conftest.c:110:12: error: size of array 'test_array' is negative
  9201. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long ty; },ty)) <= 7)];
  9202. ^~~~~~~~~~
  9203. configure:12526: $? = 1
  9204. configure: failed program was:
  9205. | /* confdefs.h */
  9206. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  9207. | #define PACKAGE_TARNAME "ghc-8.7"
  9208. | #define PACKAGE_VERSION "8.7"
  9209. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  9210. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  9211. | #define PACKAGE_URL ""
  9212. | #define STDC_HEADERS 1
  9213. | #define HAVE_SYS_TYPES_H 1
  9214. | #define HAVE_SYS_STAT_H 1
  9215. | #define HAVE_STDLIB_H 1
  9216. | #define HAVE_STRING_H 1
  9217. | #define HAVE_MEMORY_H 1
  9218. | #define HAVE_STRINGS_H 1
  9219. | #define HAVE_INTTYPES_H 1
  9220. | #define HAVE_STDINT_H 1
  9221. | #define HAVE_UNISTD_H 1
  9222. | #define __EXTENSIONS__ 1
  9223. | #define _ALL_SOURCE 1
  9224. | #define _GNU_SOURCE 1
  9225. | #define _POSIX_PTHREAD_SEMANTICS 1
  9226. | #define _TANDEM_SOURCE 1
  9227. | #define sUPPORTED_LLVM_VERSION (7,0)
  9228. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  9229. | #define STDC_HEADERS 1
  9230. | #define HAVE_CTYPE_H 1
  9231. | #define HAVE_DIRENT_H 1
  9232. | #define HAVE_DLFCN_H 1
  9233. | #define HAVE_ERRNO_H 1
  9234. | #define HAVE_FCNTL_H 1
  9235. | #define HAVE_GRP_H 1
  9236. | #define HAVE_LIMITS_H 1
  9237. | #define HAVE_LOCALE_H 1
  9238. | #define HAVE_NLIST_H 1
  9239. | #define HAVE_PTHREAD_H 1
  9240. | #define HAVE_PWD_H 1
  9241. | #define HAVE_SIGNAL_H 1
  9242. | #define HAVE_SYS_PARAM_H 1
  9243. | #define HAVE_SYS_MMAN_H 1
  9244. | #define HAVE_SYS_RESOURCE_H 1
  9245. | #define HAVE_SYS_SELECT_H 1
  9246. | #define HAVE_SYS_TIME_H 1
  9247. | #define HAVE_SYS_TIMEB_H 1
  9248. | #define HAVE_SYS_TIMERFD_H 1
  9249. | #define HAVE_SYS_TIMES_H 1
  9250. | #define HAVE_SYS_UTSNAME_H 1
  9251. | #define HAVE_SYS_WAIT_H 1
  9252. | #define HAVE_TERMIOS_H 1
  9253. | #define HAVE_TIME_H 1
  9254. | #define HAVE_UTIME_H 1
  9255. | #define HAVE_SCHED_H 1
  9256. | #define TIME_WITH_SYS_TIME 1
  9257. | #define HAVE_LONG_LONG 1
  9258. | #define SIZEOF_CHAR 1
  9259. | #define ALIGNMENT_CHAR 1
  9260. | #define SIZEOF_DOUBLE 8
  9261. | #define ALIGNMENT_DOUBLE 8
  9262. | #define SIZEOF_FLOAT 4
  9263. | #define ALIGNMENT_FLOAT 4
  9264. | #define SIZEOF_INT 4
  9265. | #define ALIGNMENT_INT 4
  9266. | #define SIZEOF_LONG 8
  9267. | #define ALIGNMENT_LONG 8
  9268. | #define SIZEOF_LONG_LONG 8
  9269. | #define ALIGNMENT_LONG_LONG 8
  9270. | #define SIZEOF_SHORT 2
  9271. | #define ALIGNMENT_SHORT 2
  9272. | #define SIZEOF_UNSIGNED_CHAR 1
  9273. | #define ALIGNMENT_UNSIGNED_CHAR 1
  9274. | #define SIZEOF_UNSIGNED_INT 4
  9275. | #define ALIGNMENT_UNSIGNED_INT 4
  9276. | #define SIZEOF_UNSIGNED_LONG 8
  9277. | /* end confdefs.h. */
  9278. | #include <stdio.h>
  9279. | #ifdef HAVE_SYS_TYPES_H
  9280. | # include <sys/types.h>
  9281. | #endif
  9282. | #ifdef HAVE_SYS_STAT_H
  9283. | # include <sys/stat.h>
  9284. | #endif
  9285. | #ifdef STDC_HEADERS
  9286. | # include <stdlib.h>
  9287. | # include <stddef.h>
  9288. | #else
  9289. | # ifdef HAVE_STDLIB_H
  9290. | # include <stdlib.h>
  9291. | # endif
  9292. | #endif
  9293. | #ifdef HAVE_STRING_H
  9294. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9295. | # include <memory.h>
  9296. | # endif
  9297. | # include <string.h>
  9298. | #endif
  9299. | #ifdef HAVE_STRINGS_H
  9300. | # include <strings.h>
  9301. | #endif
  9302. | #ifdef HAVE_INTTYPES_H
  9303. | # include <inttypes.h>
  9304. | #endif
  9305. | #ifdef HAVE_STDINT_H
  9306. | # include <stdint.h>
  9307. | #endif
  9308. | #ifdef HAVE_UNISTD_H
  9309. | # include <unistd.h>
  9310. | #endif
  9311. | int
  9312. | main ()
  9313. | {
  9314. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long ty; },ty)) <= 7)];
  9315. | test_array [0] = 0;
  9316. | return test_array [0];
  9317. |
  9318. | ;
  9319. | return 0;
  9320. | }
  9321. configure:12526: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9322. configure:12526: $? = 0
  9323. configure:12526: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9324. configure:12526: $? = 0
  9325. configure:12526: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9326. configure:12526: $? = 0
  9327. configure:12526: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9328. configure:12526: $? = 0
  9329. configure:12538: result: 8
  9330. configure:12550: checking size of unsigned long long
  9331. configure:12555: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9332. configure:12555: $? = 0
  9333. configure:12555: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9334. conftest.c: In function 'main':
  9335. conftest.c:111:12: error: size of array 'test_array' is negative
  9336. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 0)];
  9337. ^~~~~~~~~~
  9338. configure:12555: $? = 1
  9339. configure: failed program was:
  9340. | /* confdefs.h */
  9341. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  9342. | #define PACKAGE_TARNAME "ghc-8.7"
  9343. | #define PACKAGE_VERSION "8.7"
  9344. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  9345. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  9346. | #define PACKAGE_URL ""
  9347. | #define STDC_HEADERS 1
  9348. | #define HAVE_SYS_TYPES_H 1
  9349. | #define HAVE_SYS_STAT_H 1
  9350. | #define HAVE_STDLIB_H 1
  9351. | #define HAVE_STRING_H 1
  9352. | #define HAVE_MEMORY_H 1
  9353. | #define HAVE_STRINGS_H 1
  9354. | #define HAVE_INTTYPES_H 1
  9355. | #define HAVE_STDINT_H 1
  9356. | #define HAVE_UNISTD_H 1
  9357. | #define __EXTENSIONS__ 1
  9358. | #define _ALL_SOURCE 1
  9359. | #define _GNU_SOURCE 1
  9360. | #define _POSIX_PTHREAD_SEMANTICS 1
  9361. | #define _TANDEM_SOURCE 1
  9362. | #define sUPPORTED_LLVM_VERSION (7,0)
  9363. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  9364. | #define STDC_HEADERS 1
  9365. | #define HAVE_CTYPE_H 1
  9366. | #define HAVE_DIRENT_H 1
  9367. | #define HAVE_DLFCN_H 1
  9368. | #define HAVE_ERRNO_H 1
  9369. | #define HAVE_FCNTL_H 1
  9370. | #define HAVE_GRP_H 1
  9371. | #define HAVE_LIMITS_H 1
  9372. | #define HAVE_LOCALE_H 1
  9373. | #define HAVE_NLIST_H 1
  9374. | #define HAVE_PTHREAD_H 1
  9375. | #define HAVE_PWD_H 1
  9376. | #define HAVE_SIGNAL_H 1
  9377. | #define HAVE_SYS_PARAM_H 1
  9378. | #define HAVE_SYS_MMAN_H 1
  9379. | #define HAVE_SYS_RESOURCE_H 1
  9380. | #define HAVE_SYS_SELECT_H 1
  9381. | #define HAVE_SYS_TIME_H 1
  9382. | #define HAVE_SYS_TIMEB_H 1
  9383. | #define HAVE_SYS_TIMERFD_H 1
  9384. | #define HAVE_SYS_TIMES_H 1
  9385. | #define HAVE_SYS_UTSNAME_H 1
  9386. | #define HAVE_SYS_WAIT_H 1
  9387. | #define HAVE_TERMIOS_H 1
  9388. | #define HAVE_TIME_H 1
  9389. | #define HAVE_UTIME_H 1
  9390. | #define HAVE_SCHED_H 1
  9391. | #define TIME_WITH_SYS_TIME 1
  9392. | #define HAVE_LONG_LONG 1
  9393. | #define SIZEOF_CHAR 1
  9394. | #define ALIGNMENT_CHAR 1
  9395. | #define SIZEOF_DOUBLE 8
  9396. | #define ALIGNMENT_DOUBLE 8
  9397. | #define SIZEOF_FLOAT 4
  9398. | #define ALIGNMENT_FLOAT 4
  9399. | #define SIZEOF_INT 4
  9400. | #define ALIGNMENT_INT 4
  9401. | #define SIZEOF_LONG 8
  9402. | #define ALIGNMENT_LONG 8
  9403. | #define SIZEOF_LONG_LONG 8
  9404. | #define ALIGNMENT_LONG_LONG 8
  9405. | #define SIZEOF_SHORT 2
  9406. | #define ALIGNMENT_SHORT 2
  9407. | #define SIZEOF_UNSIGNED_CHAR 1
  9408. | #define ALIGNMENT_UNSIGNED_CHAR 1
  9409. | #define SIZEOF_UNSIGNED_INT 4
  9410. | #define ALIGNMENT_UNSIGNED_INT 4
  9411. | #define SIZEOF_UNSIGNED_LONG 8
  9412. | #define ALIGNMENT_UNSIGNED_LONG 8
  9413. | /* end confdefs.h. */
  9414. | #include <stdio.h>
  9415. | #ifdef HAVE_SYS_TYPES_H
  9416. | # include <sys/types.h>
  9417. | #endif
  9418. | #ifdef HAVE_SYS_STAT_H
  9419. | # include <sys/stat.h>
  9420. | #endif
  9421. | #ifdef STDC_HEADERS
  9422. | # include <stdlib.h>
  9423. | # include <stddef.h>
  9424. | #else
  9425. | # ifdef HAVE_STDLIB_H
  9426. | # include <stdlib.h>
  9427. | # endif
  9428. | #endif
  9429. | #ifdef HAVE_STRING_H
  9430. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9431. | # include <memory.h>
  9432. | # endif
  9433. | # include <string.h>
  9434. | #endif
  9435. | #ifdef HAVE_STRINGS_H
  9436. | # include <strings.h>
  9437. | #endif
  9438. | #ifdef HAVE_INTTYPES_H
  9439. | # include <inttypes.h>
  9440. | #endif
  9441. | #ifdef HAVE_STDINT_H
  9442. | # include <stdint.h>
  9443. | #endif
  9444. | #ifdef HAVE_UNISTD_H
  9445. | # include <unistd.h>
  9446. | #endif
  9447. | int
  9448. | main ()
  9449. | {
  9450. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 0)];
  9451. | test_array [0] = 0;
  9452. | return test_array [0];
  9453. |
  9454. | ;
  9455. | return 0;
  9456. | }
  9457. configure:12555: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9458. conftest.c: In function 'main':
  9459. conftest.c:111:12: error: size of array 'test_array' is negative
  9460. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 1)];
  9461. ^~~~~~~~~~
  9462. configure:12555: $? = 1
  9463. configure: failed program was:
  9464. | /* confdefs.h */
  9465. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  9466. | #define PACKAGE_TARNAME "ghc-8.7"
  9467. | #define PACKAGE_VERSION "8.7"
  9468. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  9469. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  9470. | #define PACKAGE_URL ""
  9471. | #define STDC_HEADERS 1
  9472. | #define HAVE_SYS_TYPES_H 1
  9473. | #define HAVE_SYS_STAT_H 1
  9474. | #define HAVE_STDLIB_H 1
  9475. | #define HAVE_STRING_H 1
  9476. | #define HAVE_MEMORY_H 1
  9477. | #define HAVE_STRINGS_H 1
  9478. | #define HAVE_INTTYPES_H 1
  9479. | #define HAVE_STDINT_H 1
  9480. | #define HAVE_UNISTD_H 1
  9481. | #define __EXTENSIONS__ 1
  9482. | #define _ALL_SOURCE 1
  9483. | #define _GNU_SOURCE 1
  9484. | #define _POSIX_PTHREAD_SEMANTICS 1
  9485. | #define _TANDEM_SOURCE 1
  9486. | #define sUPPORTED_LLVM_VERSION (7,0)
  9487. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  9488. | #define STDC_HEADERS 1
  9489. | #define HAVE_CTYPE_H 1
  9490. | #define HAVE_DIRENT_H 1
  9491. | #define HAVE_DLFCN_H 1
  9492. | #define HAVE_ERRNO_H 1
  9493. | #define HAVE_FCNTL_H 1
  9494. | #define HAVE_GRP_H 1
  9495. | #define HAVE_LIMITS_H 1
  9496. | #define HAVE_LOCALE_H 1
  9497. | #define HAVE_NLIST_H 1
  9498. | #define HAVE_PTHREAD_H 1
  9499. | #define HAVE_PWD_H 1
  9500. | #define HAVE_SIGNAL_H 1
  9501. | #define HAVE_SYS_PARAM_H 1
  9502. | #define HAVE_SYS_MMAN_H 1
  9503. | #define HAVE_SYS_RESOURCE_H 1
  9504. | #define HAVE_SYS_SELECT_H 1
  9505. | #define HAVE_SYS_TIME_H 1
  9506. | #define HAVE_SYS_TIMEB_H 1
  9507. | #define HAVE_SYS_TIMERFD_H 1
  9508. | #define HAVE_SYS_TIMES_H 1
  9509. | #define HAVE_SYS_UTSNAME_H 1
  9510. | #define HAVE_SYS_WAIT_H 1
  9511. | #define HAVE_TERMIOS_H 1
  9512. | #define HAVE_TIME_H 1
  9513. | #define HAVE_UTIME_H 1
  9514. | #define HAVE_SCHED_H 1
  9515. | #define TIME_WITH_SYS_TIME 1
  9516. | #define HAVE_LONG_LONG 1
  9517. | #define SIZEOF_CHAR 1
  9518. | #define ALIGNMENT_CHAR 1
  9519. | #define SIZEOF_DOUBLE 8
  9520. | #define ALIGNMENT_DOUBLE 8
  9521. | #define SIZEOF_FLOAT 4
  9522. | #define ALIGNMENT_FLOAT 4
  9523. | #define SIZEOF_INT 4
  9524. | #define ALIGNMENT_INT 4
  9525. | #define SIZEOF_LONG 8
  9526. | #define ALIGNMENT_LONG 8
  9527. | #define SIZEOF_LONG_LONG 8
  9528. | #define ALIGNMENT_LONG_LONG 8
  9529. | #define SIZEOF_SHORT 2
  9530. | #define ALIGNMENT_SHORT 2
  9531. | #define SIZEOF_UNSIGNED_CHAR 1
  9532. | #define ALIGNMENT_UNSIGNED_CHAR 1
  9533. | #define SIZEOF_UNSIGNED_INT 4
  9534. | #define ALIGNMENT_UNSIGNED_INT 4
  9535. | #define SIZEOF_UNSIGNED_LONG 8
  9536. | #define ALIGNMENT_UNSIGNED_LONG 8
  9537. | /* end confdefs.h. */
  9538. | #include <stdio.h>
  9539. | #ifdef HAVE_SYS_TYPES_H
  9540. | # include <sys/types.h>
  9541. | #endif
  9542. | #ifdef HAVE_SYS_STAT_H
  9543. | # include <sys/stat.h>
  9544. | #endif
  9545. | #ifdef STDC_HEADERS
  9546. | # include <stdlib.h>
  9547. | # include <stddef.h>
  9548. | #else
  9549. | # ifdef HAVE_STDLIB_H
  9550. | # include <stdlib.h>
  9551. | # endif
  9552. | #endif
  9553. | #ifdef HAVE_STRING_H
  9554. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9555. | # include <memory.h>
  9556. | # endif
  9557. | # include <string.h>
  9558. | #endif
  9559. | #ifdef HAVE_STRINGS_H
  9560. | # include <strings.h>
  9561. | #endif
  9562. | #ifdef HAVE_INTTYPES_H
  9563. | # include <inttypes.h>
  9564. | #endif
  9565. | #ifdef HAVE_STDINT_H
  9566. | # include <stdint.h>
  9567. | #endif
  9568. | #ifdef HAVE_UNISTD_H
  9569. | # include <unistd.h>
  9570. | #endif
  9571. | int
  9572. | main ()
  9573. | {
  9574. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 1)];
  9575. | test_array [0] = 0;
  9576. | return test_array [0];
  9577. |
  9578. | ;
  9579. | return 0;
  9580. | }
  9581. configure:12555: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9582. conftest.c: In function 'main':
  9583. conftest.c:111:12: error: size of array 'test_array' is negative
  9584. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 3)];
  9585. ^~~~~~~~~~
  9586. configure:12555: $? = 1
  9587. configure: failed program was:
  9588. | /* confdefs.h */
  9589. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  9590. | #define PACKAGE_TARNAME "ghc-8.7"
  9591. | #define PACKAGE_VERSION "8.7"
  9592. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  9593. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  9594. | #define PACKAGE_URL ""
  9595. | #define STDC_HEADERS 1
  9596. | #define HAVE_SYS_TYPES_H 1
  9597. | #define HAVE_SYS_STAT_H 1
  9598. | #define HAVE_STDLIB_H 1
  9599. | #define HAVE_STRING_H 1
  9600. | #define HAVE_MEMORY_H 1
  9601. | #define HAVE_STRINGS_H 1
  9602. | #define HAVE_INTTYPES_H 1
  9603. | #define HAVE_STDINT_H 1
  9604. | #define HAVE_UNISTD_H 1
  9605. | #define __EXTENSIONS__ 1
  9606. | #define _ALL_SOURCE 1
  9607. | #define _GNU_SOURCE 1
  9608. | #define _POSIX_PTHREAD_SEMANTICS 1
  9609. | #define _TANDEM_SOURCE 1
  9610. | #define sUPPORTED_LLVM_VERSION (7,0)
  9611. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  9612. | #define STDC_HEADERS 1
  9613. | #define HAVE_CTYPE_H 1
  9614. | #define HAVE_DIRENT_H 1
  9615. | #define HAVE_DLFCN_H 1
  9616. | #define HAVE_ERRNO_H 1
  9617. | #define HAVE_FCNTL_H 1
  9618. | #define HAVE_GRP_H 1
  9619. | #define HAVE_LIMITS_H 1
  9620. | #define HAVE_LOCALE_H 1
  9621. | #define HAVE_NLIST_H 1
  9622. | #define HAVE_PTHREAD_H 1
  9623. | #define HAVE_PWD_H 1
  9624. | #define HAVE_SIGNAL_H 1
  9625. | #define HAVE_SYS_PARAM_H 1
  9626. | #define HAVE_SYS_MMAN_H 1
  9627. | #define HAVE_SYS_RESOURCE_H 1
  9628. | #define HAVE_SYS_SELECT_H 1
  9629. | #define HAVE_SYS_TIME_H 1
  9630. | #define HAVE_SYS_TIMEB_H 1
  9631. | #define HAVE_SYS_TIMERFD_H 1
  9632. | #define HAVE_SYS_TIMES_H 1
  9633. | #define HAVE_SYS_UTSNAME_H 1
  9634. | #define HAVE_SYS_WAIT_H 1
  9635. | #define HAVE_TERMIOS_H 1
  9636. | #define HAVE_TIME_H 1
  9637. | #define HAVE_UTIME_H 1
  9638. | #define HAVE_SCHED_H 1
  9639. | #define TIME_WITH_SYS_TIME 1
  9640. | #define HAVE_LONG_LONG 1
  9641. | #define SIZEOF_CHAR 1
  9642. | #define ALIGNMENT_CHAR 1
  9643. | #define SIZEOF_DOUBLE 8
  9644. | #define ALIGNMENT_DOUBLE 8
  9645. | #define SIZEOF_FLOAT 4
  9646. | #define ALIGNMENT_FLOAT 4
  9647. | #define SIZEOF_INT 4
  9648. | #define ALIGNMENT_INT 4
  9649. | #define SIZEOF_LONG 8
  9650. | #define ALIGNMENT_LONG 8
  9651. | #define SIZEOF_LONG_LONG 8
  9652. | #define ALIGNMENT_LONG_LONG 8
  9653. | #define SIZEOF_SHORT 2
  9654. | #define ALIGNMENT_SHORT 2
  9655. | #define SIZEOF_UNSIGNED_CHAR 1
  9656. | #define ALIGNMENT_UNSIGNED_CHAR 1
  9657. | #define SIZEOF_UNSIGNED_INT 4
  9658. | #define ALIGNMENT_UNSIGNED_INT 4
  9659. | #define SIZEOF_UNSIGNED_LONG 8
  9660. | #define ALIGNMENT_UNSIGNED_LONG 8
  9661. | /* end confdefs.h. */
  9662. | #include <stdio.h>
  9663. | #ifdef HAVE_SYS_TYPES_H
  9664. | # include <sys/types.h>
  9665. | #endif
  9666. | #ifdef HAVE_SYS_STAT_H
  9667. | # include <sys/stat.h>
  9668. | #endif
  9669. | #ifdef STDC_HEADERS
  9670. | # include <stdlib.h>
  9671. | # include <stddef.h>
  9672. | #else
  9673. | # ifdef HAVE_STDLIB_H
  9674. | # include <stdlib.h>
  9675. | # endif
  9676. | #endif
  9677. | #ifdef HAVE_STRING_H
  9678. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9679. | # include <memory.h>
  9680. | # endif
  9681. | # include <string.h>
  9682. | #endif
  9683. | #ifdef HAVE_STRINGS_H
  9684. | # include <strings.h>
  9685. | #endif
  9686. | #ifdef HAVE_INTTYPES_H
  9687. | # include <inttypes.h>
  9688. | #endif
  9689. | #ifdef HAVE_STDINT_H
  9690. | # include <stdint.h>
  9691. | #endif
  9692. | #ifdef HAVE_UNISTD_H
  9693. | # include <unistd.h>
  9694. | #endif
  9695. | int
  9696. | main ()
  9697. | {
  9698. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 3)];
  9699. | test_array [0] = 0;
  9700. | return test_array [0];
  9701. |
  9702. | ;
  9703. | return 0;
  9704. | }
  9705. configure:12555: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9706. conftest.c: In function 'main':
  9707. conftest.c:111:12: error: size of array 'test_array' is negative
  9708. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 7)];
  9709. ^~~~~~~~~~
  9710. configure:12555: $? = 1
  9711. configure: failed program was:
  9712. | /* confdefs.h */
  9713. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  9714. | #define PACKAGE_TARNAME "ghc-8.7"
  9715. | #define PACKAGE_VERSION "8.7"
  9716. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  9717. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  9718. | #define PACKAGE_URL ""
  9719. | #define STDC_HEADERS 1
  9720. | #define HAVE_SYS_TYPES_H 1
  9721. | #define HAVE_SYS_STAT_H 1
  9722. | #define HAVE_STDLIB_H 1
  9723. | #define HAVE_STRING_H 1
  9724. | #define HAVE_MEMORY_H 1
  9725. | #define HAVE_STRINGS_H 1
  9726. | #define HAVE_INTTYPES_H 1
  9727. | #define HAVE_STDINT_H 1
  9728. | #define HAVE_UNISTD_H 1
  9729. | #define __EXTENSIONS__ 1
  9730. | #define _ALL_SOURCE 1
  9731. | #define _GNU_SOURCE 1
  9732. | #define _POSIX_PTHREAD_SEMANTICS 1
  9733. | #define _TANDEM_SOURCE 1
  9734. | #define sUPPORTED_LLVM_VERSION (7,0)
  9735. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  9736. | #define STDC_HEADERS 1
  9737. | #define HAVE_CTYPE_H 1
  9738. | #define HAVE_DIRENT_H 1
  9739. | #define HAVE_DLFCN_H 1
  9740. | #define HAVE_ERRNO_H 1
  9741. | #define HAVE_FCNTL_H 1
  9742. | #define HAVE_GRP_H 1
  9743. | #define HAVE_LIMITS_H 1
  9744. | #define HAVE_LOCALE_H 1
  9745. | #define HAVE_NLIST_H 1
  9746. | #define HAVE_PTHREAD_H 1
  9747. | #define HAVE_PWD_H 1
  9748. | #define HAVE_SIGNAL_H 1
  9749. | #define HAVE_SYS_PARAM_H 1
  9750. | #define HAVE_SYS_MMAN_H 1
  9751. | #define HAVE_SYS_RESOURCE_H 1
  9752. | #define HAVE_SYS_SELECT_H 1
  9753. | #define HAVE_SYS_TIME_H 1
  9754. | #define HAVE_SYS_TIMEB_H 1
  9755. | #define HAVE_SYS_TIMERFD_H 1
  9756. | #define HAVE_SYS_TIMES_H 1
  9757. | #define HAVE_SYS_UTSNAME_H 1
  9758. | #define HAVE_SYS_WAIT_H 1
  9759. | #define HAVE_TERMIOS_H 1
  9760. | #define HAVE_TIME_H 1
  9761. | #define HAVE_UTIME_H 1
  9762. | #define HAVE_SCHED_H 1
  9763. | #define TIME_WITH_SYS_TIME 1
  9764. | #define HAVE_LONG_LONG 1
  9765. | #define SIZEOF_CHAR 1
  9766. | #define ALIGNMENT_CHAR 1
  9767. | #define SIZEOF_DOUBLE 8
  9768. | #define ALIGNMENT_DOUBLE 8
  9769. | #define SIZEOF_FLOAT 4
  9770. | #define ALIGNMENT_FLOAT 4
  9771. | #define SIZEOF_INT 4
  9772. | #define ALIGNMENT_INT 4
  9773. | #define SIZEOF_LONG 8
  9774. | #define ALIGNMENT_LONG 8
  9775. | #define SIZEOF_LONG_LONG 8
  9776. | #define ALIGNMENT_LONG_LONG 8
  9777. | #define SIZEOF_SHORT 2
  9778. | #define ALIGNMENT_SHORT 2
  9779. | #define SIZEOF_UNSIGNED_CHAR 1
  9780. | #define ALIGNMENT_UNSIGNED_CHAR 1
  9781. | #define SIZEOF_UNSIGNED_INT 4
  9782. | #define ALIGNMENT_UNSIGNED_INT 4
  9783. | #define SIZEOF_UNSIGNED_LONG 8
  9784. | #define ALIGNMENT_UNSIGNED_LONG 8
  9785. | /* end confdefs.h. */
  9786. | #include <stdio.h>
  9787. | #ifdef HAVE_SYS_TYPES_H
  9788. | # include <sys/types.h>
  9789. | #endif
  9790. | #ifdef HAVE_SYS_STAT_H
  9791. | # include <sys/stat.h>
  9792. | #endif
  9793. | #ifdef STDC_HEADERS
  9794. | # include <stdlib.h>
  9795. | # include <stddef.h>
  9796. | #else
  9797. | # ifdef HAVE_STDLIB_H
  9798. | # include <stdlib.h>
  9799. | # endif
  9800. | #endif
  9801. | #ifdef HAVE_STRING_H
  9802. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9803. | # include <memory.h>
  9804. | # endif
  9805. | # include <string.h>
  9806. | #endif
  9807. | #ifdef HAVE_STRINGS_H
  9808. | # include <strings.h>
  9809. | #endif
  9810. | #ifdef HAVE_INTTYPES_H
  9811. | # include <inttypes.h>
  9812. | #endif
  9813. | #ifdef HAVE_STDINT_H
  9814. | # include <stdint.h>
  9815. | #endif
  9816. | #ifdef HAVE_UNISTD_H
  9817. | # include <unistd.h>
  9818. | #endif
  9819. | int
  9820. | main ()
  9821. | {
  9822. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 7)];
  9823. | test_array [0] = 0;
  9824. | return test_array [0];
  9825. |
  9826. | ;
  9827. | return 0;
  9828. | }
  9829. configure:12555: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9830. configure:12555: $? = 0
  9831. configure:12555: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9832. configure:12555: $? = 0
  9833. configure:12555: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9834. configure:12555: $? = 0
  9835. configure:12555: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9836. configure:12555: $? = 0
  9837. configure:12569: result: 8
  9838. configure:12579: checking for unsigned long long
  9839. configure:12579: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9840. configure:12579: $? = 0
  9841. configure:12579: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9842. conftest.c: In function 'main':
  9843. conftest.c:112:33: error: expected expression before ')' token
  9844. if (sizeof ((unsigned long long)))
  9845. ^
  9846. configure:12579: $? = 1
  9847. configure: failed program was:
  9848. | /* confdefs.h */
  9849. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  9850. | #define PACKAGE_TARNAME "ghc-8.7"
  9851. | #define PACKAGE_VERSION "8.7"
  9852. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  9853. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  9854. | #define PACKAGE_URL ""
  9855. | #define STDC_HEADERS 1
  9856. | #define HAVE_SYS_TYPES_H 1
  9857. | #define HAVE_SYS_STAT_H 1
  9858. | #define HAVE_STDLIB_H 1
  9859. | #define HAVE_STRING_H 1
  9860. | #define HAVE_MEMORY_H 1
  9861. | #define HAVE_STRINGS_H 1
  9862. | #define HAVE_INTTYPES_H 1
  9863. | #define HAVE_STDINT_H 1
  9864. | #define HAVE_UNISTD_H 1
  9865. | #define __EXTENSIONS__ 1
  9866. | #define _ALL_SOURCE 1
  9867. | #define _GNU_SOURCE 1
  9868. | #define _POSIX_PTHREAD_SEMANTICS 1
  9869. | #define _TANDEM_SOURCE 1
  9870. | #define sUPPORTED_LLVM_VERSION (7,0)
  9871. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  9872. | #define STDC_HEADERS 1
  9873. | #define HAVE_CTYPE_H 1
  9874. | #define HAVE_DIRENT_H 1
  9875. | #define HAVE_DLFCN_H 1
  9876. | #define HAVE_ERRNO_H 1
  9877. | #define HAVE_FCNTL_H 1
  9878. | #define HAVE_GRP_H 1
  9879. | #define HAVE_LIMITS_H 1
  9880. | #define HAVE_LOCALE_H 1
  9881. | #define HAVE_NLIST_H 1
  9882. | #define HAVE_PTHREAD_H 1
  9883. | #define HAVE_PWD_H 1
  9884. | #define HAVE_SIGNAL_H 1
  9885. | #define HAVE_SYS_PARAM_H 1
  9886. | #define HAVE_SYS_MMAN_H 1
  9887. | #define HAVE_SYS_RESOURCE_H 1
  9888. | #define HAVE_SYS_SELECT_H 1
  9889. | #define HAVE_SYS_TIME_H 1
  9890. | #define HAVE_SYS_TIMEB_H 1
  9891. | #define HAVE_SYS_TIMERFD_H 1
  9892. | #define HAVE_SYS_TIMES_H 1
  9893. | #define HAVE_SYS_UTSNAME_H 1
  9894. | #define HAVE_SYS_WAIT_H 1
  9895. | #define HAVE_TERMIOS_H 1
  9896. | #define HAVE_TIME_H 1
  9897. | #define HAVE_UTIME_H 1
  9898. | #define HAVE_SCHED_H 1
  9899. | #define TIME_WITH_SYS_TIME 1
  9900. | #define HAVE_LONG_LONG 1
  9901. | #define SIZEOF_CHAR 1
  9902. | #define ALIGNMENT_CHAR 1
  9903. | #define SIZEOF_DOUBLE 8
  9904. | #define ALIGNMENT_DOUBLE 8
  9905. | #define SIZEOF_FLOAT 4
  9906. | #define ALIGNMENT_FLOAT 4
  9907. | #define SIZEOF_INT 4
  9908. | #define ALIGNMENT_INT 4
  9909. | #define SIZEOF_LONG 8
  9910. | #define ALIGNMENT_LONG 8
  9911. | #define SIZEOF_LONG_LONG 8
  9912. | #define ALIGNMENT_LONG_LONG 8
  9913. | #define SIZEOF_SHORT 2
  9914. | #define ALIGNMENT_SHORT 2
  9915. | #define SIZEOF_UNSIGNED_CHAR 1
  9916. | #define ALIGNMENT_UNSIGNED_CHAR 1
  9917. | #define SIZEOF_UNSIGNED_INT 4
  9918. | #define ALIGNMENT_UNSIGNED_INT 4
  9919. | #define SIZEOF_UNSIGNED_LONG 8
  9920. | #define ALIGNMENT_UNSIGNED_LONG 8
  9921. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  9922. | /* end confdefs.h. */
  9923. | #include <stdio.h>
  9924. | #ifdef HAVE_SYS_TYPES_H
  9925. | # include <sys/types.h>
  9926. | #endif
  9927. | #ifdef HAVE_SYS_STAT_H
  9928. | # include <sys/stat.h>
  9929. | #endif
  9930. | #ifdef STDC_HEADERS
  9931. | # include <stdlib.h>
  9932. | # include <stddef.h>
  9933. | #else
  9934. | # ifdef HAVE_STDLIB_H
  9935. | # include <stdlib.h>
  9936. | # endif
  9937. | #endif
  9938. | #ifdef HAVE_STRING_H
  9939. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9940. | # include <memory.h>
  9941. | # endif
  9942. | # include <string.h>
  9943. | #endif
  9944. | #ifdef HAVE_STRINGS_H
  9945. | # include <strings.h>
  9946. | #endif
  9947. | #ifdef HAVE_INTTYPES_H
  9948. | # include <inttypes.h>
  9949. | #endif
  9950. | #ifdef HAVE_STDINT_H
  9951. | # include <stdint.h>
  9952. | #endif
  9953. | #ifdef HAVE_UNISTD_H
  9954. | # include <unistd.h>
  9955. | #endif
  9956. | int
  9957. | main ()
  9958. | {
  9959. | if (sizeof ((unsigned long long)))
  9960. | return 0;
  9961. | ;
  9962. | return 0;
  9963. | }
  9964. configure:12579: result: yes
  9965. configure:12583: checking alignment of unsigned long long
  9966. configure:12589: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9967. configure:12589: $? = 0
  9968. configure:12589: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  9969. conftest.c: In function 'main':
  9970. conftest.c:112:12: error: size of array 'test_array' is negative
  9971. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long long ty; },ty)) <= 0)];
  9972. ^~~~~~~~~~
  9973. configure:12589: $? = 1
  9974. configure: failed program was:
  9975. | /* confdefs.h */
  9976. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  9977. | #define PACKAGE_TARNAME "ghc-8.7"
  9978. | #define PACKAGE_VERSION "8.7"
  9979. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  9980. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  9981. | #define PACKAGE_URL ""
  9982. | #define STDC_HEADERS 1
  9983. | #define HAVE_SYS_TYPES_H 1
  9984. | #define HAVE_SYS_STAT_H 1
  9985. | #define HAVE_STDLIB_H 1
  9986. | #define HAVE_STRING_H 1
  9987. | #define HAVE_MEMORY_H 1
  9988. | #define HAVE_STRINGS_H 1
  9989. | #define HAVE_INTTYPES_H 1
  9990. | #define HAVE_STDINT_H 1
  9991. | #define HAVE_UNISTD_H 1
  9992. | #define __EXTENSIONS__ 1
  9993. | #define _ALL_SOURCE 1
  9994. | #define _GNU_SOURCE 1
  9995. | #define _POSIX_PTHREAD_SEMANTICS 1
  9996. | #define _TANDEM_SOURCE 1
  9997. | #define sUPPORTED_LLVM_VERSION (7,0)
  9998. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  9999. | #define STDC_HEADERS 1
  10000. | #define HAVE_CTYPE_H 1
  10001. | #define HAVE_DIRENT_H 1
  10002. | #define HAVE_DLFCN_H 1
  10003. | #define HAVE_ERRNO_H 1
  10004. | #define HAVE_FCNTL_H 1
  10005. | #define HAVE_GRP_H 1
  10006. | #define HAVE_LIMITS_H 1
  10007. | #define HAVE_LOCALE_H 1
  10008. | #define HAVE_NLIST_H 1
  10009. | #define HAVE_PTHREAD_H 1
  10010. | #define HAVE_PWD_H 1
  10011. | #define HAVE_SIGNAL_H 1
  10012. | #define HAVE_SYS_PARAM_H 1
  10013. | #define HAVE_SYS_MMAN_H 1
  10014. | #define HAVE_SYS_RESOURCE_H 1
  10015. | #define HAVE_SYS_SELECT_H 1
  10016. | #define HAVE_SYS_TIME_H 1
  10017. | #define HAVE_SYS_TIMEB_H 1
  10018. | #define HAVE_SYS_TIMERFD_H 1
  10019. | #define HAVE_SYS_TIMES_H 1
  10020. | #define HAVE_SYS_UTSNAME_H 1
  10021. | #define HAVE_SYS_WAIT_H 1
  10022. | #define HAVE_TERMIOS_H 1
  10023. | #define HAVE_TIME_H 1
  10024. | #define HAVE_UTIME_H 1
  10025. | #define HAVE_SCHED_H 1
  10026. | #define TIME_WITH_SYS_TIME 1
  10027. | #define HAVE_LONG_LONG 1
  10028. | #define SIZEOF_CHAR 1
  10029. | #define ALIGNMENT_CHAR 1
  10030. | #define SIZEOF_DOUBLE 8
  10031. | #define ALIGNMENT_DOUBLE 8
  10032. | #define SIZEOF_FLOAT 4
  10033. | #define ALIGNMENT_FLOAT 4
  10034. | #define SIZEOF_INT 4
  10035. | #define ALIGNMENT_INT 4
  10036. | #define SIZEOF_LONG 8
  10037. | #define ALIGNMENT_LONG 8
  10038. | #define SIZEOF_LONG_LONG 8
  10039. | #define ALIGNMENT_LONG_LONG 8
  10040. | #define SIZEOF_SHORT 2
  10041. | #define ALIGNMENT_SHORT 2
  10042. | #define SIZEOF_UNSIGNED_CHAR 1
  10043. | #define ALIGNMENT_UNSIGNED_CHAR 1
  10044. | #define SIZEOF_UNSIGNED_INT 4
  10045. | #define ALIGNMENT_UNSIGNED_INT 4
  10046. | #define SIZEOF_UNSIGNED_LONG 8
  10047. | #define ALIGNMENT_UNSIGNED_LONG 8
  10048. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  10049. | /* end confdefs.h. */
  10050. | #include <stdio.h>
  10051. | #ifdef HAVE_SYS_TYPES_H
  10052. | # include <sys/types.h>
  10053. | #endif
  10054. | #ifdef HAVE_SYS_STAT_H
  10055. | # include <sys/stat.h>
  10056. | #endif
  10057. | #ifdef STDC_HEADERS
  10058. | # include <stdlib.h>
  10059. | # include <stddef.h>
  10060. | #else
  10061. | # ifdef HAVE_STDLIB_H
  10062. | # include <stdlib.h>
  10063. | # endif
  10064. | #endif
  10065. | #ifdef HAVE_STRING_H
  10066. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10067. | # include <memory.h>
  10068. | # endif
  10069. | # include <string.h>
  10070. | #endif
  10071. | #ifdef HAVE_STRINGS_H
  10072. | # include <strings.h>
  10073. | #endif
  10074. | #ifdef HAVE_INTTYPES_H
  10075. | # include <inttypes.h>
  10076. | #endif
  10077. | #ifdef HAVE_STDINT_H
  10078. | # include <stdint.h>
  10079. | #endif
  10080. | #ifdef HAVE_UNISTD_H
  10081. | # include <unistd.h>
  10082. | #endif
  10083. | int
  10084. | main ()
  10085. | {
  10086. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long long ty; },ty)) <= 0)];
  10087. | test_array [0] = 0;
  10088. | return test_array [0];
  10089. |
  10090. | ;
  10091. | return 0;
  10092. | }
  10093. configure:12589: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10094. conftest.c: In function 'main':
  10095. conftest.c:112:12: error: size of array 'test_array' is negative
  10096. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long long ty; },ty)) <= 1)];
  10097. ^~~~~~~~~~
  10098. configure:12589: $? = 1
  10099. configure: failed program was:
  10100. | /* confdefs.h */
  10101. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  10102. | #define PACKAGE_TARNAME "ghc-8.7"
  10103. | #define PACKAGE_VERSION "8.7"
  10104. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  10105. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  10106. | #define PACKAGE_URL ""
  10107. | #define STDC_HEADERS 1
  10108. | #define HAVE_SYS_TYPES_H 1
  10109. | #define HAVE_SYS_STAT_H 1
  10110. | #define HAVE_STDLIB_H 1
  10111. | #define HAVE_STRING_H 1
  10112. | #define HAVE_MEMORY_H 1
  10113. | #define HAVE_STRINGS_H 1
  10114. | #define HAVE_INTTYPES_H 1
  10115. | #define HAVE_STDINT_H 1
  10116. | #define HAVE_UNISTD_H 1
  10117. | #define __EXTENSIONS__ 1
  10118. | #define _ALL_SOURCE 1
  10119. | #define _GNU_SOURCE 1
  10120. | #define _POSIX_PTHREAD_SEMANTICS 1
  10121. | #define _TANDEM_SOURCE 1
  10122. | #define sUPPORTED_LLVM_VERSION (7,0)
  10123. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  10124. | #define STDC_HEADERS 1
  10125. | #define HAVE_CTYPE_H 1
  10126. | #define HAVE_DIRENT_H 1
  10127. | #define HAVE_DLFCN_H 1
  10128. | #define HAVE_ERRNO_H 1
  10129. | #define HAVE_FCNTL_H 1
  10130. | #define HAVE_GRP_H 1
  10131. | #define HAVE_LIMITS_H 1
  10132. | #define HAVE_LOCALE_H 1
  10133. | #define HAVE_NLIST_H 1
  10134. | #define HAVE_PTHREAD_H 1
  10135. | #define HAVE_PWD_H 1
  10136. | #define HAVE_SIGNAL_H 1
  10137. | #define HAVE_SYS_PARAM_H 1
  10138. | #define HAVE_SYS_MMAN_H 1
  10139. | #define HAVE_SYS_RESOURCE_H 1
  10140. | #define HAVE_SYS_SELECT_H 1
  10141. | #define HAVE_SYS_TIME_H 1
  10142. | #define HAVE_SYS_TIMEB_H 1
  10143. | #define HAVE_SYS_TIMERFD_H 1
  10144. | #define HAVE_SYS_TIMES_H 1
  10145. | #define HAVE_SYS_UTSNAME_H 1
  10146. | #define HAVE_SYS_WAIT_H 1
  10147. | #define HAVE_TERMIOS_H 1
  10148. | #define HAVE_TIME_H 1
  10149. | #define HAVE_UTIME_H 1
  10150. | #define HAVE_SCHED_H 1
  10151. | #define TIME_WITH_SYS_TIME 1
  10152. | #define HAVE_LONG_LONG 1
  10153. | #define SIZEOF_CHAR 1
  10154. | #define ALIGNMENT_CHAR 1
  10155. | #define SIZEOF_DOUBLE 8
  10156. | #define ALIGNMENT_DOUBLE 8
  10157. | #define SIZEOF_FLOAT 4
  10158. | #define ALIGNMENT_FLOAT 4
  10159. | #define SIZEOF_INT 4
  10160. | #define ALIGNMENT_INT 4
  10161. | #define SIZEOF_LONG 8
  10162. | #define ALIGNMENT_LONG 8
  10163. | #define SIZEOF_LONG_LONG 8
  10164. | #define ALIGNMENT_LONG_LONG 8
  10165. | #define SIZEOF_SHORT 2
  10166. | #define ALIGNMENT_SHORT 2
  10167. | #define SIZEOF_UNSIGNED_CHAR 1
  10168. | #define ALIGNMENT_UNSIGNED_CHAR 1
  10169. | #define SIZEOF_UNSIGNED_INT 4
  10170. | #define ALIGNMENT_UNSIGNED_INT 4
  10171. | #define SIZEOF_UNSIGNED_LONG 8
  10172. | #define ALIGNMENT_UNSIGNED_LONG 8
  10173. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  10174. | /* end confdefs.h. */
  10175. | #include <stdio.h>
  10176. | #ifdef HAVE_SYS_TYPES_H
  10177. | # include <sys/types.h>
  10178. | #endif
  10179. | #ifdef HAVE_SYS_STAT_H
  10180. | # include <sys/stat.h>
  10181. | #endif
  10182. | #ifdef STDC_HEADERS
  10183. | # include <stdlib.h>
  10184. | # include <stddef.h>
  10185. | #else
  10186. | # ifdef HAVE_STDLIB_H
  10187. | # include <stdlib.h>
  10188. | # endif
  10189. | #endif
  10190. | #ifdef HAVE_STRING_H
  10191. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10192. | # include <memory.h>
  10193. | # endif
  10194. | # include <string.h>
  10195. | #endif
  10196. | #ifdef HAVE_STRINGS_H
  10197. | # include <strings.h>
  10198. | #endif
  10199. | #ifdef HAVE_INTTYPES_H
  10200. | # include <inttypes.h>
  10201. | #endif
  10202. | #ifdef HAVE_STDINT_H
  10203. | # include <stdint.h>
  10204. | #endif
  10205. | #ifdef HAVE_UNISTD_H
  10206. | # include <unistd.h>
  10207. | #endif
  10208. | int
  10209. | main ()
  10210. | {
  10211. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long long ty; },ty)) <= 1)];
  10212. | test_array [0] = 0;
  10213. | return test_array [0];
  10214. |
  10215. | ;
  10216. | return 0;
  10217. | }
  10218. configure:12589: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10219. conftest.c: In function 'main':
  10220. conftest.c:112:12: error: size of array 'test_array' is negative
  10221. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long long ty; },ty)) <= 3)];
  10222. ^~~~~~~~~~
  10223. configure:12589: $? = 1
  10224. configure: failed program was:
  10225. | /* confdefs.h */
  10226. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  10227. | #define PACKAGE_TARNAME "ghc-8.7"
  10228. | #define PACKAGE_VERSION "8.7"
  10229. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  10230. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  10231. | #define PACKAGE_URL ""
  10232. | #define STDC_HEADERS 1
  10233. | #define HAVE_SYS_TYPES_H 1
  10234. | #define HAVE_SYS_STAT_H 1
  10235. | #define HAVE_STDLIB_H 1
  10236. | #define HAVE_STRING_H 1
  10237. | #define HAVE_MEMORY_H 1
  10238. | #define HAVE_STRINGS_H 1
  10239. | #define HAVE_INTTYPES_H 1
  10240. | #define HAVE_STDINT_H 1
  10241. | #define HAVE_UNISTD_H 1
  10242. | #define __EXTENSIONS__ 1
  10243. | #define _ALL_SOURCE 1
  10244. | #define _GNU_SOURCE 1
  10245. | #define _POSIX_PTHREAD_SEMANTICS 1
  10246. | #define _TANDEM_SOURCE 1
  10247. | #define sUPPORTED_LLVM_VERSION (7,0)
  10248. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  10249. | #define STDC_HEADERS 1
  10250. | #define HAVE_CTYPE_H 1
  10251. | #define HAVE_DIRENT_H 1
  10252. | #define HAVE_DLFCN_H 1
  10253. | #define HAVE_ERRNO_H 1
  10254. | #define HAVE_FCNTL_H 1
  10255. | #define HAVE_GRP_H 1
  10256. | #define HAVE_LIMITS_H 1
  10257. | #define HAVE_LOCALE_H 1
  10258. | #define HAVE_NLIST_H 1
  10259. | #define HAVE_PTHREAD_H 1
  10260. | #define HAVE_PWD_H 1
  10261. | #define HAVE_SIGNAL_H 1
  10262. | #define HAVE_SYS_PARAM_H 1
  10263. | #define HAVE_SYS_MMAN_H 1
  10264. | #define HAVE_SYS_RESOURCE_H 1
  10265. | #define HAVE_SYS_SELECT_H 1
  10266. | #define HAVE_SYS_TIME_H 1
  10267. | #define HAVE_SYS_TIMEB_H 1
  10268. | #define HAVE_SYS_TIMERFD_H 1
  10269. | #define HAVE_SYS_TIMES_H 1
  10270. | #define HAVE_SYS_UTSNAME_H 1
  10271. | #define HAVE_SYS_WAIT_H 1
  10272. | #define HAVE_TERMIOS_H 1
  10273. | #define HAVE_TIME_H 1
  10274. | #define HAVE_UTIME_H 1
  10275. | #define HAVE_SCHED_H 1
  10276. | #define TIME_WITH_SYS_TIME 1
  10277. | #define HAVE_LONG_LONG 1
  10278. | #define SIZEOF_CHAR 1
  10279. | #define ALIGNMENT_CHAR 1
  10280. | #define SIZEOF_DOUBLE 8
  10281. | #define ALIGNMENT_DOUBLE 8
  10282. | #define SIZEOF_FLOAT 4
  10283. | #define ALIGNMENT_FLOAT 4
  10284. | #define SIZEOF_INT 4
  10285. | #define ALIGNMENT_INT 4
  10286. | #define SIZEOF_LONG 8
  10287. | #define ALIGNMENT_LONG 8
  10288. | #define SIZEOF_LONG_LONG 8
  10289. | #define ALIGNMENT_LONG_LONG 8
  10290. | #define SIZEOF_SHORT 2
  10291. | #define ALIGNMENT_SHORT 2
  10292. | #define SIZEOF_UNSIGNED_CHAR 1
  10293. | #define ALIGNMENT_UNSIGNED_CHAR 1
  10294. | #define SIZEOF_UNSIGNED_INT 4
  10295. | #define ALIGNMENT_UNSIGNED_INT 4
  10296. | #define SIZEOF_UNSIGNED_LONG 8
  10297. | #define ALIGNMENT_UNSIGNED_LONG 8
  10298. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  10299. | /* end confdefs.h. */
  10300. | #include <stdio.h>
  10301. | #ifdef HAVE_SYS_TYPES_H
  10302. | # include <sys/types.h>
  10303. | #endif
  10304. | #ifdef HAVE_SYS_STAT_H
  10305. | # include <sys/stat.h>
  10306. | #endif
  10307. | #ifdef STDC_HEADERS
  10308. | # include <stdlib.h>
  10309. | # include <stddef.h>
  10310. | #else
  10311. | # ifdef HAVE_STDLIB_H
  10312. | # include <stdlib.h>
  10313. | # endif
  10314. | #endif
  10315. | #ifdef HAVE_STRING_H
  10316. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10317. | # include <memory.h>
  10318. | # endif
  10319. | # include <string.h>
  10320. | #endif
  10321. | #ifdef HAVE_STRINGS_H
  10322. | # include <strings.h>
  10323. | #endif
  10324. | #ifdef HAVE_INTTYPES_H
  10325. | # include <inttypes.h>
  10326. | #endif
  10327. | #ifdef HAVE_STDINT_H
  10328. | # include <stdint.h>
  10329. | #endif
  10330. | #ifdef HAVE_UNISTD_H
  10331. | # include <unistd.h>
  10332. | #endif
  10333. | int
  10334. | main ()
  10335. | {
  10336. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long long ty; },ty)) <= 3)];
  10337. | test_array [0] = 0;
  10338. | return test_array [0];
  10339. |
  10340. | ;
  10341. | return 0;
  10342. | }
  10343. configure:12589: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10344. conftest.c: In function 'main':
  10345. conftest.c:112:12: error: size of array 'test_array' is negative
  10346. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long long ty; },ty)) <= 7)];
  10347. ^~~~~~~~~~
  10348. configure:12589: $? = 1
  10349. configure: failed program was:
  10350. | /* confdefs.h */
  10351. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  10352. | #define PACKAGE_TARNAME "ghc-8.7"
  10353. | #define PACKAGE_VERSION "8.7"
  10354. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  10355. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  10356. | #define PACKAGE_URL ""
  10357. | #define STDC_HEADERS 1
  10358. | #define HAVE_SYS_TYPES_H 1
  10359. | #define HAVE_SYS_STAT_H 1
  10360. | #define HAVE_STDLIB_H 1
  10361. | #define HAVE_STRING_H 1
  10362. | #define HAVE_MEMORY_H 1
  10363. | #define HAVE_STRINGS_H 1
  10364. | #define HAVE_INTTYPES_H 1
  10365. | #define HAVE_STDINT_H 1
  10366. | #define HAVE_UNISTD_H 1
  10367. | #define __EXTENSIONS__ 1
  10368. | #define _ALL_SOURCE 1
  10369. | #define _GNU_SOURCE 1
  10370. | #define _POSIX_PTHREAD_SEMANTICS 1
  10371. | #define _TANDEM_SOURCE 1
  10372. | #define sUPPORTED_LLVM_VERSION (7,0)
  10373. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  10374. | #define STDC_HEADERS 1
  10375. | #define HAVE_CTYPE_H 1
  10376. | #define HAVE_DIRENT_H 1
  10377. | #define HAVE_DLFCN_H 1
  10378. | #define HAVE_ERRNO_H 1
  10379. | #define HAVE_FCNTL_H 1
  10380. | #define HAVE_GRP_H 1
  10381. | #define HAVE_LIMITS_H 1
  10382. | #define HAVE_LOCALE_H 1
  10383. | #define HAVE_NLIST_H 1
  10384. | #define HAVE_PTHREAD_H 1
  10385. | #define HAVE_PWD_H 1
  10386. | #define HAVE_SIGNAL_H 1
  10387. | #define HAVE_SYS_PARAM_H 1
  10388. | #define HAVE_SYS_MMAN_H 1
  10389. | #define HAVE_SYS_RESOURCE_H 1
  10390. | #define HAVE_SYS_SELECT_H 1
  10391. | #define HAVE_SYS_TIME_H 1
  10392. | #define HAVE_SYS_TIMEB_H 1
  10393. | #define HAVE_SYS_TIMERFD_H 1
  10394. | #define HAVE_SYS_TIMES_H 1
  10395. | #define HAVE_SYS_UTSNAME_H 1
  10396. | #define HAVE_SYS_WAIT_H 1
  10397. | #define HAVE_TERMIOS_H 1
  10398. | #define HAVE_TIME_H 1
  10399. | #define HAVE_UTIME_H 1
  10400. | #define HAVE_SCHED_H 1
  10401. | #define TIME_WITH_SYS_TIME 1
  10402. | #define HAVE_LONG_LONG 1
  10403. | #define SIZEOF_CHAR 1
  10404. | #define ALIGNMENT_CHAR 1
  10405. | #define SIZEOF_DOUBLE 8
  10406. | #define ALIGNMENT_DOUBLE 8
  10407. | #define SIZEOF_FLOAT 4
  10408. | #define ALIGNMENT_FLOAT 4
  10409. | #define SIZEOF_INT 4
  10410. | #define ALIGNMENT_INT 4
  10411. | #define SIZEOF_LONG 8
  10412. | #define ALIGNMENT_LONG 8
  10413. | #define SIZEOF_LONG_LONG 8
  10414. | #define ALIGNMENT_LONG_LONG 8
  10415. | #define SIZEOF_SHORT 2
  10416. | #define ALIGNMENT_SHORT 2
  10417. | #define SIZEOF_UNSIGNED_CHAR 1
  10418. | #define ALIGNMENT_UNSIGNED_CHAR 1
  10419. | #define SIZEOF_UNSIGNED_INT 4
  10420. | #define ALIGNMENT_UNSIGNED_INT 4
  10421. | #define SIZEOF_UNSIGNED_LONG 8
  10422. | #define ALIGNMENT_UNSIGNED_LONG 8
  10423. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  10424. | /* end confdefs.h. */
  10425. | #include <stdio.h>
  10426. | #ifdef HAVE_SYS_TYPES_H
  10427. | # include <sys/types.h>
  10428. | #endif
  10429. | #ifdef HAVE_SYS_STAT_H
  10430. | # include <sys/stat.h>
  10431. | #endif
  10432. | #ifdef STDC_HEADERS
  10433. | # include <stdlib.h>
  10434. | # include <stddef.h>
  10435. | #else
  10436. | # ifdef HAVE_STDLIB_H
  10437. | # include <stdlib.h>
  10438. | # endif
  10439. | #endif
  10440. | #ifdef HAVE_STRING_H
  10441. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10442. | # include <memory.h>
  10443. | # endif
  10444. | # include <string.h>
  10445. | #endif
  10446. | #ifdef HAVE_STRINGS_H
  10447. | # include <strings.h>
  10448. | #endif
  10449. | #ifdef HAVE_INTTYPES_H
  10450. | # include <inttypes.h>
  10451. | #endif
  10452. | #ifdef HAVE_STDINT_H
  10453. | # include <stdint.h>
  10454. | #endif
  10455. | #ifdef HAVE_UNISTD_H
  10456. | # include <unistd.h>
  10457. | #endif
  10458. | int
  10459. | main ()
  10460. | {
  10461. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned long long ty; },ty)) <= 7)];
  10462. | test_array [0] = 0;
  10463. | return test_array [0];
  10464. |
  10465. | ;
  10466. | return 0;
  10467. | }
  10468. configure:12589: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10469. configure:12589: $? = 0
  10470. configure:12589: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10471. configure:12589: $? = 0
  10472. configure:12589: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10473. configure:12589: $? = 0
  10474. configure:12589: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10475. configure:12589: $? = 0
  10476. configure:12601: result: 8
  10477. configure:12613: checking size of unsigned short
  10478. configure:12618: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10479. configure:12618: $? = 0
  10480. configure:12618: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10481. conftest.c: In function 'main':
  10482. conftest.c:113:12: error: size of array 'test_array' is negative
  10483. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= 0)];
  10484. ^~~~~~~~~~
  10485. configure:12618: $? = 1
  10486. configure: failed program was:
  10487. | /* confdefs.h */
  10488. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  10489. | #define PACKAGE_TARNAME "ghc-8.7"
  10490. | #define PACKAGE_VERSION "8.7"
  10491. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  10492. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  10493. | #define PACKAGE_URL ""
  10494. | #define STDC_HEADERS 1
  10495. | #define HAVE_SYS_TYPES_H 1
  10496. | #define HAVE_SYS_STAT_H 1
  10497. | #define HAVE_STDLIB_H 1
  10498. | #define HAVE_STRING_H 1
  10499. | #define HAVE_MEMORY_H 1
  10500. | #define HAVE_STRINGS_H 1
  10501. | #define HAVE_INTTYPES_H 1
  10502. | #define HAVE_STDINT_H 1
  10503. | #define HAVE_UNISTD_H 1
  10504. | #define __EXTENSIONS__ 1
  10505. | #define _ALL_SOURCE 1
  10506. | #define _GNU_SOURCE 1
  10507. | #define _POSIX_PTHREAD_SEMANTICS 1
  10508. | #define _TANDEM_SOURCE 1
  10509. | #define sUPPORTED_LLVM_VERSION (7,0)
  10510. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  10511. | #define STDC_HEADERS 1
  10512. | #define HAVE_CTYPE_H 1
  10513. | #define HAVE_DIRENT_H 1
  10514. | #define HAVE_DLFCN_H 1
  10515. | #define HAVE_ERRNO_H 1
  10516. | #define HAVE_FCNTL_H 1
  10517. | #define HAVE_GRP_H 1
  10518. | #define HAVE_LIMITS_H 1
  10519. | #define HAVE_LOCALE_H 1
  10520. | #define HAVE_NLIST_H 1
  10521. | #define HAVE_PTHREAD_H 1
  10522. | #define HAVE_PWD_H 1
  10523. | #define HAVE_SIGNAL_H 1
  10524. | #define HAVE_SYS_PARAM_H 1
  10525. | #define HAVE_SYS_MMAN_H 1
  10526. | #define HAVE_SYS_RESOURCE_H 1
  10527. | #define HAVE_SYS_SELECT_H 1
  10528. | #define HAVE_SYS_TIME_H 1
  10529. | #define HAVE_SYS_TIMEB_H 1
  10530. | #define HAVE_SYS_TIMERFD_H 1
  10531. | #define HAVE_SYS_TIMES_H 1
  10532. | #define HAVE_SYS_UTSNAME_H 1
  10533. | #define HAVE_SYS_WAIT_H 1
  10534. | #define HAVE_TERMIOS_H 1
  10535. | #define HAVE_TIME_H 1
  10536. | #define HAVE_UTIME_H 1
  10537. | #define HAVE_SCHED_H 1
  10538. | #define TIME_WITH_SYS_TIME 1
  10539. | #define HAVE_LONG_LONG 1
  10540. | #define SIZEOF_CHAR 1
  10541. | #define ALIGNMENT_CHAR 1
  10542. | #define SIZEOF_DOUBLE 8
  10543. | #define ALIGNMENT_DOUBLE 8
  10544. | #define SIZEOF_FLOAT 4
  10545. | #define ALIGNMENT_FLOAT 4
  10546. | #define SIZEOF_INT 4
  10547. | #define ALIGNMENT_INT 4
  10548. | #define SIZEOF_LONG 8
  10549. | #define ALIGNMENT_LONG 8
  10550. | #define SIZEOF_LONG_LONG 8
  10551. | #define ALIGNMENT_LONG_LONG 8
  10552. | #define SIZEOF_SHORT 2
  10553. | #define ALIGNMENT_SHORT 2
  10554. | #define SIZEOF_UNSIGNED_CHAR 1
  10555. | #define ALIGNMENT_UNSIGNED_CHAR 1
  10556. | #define SIZEOF_UNSIGNED_INT 4
  10557. | #define ALIGNMENT_UNSIGNED_INT 4
  10558. | #define SIZEOF_UNSIGNED_LONG 8
  10559. | #define ALIGNMENT_UNSIGNED_LONG 8
  10560. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  10561. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  10562. | /* end confdefs.h. */
  10563. | #include <stdio.h>
  10564. | #ifdef HAVE_SYS_TYPES_H
  10565. | # include <sys/types.h>
  10566. | #endif
  10567. | #ifdef HAVE_SYS_STAT_H
  10568. | # include <sys/stat.h>
  10569. | #endif
  10570. | #ifdef STDC_HEADERS
  10571. | # include <stdlib.h>
  10572. | # include <stddef.h>
  10573. | #else
  10574. | # ifdef HAVE_STDLIB_H
  10575. | # include <stdlib.h>
  10576. | # endif
  10577. | #endif
  10578. | #ifdef HAVE_STRING_H
  10579. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10580. | # include <memory.h>
  10581. | # endif
  10582. | # include <string.h>
  10583. | #endif
  10584. | #ifdef HAVE_STRINGS_H
  10585. | # include <strings.h>
  10586. | #endif
  10587. | #ifdef HAVE_INTTYPES_H
  10588. | # include <inttypes.h>
  10589. | #endif
  10590. | #ifdef HAVE_STDINT_H
  10591. | # include <stdint.h>
  10592. | #endif
  10593. | #ifdef HAVE_UNISTD_H
  10594. | # include <unistd.h>
  10595. | #endif
  10596. | int
  10597. | main ()
  10598. | {
  10599. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= 0)];
  10600. | test_array [0] = 0;
  10601. | return test_array [0];
  10602. |
  10603. | ;
  10604. | return 0;
  10605. | }
  10606. configure:12618: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10607. conftest.c: In function 'main':
  10608. conftest.c:113:12: error: size of array 'test_array' is negative
  10609. static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= 1)];
  10610. ^~~~~~~~~~
  10611. configure:12618: $? = 1
  10612. configure: failed program was:
  10613. | /* confdefs.h */
  10614. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  10615. | #define PACKAGE_TARNAME "ghc-8.7"
  10616. | #define PACKAGE_VERSION "8.7"
  10617. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  10618. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  10619. | #define PACKAGE_URL ""
  10620. | #define STDC_HEADERS 1
  10621. | #define HAVE_SYS_TYPES_H 1
  10622. | #define HAVE_SYS_STAT_H 1
  10623. | #define HAVE_STDLIB_H 1
  10624. | #define HAVE_STRING_H 1
  10625. | #define HAVE_MEMORY_H 1
  10626. | #define HAVE_STRINGS_H 1
  10627. | #define HAVE_INTTYPES_H 1
  10628. | #define HAVE_STDINT_H 1
  10629. | #define HAVE_UNISTD_H 1
  10630. | #define __EXTENSIONS__ 1
  10631. | #define _ALL_SOURCE 1
  10632. | #define _GNU_SOURCE 1
  10633. | #define _POSIX_PTHREAD_SEMANTICS 1
  10634. | #define _TANDEM_SOURCE 1
  10635. | #define sUPPORTED_LLVM_VERSION (7,0)
  10636. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  10637. | #define STDC_HEADERS 1
  10638. | #define HAVE_CTYPE_H 1
  10639. | #define HAVE_DIRENT_H 1
  10640. | #define HAVE_DLFCN_H 1
  10641. | #define HAVE_ERRNO_H 1
  10642. | #define HAVE_FCNTL_H 1
  10643. | #define HAVE_GRP_H 1
  10644. | #define HAVE_LIMITS_H 1
  10645. | #define HAVE_LOCALE_H 1
  10646. | #define HAVE_NLIST_H 1
  10647. | #define HAVE_PTHREAD_H 1
  10648. | #define HAVE_PWD_H 1
  10649. | #define HAVE_SIGNAL_H 1
  10650. | #define HAVE_SYS_PARAM_H 1
  10651. | #define HAVE_SYS_MMAN_H 1
  10652. | #define HAVE_SYS_RESOURCE_H 1
  10653. | #define HAVE_SYS_SELECT_H 1
  10654. | #define HAVE_SYS_TIME_H 1
  10655. | #define HAVE_SYS_TIMEB_H 1
  10656. | #define HAVE_SYS_TIMERFD_H 1
  10657. | #define HAVE_SYS_TIMES_H 1
  10658. | #define HAVE_SYS_UTSNAME_H 1
  10659. | #define HAVE_SYS_WAIT_H 1
  10660. | #define HAVE_TERMIOS_H 1
  10661. | #define HAVE_TIME_H 1
  10662. | #define HAVE_UTIME_H 1
  10663. | #define HAVE_SCHED_H 1
  10664. | #define TIME_WITH_SYS_TIME 1
  10665. | #define HAVE_LONG_LONG 1
  10666. | #define SIZEOF_CHAR 1
  10667. | #define ALIGNMENT_CHAR 1
  10668. | #define SIZEOF_DOUBLE 8
  10669. | #define ALIGNMENT_DOUBLE 8
  10670. | #define SIZEOF_FLOAT 4
  10671. | #define ALIGNMENT_FLOAT 4
  10672. | #define SIZEOF_INT 4
  10673. | #define ALIGNMENT_INT 4
  10674. | #define SIZEOF_LONG 8
  10675. | #define ALIGNMENT_LONG 8
  10676. | #define SIZEOF_LONG_LONG 8
  10677. | #define ALIGNMENT_LONG_LONG 8
  10678. | #define SIZEOF_SHORT 2
  10679. | #define ALIGNMENT_SHORT 2
  10680. | #define SIZEOF_UNSIGNED_CHAR 1
  10681. | #define ALIGNMENT_UNSIGNED_CHAR 1
  10682. | #define SIZEOF_UNSIGNED_INT 4
  10683. | #define ALIGNMENT_UNSIGNED_INT 4
  10684. | #define SIZEOF_UNSIGNED_LONG 8
  10685. | #define ALIGNMENT_UNSIGNED_LONG 8
  10686. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  10687. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  10688. | /* end confdefs.h. */
  10689. | #include <stdio.h>
  10690. | #ifdef HAVE_SYS_TYPES_H
  10691. | # include <sys/types.h>
  10692. | #endif
  10693. | #ifdef HAVE_SYS_STAT_H
  10694. | # include <sys/stat.h>
  10695. | #endif
  10696. | #ifdef STDC_HEADERS
  10697. | # include <stdlib.h>
  10698. | # include <stddef.h>
  10699. | #else
  10700. | # ifdef HAVE_STDLIB_H
  10701. | # include <stdlib.h>
  10702. | # endif
  10703. | #endif
  10704. | #ifdef HAVE_STRING_H
  10705. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10706. | # include <memory.h>
  10707. | # endif
  10708. | # include <string.h>
  10709. | #endif
  10710. | #ifdef HAVE_STRINGS_H
  10711. | # include <strings.h>
  10712. | #endif
  10713. | #ifdef HAVE_INTTYPES_H
  10714. | # include <inttypes.h>
  10715. | #endif
  10716. | #ifdef HAVE_STDINT_H
  10717. | # include <stdint.h>
  10718. | #endif
  10719. | #ifdef HAVE_UNISTD_H
  10720. | # include <unistd.h>
  10721. | #endif
  10722. | int
  10723. | main ()
  10724. | {
  10725. | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= 1)];
  10726. | test_array [0] = 0;
  10727. | return test_array [0];
  10728. |
  10729. | ;
  10730. | return 0;
  10731. | }
  10732. configure:12618: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10733. configure:12618: $? = 0
  10734. configure:12618: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10735. configure:12618: $? = 0
  10736. configure:12632: result: 2
  10737. configure:12642: checking for unsigned short
  10738. configure:12642: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10739. configure:12642: $? = 0
  10740. configure:12642: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10741. conftest.c: In function 'main':
  10742. conftest.c:114:29: error: expected expression before ')' token
  10743. if (sizeof ((unsigned short)))
  10744. ^
  10745. configure:12642: $? = 1
  10746. configure: failed program was:
  10747. | /* confdefs.h */
  10748. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  10749. | #define PACKAGE_TARNAME "ghc-8.7"
  10750. | #define PACKAGE_VERSION "8.7"
  10751. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  10752. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  10753. | #define PACKAGE_URL ""
  10754. | #define STDC_HEADERS 1
  10755. | #define HAVE_SYS_TYPES_H 1
  10756. | #define HAVE_SYS_STAT_H 1
  10757. | #define HAVE_STDLIB_H 1
  10758. | #define HAVE_STRING_H 1
  10759. | #define HAVE_MEMORY_H 1
  10760. | #define HAVE_STRINGS_H 1
  10761. | #define HAVE_INTTYPES_H 1
  10762. | #define HAVE_STDINT_H 1
  10763. | #define HAVE_UNISTD_H 1
  10764. | #define __EXTENSIONS__ 1
  10765. | #define _ALL_SOURCE 1
  10766. | #define _GNU_SOURCE 1
  10767. | #define _POSIX_PTHREAD_SEMANTICS 1
  10768. | #define _TANDEM_SOURCE 1
  10769. | #define sUPPORTED_LLVM_VERSION (7,0)
  10770. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  10771. | #define STDC_HEADERS 1
  10772. | #define HAVE_CTYPE_H 1
  10773. | #define HAVE_DIRENT_H 1
  10774. | #define HAVE_DLFCN_H 1
  10775. | #define HAVE_ERRNO_H 1
  10776. | #define HAVE_FCNTL_H 1
  10777. | #define HAVE_GRP_H 1
  10778. | #define HAVE_LIMITS_H 1
  10779. | #define HAVE_LOCALE_H 1
  10780. | #define HAVE_NLIST_H 1
  10781. | #define HAVE_PTHREAD_H 1
  10782. | #define HAVE_PWD_H 1
  10783. | #define HAVE_SIGNAL_H 1
  10784. | #define HAVE_SYS_PARAM_H 1
  10785. | #define HAVE_SYS_MMAN_H 1
  10786. | #define HAVE_SYS_RESOURCE_H 1
  10787. | #define HAVE_SYS_SELECT_H 1
  10788. | #define HAVE_SYS_TIME_H 1
  10789. | #define HAVE_SYS_TIMEB_H 1
  10790. | #define HAVE_SYS_TIMERFD_H 1
  10791. | #define HAVE_SYS_TIMES_H 1
  10792. | #define HAVE_SYS_UTSNAME_H 1
  10793. | #define HAVE_SYS_WAIT_H 1
  10794. | #define HAVE_TERMIOS_H 1
  10795. | #define HAVE_TIME_H 1
  10796. | #define HAVE_UTIME_H 1
  10797. | #define HAVE_SCHED_H 1
  10798. | #define TIME_WITH_SYS_TIME 1
  10799. | #define HAVE_LONG_LONG 1
  10800. | #define SIZEOF_CHAR 1
  10801. | #define ALIGNMENT_CHAR 1
  10802. | #define SIZEOF_DOUBLE 8
  10803. | #define ALIGNMENT_DOUBLE 8
  10804. | #define SIZEOF_FLOAT 4
  10805. | #define ALIGNMENT_FLOAT 4
  10806. | #define SIZEOF_INT 4
  10807. | #define ALIGNMENT_INT 4
  10808. | #define SIZEOF_LONG 8
  10809. | #define ALIGNMENT_LONG 8
  10810. | #define SIZEOF_LONG_LONG 8
  10811. | #define ALIGNMENT_LONG_LONG 8
  10812. | #define SIZEOF_SHORT 2
  10813. | #define ALIGNMENT_SHORT 2
  10814. | #define SIZEOF_UNSIGNED_CHAR 1
  10815. | #define ALIGNMENT_UNSIGNED_CHAR 1
  10816. | #define SIZEOF_UNSIGNED_INT 4
  10817. | #define ALIGNMENT_UNSIGNED_INT 4
  10818. | #define SIZEOF_UNSIGNED_LONG 8
  10819. | #define ALIGNMENT_UNSIGNED_LONG 8
  10820. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  10821. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  10822. | #define SIZEOF_UNSIGNED_SHORT 2
  10823. | /* end confdefs.h. */
  10824. | #include <stdio.h>
  10825. | #ifdef HAVE_SYS_TYPES_H
  10826. | # include <sys/types.h>
  10827. | #endif
  10828. | #ifdef HAVE_SYS_STAT_H
  10829. | # include <sys/stat.h>
  10830. | #endif
  10831. | #ifdef STDC_HEADERS
  10832. | # include <stdlib.h>
  10833. | # include <stddef.h>
  10834. | #else
  10835. | # ifdef HAVE_STDLIB_H
  10836. | # include <stdlib.h>
  10837. | # endif
  10838. | #endif
  10839. | #ifdef HAVE_STRING_H
  10840. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10841. | # include <memory.h>
  10842. | # endif
  10843. | # include <string.h>
  10844. | #endif
  10845. | #ifdef HAVE_STRINGS_H
  10846. | # include <strings.h>
  10847. | #endif
  10848. | #ifdef HAVE_INTTYPES_H
  10849. | # include <inttypes.h>
  10850. | #endif
  10851. | #ifdef HAVE_STDINT_H
  10852. | # include <stdint.h>
  10853. | #endif
  10854. | #ifdef HAVE_UNISTD_H
  10855. | # include <unistd.h>
  10856. | #endif
  10857. | int
  10858. | main ()
  10859. | {
  10860. | if (sizeof ((unsigned short)))
  10861. | return 0;
  10862. | ;
  10863. | return 0;
  10864. | }
  10865. configure:12642: result: yes
  10866. configure:12646: checking alignment of unsigned short
  10867. configure:12652: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10868. configure:12652: $? = 0
  10869. configure:12652: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10870. conftest.c: In function 'main':
  10871. conftest.c:114:12: error: size of array 'test_array' is negative
  10872. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned short ty; },ty)) <= 0)];
  10873. ^~~~~~~~~~
  10874. configure:12652: $? = 1
  10875. configure: failed program was:
  10876. | /* confdefs.h */
  10877. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  10878. | #define PACKAGE_TARNAME "ghc-8.7"
  10879. | #define PACKAGE_VERSION "8.7"
  10880. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  10881. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  10882. | #define PACKAGE_URL ""
  10883. | #define STDC_HEADERS 1
  10884. | #define HAVE_SYS_TYPES_H 1
  10885. | #define HAVE_SYS_STAT_H 1
  10886. | #define HAVE_STDLIB_H 1
  10887. | #define HAVE_STRING_H 1
  10888. | #define HAVE_MEMORY_H 1
  10889. | #define HAVE_STRINGS_H 1
  10890. | #define HAVE_INTTYPES_H 1
  10891. | #define HAVE_STDINT_H 1
  10892. | #define HAVE_UNISTD_H 1
  10893. | #define __EXTENSIONS__ 1
  10894. | #define _ALL_SOURCE 1
  10895. | #define _GNU_SOURCE 1
  10896. | #define _POSIX_PTHREAD_SEMANTICS 1
  10897. | #define _TANDEM_SOURCE 1
  10898. | #define sUPPORTED_LLVM_VERSION (7,0)
  10899. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  10900. | #define STDC_HEADERS 1
  10901. | #define HAVE_CTYPE_H 1
  10902. | #define HAVE_DIRENT_H 1
  10903. | #define HAVE_DLFCN_H 1
  10904. | #define HAVE_ERRNO_H 1
  10905. | #define HAVE_FCNTL_H 1
  10906. | #define HAVE_GRP_H 1
  10907. | #define HAVE_LIMITS_H 1
  10908. | #define HAVE_LOCALE_H 1
  10909. | #define HAVE_NLIST_H 1
  10910. | #define HAVE_PTHREAD_H 1
  10911. | #define HAVE_PWD_H 1
  10912. | #define HAVE_SIGNAL_H 1
  10913. | #define HAVE_SYS_PARAM_H 1
  10914. | #define HAVE_SYS_MMAN_H 1
  10915. | #define HAVE_SYS_RESOURCE_H 1
  10916. | #define HAVE_SYS_SELECT_H 1
  10917. | #define HAVE_SYS_TIME_H 1
  10918. | #define HAVE_SYS_TIMEB_H 1
  10919. | #define HAVE_SYS_TIMERFD_H 1
  10920. | #define HAVE_SYS_TIMES_H 1
  10921. | #define HAVE_SYS_UTSNAME_H 1
  10922. | #define HAVE_SYS_WAIT_H 1
  10923. | #define HAVE_TERMIOS_H 1
  10924. | #define HAVE_TIME_H 1
  10925. | #define HAVE_UTIME_H 1
  10926. | #define HAVE_SCHED_H 1
  10927. | #define TIME_WITH_SYS_TIME 1
  10928. | #define HAVE_LONG_LONG 1
  10929. | #define SIZEOF_CHAR 1
  10930. | #define ALIGNMENT_CHAR 1
  10931. | #define SIZEOF_DOUBLE 8
  10932. | #define ALIGNMENT_DOUBLE 8
  10933. | #define SIZEOF_FLOAT 4
  10934. | #define ALIGNMENT_FLOAT 4
  10935. | #define SIZEOF_INT 4
  10936. | #define ALIGNMENT_INT 4
  10937. | #define SIZEOF_LONG 8
  10938. | #define ALIGNMENT_LONG 8
  10939. | #define SIZEOF_LONG_LONG 8
  10940. | #define ALIGNMENT_LONG_LONG 8
  10941. | #define SIZEOF_SHORT 2
  10942. | #define ALIGNMENT_SHORT 2
  10943. | #define SIZEOF_UNSIGNED_CHAR 1
  10944. | #define ALIGNMENT_UNSIGNED_CHAR 1
  10945. | #define SIZEOF_UNSIGNED_INT 4
  10946. | #define ALIGNMENT_UNSIGNED_INT 4
  10947. | #define SIZEOF_UNSIGNED_LONG 8
  10948. | #define ALIGNMENT_UNSIGNED_LONG 8
  10949. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  10950. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  10951. | #define SIZEOF_UNSIGNED_SHORT 2
  10952. | /* end confdefs.h. */
  10953. | #include <stdio.h>
  10954. | #ifdef HAVE_SYS_TYPES_H
  10955. | # include <sys/types.h>
  10956. | #endif
  10957. | #ifdef HAVE_SYS_STAT_H
  10958. | # include <sys/stat.h>
  10959. | #endif
  10960. | #ifdef STDC_HEADERS
  10961. | # include <stdlib.h>
  10962. | # include <stddef.h>
  10963. | #else
  10964. | # ifdef HAVE_STDLIB_H
  10965. | # include <stdlib.h>
  10966. | # endif
  10967. | #endif
  10968. | #ifdef HAVE_STRING_H
  10969. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10970. | # include <memory.h>
  10971. | # endif
  10972. | # include <string.h>
  10973. | #endif
  10974. | #ifdef HAVE_STRINGS_H
  10975. | # include <strings.h>
  10976. | #endif
  10977. | #ifdef HAVE_INTTYPES_H
  10978. | # include <inttypes.h>
  10979. | #endif
  10980. | #ifdef HAVE_STDINT_H
  10981. | # include <stdint.h>
  10982. | #endif
  10983. | #ifdef HAVE_UNISTD_H
  10984. | # include <unistd.h>
  10985. | #endif
  10986. | int
  10987. | main ()
  10988. | {
  10989. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned short ty; },ty)) <= 0)];
  10990. | test_array [0] = 0;
  10991. | return test_array [0];
  10992. |
  10993. | ;
  10994. | return 0;
  10995. | }
  10996. configure:12652: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  10997. conftest.c: In function 'main':
  10998. conftest.c:114:12: error: size of array 'test_array' is negative
  10999. static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned short ty; },ty)) <= 1)];
  11000. ^~~~~~~~~~
  11001. configure:12652: $? = 1
  11002. configure: failed program was:
  11003. | /* confdefs.h */
  11004. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  11005. | #define PACKAGE_TARNAME "ghc-8.7"
  11006. | #define PACKAGE_VERSION "8.7"
  11007. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  11008. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  11009. | #define PACKAGE_URL ""
  11010. | #define STDC_HEADERS 1
  11011. | #define HAVE_SYS_TYPES_H 1
  11012. | #define HAVE_SYS_STAT_H 1
  11013. | #define HAVE_STDLIB_H 1
  11014. | #define HAVE_STRING_H 1
  11015. | #define HAVE_MEMORY_H 1
  11016. | #define HAVE_STRINGS_H 1
  11017. | #define HAVE_INTTYPES_H 1
  11018. | #define HAVE_STDINT_H 1
  11019. | #define HAVE_UNISTD_H 1
  11020. | #define __EXTENSIONS__ 1
  11021. | #define _ALL_SOURCE 1
  11022. | #define _GNU_SOURCE 1
  11023. | #define _POSIX_PTHREAD_SEMANTICS 1
  11024. | #define _TANDEM_SOURCE 1
  11025. | #define sUPPORTED_LLVM_VERSION (7,0)
  11026. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  11027. | #define STDC_HEADERS 1
  11028. | #define HAVE_CTYPE_H 1
  11029. | #define HAVE_DIRENT_H 1
  11030. | #define HAVE_DLFCN_H 1
  11031. | #define HAVE_ERRNO_H 1
  11032. | #define HAVE_FCNTL_H 1
  11033. | #define HAVE_GRP_H 1
  11034. | #define HAVE_LIMITS_H 1
  11035. | #define HAVE_LOCALE_H 1
  11036. | #define HAVE_NLIST_H 1
  11037. | #define HAVE_PTHREAD_H 1
  11038. | #define HAVE_PWD_H 1
  11039. | #define HAVE_SIGNAL_H 1
  11040. | #define HAVE_SYS_PARAM_H 1
  11041. | #define HAVE_SYS_MMAN_H 1
  11042. | #define HAVE_SYS_RESOURCE_H 1
  11043. | #define HAVE_SYS_SELECT_H 1
  11044. | #define HAVE_SYS_TIME_H 1
  11045. | #define HAVE_SYS_TIMEB_H 1
  11046. | #define HAVE_SYS_TIMERFD_H 1
  11047. | #define HAVE_SYS_TIMES_H 1
  11048. | #define HAVE_SYS_UTSNAME_H 1
  11049. | #define HAVE_SYS_WAIT_H 1
  11050. | #define HAVE_TERMIOS_H 1
  11051. | #define HAVE_TIME_H 1
  11052. | #define HAVE_UTIME_H 1
  11053. | #define HAVE_SCHED_H 1
  11054. | #define TIME_WITH_SYS_TIME 1
  11055. | #define HAVE_LONG_LONG 1
  11056. | #define SIZEOF_CHAR 1
  11057. | #define ALIGNMENT_CHAR 1
  11058. | #define SIZEOF_DOUBLE 8
  11059. | #define ALIGNMENT_DOUBLE 8
  11060. | #define SIZEOF_FLOAT 4
  11061. | #define ALIGNMENT_FLOAT 4
  11062. | #define SIZEOF_INT 4
  11063. | #define ALIGNMENT_INT 4
  11064. | #define SIZEOF_LONG 8
  11065. | #define ALIGNMENT_LONG 8
  11066. | #define SIZEOF_LONG_LONG 8
  11067. | #define ALIGNMENT_LONG_LONG 8
  11068. | #define SIZEOF_SHORT 2
  11069. | #define ALIGNMENT_SHORT 2
  11070. | #define SIZEOF_UNSIGNED_CHAR 1
  11071. | #define ALIGNMENT_UNSIGNED_CHAR 1
  11072. | #define SIZEOF_UNSIGNED_INT 4
  11073. | #define ALIGNMENT_UNSIGNED_INT 4
  11074. | #define SIZEOF_UNSIGNED_LONG 8
  11075. | #define ALIGNMENT_UNSIGNED_LONG 8
  11076. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  11077. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  11078. | #define SIZEOF_UNSIGNED_SHORT 2
  11079. | /* end confdefs.h. */
  11080. | #include <stdio.h>
  11081. | #ifdef HAVE_SYS_TYPES_H
  11082. | # include <sys/types.h>
  11083. | #endif
  11084. | #ifdef HAVE_SYS_STAT_H
  11085. | # include <sys/stat.h>
  11086. | #endif
  11087. | #ifdef STDC_HEADERS
  11088. | # include <stdlib.h>
  11089. | # include <stddef.h>
  11090. | #else
  11091. | # ifdef HAVE_STDLIB_H
  11092. | # include <stdlib.h>
  11093. | # endif
  11094. | #endif
  11095. | #ifdef HAVE_STRING_H
  11096. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11097. | # include <memory.h>
  11098. | # endif
  11099. | # include <string.h>
  11100. | #endif
  11101. | #ifdef HAVE_STRINGS_H
  11102. | # include <strings.h>
  11103. | #endif
  11104. | #ifdef HAVE_INTTYPES_H
  11105. | # include <inttypes.h>
  11106. | #endif
  11107. | #ifdef HAVE_STDINT_H
  11108. | # include <stdint.h>
  11109. | #endif
  11110. | #ifdef HAVE_UNISTD_H
  11111. | # include <unistd.h>
  11112. | #endif
  11113. | int
  11114. | main ()
  11115. | {
  11116. | static int test_array [1 - 2 * !((offsetof(struct { char c; unsigned short ty; },ty)) <= 1)];
  11117. | test_array [0] = 0;
  11118. | return test_array [0];
  11119. |
  11120. | ;
  11121. | return 0;
  11122. | }
  11123. configure:12652: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11124. configure:12652: $? = 0
  11125. configure:12652: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11126. configure:12652: $? = 0
  11127. configure:12664: result: 2
  11128. configure:12675: checking size of void *
  11129. configure:12680: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11130. configure:12680: $? = 0
  11131. configure:12680: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11132. conftest.c: In function 'main':
  11133. conftest.c:115:12: error: size of array 'test_array' is negative
  11134. static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 0)];
  11135. ^~~~~~~~~~
  11136. configure:12680: $? = 1
  11137. configure: failed program was:
  11138. | /* confdefs.h */
  11139. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  11140. | #define PACKAGE_TARNAME "ghc-8.7"
  11141. | #define PACKAGE_VERSION "8.7"
  11142. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  11143. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  11144. | #define PACKAGE_URL ""
  11145. | #define STDC_HEADERS 1
  11146. | #define HAVE_SYS_TYPES_H 1
  11147. | #define HAVE_SYS_STAT_H 1
  11148. | #define HAVE_STDLIB_H 1
  11149. | #define HAVE_STRING_H 1
  11150. | #define HAVE_MEMORY_H 1
  11151. | #define HAVE_STRINGS_H 1
  11152. | #define HAVE_INTTYPES_H 1
  11153. | #define HAVE_STDINT_H 1
  11154. | #define HAVE_UNISTD_H 1
  11155. | #define __EXTENSIONS__ 1
  11156. | #define _ALL_SOURCE 1
  11157. | #define _GNU_SOURCE 1
  11158. | #define _POSIX_PTHREAD_SEMANTICS 1
  11159. | #define _TANDEM_SOURCE 1
  11160. | #define sUPPORTED_LLVM_VERSION (7,0)
  11161. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  11162. | #define STDC_HEADERS 1
  11163. | #define HAVE_CTYPE_H 1
  11164. | #define HAVE_DIRENT_H 1
  11165. | #define HAVE_DLFCN_H 1
  11166. | #define HAVE_ERRNO_H 1
  11167. | #define HAVE_FCNTL_H 1
  11168. | #define HAVE_GRP_H 1
  11169. | #define HAVE_LIMITS_H 1
  11170. | #define HAVE_LOCALE_H 1
  11171. | #define HAVE_NLIST_H 1
  11172. | #define HAVE_PTHREAD_H 1
  11173. | #define HAVE_PWD_H 1
  11174. | #define HAVE_SIGNAL_H 1
  11175. | #define HAVE_SYS_PARAM_H 1
  11176. | #define HAVE_SYS_MMAN_H 1
  11177. | #define HAVE_SYS_RESOURCE_H 1
  11178. | #define HAVE_SYS_SELECT_H 1
  11179. | #define HAVE_SYS_TIME_H 1
  11180. | #define HAVE_SYS_TIMEB_H 1
  11181. | #define HAVE_SYS_TIMERFD_H 1
  11182. | #define HAVE_SYS_TIMES_H 1
  11183. | #define HAVE_SYS_UTSNAME_H 1
  11184. | #define HAVE_SYS_WAIT_H 1
  11185. | #define HAVE_TERMIOS_H 1
  11186. | #define HAVE_TIME_H 1
  11187. | #define HAVE_UTIME_H 1
  11188. | #define HAVE_SCHED_H 1
  11189. | #define TIME_WITH_SYS_TIME 1
  11190. | #define HAVE_LONG_LONG 1
  11191. | #define SIZEOF_CHAR 1
  11192. | #define ALIGNMENT_CHAR 1
  11193. | #define SIZEOF_DOUBLE 8
  11194. | #define ALIGNMENT_DOUBLE 8
  11195. | #define SIZEOF_FLOAT 4
  11196. | #define ALIGNMENT_FLOAT 4
  11197. | #define SIZEOF_INT 4
  11198. | #define ALIGNMENT_INT 4
  11199. | #define SIZEOF_LONG 8
  11200. | #define ALIGNMENT_LONG 8
  11201. | #define SIZEOF_LONG_LONG 8
  11202. | #define ALIGNMENT_LONG_LONG 8
  11203. | #define SIZEOF_SHORT 2
  11204. | #define ALIGNMENT_SHORT 2
  11205. | #define SIZEOF_UNSIGNED_CHAR 1
  11206. | #define ALIGNMENT_UNSIGNED_CHAR 1
  11207. | #define SIZEOF_UNSIGNED_INT 4
  11208. | #define ALIGNMENT_UNSIGNED_INT 4
  11209. | #define SIZEOF_UNSIGNED_LONG 8
  11210. | #define ALIGNMENT_UNSIGNED_LONG 8
  11211. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  11212. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  11213. | #define SIZEOF_UNSIGNED_SHORT 2
  11214. | #define ALIGNMENT_UNSIGNED_SHORT 2
  11215. | /* end confdefs.h. */
  11216. | #include <stdio.h>
  11217. | #ifdef HAVE_SYS_TYPES_H
  11218. | # include <sys/types.h>
  11219. | #endif
  11220. | #ifdef HAVE_SYS_STAT_H
  11221. | # include <sys/stat.h>
  11222. | #endif
  11223. | #ifdef STDC_HEADERS
  11224. | # include <stdlib.h>
  11225. | # include <stddef.h>
  11226. | #else
  11227. | # ifdef HAVE_STDLIB_H
  11228. | # include <stdlib.h>
  11229. | # endif
  11230. | #endif
  11231. | #ifdef HAVE_STRING_H
  11232. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11233. | # include <memory.h>
  11234. | # endif
  11235. | # include <string.h>
  11236. | #endif
  11237. | #ifdef HAVE_STRINGS_H
  11238. | # include <strings.h>
  11239. | #endif
  11240. | #ifdef HAVE_INTTYPES_H
  11241. | # include <inttypes.h>
  11242. | #endif
  11243. | #ifdef HAVE_STDINT_H
  11244. | # include <stdint.h>
  11245. | #endif
  11246. | #ifdef HAVE_UNISTD_H
  11247. | # include <unistd.h>
  11248. | #endif
  11249. | int
  11250. | main ()
  11251. | {
  11252. | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 0)];
  11253. | test_array [0] = 0;
  11254. | return test_array [0];
  11255. |
  11256. | ;
  11257. | return 0;
  11258. | }
  11259. configure:12680: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11260. conftest.c: In function 'main':
  11261. conftest.c:115:12: error: size of array 'test_array' is negative
  11262. static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 1)];
  11263. ^~~~~~~~~~
  11264. configure:12680: $? = 1
  11265. configure: failed program was:
  11266. | /* confdefs.h */
  11267. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  11268. | #define PACKAGE_TARNAME "ghc-8.7"
  11269. | #define PACKAGE_VERSION "8.7"
  11270. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  11271. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  11272. | #define PACKAGE_URL ""
  11273. | #define STDC_HEADERS 1
  11274. | #define HAVE_SYS_TYPES_H 1
  11275. | #define HAVE_SYS_STAT_H 1
  11276. | #define HAVE_STDLIB_H 1
  11277. | #define HAVE_STRING_H 1
  11278. | #define HAVE_MEMORY_H 1
  11279. | #define HAVE_STRINGS_H 1
  11280. | #define HAVE_INTTYPES_H 1
  11281. | #define HAVE_STDINT_H 1
  11282. | #define HAVE_UNISTD_H 1
  11283. | #define __EXTENSIONS__ 1
  11284. | #define _ALL_SOURCE 1
  11285. | #define _GNU_SOURCE 1
  11286. | #define _POSIX_PTHREAD_SEMANTICS 1
  11287. | #define _TANDEM_SOURCE 1
  11288. | #define sUPPORTED_LLVM_VERSION (7,0)
  11289. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  11290. | #define STDC_HEADERS 1
  11291. | #define HAVE_CTYPE_H 1
  11292. | #define HAVE_DIRENT_H 1
  11293. | #define HAVE_DLFCN_H 1
  11294. | #define HAVE_ERRNO_H 1
  11295. | #define HAVE_FCNTL_H 1
  11296. | #define HAVE_GRP_H 1
  11297. | #define HAVE_LIMITS_H 1
  11298. | #define HAVE_LOCALE_H 1
  11299. | #define HAVE_NLIST_H 1
  11300. | #define HAVE_PTHREAD_H 1
  11301. | #define HAVE_PWD_H 1
  11302. | #define HAVE_SIGNAL_H 1
  11303. | #define HAVE_SYS_PARAM_H 1
  11304. | #define HAVE_SYS_MMAN_H 1
  11305. | #define HAVE_SYS_RESOURCE_H 1
  11306. | #define HAVE_SYS_SELECT_H 1
  11307. | #define HAVE_SYS_TIME_H 1
  11308. | #define HAVE_SYS_TIMEB_H 1
  11309. | #define HAVE_SYS_TIMERFD_H 1
  11310. | #define HAVE_SYS_TIMES_H 1
  11311. | #define HAVE_SYS_UTSNAME_H 1
  11312. | #define HAVE_SYS_WAIT_H 1
  11313. | #define HAVE_TERMIOS_H 1
  11314. | #define HAVE_TIME_H 1
  11315. | #define HAVE_UTIME_H 1
  11316. | #define HAVE_SCHED_H 1
  11317. | #define TIME_WITH_SYS_TIME 1
  11318. | #define HAVE_LONG_LONG 1
  11319. | #define SIZEOF_CHAR 1
  11320. | #define ALIGNMENT_CHAR 1
  11321. | #define SIZEOF_DOUBLE 8
  11322. | #define ALIGNMENT_DOUBLE 8
  11323. | #define SIZEOF_FLOAT 4
  11324. | #define ALIGNMENT_FLOAT 4
  11325. | #define SIZEOF_INT 4
  11326. | #define ALIGNMENT_INT 4
  11327. | #define SIZEOF_LONG 8
  11328. | #define ALIGNMENT_LONG 8
  11329. | #define SIZEOF_LONG_LONG 8
  11330. | #define ALIGNMENT_LONG_LONG 8
  11331. | #define SIZEOF_SHORT 2
  11332. | #define ALIGNMENT_SHORT 2
  11333. | #define SIZEOF_UNSIGNED_CHAR 1
  11334. | #define ALIGNMENT_UNSIGNED_CHAR 1
  11335. | #define SIZEOF_UNSIGNED_INT 4
  11336. | #define ALIGNMENT_UNSIGNED_INT 4
  11337. | #define SIZEOF_UNSIGNED_LONG 8
  11338. | #define ALIGNMENT_UNSIGNED_LONG 8
  11339. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  11340. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  11341. | #define SIZEOF_UNSIGNED_SHORT 2
  11342. | #define ALIGNMENT_UNSIGNED_SHORT 2
  11343. | /* end confdefs.h. */
  11344. | #include <stdio.h>
  11345. | #ifdef HAVE_SYS_TYPES_H
  11346. | # include <sys/types.h>
  11347. | #endif
  11348. | #ifdef HAVE_SYS_STAT_H
  11349. | # include <sys/stat.h>
  11350. | #endif
  11351. | #ifdef STDC_HEADERS
  11352. | # include <stdlib.h>
  11353. | # include <stddef.h>
  11354. | #else
  11355. | # ifdef HAVE_STDLIB_H
  11356. | # include <stdlib.h>
  11357. | # endif
  11358. | #endif
  11359. | #ifdef HAVE_STRING_H
  11360. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11361. | # include <memory.h>
  11362. | # endif
  11363. | # include <string.h>
  11364. | #endif
  11365. | #ifdef HAVE_STRINGS_H
  11366. | # include <strings.h>
  11367. | #endif
  11368. | #ifdef HAVE_INTTYPES_H
  11369. | # include <inttypes.h>
  11370. | #endif
  11371. | #ifdef HAVE_STDINT_H
  11372. | # include <stdint.h>
  11373. | #endif
  11374. | #ifdef HAVE_UNISTD_H
  11375. | # include <unistd.h>
  11376. | #endif
  11377. | int
  11378. | main ()
  11379. | {
  11380. | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 1)];
  11381. | test_array [0] = 0;
  11382. | return test_array [0];
  11383. |
  11384. | ;
  11385. | return 0;
  11386. | }
  11387. configure:12680: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11388. conftest.c: In function 'main':
  11389. conftest.c:115:12: error: size of array 'test_array' is negative
  11390. static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 3)];
  11391. ^~~~~~~~~~
  11392. configure:12680: $? = 1
  11393. configure: failed program was:
  11394. | /* confdefs.h */
  11395. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  11396. | #define PACKAGE_TARNAME "ghc-8.7"
  11397. | #define PACKAGE_VERSION "8.7"
  11398. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  11399. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  11400. | #define PACKAGE_URL ""
  11401. | #define STDC_HEADERS 1
  11402. | #define HAVE_SYS_TYPES_H 1
  11403. | #define HAVE_SYS_STAT_H 1
  11404. | #define HAVE_STDLIB_H 1
  11405. | #define HAVE_STRING_H 1
  11406. | #define HAVE_MEMORY_H 1
  11407. | #define HAVE_STRINGS_H 1
  11408. | #define HAVE_INTTYPES_H 1
  11409. | #define HAVE_STDINT_H 1
  11410. | #define HAVE_UNISTD_H 1
  11411. | #define __EXTENSIONS__ 1
  11412. | #define _ALL_SOURCE 1
  11413. | #define _GNU_SOURCE 1
  11414. | #define _POSIX_PTHREAD_SEMANTICS 1
  11415. | #define _TANDEM_SOURCE 1
  11416. | #define sUPPORTED_LLVM_VERSION (7,0)
  11417. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  11418. | #define STDC_HEADERS 1
  11419. | #define HAVE_CTYPE_H 1
  11420. | #define HAVE_DIRENT_H 1
  11421. | #define HAVE_DLFCN_H 1
  11422. | #define HAVE_ERRNO_H 1
  11423. | #define HAVE_FCNTL_H 1
  11424. | #define HAVE_GRP_H 1
  11425. | #define HAVE_LIMITS_H 1
  11426. | #define HAVE_LOCALE_H 1
  11427. | #define HAVE_NLIST_H 1
  11428. | #define HAVE_PTHREAD_H 1
  11429. | #define HAVE_PWD_H 1
  11430. | #define HAVE_SIGNAL_H 1
  11431. | #define HAVE_SYS_PARAM_H 1
  11432. | #define HAVE_SYS_MMAN_H 1
  11433. | #define HAVE_SYS_RESOURCE_H 1
  11434. | #define HAVE_SYS_SELECT_H 1
  11435. | #define HAVE_SYS_TIME_H 1
  11436. | #define HAVE_SYS_TIMEB_H 1
  11437. | #define HAVE_SYS_TIMERFD_H 1
  11438. | #define HAVE_SYS_TIMES_H 1
  11439. | #define HAVE_SYS_UTSNAME_H 1
  11440. | #define HAVE_SYS_WAIT_H 1
  11441. | #define HAVE_TERMIOS_H 1
  11442. | #define HAVE_TIME_H 1
  11443. | #define HAVE_UTIME_H 1
  11444. | #define HAVE_SCHED_H 1
  11445. | #define TIME_WITH_SYS_TIME 1
  11446. | #define HAVE_LONG_LONG 1
  11447. | #define SIZEOF_CHAR 1
  11448. | #define ALIGNMENT_CHAR 1
  11449. | #define SIZEOF_DOUBLE 8
  11450. | #define ALIGNMENT_DOUBLE 8
  11451. | #define SIZEOF_FLOAT 4
  11452. | #define ALIGNMENT_FLOAT 4
  11453. | #define SIZEOF_INT 4
  11454. | #define ALIGNMENT_INT 4
  11455. | #define SIZEOF_LONG 8
  11456. | #define ALIGNMENT_LONG 8
  11457. | #define SIZEOF_LONG_LONG 8
  11458. | #define ALIGNMENT_LONG_LONG 8
  11459. | #define SIZEOF_SHORT 2
  11460. | #define ALIGNMENT_SHORT 2
  11461. | #define SIZEOF_UNSIGNED_CHAR 1
  11462. | #define ALIGNMENT_UNSIGNED_CHAR 1
  11463. | #define SIZEOF_UNSIGNED_INT 4
  11464. | #define ALIGNMENT_UNSIGNED_INT 4
  11465. | #define SIZEOF_UNSIGNED_LONG 8
  11466. | #define ALIGNMENT_UNSIGNED_LONG 8
  11467. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  11468. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  11469. | #define SIZEOF_UNSIGNED_SHORT 2
  11470. | #define ALIGNMENT_UNSIGNED_SHORT 2
  11471. | /* end confdefs.h. */
  11472. | #include <stdio.h>
  11473. | #ifdef HAVE_SYS_TYPES_H
  11474. | # include <sys/types.h>
  11475. | #endif
  11476. | #ifdef HAVE_SYS_STAT_H
  11477. | # include <sys/stat.h>
  11478. | #endif
  11479. | #ifdef STDC_HEADERS
  11480. | # include <stdlib.h>
  11481. | # include <stddef.h>
  11482. | #else
  11483. | # ifdef HAVE_STDLIB_H
  11484. | # include <stdlib.h>
  11485. | # endif
  11486. | #endif
  11487. | #ifdef HAVE_STRING_H
  11488. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11489. | # include <memory.h>
  11490. | # endif
  11491. | # include <string.h>
  11492. | #endif
  11493. | #ifdef HAVE_STRINGS_H
  11494. | # include <strings.h>
  11495. | #endif
  11496. | #ifdef HAVE_INTTYPES_H
  11497. | # include <inttypes.h>
  11498. | #endif
  11499. | #ifdef HAVE_STDINT_H
  11500. | # include <stdint.h>
  11501. | #endif
  11502. | #ifdef HAVE_UNISTD_H
  11503. | # include <unistd.h>
  11504. | #endif
  11505. | int
  11506. | main ()
  11507. | {
  11508. | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 3)];
  11509. | test_array [0] = 0;
  11510. | return test_array [0];
  11511. |
  11512. | ;
  11513. | return 0;
  11514. | }
  11515. configure:12680: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11516. conftest.c: In function 'main':
  11517. conftest.c:115:12: error: size of array 'test_array' is negative
  11518. static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 7)];
  11519. ^~~~~~~~~~
  11520. configure:12680: $? = 1
  11521. configure: failed program was:
  11522. | /* confdefs.h */
  11523. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  11524. | #define PACKAGE_TARNAME "ghc-8.7"
  11525. | #define PACKAGE_VERSION "8.7"
  11526. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  11527. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  11528. | #define PACKAGE_URL ""
  11529. | #define STDC_HEADERS 1
  11530. | #define HAVE_SYS_TYPES_H 1
  11531. | #define HAVE_SYS_STAT_H 1
  11532. | #define HAVE_STDLIB_H 1
  11533. | #define HAVE_STRING_H 1
  11534. | #define HAVE_MEMORY_H 1
  11535. | #define HAVE_STRINGS_H 1
  11536. | #define HAVE_INTTYPES_H 1
  11537. | #define HAVE_STDINT_H 1
  11538. | #define HAVE_UNISTD_H 1
  11539. | #define __EXTENSIONS__ 1
  11540. | #define _ALL_SOURCE 1
  11541. | #define _GNU_SOURCE 1
  11542. | #define _POSIX_PTHREAD_SEMANTICS 1
  11543. | #define _TANDEM_SOURCE 1
  11544. | #define sUPPORTED_LLVM_VERSION (7,0)
  11545. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  11546. | #define STDC_HEADERS 1
  11547. | #define HAVE_CTYPE_H 1
  11548. | #define HAVE_DIRENT_H 1
  11549. | #define HAVE_DLFCN_H 1
  11550. | #define HAVE_ERRNO_H 1
  11551. | #define HAVE_FCNTL_H 1
  11552. | #define HAVE_GRP_H 1
  11553. | #define HAVE_LIMITS_H 1
  11554. | #define HAVE_LOCALE_H 1
  11555. | #define HAVE_NLIST_H 1
  11556. | #define HAVE_PTHREAD_H 1
  11557. | #define HAVE_PWD_H 1
  11558. | #define HAVE_SIGNAL_H 1
  11559. | #define HAVE_SYS_PARAM_H 1
  11560. | #define HAVE_SYS_MMAN_H 1
  11561. | #define HAVE_SYS_RESOURCE_H 1
  11562. | #define HAVE_SYS_SELECT_H 1
  11563. | #define HAVE_SYS_TIME_H 1
  11564. | #define HAVE_SYS_TIMEB_H 1
  11565. | #define HAVE_SYS_TIMERFD_H 1
  11566. | #define HAVE_SYS_TIMES_H 1
  11567. | #define HAVE_SYS_UTSNAME_H 1
  11568. | #define HAVE_SYS_WAIT_H 1
  11569. | #define HAVE_TERMIOS_H 1
  11570. | #define HAVE_TIME_H 1
  11571. | #define HAVE_UTIME_H 1
  11572. | #define HAVE_SCHED_H 1
  11573. | #define TIME_WITH_SYS_TIME 1
  11574. | #define HAVE_LONG_LONG 1
  11575. | #define SIZEOF_CHAR 1
  11576. | #define ALIGNMENT_CHAR 1
  11577. | #define SIZEOF_DOUBLE 8
  11578. | #define ALIGNMENT_DOUBLE 8
  11579. | #define SIZEOF_FLOAT 4
  11580. | #define ALIGNMENT_FLOAT 4
  11581. | #define SIZEOF_INT 4
  11582. | #define ALIGNMENT_INT 4
  11583. | #define SIZEOF_LONG 8
  11584. | #define ALIGNMENT_LONG 8
  11585. | #define SIZEOF_LONG_LONG 8
  11586. | #define ALIGNMENT_LONG_LONG 8
  11587. | #define SIZEOF_SHORT 2
  11588. | #define ALIGNMENT_SHORT 2
  11589. | #define SIZEOF_UNSIGNED_CHAR 1
  11590. | #define ALIGNMENT_UNSIGNED_CHAR 1
  11591. | #define SIZEOF_UNSIGNED_INT 4
  11592. | #define ALIGNMENT_UNSIGNED_INT 4
  11593. | #define SIZEOF_UNSIGNED_LONG 8
  11594. | #define ALIGNMENT_UNSIGNED_LONG 8
  11595. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  11596. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  11597. | #define SIZEOF_UNSIGNED_SHORT 2
  11598. | #define ALIGNMENT_UNSIGNED_SHORT 2
  11599. | /* end confdefs.h. */
  11600. | #include <stdio.h>
  11601. | #ifdef HAVE_SYS_TYPES_H
  11602. | # include <sys/types.h>
  11603. | #endif
  11604. | #ifdef HAVE_SYS_STAT_H
  11605. | # include <sys/stat.h>
  11606. | #endif
  11607. | #ifdef STDC_HEADERS
  11608. | # include <stdlib.h>
  11609. | # include <stddef.h>
  11610. | #else
  11611. | # ifdef HAVE_STDLIB_H
  11612. | # include <stdlib.h>
  11613. | # endif
  11614. | #endif
  11615. | #ifdef HAVE_STRING_H
  11616. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11617. | # include <memory.h>
  11618. | # endif
  11619. | # include <string.h>
  11620. | #endif
  11621. | #ifdef HAVE_STRINGS_H
  11622. | # include <strings.h>
  11623. | #endif
  11624. | #ifdef HAVE_INTTYPES_H
  11625. | # include <inttypes.h>
  11626. | #endif
  11627. | #ifdef HAVE_STDINT_H
  11628. | # include <stdint.h>
  11629. | #endif
  11630. | #ifdef HAVE_UNISTD_H
  11631. | # include <unistd.h>
  11632. | #endif
  11633. | int
  11634. | main ()
  11635. | {
  11636. | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 7)];
  11637. | test_array [0] = 0;
  11638. | return test_array [0];
  11639. |
  11640. | ;
  11641. | return 0;
  11642. | }
  11643. configure:12680: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11644. configure:12680: $? = 0
  11645. configure:12680: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11646. configure:12680: $? = 0
  11647. configure:12680: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11648. configure:12680: $? = 0
  11649. configure:12680: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11650. configure:12680: $? = 0
  11651. configure:12694: result: 8
  11652. configure:12705: checking for void *
  11653. configure:12705: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11654. configure:12705: $? = 0
  11655. configure:12705: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11656. conftest.c: In function 'main':
  11657. conftest.c:116:21: error: expected expression before ')' token
  11658. if (sizeof ((void *)))
  11659. ^
  11660. configure:12705: $? = 1
  11661. configure: failed program was:
  11662. | /* confdefs.h */
  11663. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  11664. | #define PACKAGE_TARNAME "ghc-8.7"
  11665. | #define PACKAGE_VERSION "8.7"
  11666. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  11667. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  11668. | #define PACKAGE_URL ""
  11669. | #define STDC_HEADERS 1
  11670. | #define HAVE_SYS_TYPES_H 1
  11671. | #define HAVE_SYS_STAT_H 1
  11672. | #define HAVE_STDLIB_H 1
  11673. | #define HAVE_STRING_H 1
  11674. | #define HAVE_MEMORY_H 1
  11675. | #define HAVE_STRINGS_H 1
  11676. | #define HAVE_INTTYPES_H 1
  11677. | #define HAVE_STDINT_H 1
  11678. | #define HAVE_UNISTD_H 1
  11679. | #define __EXTENSIONS__ 1
  11680. | #define _ALL_SOURCE 1
  11681. | #define _GNU_SOURCE 1
  11682. | #define _POSIX_PTHREAD_SEMANTICS 1
  11683. | #define _TANDEM_SOURCE 1
  11684. | #define sUPPORTED_LLVM_VERSION (7,0)
  11685. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  11686. | #define STDC_HEADERS 1
  11687. | #define HAVE_CTYPE_H 1
  11688. | #define HAVE_DIRENT_H 1
  11689. | #define HAVE_DLFCN_H 1
  11690. | #define HAVE_ERRNO_H 1
  11691. | #define HAVE_FCNTL_H 1
  11692. | #define HAVE_GRP_H 1
  11693. | #define HAVE_LIMITS_H 1
  11694. | #define HAVE_LOCALE_H 1
  11695. | #define HAVE_NLIST_H 1
  11696. | #define HAVE_PTHREAD_H 1
  11697. | #define HAVE_PWD_H 1
  11698. | #define HAVE_SIGNAL_H 1
  11699. | #define HAVE_SYS_PARAM_H 1
  11700. | #define HAVE_SYS_MMAN_H 1
  11701. | #define HAVE_SYS_RESOURCE_H 1
  11702. | #define HAVE_SYS_SELECT_H 1
  11703. | #define HAVE_SYS_TIME_H 1
  11704. | #define HAVE_SYS_TIMEB_H 1
  11705. | #define HAVE_SYS_TIMERFD_H 1
  11706. | #define HAVE_SYS_TIMES_H 1
  11707. | #define HAVE_SYS_UTSNAME_H 1
  11708. | #define HAVE_SYS_WAIT_H 1
  11709. | #define HAVE_TERMIOS_H 1
  11710. | #define HAVE_TIME_H 1
  11711. | #define HAVE_UTIME_H 1
  11712. | #define HAVE_SCHED_H 1
  11713. | #define TIME_WITH_SYS_TIME 1
  11714. | #define HAVE_LONG_LONG 1
  11715. | #define SIZEOF_CHAR 1
  11716. | #define ALIGNMENT_CHAR 1
  11717. | #define SIZEOF_DOUBLE 8
  11718. | #define ALIGNMENT_DOUBLE 8
  11719. | #define SIZEOF_FLOAT 4
  11720. | #define ALIGNMENT_FLOAT 4
  11721. | #define SIZEOF_INT 4
  11722. | #define ALIGNMENT_INT 4
  11723. | #define SIZEOF_LONG 8
  11724. | #define ALIGNMENT_LONG 8
  11725. | #define SIZEOF_LONG_LONG 8
  11726. | #define ALIGNMENT_LONG_LONG 8
  11727. | #define SIZEOF_SHORT 2
  11728. | #define ALIGNMENT_SHORT 2
  11729. | #define SIZEOF_UNSIGNED_CHAR 1
  11730. | #define ALIGNMENT_UNSIGNED_CHAR 1
  11731. | #define SIZEOF_UNSIGNED_INT 4
  11732. | #define ALIGNMENT_UNSIGNED_INT 4
  11733. | #define SIZEOF_UNSIGNED_LONG 8
  11734. | #define ALIGNMENT_UNSIGNED_LONG 8
  11735. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  11736. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  11737. | #define SIZEOF_UNSIGNED_SHORT 2
  11738. | #define ALIGNMENT_UNSIGNED_SHORT 2
  11739. | #define SIZEOF_VOID_P 8
  11740. | /* end confdefs.h. */
  11741. | #include <stdio.h>
  11742. | #ifdef HAVE_SYS_TYPES_H
  11743. | # include <sys/types.h>
  11744. | #endif
  11745. | #ifdef HAVE_SYS_STAT_H
  11746. | # include <sys/stat.h>
  11747. | #endif
  11748. | #ifdef STDC_HEADERS
  11749. | # include <stdlib.h>
  11750. | # include <stddef.h>
  11751. | #else
  11752. | # ifdef HAVE_STDLIB_H
  11753. | # include <stdlib.h>
  11754. | # endif
  11755. | #endif
  11756. | #ifdef HAVE_STRING_H
  11757. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11758. | # include <memory.h>
  11759. | # endif
  11760. | # include <string.h>
  11761. | #endif
  11762. | #ifdef HAVE_STRINGS_H
  11763. | # include <strings.h>
  11764. | #endif
  11765. | #ifdef HAVE_INTTYPES_H
  11766. | # include <inttypes.h>
  11767. | #endif
  11768. | #ifdef HAVE_STDINT_H
  11769. | # include <stdint.h>
  11770. | #endif
  11771. | #ifdef HAVE_UNISTD_H
  11772. | # include <unistd.h>
  11773. | #endif
  11774. | int
  11775. | main ()
  11776. | {
  11777. | if (sizeof ((void *)))
  11778. | return 0;
  11779. | ;
  11780. | return 0;
  11781. | }
  11782. configure:12705: result: yes
  11783. configure:12709: checking alignment of void *
  11784. configure:12715: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11785. configure:12715: $? = 0
  11786. configure:12715: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11787. conftest.c: In function 'main':
  11788. conftest.c:116:12: error: size of array 'test_array' is negative
  11789. static int test_array [1 - 2 * !((offsetof(struct { char c; void * ty; },ty)) <= 0)];
  11790. ^~~~~~~~~~
  11791. configure:12715: $? = 1
  11792. configure: failed program was:
  11793. | /* confdefs.h */
  11794. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  11795. | #define PACKAGE_TARNAME "ghc-8.7"
  11796. | #define PACKAGE_VERSION "8.7"
  11797. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  11798. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  11799. | #define PACKAGE_URL ""
  11800. | #define STDC_HEADERS 1
  11801. | #define HAVE_SYS_TYPES_H 1
  11802. | #define HAVE_SYS_STAT_H 1
  11803. | #define HAVE_STDLIB_H 1
  11804. | #define HAVE_STRING_H 1
  11805. | #define HAVE_MEMORY_H 1
  11806. | #define HAVE_STRINGS_H 1
  11807. | #define HAVE_INTTYPES_H 1
  11808. | #define HAVE_STDINT_H 1
  11809. | #define HAVE_UNISTD_H 1
  11810. | #define __EXTENSIONS__ 1
  11811. | #define _ALL_SOURCE 1
  11812. | #define _GNU_SOURCE 1
  11813. | #define _POSIX_PTHREAD_SEMANTICS 1
  11814. | #define _TANDEM_SOURCE 1
  11815. | #define sUPPORTED_LLVM_VERSION (7,0)
  11816. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  11817. | #define STDC_HEADERS 1
  11818. | #define HAVE_CTYPE_H 1
  11819. | #define HAVE_DIRENT_H 1
  11820. | #define HAVE_DLFCN_H 1
  11821. | #define HAVE_ERRNO_H 1
  11822. | #define HAVE_FCNTL_H 1
  11823. | #define HAVE_GRP_H 1
  11824. | #define HAVE_LIMITS_H 1
  11825. | #define HAVE_LOCALE_H 1
  11826. | #define HAVE_NLIST_H 1
  11827. | #define HAVE_PTHREAD_H 1
  11828. | #define HAVE_PWD_H 1
  11829. | #define HAVE_SIGNAL_H 1
  11830. | #define HAVE_SYS_PARAM_H 1
  11831. | #define HAVE_SYS_MMAN_H 1
  11832. | #define HAVE_SYS_RESOURCE_H 1
  11833. | #define HAVE_SYS_SELECT_H 1
  11834. | #define HAVE_SYS_TIME_H 1
  11835. | #define HAVE_SYS_TIMEB_H 1
  11836. | #define HAVE_SYS_TIMERFD_H 1
  11837. | #define HAVE_SYS_TIMES_H 1
  11838. | #define HAVE_SYS_UTSNAME_H 1
  11839. | #define HAVE_SYS_WAIT_H 1
  11840. | #define HAVE_TERMIOS_H 1
  11841. | #define HAVE_TIME_H 1
  11842. | #define HAVE_UTIME_H 1
  11843. | #define HAVE_SCHED_H 1
  11844. | #define TIME_WITH_SYS_TIME 1
  11845. | #define HAVE_LONG_LONG 1
  11846. | #define SIZEOF_CHAR 1
  11847. | #define ALIGNMENT_CHAR 1
  11848. | #define SIZEOF_DOUBLE 8
  11849. | #define ALIGNMENT_DOUBLE 8
  11850. | #define SIZEOF_FLOAT 4
  11851. | #define ALIGNMENT_FLOAT 4
  11852. | #define SIZEOF_INT 4
  11853. | #define ALIGNMENT_INT 4
  11854. | #define SIZEOF_LONG 8
  11855. | #define ALIGNMENT_LONG 8
  11856. | #define SIZEOF_LONG_LONG 8
  11857. | #define ALIGNMENT_LONG_LONG 8
  11858. | #define SIZEOF_SHORT 2
  11859. | #define ALIGNMENT_SHORT 2
  11860. | #define SIZEOF_UNSIGNED_CHAR 1
  11861. | #define ALIGNMENT_UNSIGNED_CHAR 1
  11862. | #define SIZEOF_UNSIGNED_INT 4
  11863. | #define ALIGNMENT_UNSIGNED_INT 4
  11864. | #define SIZEOF_UNSIGNED_LONG 8
  11865. | #define ALIGNMENT_UNSIGNED_LONG 8
  11866. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  11867. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  11868. | #define SIZEOF_UNSIGNED_SHORT 2
  11869. | #define ALIGNMENT_UNSIGNED_SHORT 2
  11870. | #define SIZEOF_VOID_P 8
  11871. | /* end confdefs.h. */
  11872. | #include <stdio.h>
  11873. | #ifdef HAVE_SYS_TYPES_H
  11874. | # include <sys/types.h>
  11875. | #endif
  11876. | #ifdef HAVE_SYS_STAT_H
  11877. | # include <sys/stat.h>
  11878. | #endif
  11879. | #ifdef STDC_HEADERS
  11880. | # include <stdlib.h>
  11881. | # include <stddef.h>
  11882. | #else
  11883. | # ifdef HAVE_STDLIB_H
  11884. | # include <stdlib.h>
  11885. | # endif
  11886. | #endif
  11887. | #ifdef HAVE_STRING_H
  11888. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11889. | # include <memory.h>
  11890. | # endif
  11891. | # include <string.h>
  11892. | #endif
  11893. | #ifdef HAVE_STRINGS_H
  11894. | # include <strings.h>
  11895. | #endif
  11896. | #ifdef HAVE_INTTYPES_H
  11897. | # include <inttypes.h>
  11898. | #endif
  11899. | #ifdef HAVE_STDINT_H
  11900. | # include <stdint.h>
  11901. | #endif
  11902. | #ifdef HAVE_UNISTD_H
  11903. | # include <unistd.h>
  11904. | #endif
  11905. | int
  11906. | main ()
  11907. | {
  11908. | static int test_array [1 - 2 * !((offsetof(struct { char c; void * ty; },ty)) <= 0)];
  11909. | test_array [0] = 0;
  11910. | return test_array [0];
  11911. |
  11912. | ;
  11913. | return 0;
  11914. | }
  11915. configure:12715: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  11916. conftest.c: In function 'main':
  11917. conftest.c:116:12: error: size of array 'test_array' is negative
  11918. static int test_array [1 - 2 * !((offsetof(struct { char c; void * ty; },ty)) <= 1)];
  11919. ^~~~~~~~~~
  11920. configure:12715: $? = 1
  11921. configure: failed program was:
  11922. | /* confdefs.h */
  11923. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  11924. | #define PACKAGE_TARNAME "ghc-8.7"
  11925. | #define PACKAGE_VERSION "8.7"
  11926. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  11927. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  11928. | #define PACKAGE_URL ""
  11929. | #define STDC_HEADERS 1
  11930. | #define HAVE_SYS_TYPES_H 1
  11931. | #define HAVE_SYS_STAT_H 1
  11932. | #define HAVE_STDLIB_H 1
  11933. | #define HAVE_STRING_H 1
  11934. | #define HAVE_MEMORY_H 1
  11935. | #define HAVE_STRINGS_H 1
  11936. | #define HAVE_INTTYPES_H 1
  11937. | #define HAVE_STDINT_H 1
  11938. | #define HAVE_UNISTD_H 1
  11939. | #define __EXTENSIONS__ 1
  11940. | #define _ALL_SOURCE 1
  11941. | #define _GNU_SOURCE 1
  11942. | #define _POSIX_PTHREAD_SEMANTICS 1
  11943. | #define _TANDEM_SOURCE 1
  11944. | #define sUPPORTED_LLVM_VERSION (7,0)
  11945. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  11946. | #define STDC_HEADERS 1
  11947. | #define HAVE_CTYPE_H 1
  11948. | #define HAVE_DIRENT_H 1
  11949. | #define HAVE_DLFCN_H 1
  11950. | #define HAVE_ERRNO_H 1
  11951. | #define HAVE_FCNTL_H 1
  11952. | #define HAVE_GRP_H 1
  11953. | #define HAVE_LIMITS_H 1
  11954. | #define HAVE_LOCALE_H 1
  11955. | #define HAVE_NLIST_H 1
  11956. | #define HAVE_PTHREAD_H 1
  11957. | #define HAVE_PWD_H 1
  11958. | #define HAVE_SIGNAL_H 1
  11959. | #define HAVE_SYS_PARAM_H 1
  11960. | #define HAVE_SYS_MMAN_H 1
  11961. | #define HAVE_SYS_RESOURCE_H 1
  11962. | #define HAVE_SYS_SELECT_H 1
  11963. | #define HAVE_SYS_TIME_H 1
  11964. | #define HAVE_SYS_TIMEB_H 1
  11965. | #define HAVE_SYS_TIMERFD_H 1
  11966. | #define HAVE_SYS_TIMES_H 1
  11967. | #define HAVE_SYS_UTSNAME_H 1
  11968. | #define HAVE_SYS_WAIT_H 1
  11969. | #define HAVE_TERMIOS_H 1
  11970. | #define HAVE_TIME_H 1
  11971. | #define HAVE_UTIME_H 1
  11972. | #define HAVE_SCHED_H 1
  11973. | #define TIME_WITH_SYS_TIME 1
  11974. | #define HAVE_LONG_LONG 1
  11975. | #define SIZEOF_CHAR 1
  11976. | #define ALIGNMENT_CHAR 1
  11977. | #define SIZEOF_DOUBLE 8
  11978. | #define ALIGNMENT_DOUBLE 8
  11979. | #define SIZEOF_FLOAT 4
  11980. | #define ALIGNMENT_FLOAT 4
  11981. | #define SIZEOF_INT 4
  11982. | #define ALIGNMENT_INT 4
  11983. | #define SIZEOF_LONG 8
  11984. | #define ALIGNMENT_LONG 8
  11985. | #define SIZEOF_LONG_LONG 8
  11986. | #define ALIGNMENT_LONG_LONG 8
  11987. | #define SIZEOF_SHORT 2
  11988. | #define ALIGNMENT_SHORT 2
  11989. | #define SIZEOF_UNSIGNED_CHAR 1
  11990. | #define ALIGNMENT_UNSIGNED_CHAR 1
  11991. | #define SIZEOF_UNSIGNED_INT 4
  11992. | #define ALIGNMENT_UNSIGNED_INT 4
  11993. | #define SIZEOF_UNSIGNED_LONG 8
  11994. | #define ALIGNMENT_UNSIGNED_LONG 8
  11995. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  11996. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  11997. | #define SIZEOF_UNSIGNED_SHORT 2
  11998. | #define ALIGNMENT_UNSIGNED_SHORT 2
  11999. | #define SIZEOF_VOID_P 8
  12000. | /* end confdefs.h. */
  12001. | #include <stdio.h>
  12002. | #ifdef HAVE_SYS_TYPES_H
  12003. | # include <sys/types.h>
  12004. | #endif
  12005. | #ifdef HAVE_SYS_STAT_H
  12006. | # include <sys/stat.h>
  12007. | #endif
  12008. | #ifdef STDC_HEADERS
  12009. | # include <stdlib.h>
  12010. | # include <stddef.h>
  12011. | #else
  12012. | # ifdef HAVE_STDLIB_H
  12013. | # include <stdlib.h>
  12014. | # endif
  12015. | #endif
  12016. | #ifdef HAVE_STRING_H
  12017. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12018. | # include <memory.h>
  12019. | # endif
  12020. | # include <string.h>
  12021. | #endif
  12022. | #ifdef HAVE_STRINGS_H
  12023. | # include <strings.h>
  12024. | #endif
  12025. | #ifdef HAVE_INTTYPES_H
  12026. | # include <inttypes.h>
  12027. | #endif
  12028. | #ifdef HAVE_STDINT_H
  12029. | # include <stdint.h>
  12030. | #endif
  12031. | #ifdef HAVE_UNISTD_H
  12032. | # include <unistd.h>
  12033. | #endif
  12034. | int
  12035. | main ()
  12036. | {
  12037. | static int test_array [1 - 2 * !((offsetof(struct { char c; void * ty; },ty)) <= 1)];
  12038. | test_array [0] = 0;
  12039. | return test_array [0];
  12040. |
  12041. | ;
  12042. | return 0;
  12043. | }
  12044. configure:12715: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12045. conftest.c: In function 'main':
  12046. conftest.c:116:12: error: size of array 'test_array' is negative
  12047. static int test_array [1 - 2 * !((offsetof(struct { char c; void * ty; },ty)) <= 3)];
  12048. ^~~~~~~~~~
  12049. configure:12715: $? = 1
  12050. configure: failed program was:
  12051. | /* confdefs.h */
  12052. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  12053. | #define PACKAGE_TARNAME "ghc-8.7"
  12054. | #define PACKAGE_VERSION "8.7"
  12055. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  12056. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  12057. | #define PACKAGE_URL ""
  12058. | #define STDC_HEADERS 1
  12059. | #define HAVE_SYS_TYPES_H 1
  12060. | #define HAVE_SYS_STAT_H 1
  12061. | #define HAVE_STDLIB_H 1
  12062. | #define HAVE_STRING_H 1
  12063. | #define HAVE_MEMORY_H 1
  12064. | #define HAVE_STRINGS_H 1
  12065. | #define HAVE_INTTYPES_H 1
  12066. | #define HAVE_STDINT_H 1
  12067. | #define HAVE_UNISTD_H 1
  12068. | #define __EXTENSIONS__ 1
  12069. | #define _ALL_SOURCE 1
  12070. | #define _GNU_SOURCE 1
  12071. | #define _POSIX_PTHREAD_SEMANTICS 1
  12072. | #define _TANDEM_SOURCE 1
  12073. | #define sUPPORTED_LLVM_VERSION (7,0)
  12074. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  12075. | #define STDC_HEADERS 1
  12076. | #define HAVE_CTYPE_H 1
  12077. | #define HAVE_DIRENT_H 1
  12078. | #define HAVE_DLFCN_H 1
  12079. | #define HAVE_ERRNO_H 1
  12080. | #define HAVE_FCNTL_H 1
  12081. | #define HAVE_GRP_H 1
  12082. | #define HAVE_LIMITS_H 1
  12083. | #define HAVE_LOCALE_H 1
  12084. | #define HAVE_NLIST_H 1
  12085. | #define HAVE_PTHREAD_H 1
  12086. | #define HAVE_PWD_H 1
  12087. | #define HAVE_SIGNAL_H 1
  12088. | #define HAVE_SYS_PARAM_H 1
  12089. | #define HAVE_SYS_MMAN_H 1
  12090. | #define HAVE_SYS_RESOURCE_H 1
  12091. | #define HAVE_SYS_SELECT_H 1
  12092. | #define HAVE_SYS_TIME_H 1
  12093. | #define HAVE_SYS_TIMEB_H 1
  12094. | #define HAVE_SYS_TIMERFD_H 1
  12095. | #define HAVE_SYS_TIMES_H 1
  12096. | #define HAVE_SYS_UTSNAME_H 1
  12097. | #define HAVE_SYS_WAIT_H 1
  12098. | #define HAVE_TERMIOS_H 1
  12099. | #define HAVE_TIME_H 1
  12100. | #define HAVE_UTIME_H 1
  12101. | #define HAVE_SCHED_H 1
  12102. | #define TIME_WITH_SYS_TIME 1
  12103. | #define HAVE_LONG_LONG 1
  12104. | #define SIZEOF_CHAR 1
  12105. | #define ALIGNMENT_CHAR 1
  12106. | #define SIZEOF_DOUBLE 8
  12107. | #define ALIGNMENT_DOUBLE 8
  12108. | #define SIZEOF_FLOAT 4
  12109. | #define ALIGNMENT_FLOAT 4
  12110. | #define SIZEOF_INT 4
  12111. | #define ALIGNMENT_INT 4
  12112. | #define SIZEOF_LONG 8
  12113. | #define ALIGNMENT_LONG 8
  12114. | #define SIZEOF_LONG_LONG 8
  12115. | #define ALIGNMENT_LONG_LONG 8
  12116. | #define SIZEOF_SHORT 2
  12117. | #define ALIGNMENT_SHORT 2
  12118. | #define SIZEOF_UNSIGNED_CHAR 1
  12119. | #define ALIGNMENT_UNSIGNED_CHAR 1
  12120. | #define SIZEOF_UNSIGNED_INT 4
  12121. | #define ALIGNMENT_UNSIGNED_INT 4
  12122. | #define SIZEOF_UNSIGNED_LONG 8
  12123. | #define ALIGNMENT_UNSIGNED_LONG 8
  12124. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  12125. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  12126. | #define SIZEOF_UNSIGNED_SHORT 2
  12127. | #define ALIGNMENT_UNSIGNED_SHORT 2
  12128. | #define SIZEOF_VOID_P 8
  12129. | /* end confdefs.h. */
  12130. | #include <stdio.h>
  12131. | #ifdef HAVE_SYS_TYPES_H
  12132. | # include <sys/types.h>
  12133. | #endif
  12134. | #ifdef HAVE_SYS_STAT_H
  12135. | # include <sys/stat.h>
  12136. | #endif
  12137. | #ifdef STDC_HEADERS
  12138. | # include <stdlib.h>
  12139. | # include <stddef.h>
  12140. | #else
  12141. | # ifdef HAVE_STDLIB_H
  12142. | # include <stdlib.h>
  12143. | # endif
  12144. | #endif
  12145. | #ifdef HAVE_STRING_H
  12146. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12147. | # include <memory.h>
  12148. | # endif
  12149. | # include <string.h>
  12150. | #endif
  12151. | #ifdef HAVE_STRINGS_H
  12152. | # include <strings.h>
  12153. | #endif
  12154. | #ifdef HAVE_INTTYPES_H
  12155. | # include <inttypes.h>
  12156. | #endif
  12157. | #ifdef HAVE_STDINT_H
  12158. | # include <stdint.h>
  12159. | #endif
  12160. | #ifdef HAVE_UNISTD_H
  12161. | # include <unistd.h>
  12162. | #endif
  12163. | int
  12164. | main ()
  12165. | {
  12166. | static int test_array [1 - 2 * !((offsetof(struct { char c; void * ty; },ty)) <= 3)];
  12167. | test_array [0] = 0;
  12168. | return test_array [0];
  12169. |
  12170. | ;
  12171. | return 0;
  12172. | }
  12173. configure:12715: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12174. conftest.c: In function 'main':
  12175. conftest.c:116:12: error: size of array 'test_array' is negative
  12176. static int test_array [1 - 2 * !((offsetof(struct { char c; void * ty; },ty)) <= 7)];
  12177. ^~~~~~~~~~
  12178. configure:12715: $? = 1
  12179. configure: failed program was:
  12180. | /* confdefs.h */
  12181. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  12182. | #define PACKAGE_TARNAME "ghc-8.7"
  12183. | #define PACKAGE_VERSION "8.7"
  12184. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  12185. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  12186. | #define PACKAGE_URL ""
  12187. | #define STDC_HEADERS 1
  12188. | #define HAVE_SYS_TYPES_H 1
  12189. | #define HAVE_SYS_STAT_H 1
  12190. | #define HAVE_STDLIB_H 1
  12191. | #define HAVE_STRING_H 1
  12192. | #define HAVE_MEMORY_H 1
  12193. | #define HAVE_STRINGS_H 1
  12194. | #define HAVE_INTTYPES_H 1
  12195. | #define HAVE_STDINT_H 1
  12196. | #define HAVE_UNISTD_H 1
  12197. | #define __EXTENSIONS__ 1
  12198. | #define _ALL_SOURCE 1
  12199. | #define _GNU_SOURCE 1
  12200. | #define _POSIX_PTHREAD_SEMANTICS 1
  12201. | #define _TANDEM_SOURCE 1
  12202. | #define sUPPORTED_LLVM_VERSION (7,0)
  12203. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  12204. | #define STDC_HEADERS 1
  12205. | #define HAVE_CTYPE_H 1
  12206. | #define HAVE_DIRENT_H 1
  12207. | #define HAVE_DLFCN_H 1
  12208. | #define HAVE_ERRNO_H 1
  12209. | #define HAVE_FCNTL_H 1
  12210. | #define HAVE_GRP_H 1
  12211. | #define HAVE_LIMITS_H 1
  12212. | #define HAVE_LOCALE_H 1
  12213. | #define HAVE_NLIST_H 1
  12214. | #define HAVE_PTHREAD_H 1
  12215. | #define HAVE_PWD_H 1
  12216. | #define HAVE_SIGNAL_H 1
  12217. | #define HAVE_SYS_PARAM_H 1
  12218. | #define HAVE_SYS_MMAN_H 1
  12219. | #define HAVE_SYS_RESOURCE_H 1
  12220. | #define HAVE_SYS_SELECT_H 1
  12221. | #define HAVE_SYS_TIME_H 1
  12222. | #define HAVE_SYS_TIMEB_H 1
  12223. | #define HAVE_SYS_TIMERFD_H 1
  12224. | #define HAVE_SYS_TIMES_H 1
  12225. | #define HAVE_SYS_UTSNAME_H 1
  12226. | #define HAVE_SYS_WAIT_H 1
  12227. | #define HAVE_TERMIOS_H 1
  12228. | #define HAVE_TIME_H 1
  12229. | #define HAVE_UTIME_H 1
  12230. | #define HAVE_SCHED_H 1
  12231. | #define TIME_WITH_SYS_TIME 1
  12232. | #define HAVE_LONG_LONG 1
  12233. | #define SIZEOF_CHAR 1
  12234. | #define ALIGNMENT_CHAR 1
  12235. | #define SIZEOF_DOUBLE 8
  12236. | #define ALIGNMENT_DOUBLE 8
  12237. | #define SIZEOF_FLOAT 4
  12238. | #define ALIGNMENT_FLOAT 4
  12239. | #define SIZEOF_INT 4
  12240. | #define ALIGNMENT_INT 4
  12241. | #define SIZEOF_LONG 8
  12242. | #define ALIGNMENT_LONG 8
  12243. | #define SIZEOF_LONG_LONG 8
  12244. | #define ALIGNMENT_LONG_LONG 8
  12245. | #define SIZEOF_SHORT 2
  12246. | #define ALIGNMENT_SHORT 2
  12247. | #define SIZEOF_UNSIGNED_CHAR 1
  12248. | #define ALIGNMENT_UNSIGNED_CHAR 1
  12249. | #define SIZEOF_UNSIGNED_INT 4
  12250. | #define ALIGNMENT_UNSIGNED_INT 4
  12251. | #define SIZEOF_UNSIGNED_LONG 8
  12252. | #define ALIGNMENT_UNSIGNED_LONG 8
  12253. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  12254. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  12255. | #define SIZEOF_UNSIGNED_SHORT 2
  12256. | #define ALIGNMENT_UNSIGNED_SHORT 2
  12257. | #define SIZEOF_VOID_P 8
  12258. | /* end confdefs.h. */
  12259. | #include <stdio.h>
  12260. | #ifdef HAVE_SYS_TYPES_H
  12261. | # include <sys/types.h>
  12262. | #endif
  12263. | #ifdef HAVE_SYS_STAT_H
  12264. | # include <sys/stat.h>
  12265. | #endif
  12266. | #ifdef STDC_HEADERS
  12267. | # include <stdlib.h>
  12268. | # include <stddef.h>
  12269. | #else
  12270. | # ifdef HAVE_STDLIB_H
  12271. | # include <stdlib.h>
  12272. | # endif
  12273. | #endif
  12274. | #ifdef HAVE_STRING_H
  12275. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12276. | # include <memory.h>
  12277. | # endif
  12278. | # include <string.h>
  12279. | #endif
  12280. | #ifdef HAVE_STRINGS_H
  12281. | # include <strings.h>
  12282. | #endif
  12283. | #ifdef HAVE_INTTYPES_H
  12284. | # include <inttypes.h>
  12285. | #endif
  12286. | #ifdef HAVE_STDINT_H
  12287. | # include <stdint.h>
  12288. | #endif
  12289. | #ifdef HAVE_UNISTD_H
  12290. | # include <unistd.h>
  12291. | #endif
  12292. | int
  12293. | main ()
  12294. | {
  12295. | static int test_array [1 - 2 * !((offsetof(struct { char c; void * ty; },ty)) <= 7)];
  12296. | test_array [0] = 0;
  12297. | return test_array [0];
  12298. |
  12299. | ;
  12300. | return 0;
  12301. | }
  12302. configure:12715: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12303. configure:12715: $? = 0
  12304. configure:12715: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12305. configure:12715: $? = 0
  12306. configure:12715: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12307. configure:12715: $? = 0
  12308. configure:12715: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12309. configure:12715: $? = 0
  12310. configure:12727: result: 8
  12311. configure:12739: checking size of int8_t
  12312. configure:12744: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12313. configure:12744: $? = 0
  12314. configure:12744: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12315. conftest.c: In function 'main':
  12316. conftest.c:117:12: error: size of array 'test_array' is negative
  12317. static int test_array [1 - 2 * !(((long int) (sizeof (int8_t))) <= 0)];
  12318. ^~~~~~~~~~
  12319. configure:12744: $? = 1
  12320. configure: failed program was:
  12321. | /* confdefs.h */
  12322. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  12323. | #define PACKAGE_TARNAME "ghc-8.7"
  12324. | #define PACKAGE_VERSION "8.7"
  12325. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  12326. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  12327. | #define PACKAGE_URL ""
  12328. | #define STDC_HEADERS 1
  12329. | #define HAVE_SYS_TYPES_H 1
  12330. | #define HAVE_SYS_STAT_H 1
  12331. | #define HAVE_STDLIB_H 1
  12332. | #define HAVE_STRING_H 1
  12333. | #define HAVE_MEMORY_H 1
  12334. | #define HAVE_STRINGS_H 1
  12335. | #define HAVE_INTTYPES_H 1
  12336. | #define HAVE_STDINT_H 1
  12337. | #define HAVE_UNISTD_H 1
  12338. | #define __EXTENSIONS__ 1
  12339. | #define _ALL_SOURCE 1
  12340. | #define _GNU_SOURCE 1
  12341. | #define _POSIX_PTHREAD_SEMANTICS 1
  12342. | #define _TANDEM_SOURCE 1
  12343. | #define sUPPORTED_LLVM_VERSION (7,0)
  12344. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  12345. | #define STDC_HEADERS 1
  12346. | #define HAVE_CTYPE_H 1
  12347. | #define HAVE_DIRENT_H 1
  12348. | #define HAVE_DLFCN_H 1
  12349. | #define HAVE_ERRNO_H 1
  12350. | #define HAVE_FCNTL_H 1
  12351. | #define HAVE_GRP_H 1
  12352. | #define HAVE_LIMITS_H 1
  12353. | #define HAVE_LOCALE_H 1
  12354. | #define HAVE_NLIST_H 1
  12355. | #define HAVE_PTHREAD_H 1
  12356. | #define HAVE_PWD_H 1
  12357. | #define HAVE_SIGNAL_H 1
  12358. | #define HAVE_SYS_PARAM_H 1
  12359. | #define HAVE_SYS_MMAN_H 1
  12360. | #define HAVE_SYS_RESOURCE_H 1
  12361. | #define HAVE_SYS_SELECT_H 1
  12362. | #define HAVE_SYS_TIME_H 1
  12363. | #define HAVE_SYS_TIMEB_H 1
  12364. | #define HAVE_SYS_TIMERFD_H 1
  12365. | #define HAVE_SYS_TIMES_H 1
  12366. | #define HAVE_SYS_UTSNAME_H 1
  12367. | #define HAVE_SYS_WAIT_H 1
  12368. | #define HAVE_TERMIOS_H 1
  12369. | #define HAVE_TIME_H 1
  12370. | #define HAVE_UTIME_H 1
  12371. | #define HAVE_SCHED_H 1
  12372. | #define TIME_WITH_SYS_TIME 1
  12373. | #define HAVE_LONG_LONG 1
  12374. | #define SIZEOF_CHAR 1
  12375. | #define ALIGNMENT_CHAR 1
  12376. | #define SIZEOF_DOUBLE 8
  12377. | #define ALIGNMENT_DOUBLE 8
  12378. | #define SIZEOF_FLOAT 4
  12379. | #define ALIGNMENT_FLOAT 4
  12380. | #define SIZEOF_INT 4
  12381. | #define ALIGNMENT_INT 4
  12382. | #define SIZEOF_LONG 8
  12383. | #define ALIGNMENT_LONG 8
  12384. | #define SIZEOF_LONG_LONG 8
  12385. | #define ALIGNMENT_LONG_LONG 8
  12386. | #define SIZEOF_SHORT 2
  12387. | #define ALIGNMENT_SHORT 2
  12388. | #define SIZEOF_UNSIGNED_CHAR 1
  12389. | #define ALIGNMENT_UNSIGNED_CHAR 1
  12390. | #define SIZEOF_UNSIGNED_INT 4
  12391. | #define ALIGNMENT_UNSIGNED_INT 4
  12392. | #define SIZEOF_UNSIGNED_LONG 8
  12393. | #define ALIGNMENT_UNSIGNED_LONG 8
  12394. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  12395. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  12396. | #define SIZEOF_UNSIGNED_SHORT 2
  12397. | #define ALIGNMENT_UNSIGNED_SHORT 2
  12398. | #define SIZEOF_VOID_P 8
  12399. | #define ALIGNMENT_VOID_P 8
  12400. | /* end confdefs.h. */
  12401. | #include <stdio.h>
  12402. | #ifdef HAVE_SYS_TYPES_H
  12403. | # include <sys/types.h>
  12404. | #endif
  12405. | #ifdef HAVE_SYS_STAT_H
  12406. | # include <sys/stat.h>
  12407. | #endif
  12408. | #ifdef STDC_HEADERS
  12409. | # include <stdlib.h>
  12410. | # include <stddef.h>
  12411. | #else
  12412. | # ifdef HAVE_STDLIB_H
  12413. | # include <stdlib.h>
  12414. | # endif
  12415. | #endif
  12416. | #ifdef HAVE_STRING_H
  12417. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12418. | # include <memory.h>
  12419. | # endif
  12420. | # include <string.h>
  12421. | #endif
  12422. | #ifdef HAVE_STRINGS_H
  12423. | # include <strings.h>
  12424. | #endif
  12425. | #ifdef HAVE_INTTYPES_H
  12426. | # include <inttypes.h>
  12427. | #endif
  12428. | #ifdef HAVE_STDINT_H
  12429. | # include <stdint.h>
  12430. | #endif
  12431. | #ifdef HAVE_UNISTD_H
  12432. | # include <unistd.h>
  12433. | #endif
  12434. | int
  12435. | main ()
  12436. | {
  12437. | static int test_array [1 - 2 * !(((long int) (sizeof (int8_t))) <= 0)];
  12438. | test_array [0] = 0;
  12439. | return test_array [0];
  12440. |
  12441. | ;
  12442. | return 0;
  12443. | }
  12444. configure:12744: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12445. configure:12744: $? = 0
  12446. configure:12758: result: 1
  12447. configure:12768: checking for int8_t
  12448. configure:12768: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12449. configure:12768: $? = 0
  12450. configure:12768: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12451. conftest.c: In function 'main':
  12452. conftest.c:118:21: error: expected expression before ')' token
  12453. if (sizeof ((int8_t)))
  12454. ^
  12455. configure:12768: $? = 1
  12456. configure: failed program was:
  12457. | /* confdefs.h */
  12458. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  12459. | #define PACKAGE_TARNAME "ghc-8.7"
  12460. | #define PACKAGE_VERSION "8.7"
  12461. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  12462. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  12463. | #define PACKAGE_URL ""
  12464. | #define STDC_HEADERS 1
  12465. | #define HAVE_SYS_TYPES_H 1
  12466. | #define HAVE_SYS_STAT_H 1
  12467. | #define HAVE_STDLIB_H 1
  12468. | #define HAVE_STRING_H 1
  12469. | #define HAVE_MEMORY_H 1
  12470. | #define HAVE_STRINGS_H 1
  12471. | #define HAVE_INTTYPES_H 1
  12472. | #define HAVE_STDINT_H 1
  12473. | #define HAVE_UNISTD_H 1
  12474. | #define __EXTENSIONS__ 1
  12475. | #define _ALL_SOURCE 1
  12476. | #define _GNU_SOURCE 1
  12477. | #define _POSIX_PTHREAD_SEMANTICS 1
  12478. | #define _TANDEM_SOURCE 1
  12479. | #define sUPPORTED_LLVM_VERSION (7,0)
  12480. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  12481. | #define STDC_HEADERS 1
  12482. | #define HAVE_CTYPE_H 1
  12483. | #define HAVE_DIRENT_H 1
  12484. | #define HAVE_DLFCN_H 1
  12485. | #define HAVE_ERRNO_H 1
  12486. | #define HAVE_FCNTL_H 1
  12487. | #define HAVE_GRP_H 1
  12488. | #define HAVE_LIMITS_H 1
  12489. | #define HAVE_LOCALE_H 1
  12490. | #define HAVE_NLIST_H 1
  12491. | #define HAVE_PTHREAD_H 1
  12492. | #define HAVE_PWD_H 1
  12493. | #define HAVE_SIGNAL_H 1
  12494. | #define HAVE_SYS_PARAM_H 1
  12495. | #define HAVE_SYS_MMAN_H 1
  12496. | #define HAVE_SYS_RESOURCE_H 1
  12497. | #define HAVE_SYS_SELECT_H 1
  12498. | #define HAVE_SYS_TIME_H 1
  12499. | #define HAVE_SYS_TIMEB_H 1
  12500. | #define HAVE_SYS_TIMERFD_H 1
  12501. | #define HAVE_SYS_TIMES_H 1
  12502. | #define HAVE_SYS_UTSNAME_H 1
  12503. | #define HAVE_SYS_WAIT_H 1
  12504. | #define HAVE_TERMIOS_H 1
  12505. | #define HAVE_TIME_H 1
  12506. | #define HAVE_UTIME_H 1
  12507. | #define HAVE_SCHED_H 1
  12508. | #define TIME_WITH_SYS_TIME 1
  12509. | #define HAVE_LONG_LONG 1
  12510. | #define SIZEOF_CHAR 1
  12511. | #define ALIGNMENT_CHAR 1
  12512. | #define SIZEOF_DOUBLE 8
  12513. | #define ALIGNMENT_DOUBLE 8
  12514. | #define SIZEOF_FLOAT 4
  12515. | #define ALIGNMENT_FLOAT 4
  12516. | #define SIZEOF_INT 4
  12517. | #define ALIGNMENT_INT 4
  12518. | #define SIZEOF_LONG 8
  12519. | #define ALIGNMENT_LONG 8
  12520. | #define SIZEOF_LONG_LONG 8
  12521. | #define ALIGNMENT_LONG_LONG 8
  12522. | #define SIZEOF_SHORT 2
  12523. | #define ALIGNMENT_SHORT 2
  12524. | #define SIZEOF_UNSIGNED_CHAR 1
  12525. | #define ALIGNMENT_UNSIGNED_CHAR 1
  12526. | #define SIZEOF_UNSIGNED_INT 4
  12527. | #define ALIGNMENT_UNSIGNED_INT 4
  12528. | #define SIZEOF_UNSIGNED_LONG 8
  12529. | #define ALIGNMENT_UNSIGNED_LONG 8
  12530. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  12531. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  12532. | #define SIZEOF_UNSIGNED_SHORT 2
  12533. | #define ALIGNMENT_UNSIGNED_SHORT 2
  12534. | #define SIZEOF_VOID_P 8
  12535. | #define ALIGNMENT_VOID_P 8
  12536. | #define SIZEOF_INT8_T 1
  12537. | /* end confdefs.h. */
  12538. | #include <stdio.h>
  12539. | #ifdef HAVE_SYS_TYPES_H
  12540. | # include <sys/types.h>
  12541. | #endif
  12542. | #ifdef HAVE_SYS_STAT_H
  12543. | # include <sys/stat.h>
  12544. | #endif
  12545. | #ifdef STDC_HEADERS
  12546. | # include <stdlib.h>
  12547. | # include <stddef.h>
  12548. | #else
  12549. | # ifdef HAVE_STDLIB_H
  12550. | # include <stdlib.h>
  12551. | # endif
  12552. | #endif
  12553. | #ifdef HAVE_STRING_H
  12554. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12555. | # include <memory.h>
  12556. | # endif
  12557. | # include <string.h>
  12558. | #endif
  12559. | #ifdef HAVE_STRINGS_H
  12560. | # include <strings.h>
  12561. | #endif
  12562. | #ifdef HAVE_INTTYPES_H
  12563. | # include <inttypes.h>
  12564. | #endif
  12565. | #ifdef HAVE_STDINT_H
  12566. | # include <stdint.h>
  12567. | #endif
  12568. | #ifdef HAVE_UNISTD_H
  12569. | # include <unistd.h>
  12570. | #endif
  12571. | int
  12572. | main ()
  12573. | {
  12574. | if (sizeof ((int8_t)))
  12575. | return 0;
  12576. | ;
  12577. | return 0;
  12578. | }
  12579. configure:12768: result: yes
  12580. configure:12772: checking alignment of int8_t
  12581. configure:12778: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12582. configure:12778: $? = 0
  12583. configure:12778: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12584. conftest.c: In function 'main':
  12585. conftest.c:118:12: error: size of array 'test_array' is negative
  12586. static int test_array [1 - 2 * !((offsetof(struct { char c; int8_t ty; },ty)) <= 0)];
  12587. ^~~~~~~~~~
  12588. configure:12778: $? = 1
  12589. configure: failed program was:
  12590. | /* confdefs.h */
  12591. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  12592. | #define PACKAGE_TARNAME "ghc-8.7"
  12593. | #define PACKAGE_VERSION "8.7"
  12594. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  12595. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  12596. | #define PACKAGE_URL ""
  12597. | #define STDC_HEADERS 1
  12598. | #define HAVE_SYS_TYPES_H 1
  12599. | #define HAVE_SYS_STAT_H 1
  12600. | #define HAVE_STDLIB_H 1
  12601. | #define HAVE_STRING_H 1
  12602. | #define HAVE_MEMORY_H 1
  12603. | #define HAVE_STRINGS_H 1
  12604. | #define HAVE_INTTYPES_H 1
  12605. | #define HAVE_STDINT_H 1
  12606. | #define HAVE_UNISTD_H 1
  12607. | #define __EXTENSIONS__ 1
  12608. | #define _ALL_SOURCE 1
  12609. | #define _GNU_SOURCE 1
  12610. | #define _POSIX_PTHREAD_SEMANTICS 1
  12611. | #define _TANDEM_SOURCE 1
  12612. | #define sUPPORTED_LLVM_VERSION (7,0)
  12613. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  12614. | #define STDC_HEADERS 1
  12615. | #define HAVE_CTYPE_H 1
  12616. | #define HAVE_DIRENT_H 1
  12617. | #define HAVE_DLFCN_H 1
  12618. | #define HAVE_ERRNO_H 1
  12619. | #define HAVE_FCNTL_H 1
  12620. | #define HAVE_GRP_H 1
  12621. | #define HAVE_LIMITS_H 1
  12622. | #define HAVE_LOCALE_H 1
  12623. | #define HAVE_NLIST_H 1
  12624. | #define HAVE_PTHREAD_H 1
  12625. | #define HAVE_PWD_H 1
  12626. | #define HAVE_SIGNAL_H 1
  12627. | #define HAVE_SYS_PARAM_H 1
  12628. | #define HAVE_SYS_MMAN_H 1
  12629. | #define HAVE_SYS_RESOURCE_H 1
  12630. | #define HAVE_SYS_SELECT_H 1
  12631. | #define HAVE_SYS_TIME_H 1
  12632. | #define HAVE_SYS_TIMEB_H 1
  12633. | #define HAVE_SYS_TIMERFD_H 1
  12634. | #define HAVE_SYS_TIMES_H 1
  12635. | #define HAVE_SYS_UTSNAME_H 1
  12636. | #define HAVE_SYS_WAIT_H 1
  12637. | #define HAVE_TERMIOS_H 1
  12638. | #define HAVE_TIME_H 1
  12639. | #define HAVE_UTIME_H 1
  12640. | #define HAVE_SCHED_H 1
  12641. | #define TIME_WITH_SYS_TIME 1
  12642. | #define HAVE_LONG_LONG 1
  12643. | #define SIZEOF_CHAR 1
  12644. | #define ALIGNMENT_CHAR 1
  12645. | #define SIZEOF_DOUBLE 8
  12646. | #define ALIGNMENT_DOUBLE 8
  12647. | #define SIZEOF_FLOAT 4
  12648. | #define ALIGNMENT_FLOAT 4
  12649. | #define SIZEOF_INT 4
  12650. | #define ALIGNMENT_INT 4
  12651. | #define SIZEOF_LONG 8
  12652. | #define ALIGNMENT_LONG 8
  12653. | #define SIZEOF_LONG_LONG 8
  12654. | #define ALIGNMENT_LONG_LONG 8
  12655. | #define SIZEOF_SHORT 2
  12656. | #define ALIGNMENT_SHORT 2
  12657. | #define SIZEOF_UNSIGNED_CHAR 1
  12658. | #define ALIGNMENT_UNSIGNED_CHAR 1
  12659. | #define SIZEOF_UNSIGNED_INT 4
  12660. | #define ALIGNMENT_UNSIGNED_INT 4
  12661. | #define SIZEOF_UNSIGNED_LONG 8
  12662. | #define ALIGNMENT_UNSIGNED_LONG 8
  12663. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  12664. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  12665. | #define SIZEOF_UNSIGNED_SHORT 2
  12666. | #define ALIGNMENT_UNSIGNED_SHORT 2
  12667. | #define SIZEOF_VOID_P 8
  12668. | #define ALIGNMENT_VOID_P 8
  12669. | #define SIZEOF_INT8_T 1
  12670. | /* end confdefs.h. */
  12671. | #include <stdio.h>
  12672. | #ifdef HAVE_SYS_TYPES_H
  12673. | # include <sys/types.h>
  12674. | #endif
  12675. | #ifdef HAVE_SYS_STAT_H
  12676. | # include <sys/stat.h>
  12677. | #endif
  12678. | #ifdef STDC_HEADERS
  12679. | # include <stdlib.h>
  12680. | # include <stddef.h>
  12681. | #else
  12682. | # ifdef HAVE_STDLIB_H
  12683. | # include <stdlib.h>
  12684. | # endif
  12685. | #endif
  12686. | #ifdef HAVE_STRING_H
  12687. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12688. | # include <memory.h>
  12689. | # endif
  12690. | # include <string.h>
  12691. | #endif
  12692. | #ifdef HAVE_STRINGS_H
  12693. | # include <strings.h>
  12694. | #endif
  12695. | #ifdef HAVE_INTTYPES_H
  12696. | # include <inttypes.h>
  12697. | #endif
  12698. | #ifdef HAVE_STDINT_H
  12699. | # include <stdint.h>
  12700. | #endif
  12701. | #ifdef HAVE_UNISTD_H
  12702. | # include <unistd.h>
  12703. | #endif
  12704. | int
  12705. | main ()
  12706. | {
  12707. | static int test_array [1 - 2 * !((offsetof(struct { char c; int8_t ty; },ty)) <= 0)];
  12708. | test_array [0] = 0;
  12709. | return test_array [0];
  12710. |
  12711. | ;
  12712. | return 0;
  12713. | }
  12714. configure:12778: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12715. configure:12778: $? = 0
  12716. configure:12790: result: 1
  12717. configure:12801: checking size of uint8_t
  12718. configure:12806: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12719. configure:12806: $? = 0
  12720. configure:12806: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12721. conftest.c: In function 'main':
  12722. conftest.c:119:12: error: size of array 'test_array' is negative
  12723. static int test_array [1 - 2 * !(((long int) (sizeof (uint8_t))) <= 0)];
  12724. ^~~~~~~~~~
  12725. configure:12806: $? = 1
  12726. configure: failed program was:
  12727. | /* confdefs.h */
  12728. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  12729. | #define PACKAGE_TARNAME "ghc-8.7"
  12730. | #define PACKAGE_VERSION "8.7"
  12731. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  12732. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  12733. | #define PACKAGE_URL ""
  12734. | #define STDC_HEADERS 1
  12735. | #define HAVE_SYS_TYPES_H 1
  12736. | #define HAVE_SYS_STAT_H 1
  12737. | #define HAVE_STDLIB_H 1
  12738. | #define HAVE_STRING_H 1
  12739. | #define HAVE_MEMORY_H 1
  12740. | #define HAVE_STRINGS_H 1
  12741. | #define HAVE_INTTYPES_H 1
  12742. | #define HAVE_STDINT_H 1
  12743. | #define HAVE_UNISTD_H 1
  12744. | #define __EXTENSIONS__ 1
  12745. | #define _ALL_SOURCE 1
  12746. | #define _GNU_SOURCE 1
  12747. | #define _POSIX_PTHREAD_SEMANTICS 1
  12748. | #define _TANDEM_SOURCE 1
  12749. | #define sUPPORTED_LLVM_VERSION (7,0)
  12750. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  12751. | #define STDC_HEADERS 1
  12752. | #define HAVE_CTYPE_H 1
  12753. | #define HAVE_DIRENT_H 1
  12754. | #define HAVE_DLFCN_H 1
  12755. | #define HAVE_ERRNO_H 1
  12756. | #define HAVE_FCNTL_H 1
  12757. | #define HAVE_GRP_H 1
  12758. | #define HAVE_LIMITS_H 1
  12759. | #define HAVE_LOCALE_H 1
  12760. | #define HAVE_NLIST_H 1
  12761. | #define HAVE_PTHREAD_H 1
  12762. | #define HAVE_PWD_H 1
  12763. | #define HAVE_SIGNAL_H 1
  12764. | #define HAVE_SYS_PARAM_H 1
  12765. | #define HAVE_SYS_MMAN_H 1
  12766. | #define HAVE_SYS_RESOURCE_H 1
  12767. | #define HAVE_SYS_SELECT_H 1
  12768. | #define HAVE_SYS_TIME_H 1
  12769. | #define HAVE_SYS_TIMEB_H 1
  12770. | #define HAVE_SYS_TIMERFD_H 1
  12771. | #define HAVE_SYS_TIMES_H 1
  12772. | #define HAVE_SYS_UTSNAME_H 1
  12773. | #define HAVE_SYS_WAIT_H 1
  12774. | #define HAVE_TERMIOS_H 1
  12775. | #define HAVE_TIME_H 1
  12776. | #define HAVE_UTIME_H 1
  12777. | #define HAVE_SCHED_H 1
  12778. | #define TIME_WITH_SYS_TIME 1
  12779. | #define HAVE_LONG_LONG 1
  12780. | #define SIZEOF_CHAR 1
  12781. | #define ALIGNMENT_CHAR 1
  12782. | #define SIZEOF_DOUBLE 8
  12783. | #define ALIGNMENT_DOUBLE 8
  12784. | #define SIZEOF_FLOAT 4
  12785. | #define ALIGNMENT_FLOAT 4
  12786. | #define SIZEOF_INT 4
  12787. | #define ALIGNMENT_INT 4
  12788. | #define SIZEOF_LONG 8
  12789. | #define ALIGNMENT_LONG 8
  12790. | #define SIZEOF_LONG_LONG 8
  12791. | #define ALIGNMENT_LONG_LONG 8
  12792. | #define SIZEOF_SHORT 2
  12793. | #define ALIGNMENT_SHORT 2
  12794. | #define SIZEOF_UNSIGNED_CHAR 1
  12795. | #define ALIGNMENT_UNSIGNED_CHAR 1
  12796. | #define SIZEOF_UNSIGNED_INT 4
  12797. | #define ALIGNMENT_UNSIGNED_INT 4
  12798. | #define SIZEOF_UNSIGNED_LONG 8
  12799. | #define ALIGNMENT_UNSIGNED_LONG 8
  12800. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  12801. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  12802. | #define SIZEOF_UNSIGNED_SHORT 2
  12803. | #define ALIGNMENT_UNSIGNED_SHORT 2
  12804. | #define SIZEOF_VOID_P 8
  12805. | #define ALIGNMENT_VOID_P 8
  12806. | #define SIZEOF_INT8_T 1
  12807. | #define ALIGNMENT_INT8_T 1
  12808. | /* end confdefs.h. */
  12809. | #include <stdio.h>
  12810. | #ifdef HAVE_SYS_TYPES_H
  12811. | # include <sys/types.h>
  12812. | #endif
  12813. | #ifdef HAVE_SYS_STAT_H
  12814. | # include <sys/stat.h>
  12815. | #endif
  12816. | #ifdef STDC_HEADERS
  12817. | # include <stdlib.h>
  12818. | # include <stddef.h>
  12819. | #else
  12820. | # ifdef HAVE_STDLIB_H
  12821. | # include <stdlib.h>
  12822. | # endif
  12823. | #endif
  12824. | #ifdef HAVE_STRING_H
  12825. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12826. | # include <memory.h>
  12827. | # endif
  12828. | # include <string.h>
  12829. | #endif
  12830. | #ifdef HAVE_STRINGS_H
  12831. | # include <strings.h>
  12832. | #endif
  12833. | #ifdef HAVE_INTTYPES_H
  12834. | # include <inttypes.h>
  12835. | #endif
  12836. | #ifdef HAVE_STDINT_H
  12837. | # include <stdint.h>
  12838. | #endif
  12839. | #ifdef HAVE_UNISTD_H
  12840. | # include <unistd.h>
  12841. | #endif
  12842. | int
  12843. | main ()
  12844. | {
  12845. | static int test_array [1 - 2 * !(((long int) (sizeof (uint8_t))) <= 0)];
  12846. | test_array [0] = 0;
  12847. | return test_array [0];
  12848. |
  12849. | ;
  12850. | return 0;
  12851. | }
  12852. configure:12806: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12853. configure:12806: $? = 0
  12854. configure:12820: result: 1
  12855. configure:12830: checking for uint8_t
  12856. configure:12830: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12857. configure:12830: $? = 0
  12858. configure:12830: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12859. conftest.c: In function 'main':
  12860. conftest.c:120:22: error: expected expression before ')' token
  12861. if (sizeof ((uint8_t)))
  12862. ^
  12863. configure:12830: $? = 1
  12864. configure: failed program was:
  12865. | /* confdefs.h */
  12866. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  12867. | #define PACKAGE_TARNAME "ghc-8.7"
  12868. | #define PACKAGE_VERSION "8.7"
  12869. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  12870. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  12871. | #define PACKAGE_URL ""
  12872. | #define STDC_HEADERS 1
  12873. | #define HAVE_SYS_TYPES_H 1
  12874. | #define HAVE_SYS_STAT_H 1
  12875. | #define HAVE_STDLIB_H 1
  12876. | #define HAVE_STRING_H 1
  12877. | #define HAVE_MEMORY_H 1
  12878. | #define HAVE_STRINGS_H 1
  12879. | #define HAVE_INTTYPES_H 1
  12880. | #define HAVE_STDINT_H 1
  12881. | #define HAVE_UNISTD_H 1
  12882. | #define __EXTENSIONS__ 1
  12883. | #define _ALL_SOURCE 1
  12884. | #define _GNU_SOURCE 1
  12885. | #define _POSIX_PTHREAD_SEMANTICS 1
  12886. | #define _TANDEM_SOURCE 1
  12887. | #define sUPPORTED_LLVM_VERSION (7,0)
  12888. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  12889. | #define STDC_HEADERS 1
  12890. | #define HAVE_CTYPE_H 1
  12891. | #define HAVE_DIRENT_H 1
  12892. | #define HAVE_DLFCN_H 1
  12893. | #define HAVE_ERRNO_H 1
  12894. | #define HAVE_FCNTL_H 1
  12895. | #define HAVE_GRP_H 1
  12896. | #define HAVE_LIMITS_H 1
  12897. | #define HAVE_LOCALE_H 1
  12898. | #define HAVE_NLIST_H 1
  12899. | #define HAVE_PTHREAD_H 1
  12900. | #define HAVE_PWD_H 1
  12901. | #define HAVE_SIGNAL_H 1
  12902. | #define HAVE_SYS_PARAM_H 1
  12903. | #define HAVE_SYS_MMAN_H 1
  12904. | #define HAVE_SYS_RESOURCE_H 1
  12905. | #define HAVE_SYS_SELECT_H 1
  12906. | #define HAVE_SYS_TIME_H 1
  12907. | #define HAVE_SYS_TIMEB_H 1
  12908. | #define HAVE_SYS_TIMERFD_H 1
  12909. | #define HAVE_SYS_TIMES_H 1
  12910. | #define HAVE_SYS_UTSNAME_H 1
  12911. | #define HAVE_SYS_WAIT_H 1
  12912. | #define HAVE_TERMIOS_H 1
  12913. | #define HAVE_TIME_H 1
  12914. | #define HAVE_UTIME_H 1
  12915. | #define HAVE_SCHED_H 1
  12916. | #define TIME_WITH_SYS_TIME 1
  12917. | #define HAVE_LONG_LONG 1
  12918. | #define SIZEOF_CHAR 1
  12919. | #define ALIGNMENT_CHAR 1
  12920. | #define SIZEOF_DOUBLE 8
  12921. | #define ALIGNMENT_DOUBLE 8
  12922. | #define SIZEOF_FLOAT 4
  12923. | #define ALIGNMENT_FLOAT 4
  12924. | #define SIZEOF_INT 4
  12925. | #define ALIGNMENT_INT 4
  12926. | #define SIZEOF_LONG 8
  12927. | #define ALIGNMENT_LONG 8
  12928. | #define SIZEOF_LONG_LONG 8
  12929. | #define ALIGNMENT_LONG_LONG 8
  12930. | #define SIZEOF_SHORT 2
  12931. | #define ALIGNMENT_SHORT 2
  12932. | #define SIZEOF_UNSIGNED_CHAR 1
  12933. | #define ALIGNMENT_UNSIGNED_CHAR 1
  12934. | #define SIZEOF_UNSIGNED_INT 4
  12935. | #define ALIGNMENT_UNSIGNED_INT 4
  12936. | #define SIZEOF_UNSIGNED_LONG 8
  12937. | #define ALIGNMENT_UNSIGNED_LONG 8
  12938. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  12939. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  12940. | #define SIZEOF_UNSIGNED_SHORT 2
  12941. | #define ALIGNMENT_UNSIGNED_SHORT 2
  12942. | #define SIZEOF_VOID_P 8
  12943. | #define ALIGNMENT_VOID_P 8
  12944. | #define SIZEOF_INT8_T 1
  12945. | #define ALIGNMENT_INT8_T 1
  12946. | #define SIZEOF_UINT8_T 1
  12947. | /* end confdefs.h. */
  12948. | #include <stdio.h>
  12949. | #ifdef HAVE_SYS_TYPES_H
  12950. | # include <sys/types.h>
  12951. | #endif
  12952. | #ifdef HAVE_SYS_STAT_H
  12953. | # include <sys/stat.h>
  12954. | #endif
  12955. | #ifdef STDC_HEADERS
  12956. | # include <stdlib.h>
  12957. | # include <stddef.h>
  12958. | #else
  12959. | # ifdef HAVE_STDLIB_H
  12960. | # include <stdlib.h>
  12961. | # endif
  12962. | #endif
  12963. | #ifdef HAVE_STRING_H
  12964. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12965. | # include <memory.h>
  12966. | # endif
  12967. | # include <string.h>
  12968. | #endif
  12969. | #ifdef HAVE_STRINGS_H
  12970. | # include <strings.h>
  12971. | #endif
  12972. | #ifdef HAVE_INTTYPES_H
  12973. | # include <inttypes.h>
  12974. | #endif
  12975. | #ifdef HAVE_STDINT_H
  12976. | # include <stdint.h>
  12977. | #endif
  12978. | #ifdef HAVE_UNISTD_H
  12979. | # include <unistd.h>
  12980. | #endif
  12981. | int
  12982. | main ()
  12983. | {
  12984. | if (sizeof ((uint8_t)))
  12985. | return 0;
  12986. | ;
  12987. | return 0;
  12988. | }
  12989. configure:12830: result: yes
  12990. configure:12834: checking alignment of uint8_t
  12991. configure:12840: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12992. configure:12840: $? = 0
  12993. configure:12840: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  12994. conftest.c: In function 'main':
  12995. conftest.c:120:12: error: size of array 'test_array' is negative
  12996. static int test_array [1 - 2 * !((offsetof(struct { char c; uint8_t ty; },ty)) <= 0)];
  12997. ^~~~~~~~~~
  12998. configure:12840: $? = 1
  12999. configure: failed program was:
  13000. | /* confdefs.h */
  13001. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  13002. | #define PACKAGE_TARNAME "ghc-8.7"
  13003. | #define PACKAGE_VERSION "8.7"
  13004. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  13005. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  13006. | #define PACKAGE_URL ""
  13007. | #define STDC_HEADERS 1
  13008. | #define HAVE_SYS_TYPES_H 1
  13009. | #define HAVE_SYS_STAT_H 1
  13010. | #define HAVE_STDLIB_H 1
  13011. | #define HAVE_STRING_H 1
  13012. | #define HAVE_MEMORY_H 1
  13013. | #define HAVE_STRINGS_H 1
  13014. | #define HAVE_INTTYPES_H 1
  13015. | #define HAVE_STDINT_H 1
  13016. | #define HAVE_UNISTD_H 1
  13017. | #define __EXTENSIONS__ 1
  13018. | #define _ALL_SOURCE 1
  13019. | #define _GNU_SOURCE 1
  13020. | #define _POSIX_PTHREAD_SEMANTICS 1
  13021. | #define _TANDEM_SOURCE 1
  13022. | #define sUPPORTED_LLVM_VERSION (7,0)
  13023. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  13024. | #define STDC_HEADERS 1
  13025. | #define HAVE_CTYPE_H 1
  13026. | #define HAVE_DIRENT_H 1
  13027. | #define HAVE_DLFCN_H 1
  13028. | #define HAVE_ERRNO_H 1
  13029. | #define HAVE_FCNTL_H 1
  13030. | #define HAVE_GRP_H 1
  13031. | #define HAVE_LIMITS_H 1
  13032. | #define HAVE_LOCALE_H 1
  13033. | #define HAVE_NLIST_H 1
  13034. | #define HAVE_PTHREAD_H 1
  13035. | #define HAVE_PWD_H 1
  13036. | #define HAVE_SIGNAL_H 1
  13037. | #define HAVE_SYS_PARAM_H 1
  13038. | #define HAVE_SYS_MMAN_H 1
  13039. | #define HAVE_SYS_RESOURCE_H 1
  13040. | #define HAVE_SYS_SELECT_H 1
  13041. | #define HAVE_SYS_TIME_H 1
  13042. | #define HAVE_SYS_TIMEB_H 1
  13043. | #define HAVE_SYS_TIMERFD_H 1
  13044. | #define HAVE_SYS_TIMES_H 1
  13045. | #define HAVE_SYS_UTSNAME_H 1
  13046. | #define HAVE_SYS_WAIT_H 1
  13047. | #define HAVE_TERMIOS_H 1
  13048. | #define HAVE_TIME_H 1
  13049. | #define HAVE_UTIME_H 1
  13050. | #define HAVE_SCHED_H 1
  13051. | #define TIME_WITH_SYS_TIME 1
  13052. | #define HAVE_LONG_LONG 1
  13053. | #define SIZEOF_CHAR 1
  13054. | #define ALIGNMENT_CHAR 1
  13055. | #define SIZEOF_DOUBLE 8
  13056. | #define ALIGNMENT_DOUBLE 8
  13057. | #define SIZEOF_FLOAT 4
  13058. | #define ALIGNMENT_FLOAT 4
  13059. | #define SIZEOF_INT 4
  13060. | #define ALIGNMENT_INT 4
  13061. | #define SIZEOF_LONG 8
  13062. | #define ALIGNMENT_LONG 8
  13063. | #define SIZEOF_LONG_LONG 8
  13064. | #define ALIGNMENT_LONG_LONG 8
  13065. | #define SIZEOF_SHORT 2
  13066. | #define ALIGNMENT_SHORT 2
  13067. | #define SIZEOF_UNSIGNED_CHAR 1
  13068. | #define ALIGNMENT_UNSIGNED_CHAR 1
  13069. | #define SIZEOF_UNSIGNED_INT 4
  13070. | #define ALIGNMENT_UNSIGNED_INT 4
  13071. | #define SIZEOF_UNSIGNED_LONG 8
  13072. | #define ALIGNMENT_UNSIGNED_LONG 8
  13073. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  13074. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  13075. | #define SIZEOF_UNSIGNED_SHORT 2
  13076. | #define ALIGNMENT_UNSIGNED_SHORT 2
  13077. | #define SIZEOF_VOID_P 8
  13078. | #define ALIGNMENT_VOID_P 8
  13079. | #define SIZEOF_INT8_T 1
  13080. | #define ALIGNMENT_INT8_T 1
  13081. | #define SIZEOF_UINT8_T 1
  13082. | /* end confdefs.h. */
  13083. | #include <stdio.h>
  13084. | #ifdef HAVE_SYS_TYPES_H
  13085. | # include <sys/types.h>
  13086. | #endif
  13087. | #ifdef HAVE_SYS_STAT_H
  13088. | # include <sys/stat.h>
  13089. | #endif
  13090. | #ifdef STDC_HEADERS
  13091. | # include <stdlib.h>
  13092. | # include <stddef.h>
  13093. | #else
  13094. | # ifdef HAVE_STDLIB_H
  13095. | # include <stdlib.h>
  13096. | # endif
  13097. | #endif
  13098. | #ifdef HAVE_STRING_H
  13099. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13100. | # include <memory.h>
  13101. | # endif
  13102. | # include <string.h>
  13103. | #endif
  13104. | #ifdef HAVE_STRINGS_H
  13105. | # include <strings.h>
  13106. | #endif
  13107. | #ifdef HAVE_INTTYPES_H
  13108. | # include <inttypes.h>
  13109. | #endif
  13110. | #ifdef HAVE_STDINT_H
  13111. | # include <stdint.h>
  13112. | #endif
  13113. | #ifdef HAVE_UNISTD_H
  13114. | # include <unistd.h>
  13115. | #endif
  13116. | int
  13117. | main ()
  13118. | {
  13119. | static int test_array [1 - 2 * !((offsetof(struct { char c; uint8_t ty; },ty)) <= 0)];
  13120. | test_array [0] = 0;
  13121. | return test_array [0];
  13122. |
  13123. | ;
  13124. | return 0;
  13125. | }
  13126. configure:12840: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13127. configure:12840: $? = 0
  13128. configure:12852: result: 1
  13129. configure:12863: checking size of int16_t
  13130. configure:12868: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13131. configure:12868: $? = 0
  13132. configure:12868: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13133. conftest.c: In function 'main':
  13134. conftest.c:121:12: error: size of array 'test_array' is negative
  13135. static int test_array [1 - 2 * !(((long int) (sizeof (int16_t))) <= 0)];
  13136. ^~~~~~~~~~
  13137. configure:12868: $? = 1
  13138. configure: failed program was:
  13139. | /* confdefs.h */
  13140. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  13141. | #define PACKAGE_TARNAME "ghc-8.7"
  13142. | #define PACKAGE_VERSION "8.7"
  13143. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  13144. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  13145. | #define PACKAGE_URL ""
  13146. | #define STDC_HEADERS 1
  13147. | #define HAVE_SYS_TYPES_H 1
  13148. | #define HAVE_SYS_STAT_H 1
  13149. | #define HAVE_STDLIB_H 1
  13150. | #define HAVE_STRING_H 1
  13151. | #define HAVE_MEMORY_H 1
  13152. | #define HAVE_STRINGS_H 1
  13153. | #define HAVE_INTTYPES_H 1
  13154. | #define HAVE_STDINT_H 1
  13155. | #define HAVE_UNISTD_H 1
  13156. | #define __EXTENSIONS__ 1
  13157. | #define _ALL_SOURCE 1
  13158. | #define _GNU_SOURCE 1
  13159. | #define _POSIX_PTHREAD_SEMANTICS 1
  13160. | #define _TANDEM_SOURCE 1
  13161. | #define sUPPORTED_LLVM_VERSION (7,0)
  13162. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  13163. | #define STDC_HEADERS 1
  13164. | #define HAVE_CTYPE_H 1
  13165. | #define HAVE_DIRENT_H 1
  13166. | #define HAVE_DLFCN_H 1
  13167. | #define HAVE_ERRNO_H 1
  13168. | #define HAVE_FCNTL_H 1
  13169. | #define HAVE_GRP_H 1
  13170. | #define HAVE_LIMITS_H 1
  13171. | #define HAVE_LOCALE_H 1
  13172. | #define HAVE_NLIST_H 1
  13173. | #define HAVE_PTHREAD_H 1
  13174. | #define HAVE_PWD_H 1
  13175. | #define HAVE_SIGNAL_H 1
  13176. | #define HAVE_SYS_PARAM_H 1
  13177. | #define HAVE_SYS_MMAN_H 1
  13178. | #define HAVE_SYS_RESOURCE_H 1
  13179. | #define HAVE_SYS_SELECT_H 1
  13180. | #define HAVE_SYS_TIME_H 1
  13181. | #define HAVE_SYS_TIMEB_H 1
  13182. | #define HAVE_SYS_TIMERFD_H 1
  13183. | #define HAVE_SYS_TIMES_H 1
  13184. | #define HAVE_SYS_UTSNAME_H 1
  13185. | #define HAVE_SYS_WAIT_H 1
  13186. | #define HAVE_TERMIOS_H 1
  13187. | #define HAVE_TIME_H 1
  13188. | #define HAVE_UTIME_H 1
  13189. | #define HAVE_SCHED_H 1
  13190. | #define TIME_WITH_SYS_TIME 1
  13191. | #define HAVE_LONG_LONG 1
  13192. | #define SIZEOF_CHAR 1
  13193. | #define ALIGNMENT_CHAR 1
  13194. | #define SIZEOF_DOUBLE 8
  13195. | #define ALIGNMENT_DOUBLE 8
  13196. | #define SIZEOF_FLOAT 4
  13197. | #define ALIGNMENT_FLOAT 4
  13198. | #define SIZEOF_INT 4
  13199. | #define ALIGNMENT_INT 4
  13200. | #define SIZEOF_LONG 8
  13201. | #define ALIGNMENT_LONG 8
  13202. | #define SIZEOF_LONG_LONG 8
  13203. | #define ALIGNMENT_LONG_LONG 8
  13204. | #define SIZEOF_SHORT 2
  13205. | #define ALIGNMENT_SHORT 2
  13206. | #define SIZEOF_UNSIGNED_CHAR 1
  13207. | #define ALIGNMENT_UNSIGNED_CHAR 1
  13208. | #define SIZEOF_UNSIGNED_INT 4
  13209. | #define ALIGNMENT_UNSIGNED_INT 4
  13210. | #define SIZEOF_UNSIGNED_LONG 8
  13211. | #define ALIGNMENT_UNSIGNED_LONG 8
  13212. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  13213. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  13214. | #define SIZEOF_UNSIGNED_SHORT 2
  13215. | #define ALIGNMENT_UNSIGNED_SHORT 2
  13216. | #define SIZEOF_VOID_P 8
  13217. | #define ALIGNMENT_VOID_P 8
  13218. | #define SIZEOF_INT8_T 1
  13219. | #define ALIGNMENT_INT8_T 1
  13220. | #define SIZEOF_UINT8_T 1
  13221. | #define ALIGNMENT_UINT8_T 1
  13222. | /* end confdefs.h. */
  13223. | #include <stdio.h>
  13224. | #ifdef HAVE_SYS_TYPES_H
  13225. | # include <sys/types.h>
  13226. | #endif
  13227. | #ifdef HAVE_SYS_STAT_H
  13228. | # include <sys/stat.h>
  13229. | #endif
  13230. | #ifdef STDC_HEADERS
  13231. | # include <stdlib.h>
  13232. | # include <stddef.h>
  13233. | #else
  13234. | # ifdef HAVE_STDLIB_H
  13235. | # include <stdlib.h>
  13236. | # endif
  13237. | #endif
  13238. | #ifdef HAVE_STRING_H
  13239. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13240. | # include <memory.h>
  13241. | # endif
  13242. | # include <string.h>
  13243. | #endif
  13244. | #ifdef HAVE_STRINGS_H
  13245. | # include <strings.h>
  13246. | #endif
  13247. | #ifdef HAVE_INTTYPES_H
  13248. | # include <inttypes.h>
  13249. | #endif
  13250. | #ifdef HAVE_STDINT_H
  13251. | # include <stdint.h>
  13252. | #endif
  13253. | #ifdef HAVE_UNISTD_H
  13254. | # include <unistd.h>
  13255. | #endif
  13256. | int
  13257. | main ()
  13258. | {
  13259. | static int test_array [1 - 2 * !(((long int) (sizeof (int16_t))) <= 0)];
  13260. | test_array [0] = 0;
  13261. | return test_array [0];
  13262. |
  13263. | ;
  13264. | return 0;
  13265. | }
  13266. configure:12868: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13267. conftest.c: In function 'main':
  13268. conftest.c:121:12: error: size of array 'test_array' is negative
  13269. static int test_array [1 - 2 * !(((long int) (sizeof (int16_t))) <= 1)];
  13270. ^~~~~~~~~~
  13271. configure:12868: $? = 1
  13272. configure: failed program was:
  13273. | /* confdefs.h */
  13274. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  13275. | #define PACKAGE_TARNAME "ghc-8.7"
  13276. | #define PACKAGE_VERSION "8.7"
  13277. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  13278. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  13279. | #define PACKAGE_URL ""
  13280. | #define STDC_HEADERS 1
  13281. | #define HAVE_SYS_TYPES_H 1
  13282. | #define HAVE_SYS_STAT_H 1
  13283. | #define HAVE_STDLIB_H 1
  13284. | #define HAVE_STRING_H 1
  13285. | #define HAVE_MEMORY_H 1
  13286. | #define HAVE_STRINGS_H 1
  13287. | #define HAVE_INTTYPES_H 1
  13288. | #define HAVE_STDINT_H 1
  13289. | #define HAVE_UNISTD_H 1
  13290. | #define __EXTENSIONS__ 1
  13291. | #define _ALL_SOURCE 1
  13292. | #define _GNU_SOURCE 1
  13293. | #define _POSIX_PTHREAD_SEMANTICS 1
  13294. | #define _TANDEM_SOURCE 1
  13295. | #define sUPPORTED_LLVM_VERSION (7,0)
  13296. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  13297. | #define STDC_HEADERS 1
  13298. | #define HAVE_CTYPE_H 1
  13299. | #define HAVE_DIRENT_H 1
  13300. | #define HAVE_DLFCN_H 1
  13301. | #define HAVE_ERRNO_H 1
  13302. | #define HAVE_FCNTL_H 1
  13303. | #define HAVE_GRP_H 1
  13304. | #define HAVE_LIMITS_H 1
  13305. | #define HAVE_LOCALE_H 1
  13306. | #define HAVE_NLIST_H 1
  13307. | #define HAVE_PTHREAD_H 1
  13308. | #define HAVE_PWD_H 1
  13309. | #define HAVE_SIGNAL_H 1
  13310. | #define HAVE_SYS_PARAM_H 1
  13311. | #define HAVE_SYS_MMAN_H 1
  13312. | #define HAVE_SYS_RESOURCE_H 1
  13313. | #define HAVE_SYS_SELECT_H 1
  13314. | #define HAVE_SYS_TIME_H 1
  13315. | #define HAVE_SYS_TIMEB_H 1
  13316. | #define HAVE_SYS_TIMERFD_H 1
  13317. | #define HAVE_SYS_TIMES_H 1
  13318. | #define HAVE_SYS_UTSNAME_H 1
  13319. | #define HAVE_SYS_WAIT_H 1
  13320. | #define HAVE_TERMIOS_H 1
  13321. | #define HAVE_TIME_H 1
  13322. | #define HAVE_UTIME_H 1
  13323. | #define HAVE_SCHED_H 1
  13324. | #define TIME_WITH_SYS_TIME 1
  13325. | #define HAVE_LONG_LONG 1
  13326. | #define SIZEOF_CHAR 1
  13327. | #define ALIGNMENT_CHAR 1
  13328. | #define SIZEOF_DOUBLE 8
  13329. | #define ALIGNMENT_DOUBLE 8
  13330. | #define SIZEOF_FLOAT 4
  13331. | #define ALIGNMENT_FLOAT 4
  13332. | #define SIZEOF_INT 4
  13333. | #define ALIGNMENT_INT 4
  13334. | #define SIZEOF_LONG 8
  13335. | #define ALIGNMENT_LONG 8
  13336. | #define SIZEOF_LONG_LONG 8
  13337. | #define ALIGNMENT_LONG_LONG 8
  13338. | #define SIZEOF_SHORT 2
  13339. | #define ALIGNMENT_SHORT 2
  13340. | #define SIZEOF_UNSIGNED_CHAR 1
  13341. | #define ALIGNMENT_UNSIGNED_CHAR 1
  13342. | #define SIZEOF_UNSIGNED_INT 4
  13343. | #define ALIGNMENT_UNSIGNED_INT 4
  13344. | #define SIZEOF_UNSIGNED_LONG 8
  13345. | #define ALIGNMENT_UNSIGNED_LONG 8
  13346. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  13347. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  13348. | #define SIZEOF_UNSIGNED_SHORT 2
  13349. | #define ALIGNMENT_UNSIGNED_SHORT 2
  13350. | #define SIZEOF_VOID_P 8
  13351. | #define ALIGNMENT_VOID_P 8
  13352. | #define SIZEOF_INT8_T 1
  13353. | #define ALIGNMENT_INT8_T 1
  13354. | #define SIZEOF_UINT8_T 1
  13355. | #define ALIGNMENT_UINT8_T 1
  13356. | /* end confdefs.h. */
  13357. | #include <stdio.h>
  13358. | #ifdef HAVE_SYS_TYPES_H
  13359. | # include <sys/types.h>
  13360. | #endif
  13361. | #ifdef HAVE_SYS_STAT_H
  13362. | # include <sys/stat.h>
  13363. | #endif
  13364. | #ifdef STDC_HEADERS
  13365. | # include <stdlib.h>
  13366. | # include <stddef.h>
  13367. | #else
  13368. | # ifdef HAVE_STDLIB_H
  13369. | # include <stdlib.h>
  13370. | # endif
  13371. | #endif
  13372. | #ifdef HAVE_STRING_H
  13373. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13374. | # include <memory.h>
  13375. | # endif
  13376. | # include <string.h>
  13377. | #endif
  13378. | #ifdef HAVE_STRINGS_H
  13379. | # include <strings.h>
  13380. | #endif
  13381. | #ifdef HAVE_INTTYPES_H
  13382. | # include <inttypes.h>
  13383. | #endif
  13384. | #ifdef HAVE_STDINT_H
  13385. | # include <stdint.h>
  13386. | #endif
  13387. | #ifdef HAVE_UNISTD_H
  13388. | # include <unistd.h>
  13389. | #endif
  13390. | int
  13391. | main ()
  13392. | {
  13393. | static int test_array [1 - 2 * !(((long int) (sizeof (int16_t))) <= 1)];
  13394. | test_array [0] = 0;
  13395. | return test_array [0];
  13396. |
  13397. | ;
  13398. | return 0;
  13399. | }
  13400. configure:12868: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13401. configure:12868: $? = 0
  13402. configure:12868: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13403. configure:12868: $? = 0
  13404. configure:12882: result: 2
  13405. configure:12892: checking for int16_t
  13406. configure:12892: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13407. configure:12892: $? = 0
  13408. configure:12892: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13409. conftest.c: In function 'main':
  13410. conftest.c:122:22: error: expected expression before ')' token
  13411. if (sizeof ((int16_t)))
  13412. ^
  13413. configure:12892: $? = 1
  13414. configure: failed program was:
  13415. | /* confdefs.h */
  13416. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  13417. | #define PACKAGE_TARNAME "ghc-8.7"
  13418. | #define PACKAGE_VERSION "8.7"
  13419. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  13420. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  13421. | #define PACKAGE_URL ""
  13422. | #define STDC_HEADERS 1
  13423. | #define HAVE_SYS_TYPES_H 1
  13424. | #define HAVE_SYS_STAT_H 1
  13425. | #define HAVE_STDLIB_H 1
  13426. | #define HAVE_STRING_H 1
  13427. | #define HAVE_MEMORY_H 1
  13428. | #define HAVE_STRINGS_H 1
  13429. | #define HAVE_INTTYPES_H 1
  13430. | #define HAVE_STDINT_H 1
  13431. | #define HAVE_UNISTD_H 1
  13432. | #define __EXTENSIONS__ 1
  13433. | #define _ALL_SOURCE 1
  13434. | #define _GNU_SOURCE 1
  13435. | #define _POSIX_PTHREAD_SEMANTICS 1
  13436. | #define _TANDEM_SOURCE 1
  13437. | #define sUPPORTED_LLVM_VERSION (7,0)
  13438. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  13439. | #define STDC_HEADERS 1
  13440. | #define HAVE_CTYPE_H 1
  13441. | #define HAVE_DIRENT_H 1
  13442. | #define HAVE_DLFCN_H 1
  13443. | #define HAVE_ERRNO_H 1
  13444. | #define HAVE_FCNTL_H 1
  13445. | #define HAVE_GRP_H 1
  13446. | #define HAVE_LIMITS_H 1
  13447. | #define HAVE_LOCALE_H 1
  13448. | #define HAVE_NLIST_H 1
  13449. | #define HAVE_PTHREAD_H 1
  13450. | #define HAVE_PWD_H 1
  13451. | #define HAVE_SIGNAL_H 1
  13452. | #define HAVE_SYS_PARAM_H 1
  13453. | #define HAVE_SYS_MMAN_H 1
  13454. | #define HAVE_SYS_RESOURCE_H 1
  13455. | #define HAVE_SYS_SELECT_H 1
  13456. | #define HAVE_SYS_TIME_H 1
  13457. | #define HAVE_SYS_TIMEB_H 1
  13458. | #define HAVE_SYS_TIMERFD_H 1
  13459. | #define HAVE_SYS_TIMES_H 1
  13460. | #define HAVE_SYS_UTSNAME_H 1
  13461. | #define HAVE_SYS_WAIT_H 1
  13462. | #define HAVE_TERMIOS_H 1
  13463. | #define HAVE_TIME_H 1
  13464. | #define HAVE_UTIME_H 1
  13465. | #define HAVE_SCHED_H 1
  13466. | #define TIME_WITH_SYS_TIME 1
  13467. | #define HAVE_LONG_LONG 1
  13468. | #define SIZEOF_CHAR 1
  13469. | #define ALIGNMENT_CHAR 1
  13470. | #define SIZEOF_DOUBLE 8
  13471. | #define ALIGNMENT_DOUBLE 8
  13472. | #define SIZEOF_FLOAT 4
  13473. | #define ALIGNMENT_FLOAT 4
  13474. | #define SIZEOF_INT 4
  13475. | #define ALIGNMENT_INT 4
  13476. | #define SIZEOF_LONG 8
  13477. | #define ALIGNMENT_LONG 8
  13478. | #define SIZEOF_LONG_LONG 8
  13479. | #define ALIGNMENT_LONG_LONG 8
  13480. | #define SIZEOF_SHORT 2
  13481. | #define ALIGNMENT_SHORT 2
  13482. | #define SIZEOF_UNSIGNED_CHAR 1
  13483. | #define ALIGNMENT_UNSIGNED_CHAR 1
  13484. | #define SIZEOF_UNSIGNED_INT 4
  13485. | #define ALIGNMENT_UNSIGNED_INT 4
  13486. | #define SIZEOF_UNSIGNED_LONG 8
  13487. | #define ALIGNMENT_UNSIGNED_LONG 8
  13488. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  13489. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  13490. | #define SIZEOF_UNSIGNED_SHORT 2
  13491. | #define ALIGNMENT_UNSIGNED_SHORT 2
  13492. | #define SIZEOF_VOID_P 8
  13493. | #define ALIGNMENT_VOID_P 8
  13494. | #define SIZEOF_INT8_T 1
  13495. | #define ALIGNMENT_INT8_T 1
  13496. | #define SIZEOF_UINT8_T 1
  13497. | #define ALIGNMENT_UINT8_T 1
  13498. | #define SIZEOF_INT16_T 2
  13499. | /* end confdefs.h. */
  13500. | #include <stdio.h>
  13501. | #ifdef HAVE_SYS_TYPES_H
  13502. | # include <sys/types.h>
  13503. | #endif
  13504. | #ifdef HAVE_SYS_STAT_H
  13505. | # include <sys/stat.h>
  13506. | #endif
  13507. | #ifdef STDC_HEADERS
  13508. | # include <stdlib.h>
  13509. | # include <stddef.h>
  13510. | #else
  13511. | # ifdef HAVE_STDLIB_H
  13512. | # include <stdlib.h>
  13513. | # endif
  13514. | #endif
  13515. | #ifdef HAVE_STRING_H
  13516. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13517. | # include <memory.h>
  13518. | # endif
  13519. | # include <string.h>
  13520. | #endif
  13521. | #ifdef HAVE_STRINGS_H
  13522. | # include <strings.h>
  13523. | #endif
  13524. | #ifdef HAVE_INTTYPES_H
  13525. | # include <inttypes.h>
  13526. | #endif
  13527. | #ifdef HAVE_STDINT_H
  13528. | # include <stdint.h>
  13529. | #endif
  13530. | #ifdef HAVE_UNISTD_H
  13531. | # include <unistd.h>
  13532. | #endif
  13533. | int
  13534. | main ()
  13535. | {
  13536. | if (sizeof ((int16_t)))
  13537. | return 0;
  13538. | ;
  13539. | return 0;
  13540. | }
  13541. configure:12892: result: yes
  13542. configure:12896: checking alignment of int16_t
  13543. configure:12902: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13544. configure:12902: $? = 0
  13545. configure:12902: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13546. conftest.c: In function 'main':
  13547. conftest.c:122:12: error: size of array 'test_array' is negative
  13548. static int test_array [1 - 2 * !((offsetof(struct { char c; int16_t ty; },ty)) <= 0)];
  13549. ^~~~~~~~~~
  13550. configure:12902: $? = 1
  13551. configure: failed program was:
  13552. | /* confdefs.h */
  13553. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  13554. | #define PACKAGE_TARNAME "ghc-8.7"
  13555. | #define PACKAGE_VERSION "8.7"
  13556. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  13557. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  13558. | #define PACKAGE_URL ""
  13559. | #define STDC_HEADERS 1
  13560. | #define HAVE_SYS_TYPES_H 1
  13561. | #define HAVE_SYS_STAT_H 1
  13562. | #define HAVE_STDLIB_H 1
  13563. | #define HAVE_STRING_H 1
  13564. | #define HAVE_MEMORY_H 1
  13565. | #define HAVE_STRINGS_H 1
  13566. | #define HAVE_INTTYPES_H 1
  13567. | #define HAVE_STDINT_H 1
  13568. | #define HAVE_UNISTD_H 1
  13569. | #define __EXTENSIONS__ 1
  13570. | #define _ALL_SOURCE 1
  13571. | #define _GNU_SOURCE 1
  13572. | #define _POSIX_PTHREAD_SEMANTICS 1
  13573. | #define _TANDEM_SOURCE 1
  13574. | #define sUPPORTED_LLVM_VERSION (7,0)
  13575. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  13576. | #define STDC_HEADERS 1
  13577. | #define HAVE_CTYPE_H 1
  13578. | #define HAVE_DIRENT_H 1
  13579. | #define HAVE_DLFCN_H 1
  13580. | #define HAVE_ERRNO_H 1
  13581. | #define HAVE_FCNTL_H 1
  13582. | #define HAVE_GRP_H 1
  13583. | #define HAVE_LIMITS_H 1
  13584. | #define HAVE_LOCALE_H 1
  13585. | #define HAVE_NLIST_H 1
  13586. | #define HAVE_PTHREAD_H 1
  13587. | #define HAVE_PWD_H 1
  13588. | #define HAVE_SIGNAL_H 1
  13589. | #define HAVE_SYS_PARAM_H 1
  13590. | #define HAVE_SYS_MMAN_H 1
  13591. | #define HAVE_SYS_RESOURCE_H 1
  13592. | #define HAVE_SYS_SELECT_H 1
  13593. | #define HAVE_SYS_TIME_H 1
  13594. | #define HAVE_SYS_TIMEB_H 1
  13595. | #define HAVE_SYS_TIMERFD_H 1
  13596. | #define HAVE_SYS_TIMES_H 1
  13597. | #define HAVE_SYS_UTSNAME_H 1
  13598. | #define HAVE_SYS_WAIT_H 1
  13599. | #define HAVE_TERMIOS_H 1
  13600. | #define HAVE_TIME_H 1
  13601. | #define HAVE_UTIME_H 1
  13602. | #define HAVE_SCHED_H 1
  13603. | #define TIME_WITH_SYS_TIME 1
  13604. | #define HAVE_LONG_LONG 1
  13605. | #define SIZEOF_CHAR 1
  13606. | #define ALIGNMENT_CHAR 1
  13607. | #define SIZEOF_DOUBLE 8
  13608. | #define ALIGNMENT_DOUBLE 8
  13609. | #define SIZEOF_FLOAT 4
  13610. | #define ALIGNMENT_FLOAT 4
  13611. | #define SIZEOF_INT 4
  13612. | #define ALIGNMENT_INT 4
  13613. | #define SIZEOF_LONG 8
  13614. | #define ALIGNMENT_LONG 8
  13615. | #define SIZEOF_LONG_LONG 8
  13616. | #define ALIGNMENT_LONG_LONG 8
  13617. | #define SIZEOF_SHORT 2
  13618. | #define ALIGNMENT_SHORT 2
  13619. | #define SIZEOF_UNSIGNED_CHAR 1
  13620. | #define ALIGNMENT_UNSIGNED_CHAR 1
  13621. | #define SIZEOF_UNSIGNED_INT 4
  13622. | #define ALIGNMENT_UNSIGNED_INT 4
  13623. | #define SIZEOF_UNSIGNED_LONG 8
  13624. | #define ALIGNMENT_UNSIGNED_LONG 8
  13625. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  13626. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  13627. | #define SIZEOF_UNSIGNED_SHORT 2
  13628. | #define ALIGNMENT_UNSIGNED_SHORT 2
  13629. | #define SIZEOF_VOID_P 8
  13630. | #define ALIGNMENT_VOID_P 8
  13631. | #define SIZEOF_INT8_T 1
  13632. | #define ALIGNMENT_INT8_T 1
  13633. | #define SIZEOF_UINT8_T 1
  13634. | #define ALIGNMENT_UINT8_T 1
  13635. | #define SIZEOF_INT16_T 2
  13636. | /* end confdefs.h. */
  13637. | #include <stdio.h>
  13638. | #ifdef HAVE_SYS_TYPES_H
  13639. | # include <sys/types.h>
  13640. | #endif
  13641. | #ifdef HAVE_SYS_STAT_H
  13642. | # include <sys/stat.h>
  13643. | #endif
  13644. | #ifdef STDC_HEADERS
  13645. | # include <stdlib.h>
  13646. | # include <stddef.h>
  13647. | #else
  13648. | # ifdef HAVE_STDLIB_H
  13649. | # include <stdlib.h>
  13650. | # endif
  13651. | #endif
  13652. | #ifdef HAVE_STRING_H
  13653. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13654. | # include <memory.h>
  13655. | # endif
  13656. | # include <string.h>
  13657. | #endif
  13658. | #ifdef HAVE_STRINGS_H
  13659. | # include <strings.h>
  13660. | #endif
  13661. | #ifdef HAVE_INTTYPES_H
  13662. | # include <inttypes.h>
  13663. | #endif
  13664. | #ifdef HAVE_STDINT_H
  13665. | # include <stdint.h>
  13666. | #endif
  13667. | #ifdef HAVE_UNISTD_H
  13668. | # include <unistd.h>
  13669. | #endif
  13670. | int
  13671. | main ()
  13672. | {
  13673. | static int test_array [1 - 2 * !((offsetof(struct { char c; int16_t ty; },ty)) <= 0)];
  13674. | test_array [0] = 0;
  13675. | return test_array [0];
  13676. |
  13677. | ;
  13678. | return 0;
  13679. | }
  13680. configure:12902: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13681. conftest.c: In function 'main':
  13682. conftest.c:122:12: error: size of array 'test_array' is negative
  13683. static int test_array [1 - 2 * !((offsetof(struct { char c; int16_t ty; },ty)) <= 1)];
  13684. ^~~~~~~~~~
  13685. configure:12902: $? = 1
  13686. configure: failed program was:
  13687. | /* confdefs.h */
  13688. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  13689. | #define PACKAGE_TARNAME "ghc-8.7"
  13690. | #define PACKAGE_VERSION "8.7"
  13691. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  13692. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  13693. | #define PACKAGE_URL ""
  13694. | #define STDC_HEADERS 1
  13695. | #define HAVE_SYS_TYPES_H 1
  13696. | #define HAVE_SYS_STAT_H 1
  13697. | #define HAVE_STDLIB_H 1
  13698. | #define HAVE_STRING_H 1
  13699. | #define HAVE_MEMORY_H 1
  13700. | #define HAVE_STRINGS_H 1
  13701. | #define HAVE_INTTYPES_H 1
  13702. | #define HAVE_STDINT_H 1
  13703. | #define HAVE_UNISTD_H 1
  13704. | #define __EXTENSIONS__ 1
  13705. | #define _ALL_SOURCE 1
  13706. | #define _GNU_SOURCE 1
  13707. | #define _POSIX_PTHREAD_SEMANTICS 1
  13708. | #define _TANDEM_SOURCE 1
  13709. | #define sUPPORTED_LLVM_VERSION (7,0)
  13710. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  13711. | #define STDC_HEADERS 1
  13712. | #define HAVE_CTYPE_H 1
  13713. | #define HAVE_DIRENT_H 1
  13714. | #define HAVE_DLFCN_H 1
  13715. | #define HAVE_ERRNO_H 1
  13716. | #define HAVE_FCNTL_H 1
  13717. | #define HAVE_GRP_H 1
  13718. | #define HAVE_LIMITS_H 1
  13719. | #define HAVE_LOCALE_H 1
  13720. | #define HAVE_NLIST_H 1
  13721. | #define HAVE_PTHREAD_H 1
  13722. | #define HAVE_PWD_H 1
  13723. | #define HAVE_SIGNAL_H 1
  13724. | #define HAVE_SYS_PARAM_H 1
  13725. | #define HAVE_SYS_MMAN_H 1
  13726. | #define HAVE_SYS_RESOURCE_H 1
  13727. | #define HAVE_SYS_SELECT_H 1
  13728. | #define HAVE_SYS_TIME_H 1
  13729. | #define HAVE_SYS_TIMEB_H 1
  13730. | #define HAVE_SYS_TIMERFD_H 1
  13731. | #define HAVE_SYS_TIMES_H 1
  13732. | #define HAVE_SYS_UTSNAME_H 1
  13733. | #define HAVE_SYS_WAIT_H 1
  13734. | #define HAVE_TERMIOS_H 1
  13735. | #define HAVE_TIME_H 1
  13736. | #define HAVE_UTIME_H 1
  13737. | #define HAVE_SCHED_H 1
  13738. | #define TIME_WITH_SYS_TIME 1
  13739. | #define HAVE_LONG_LONG 1
  13740. | #define SIZEOF_CHAR 1
  13741. | #define ALIGNMENT_CHAR 1
  13742. | #define SIZEOF_DOUBLE 8
  13743. | #define ALIGNMENT_DOUBLE 8
  13744. | #define SIZEOF_FLOAT 4
  13745. | #define ALIGNMENT_FLOAT 4
  13746. | #define SIZEOF_INT 4
  13747. | #define ALIGNMENT_INT 4
  13748. | #define SIZEOF_LONG 8
  13749. | #define ALIGNMENT_LONG 8
  13750. | #define SIZEOF_LONG_LONG 8
  13751. | #define ALIGNMENT_LONG_LONG 8
  13752. | #define SIZEOF_SHORT 2
  13753. | #define ALIGNMENT_SHORT 2
  13754. | #define SIZEOF_UNSIGNED_CHAR 1
  13755. | #define ALIGNMENT_UNSIGNED_CHAR 1
  13756. | #define SIZEOF_UNSIGNED_INT 4
  13757. | #define ALIGNMENT_UNSIGNED_INT 4
  13758. | #define SIZEOF_UNSIGNED_LONG 8
  13759. | #define ALIGNMENT_UNSIGNED_LONG 8
  13760. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  13761. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  13762. | #define SIZEOF_UNSIGNED_SHORT 2
  13763. | #define ALIGNMENT_UNSIGNED_SHORT 2
  13764. | #define SIZEOF_VOID_P 8
  13765. | #define ALIGNMENT_VOID_P 8
  13766. | #define SIZEOF_INT8_T 1
  13767. | #define ALIGNMENT_INT8_T 1
  13768. | #define SIZEOF_UINT8_T 1
  13769. | #define ALIGNMENT_UINT8_T 1
  13770. | #define SIZEOF_INT16_T 2
  13771. | /* end confdefs.h. */
  13772. | #include <stdio.h>
  13773. | #ifdef HAVE_SYS_TYPES_H
  13774. | # include <sys/types.h>
  13775. | #endif
  13776. | #ifdef HAVE_SYS_STAT_H
  13777. | # include <sys/stat.h>
  13778. | #endif
  13779. | #ifdef STDC_HEADERS
  13780. | # include <stdlib.h>
  13781. | # include <stddef.h>
  13782. | #else
  13783. | # ifdef HAVE_STDLIB_H
  13784. | # include <stdlib.h>
  13785. | # endif
  13786. | #endif
  13787. | #ifdef HAVE_STRING_H
  13788. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13789. | # include <memory.h>
  13790. | # endif
  13791. | # include <string.h>
  13792. | #endif
  13793. | #ifdef HAVE_STRINGS_H
  13794. | # include <strings.h>
  13795. | #endif
  13796. | #ifdef HAVE_INTTYPES_H
  13797. | # include <inttypes.h>
  13798. | #endif
  13799. | #ifdef HAVE_STDINT_H
  13800. | # include <stdint.h>
  13801. | #endif
  13802. | #ifdef HAVE_UNISTD_H
  13803. | # include <unistd.h>
  13804. | #endif
  13805. | int
  13806. | main ()
  13807. | {
  13808. | static int test_array [1 - 2 * !((offsetof(struct { char c; int16_t ty; },ty)) <= 1)];
  13809. | test_array [0] = 0;
  13810. | return test_array [0];
  13811. |
  13812. | ;
  13813. | return 0;
  13814. | }
  13815. configure:12902: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13816. configure:12902: $? = 0
  13817. configure:12902: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13818. configure:12902: $? = 0
  13819. configure:12914: result: 2
  13820. configure:12925: checking size of uint16_t
  13821. configure:12930: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13822. configure:12930: $? = 0
  13823. configure:12930: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13824. conftest.c: In function 'main':
  13825. conftest.c:123:12: error: size of array 'test_array' is negative
  13826. static int test_array [1 - 2 * !(((long int) (sizeof (uint16_t))) <= 0)];
  13827. ^~~~~~~~~~
  13828. configure:12930: $? = 1
  13829. configure: failed program was:
  13830. | /* confdefs.h */
  13831. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  13832. | #define PACKAGE_TARNAME "ghc-8.7"
  13833. | #define PACKAGE_VERSION "8.7"
  13834. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  13835. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  13836. | #define PACKAGE_URL ""
  13837. | #define STDC_HEADERS 1
  13838. | #define HAVE_SYS_TYPES_H 1
  13839. | #define HAVE_SYS_STAT_H 1
  13840. | #define HAVE_STDLIB_H 1
  13841. | #define HAVE_STRING_H 1
  13842. | #define HAVE_MEMORY_H 1
  13843. | #define HAVE_STRINGS_H 1
  13844. | #define HAVE_INTTYPES_H 1
  13845. | #define HAVE_STDINT_H 1
  13846. | #define HAVE_UNISTD_H 1
  13847. | #define __EXTENSIONS__ 1
  13848. | #define _ALL_SOURCE 1
  13849. | #define _GNU_SOURCE 1
  13850. | #define _POSIX_PTHREAD_SEMANTICS 1
  13851. | #define _TANDEM_SOURCE 1
  13852. | #define sUPPORTED_LLVM_VERSION (7,0)
  13853. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  13854. | #define STDC_HEADERS 1
  13855. | #define HAVE_CTYPE_H 1
  13856. | #define HAVE_DIRENT_H 1
  13857. | #define HAVE_DLFCN_H 1
  13858. | #define HAVE_ERRNO_H 1
  13859. | #define HAVE_FCNTL_H 1
  13860. | #define HAVE_GRP_H 1
  13861. | #define HAVE_LIMITS_H 1
  13862. | #define HAVE_LOCALE_H 1
  13863. | #define HAVE_NLIST_H 1
  13864. | #define HAVE_PTHREAD_H 1
  13865. | #define HAVE_PWD_H 1
  13866. | #define HAVE_SIGNAL_H 1
  13867. | #define HAVE_SYS_PARAM_H 1
  13868. | #define HAVE_SYS_MMAN_H 1
  13869. | #define HAVE_SYS_RESOURCE_H 1
  13870. | #define HAVE_SYS_SELECT_H 1
  13871. | #define HAVE_SYS_TIME_H 1
  13872. | #define HAVE_SYS_TIMEB_H 1
  13873. | #define HAVE_SYS_TIMERFD_H 1
  13874. | #define HAVE_SYS_TIMES_H 1
  13875. | #define HAVE_SYS_UTSNAME_H 1
  13876. | #define HAVE_SYS_WAIT_H 1
  13877. | #define HAVE_TERMIOS_H 1
  13878. | #define HAVE_TIME_H 1
  13879. | #define HAVE_UTIME_H 1
  13880. | #define HAVE_SCHED_H 1
  13881. | #define TIME_WITH_SYS_TIME 1
  13882. | #define HAVE_LONG_LONG 1
  13883. | #define SIZEOF_CHAR 1
  13884. | #define ALIGNMENT_CHAR 1
  13885. | #define SIZEOF_DOUBLE 8
  13886. | #define ALIGNMENT_DOUBLE 8
  13887. | #define SIZEOF_FLOAT 4
  13888. | #define ALIGNMENT_FLOAT 4
  13889. | #define SIZEOF_INT 4
  13890. | #define ALIGNMENT_INT 4
  13891. | #define SIZEOF_LONG 8
  13892. | #define ALIGNMENT_LONG 8
  13893. | #define SIZEOF_LONG_LONG 8
  13894. | #define ALIGNMENT_LONG_LONG 8
  13895. | #define SIZEOF_SHORT 2
  13896. | #define ALIGNMENT_SHORT 2
  13897. | #define SIZEOF_UNSIGNED_CHAR 1
  13898. | #define ALIGNMENT_UNSIGNED_CHAR 1
  13899. | #define SIZEOF_UNSIGNED_INT 4
  13900. | #define ALIGNMENT_UNSIGNED_INT 4
  13901. | #define SIZEOF_UNSIGNED_LONG 8
  13902. | #define ALIGNMENT_UNSIGNED_LONG 8
  13903. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  13904. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  13905. | #define SIZEOF_UNSIGNED_SHORT 2
  13906. | #define ALIGNMENT_UNSIGNED_SHORT 2
  13907. | #define SIZEOF_VOID_P 8
  13908. | #define ALIGNMENT_VOID_P 8
  13909. | #define SIZEOF_INT8_T 1
  13910. | #define ALIGNMENT_INT8_T 1
  13911. | #define SIZEOF_UINT8_T 1
  13912. | #define ALIGNMENT_UINT8_T 1
  13913. | #define SIZEOF_INT16_T 2
  13914. | #define ALIGNMENT_INT16_T 2
  13915. | /* end confdefs.h. */
  13916. | #include <stdio.h>
  13917. | #ifdef HAVE_SYS_TYPES_H
  13918. | # include <sys/types.h>
  13919. | #endif
  13920. | #ifdef HAVE_SYS_STAT_H
  13921. | # include <sys/stat.h>
  13922. | #endif
  13923. | #ifdef STDC_HEADERS
  13924. | # include <stdlib.h>
  13925. | # include <stddef.h>
  13926. | #else
  13927. | # ifdef HAVE_STDLIB_H
  13928. | # include <stdlib.h>
  13929. | # endif
  13930. | #endif
  13931. | #ifdef HAVE_STRING_H
  13932. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13933. | # include <memory.h>
  13934. | # endif
  13935. | # include <string.h>
  13936. | #endif
  13937. | #ifdef HAVE_STRINGS_H
  13938. | # include <strings.h>
  13939. | #endif
  13940. | #ifdef HAVE_INTTYPES_H
  13941. | # include <inttypes.h>
  13942. | #endif
  13943. | #ifdef HAVE_STDINT_H
  13944. | # include <stdint.h>
  13945. | #endif
  13946. | #ifdef HAVE_UNISTD_H
  13947. | # include <unistd.h>
  13948. | #endif
  13949. | int
  13950. | main ()
  13951. | {
  13952. | static int test_array [1 - 2 * !(((long int) (sizeof (uint16_t))) <= 0)];
  13953. | test_array [0] = 0;
  13954. | return test_array [0];
  13955. |
  13956. | ;
  13957. | return 0;
  13958. | }
  13959. configure:12930: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  13960. conftest.c: In function 'main':
  13961. conftest.c:123:12: error: size of array 'test_array' is negative
  13962. static int test_array [1 - 2 * !(((long int) (sizeof (uint16_t))) <= 1)];
  13963. ^~~~~~~~~~
  13964. configure:12930: $? = 1
  13965. configure: failed program was:
  13966. | /* confdefs.h */
  13967. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  13968. | #define PACKAGE_TARNAME "ghc-8.7"
  13969. | #define PACKAGE_VERSION "8.7"
  13970. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  13971. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  13972. | #define PACKAGE_URL ""
  13973. | #define STDC_HEADERS 1
  13974. | #define HAVE_SYS_TYPES_H 1
  13975. | #define HAVE_SYS_STAT_H 1
  13976. | #define HAVE_STDLIB_H 1
  13977. | #define HAVE_STRING_H 1
  13978. | #define HAVE_MEMORY_H 1
  13979. | #define HAVE_STRINGS_H 1
  13980. | #define HAVE_INTTYPES_H 1
  13981. | #define HAVE_STDINT_H 1
  13982. | #define HAVE_UNISTD_H 1
  13983. | #define __EXTENSIONS__ 1
  13984. | #define _ALL_SOURCE 1
  13985. | #define _GNU_SOURCE 1
  13986. | #define _POSIX_PTHREAD_SEMANTICS 1
  13987. | #define _TANDEM_SOURCE 1
  13988. | #define sUPPORTED_LLVM_VERSION (7,0)
  13989. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  13990. | #define STDC_HEADERS 1
  13991. | #define HAVE_CTYPE_H 1
  13992. | #define HAVE_DIRENT_H 1
  13993. | #define HAVE_DLFCN_H 1
  13994. | #define HAVE_ERRNO_H 1
  13995. | #define HAVE_FCNTL_H 1
  13996. | #define HAVE_GRP_H 1
  13997. | #define HAVE_LIMITS_H 1
  13998. | #define HAVE_LOCALE_H 1
  13999. | #define HAVE_NLIST_H 1
  14000. | #define HAVE_PTHREAD_H 1
  14001. | #define HAVE_PWD_H 1
  14002. | #define HAVE_SIGNAL_H 1
  14003. | #define HAVE_SYS_PARAM_H 1
  14004. | #define HAVE_SYS_MMAN_H 1
  14005. | #define HAVE_SYS_RESOURCE_H 1
  14006. | #define HAVE_SYS_SELECT_H 1
  14007. | #define HAVE_SYS_TIME_H 1
  14008. | #define HAVE_SYS_TIMEB_H 1
  14009. | #define HAVE_SYS_TIMERFD_H 1
  14010. | #define HAVE_SYS_TIMES_H 1
  14011. | #define HAVE_SYS_UTSNAME_H 1
  14012. | #define HAVE_SYS_WAIT_H 1
  14013. | #define HAVE_TERMIOS_H 1
  14014. | #define HAVE_TIME_H 1
  14015. | #define HAVE_UTIME_H 1
  14016. | #define HAVE_SCHED_H 1
  14017. | #define TIME_WITH_SYS_TIME 1
  14018. | #define HAVE_LONG_LONG 1
  14019. | #define SIZEOF_CHAR 1
  14020. | #define ALIGNMENT_CHAR 1
  14021. | #define SIZEOF_DOUBLE 8
  14022. | #define ALIGNMENT_DOUBLE 8
  14023. | #define SIZEOF_FLOAT 4
  14024. | #define ALIGNMENT_FLOAT 4
  14025. | #define SIZEOF_INT 4
  14026. | #define ALIGNMENT_INT 4
  14027. | #define SIZEOF_LONG 8
  14028. | #define ALIGNMENT_LONG 8
  14029. | #define SIZEOF_LONG_LONG 8
  14030. | #define ALIGNMENT_LONG_LONG 8
  14031. | #define SIZEOF_SHORT 2
  14032. | #define ALIGNMENT_SHORT 2
  14033. | #define SIZEOF_UNSIGNED_CHAR 1
  14034. | #define ALIGNMENT_UNSIGNED_CHAR 1
  14035. | #define SIZEOF_UNSIGNED_INT 4
  14036. | #define ALIGNMENT_UNSIGNED_INT 4
  14037. | #define SIZEOF_UNSIGNED_LONG 8
  14038. | #define ALIGNMENT_UNSIGNED_LONG 8
  14039. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  14040. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  14041. | #define SIZEOF_UNSIGNED_SHORT 2
  14042. | #define ALIGNMENT_UNSIGNED_SHORT 2
  14043. | #define SIZEOF_VOID_P 8
  14044. | #define ALIGNMENT_VOID_P 8
  14045. | #define SIZEOF_INT8_T 1
  14046. | #define ALIGNMENT_INT8_T 1
  14047. | #define SIZEOF_UINT8_T 1
  14048. | #define ALIGNMENT_UINT8_T 1
  14049. | #define SIZEOF_INT16_T 2
  14050. | #define ALIGNMENT_INT16_T 2
  14051. | /* end confdefs.h. */
  14052. | #include <stdio.h>
  14053. | #ifdef HAVE_SYS_TYPES_H
  14054. | # include <sys/types.h>
  14055. | #endif
  14056. | #ifdef HAVE_SYS_STAT_H
  14057. | # include <sys/stat.h>
  14058. | #endif
  14059. | #ifdef STDC_HEADERS
  14060. | # include <stdlib.h>
  14061. | # include <stddef.h>
  14062. | #else
  14063. | # ifdef HAVE_STDLIB_H
  14064. | # include <stdlib.h>
  14065. | # endif
  14066. | #endif
  14067. | #ifdef HAVE_STRING_H
  14068. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  14069. | # include <memory.h>
  14070. | # endif
  14071. | # include <string.h>
  14072. | #endif
  14073. | #ifdef HAVE_STRINGS_H
  14074. | # include <strings.h>
  14075. | #endif
  14076. | #ifdef HAVE_INTTYPES_H
  14077. | # include <inttypes.h>
  14078. | #endif
  14079. | #ifdef HAVE_STDINT_H
  14080. | # include <stdint.h>
  14081. | #endif
  14082. | #ifdef HAVE_UNISTD_H
  14083. | # include <unistd.h>
  14084. | #endif
  14085. | int
  14086. | main ()
  14087. | {
  14088. | static int test_array [1 - 2 * !(((long int) (sizeof (uint16_t))) <= 1)];
  14089. | test_array [0] = 0;
  14090. | return test_array [0];
  14091. |
  14092. | ;
  14093. | return 0;
  14094. | }
  14095. configure:12930: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14096. configure:12930: $? = 0
  14097. configure:12930: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14098. configure:12930: $? = 0
  14099. configure:12944: result: 2
  14100. configure:12954: checking for uint16_t
  14101. configure:12954: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14102. configure:12954: $? = 0
  14103. configure:12954: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14104. conftest.c: In function 'main':
  14105. conftest.c:124:23: error: expected expression before ')' token
  14106. if (sizeof ((uint16_t)))
  14107. ^
  14108. configure:12954: $? = 1
  14109. configure: failed program was:
  14110. | /* confdefs.h */
  14111. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  14112. | #define PACKAGE_TARNAME "ghc-8.7"
  14113. | #define PACKAGE_VERSION "8.7"
  14114. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  14115. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  14116. | #define PACKAGE_URL ""
  14117. | #define STDC_HEADERS 1
  14118. | #define HAVE_SYS_TYPES_H 1
  14119. | #define HAVE_SYS_STAT_H 1
  14120. | #define HAVE_STDLIB_H 1
  14121. | #define HAVE_STRING_H 1
  14122. | #define HAVE_MEMORY_H 1
  14123. | #define HAVE_STRINGS_H 1
  14124. | #define HAVE_INTTYPES_H 1
  14125. | #define HAVE_STDINT_H 1
  14126. | #define HAVE_UNISTD_H 1
  14127. | #define __EXTENSIONS__ 1
  14128. | #define _ALL_SOURCE 1
  14129. | #define _GNU_SOURCE 1
  14130. | #define _POSIX_PTHREAD_SEMANTICS 1
  14131. | #define _TANDEM_SOURCE 1
  14132. | #define sUPPORTED_LLVM_VERSION (7,0)
  14133. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  14134. | #define STDC_HEADERS 1
  14135. | #define HAVE_CTYPE_H 1
  14136. | #define HAVE_DIRENT_H 1
  14137. | #define HAVE_DLFCN_H 1
  14138. | #define HAVE_ERRNO_H 1
  14139. | #define HAVE_FCNTL_H 1
  14140. | #define HAVE_GRP_H 1
  14141. | #define HAVE_LIMITS_H 1
  14142. | #define HAVE_LOCALE_H 1
  14143. | #define HAVE_NLIST_H 1
  14144. | #define HAVE_PTHREAD_H 1
  14145. | #define HAVE_PWD_H 1
  14146. | #define HAVE_SIGNAL_H 1
  14147. | #define HAVE_SYS_PARAM_H 1
  14148. | #define HAVE_SYS_MMAN_H 1
  14149. | #define HAVE_SYS_RESOURCE_H 1
  14150. | #define HAVE_SYS_SELECT_H 1
  14151. | #define HAVE_SYS_TIME_H 1
  14152. | #define HAVE_SYS_TIMEB_H 1
  14153. | #define HAVE_SYS_TIMERFD_H 1
  14154. | #define HAVE_SYS_TIMES_H 1
  14155. | #define HAVE_SYS_UTSNAME_H 1
  14156. | #define HAVE_SYS_WAIT_H 1
  14157. | #define HAVE_TERMIOS_H 1
  14158. | #define HAVE_TIME_H 1
  14159. | #define HAVE_UTIME_H 1
  14160. | #define HAVE_SCHED_H 1
  14161. | #define TIME_WITH_SYS_TIME 1
  14162. | #define HAVE_LONG_LONG 1
  14163. | #define SIZEOF_CHAR 1
  14164. | #define ALIGNMENT_CHAR 1
  14165. | #define SIZEOF_DOUBLE 8
  14166. | #define ALIGNMENT_DOUBLE 8
  14167. | #define SIZEOF_FLOAT 4
  14168. | #define ALIGNMENT_FLOAT 4
  14169. | #define SIZEOF_INT 4
  14170. | #define ALIGNMENT_INT 4
  14171. | #define SIZEOF_LONG 8
  14172. | #define ALIGNMENT_LONG 8
  14173. | #define SIZEOF_LONG_LONG 8
  14174. | #define ALIGNMENT_LONG_LONG 8
  14175. | #define SIZEOF_SHORT 2
  14176. | #define ALIGNMENT_SHORT 2
  14177. | #define SIZEOF_UNSIGNED_CHAR 1
  14178. | #define ALIGNMENT_UNSIGNED_CHAR 1
  14179. | #define SIZEOF_UNSIGNED_INT 4
  14180. | #define ALIGNMENT_UNSIGNED_INT 4
  14181. | #define SIZEOF_UNSIGNED_LONG 8
  14182. | #define ALIGNMENT_UNSIGNED_LONG 8
  14183. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  14184. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  14185. | #define SIZEOF_UNSIGNED_SHORT 2
  14186. | #define ALIGNMENT_UNSIGNED_SHORT 2
  14187. | #define SIZEOF_VOID_P 8
  14188. | #define ALIGNMENT_VOID_P 8
  14189. | #define SIZEOF_INT8_T 1
  14190. | #define ALIGNMENT_INT8_T 1
  14191. | #define SIZEOF_UINT8_T 1
  14192. | #define ALIGNMENT_UINT8_T 1
  14193. | #define SIZEOF_INT16_T 2
  14194. | #define ALIGNMENT_INT16_T 2
  14195. | #define SIZEOF_UINT16_T 2
  14196. | /* end confdefs.h. */
  14197. | #include <stdio.h>
  14198. | #ifdef HAVE_SYS_TYPES_H
  14199. | # include <sys/types.h>
  14200. | #endif
  14201. | #ifdef HAVE_SYS_STAT_H
  14202. | # include <sys/stat.h>
  14203. | #endif
  14204. | #ifdef STDC_HEADERS
  14205. | # include <stdlib.h>
  14206. | # include <stddef.h>
  14207. | #else
  14208. | # ifdef HAVE_STDLIB_H
  14209. | # include <stdlib.h>
  14210. | # endif
  14211. | #endif
  14212. | #ifdef HAVE_STRING_H
  14213. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  14214. | # include <memory.h>
  14215. | # endif
  14216. | # include <string.h>
  14217. | #endif
  14218. | #ifdef HAVE_STRINGS_H
  14219. | # include <strings.h>
  14220. | #endif
  14221. | #ifdef HAVE_INTTYPES_H
  14222. | # include <inttypes.h>
  14223. | #endif
  14224. | #ifdef HAVE_STDINT_H
  14225. | # include <stdint.h>
  14226. | #endif
  14227. | #ifdef HAVE_UNISTD_H
  14228. | # include <unistd.h>
  14229. | #endif
  14230. | int
  14231. | main ()
  14232. | {
  14233. | if (sizeof ((uint16_t)))
  14234. | return 0;
  14235. | ;
  14236. | return 0;
  14237. | }
  14238. configure:12954: result: yes
  14239. configure:12958: checking alignment of uint16_t
  14240. configure:12964: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14241. configure:12964: $? = 0
  14242. configure:12964: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14243. conftest.c: In function 'main':
  14244. conftest.c:124:12: error: size of array 'test_array' is negative
  14245. static int test_array [1 - 2 * !((offsetof(struct { char c; uint16_t ty; },ty)) <= 0)];
  14246. ^~~~~~~~~~
  14247. configure:12964: $? = 1
  14248. configure: failed program was:
  14249. | /* confdefs.h */
  14250. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  14251. | #define PACKAGE_TARNAME "ghc-8.7"
  14252. | #define PACKAGE_VERSION "8.7"
  14253. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  14254. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  14255. | #define PACKAGE_URL ""
  14256. | #define STDC_HEADERS 1
  14257. | #define HAVE_SYS_TYPES_H 1
  14258. | #define HAVE_SYS_STAT_H 1
  14259. | #define HAVE_STDLIB_H 1
  14260. | #define HAVE_STRING_H 1
  14261. | #define HAVE_MEMORY_H 1
  14262. | #define HAVE_STRINGS_H 1
  14263. | #define HAVE_INTTYPES_H 1
  14264. | #define HAVE_STDINT_H 1
  14265. | #define HAVE_UNISTD_H 1
  14266. | #define __EXTENSIONS__ 1
  14267. | #define _ALL_SOURCE 1
  14268. | #define _GNU_SOURCE 1
  14269. | #define _POSIX_PTHREAD_SEMANTICS 1
  14270. | #define _TANDEM_SOURCE 1
  14271. | #define sUPPORTED_LLVM_VERSION (7,0)
  14272. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  14273. | #define STDC_HEADERS 1
  14274. | #define HAVE_CTYPE_H 1
  14275. | #define HAVE_DIRENT_H 1
  14276. | #define HAVE_DLFCN_H 1
  14277. | #define HAVE_ERRNO_H 1
  14278. | #define HAVE_FCNTL_H 1
  14279. | #define HAVE_GRP_H 1
  14280. | #define HAVE_LIMITS_H 1
  14281. | #define HAVE_LOCALE_H 1
  14282. | #define HAVE_NLIST_H 1
  14283. | #define HAVE_PTHREAD_H 1
  14284. | #define HAVE_PWD_H 1
  14285. | #define HAVE_SIGNAL_H 1
  14286. | #define HAVE_SYS_PARAM_H 1
  14287. | #define HAVE_SYS_MMAN_H 1
  14288. | #define HAVE_SYS_RESOURCE_H 1
  14289. | #define HAVE_SYS_SELECT_H 1
  14290. | #define HAVE_SYS_TIME_H 1
  14291. | #define HAVE_SYS_TIMEB_H 1
  14292. | #define HAVE_SYS_TIMERFD_H 1
  14293. | #define HAVE_SYS_TIMES_H 1
  14294. | #define HAVE_SYS_UTSNAME_H 1
  14295. | #define HAVE_SYS_WAIT_H 1
  14296. | #define HAVE_TERMIOS_H 1
  14297. | #define HAVE_TIME_H 1
  14298. | #define HAVE_UTIME_H 1
  14299. | #define HAVE_SCHED_H 1
  14300. | #define TIME_WITH_SYS_TIME 1
  14301. | #define HAVE_LONG_LONG 1
  14302. | #define SIZEOF_CHAR 1
  14303. | #define ALIGNMENT_CHAR 1
  14304. | #define SIZEOF_DOUBLE 8
  14305. | #define ALIGNMENT_DOUBLE 8
  14306. | #define SIZEOF_FLOAT 4
  14307. | #define ALIGNMENT_FLOAT 4
  14308. | #define SIZEOF_INT 4
  14309. | #define ALIGNMENT_INT 4
  14310. | #define SIZEOF_LONG 8
  14311. | #define ALIGNMENT_LONG 8
  14312. | #define SIZEOF_LONG_LONG 8
  14313. | #define ALIGNMENT_LONG_LONG 8
  14314. | #define SIZEOF_SHORT 2
  14315. | #define ALIGNMENT_SHORT 2
  14316. | #define SIZEOF_UNSIGNED_CHAR 1
  14317. | #define ALIGNMENT_UNSIGNED_CHAR 1
  14318. | #define SIZEOF_UNSIGNED_INT 4
  14319. | #define ALIGNMENT_UNSIGNED_INT 4
  14320. | #define SIZEOF_UNSIGNED_LONG 8
  14321. | #define ALIGNMENT_UNSIGNED_LONG 8
  14322. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  14323. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  14324. | #define SIZEOF_UNSIGNED_SHORT 2
  14325. | #define ALIGNMENT_UNSIGNED_SHORT 2
  14326. | #define SIZEOF_VOID_P 8
  14327. | #define ALIGNMENT_VOID_P 8
  14328. | #define SIZEOF_INT8_T 1
  14329. | #define ALIGNMENT_INT8_T 1
  14330. | #define SIZEOF_UINT8_T 1
  14331. | #define ALIGNMENT_UINT8_T 1
  14332. | #define SIZEOF_INT16_T 2
  14333. | #define ALIGNMENT_INT16_T 2
  14334. | #define SIZEOF_UINT16_T 2
  14335. | /* end confdefs.h. */
  14336. | #include <stdio.h>
  14337. | #ifdef HAVE_SYS_TYPES_H
  14338. | # include <sys/types.h>
  14339. | #endif
  14340. | #ifdef HAVE_SYS_STAT_H
  14341. | # include <sys/stat.h>
  14342. | #endif
  14343. | #ifdef STDC_HEADERS
  14344. | # include <stdlib.h>
  14345. | # include <stddef.h>
  14346. | #else
  14347. | # ifdef HAVE_STDLIB_H
  14348. | # include <stdlib.h>
  14349. | # endif
  14350. | #endif
  14351. | #ifdef HAVE_STRING_H
  14352. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  14353. | # include <memory.h>
  14354. | # endif
  14355. | # include <string.h>
  14356. | #endif
  14357. | #ifdef HAVE_STRINGS_H
  14358. | # include <strings.h>
  14359. | #endif
  14360. | #ifdef HAVE_INTTYPES_H
  14361. | # include <inttypes.h>
  14362. | #endif
  14363. | #ifdef HAVE_STDINT_H
  14364. | # include <stdint.h>
  14365. | #endif
  14366. | #ifdef HAVE_UNISTD_H
  14367. | # include <unistd.h>
  14368. | #endif
  14369. | int
  14370. | main ()
  14371. | {
  14372. | static int test_array [1 - 2 * !((offsetof(struct { char c; uint16_t ty; },ty)) <= 0)];
  14373. | test_array [0] = 0;
  14374. | return test_array [0];
  14375. |
  14376. | ;
  14377. | return 0;
  14378. | }
  14379. configure:12964: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14380. conftest.c: In function 'main':
  14381. conftest.c:124:12: error: size of array 'test_array' is negative
  14382. static int test_array [1 - 2 * !((offsetof(struct { char c; uint16_t ty; },ty)) <= 1)];
  14383. ^~~~~~~~~~
  14384. configure:12964: $? = 1
  14385. configure: failed program was:
  14386. | /* confdefs.h */
  14387. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  14388. | #define PACKAGE_TARNAME "ghc-8.7"
  14389. | #define PACKAGE_VERSION "8.7"
  14390. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  14391. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  14392. | #define PACKAGE_URL ""
  14393. | #define STDC_HEADERS 1
  14394. | #define HAVE_SYS_TYPES_H 1
  14395. | #define HAVE_SYS_STAT_H 1
  14396. | #define HAVE_STDLIB_H 1
  14397. | #define HAVE_STRING_H 1
  14398. | #define HAVE_MEMORY_H 1
  14399. | #define HAVE_STRINGS_H 1
  14400. | #define HAVE_INTTYPES_H 1
  14401. | #define HAVE_STDINT_H 1
  14402. | #define HAVE_UNISTD_H 1
  14403. | #define __EXTENSIONS__ 1
  14404. | #define _ALL_SOURCE 1
  14405. | #define _GNU_SOURCE 1
  14406. | #define _POSIX_PTHREAD_SEMANTICS 1
  14407. | #define _TANDEM_SOURCE 1
  14408. | #define sUPPORTED_LLVM_VERSION (7,0)
  14409. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  14410. | #define STDC_HEADERS 1
  14411. | #define HAVE_CTYPE_H 1
  14412. | #define HAVE_DIRENT_H 1
  14413. | #define HAVE_DLFCN_H 1
  14414. | #define HAVE_ERRNO_H 1
  14415. | #define HAVE_FCNTL_H 1
  14416. | #define HAVE_GRP_H 1
  14417. | #define HAVE_LIMITS_H 1
  14418. | #define HAVE_LOCALE_H 1
  14419. | #define HAVE_NLIST_H 1
  14420. | #define HAVE_PTHREAD_H 1
  14421. | #define HAVE_PWD_H 1
  14422. | #define HAVE_SIGNAL_H 1
  14423. | #define HAVE_SYS_PARAM_H 1
  14424. | #define HAVE_SYS_MMAN_H 1
  14425. | #define HAVE_SYS_RESOURCE_H 1
  14426. | #define HAVE_SYS_SELECT_H 1
  14427. | #define HAVE_SYS_TIME_H 1
  14428. | #define HAVE_SYS_TIMEB_H 1
  14429. | #define HAVE_SYS_TIMERFD_H 1
  14430. | #define HAVE_SYS_TIMES_H 1
  14431. | #define HAVE_SYS_UTSNAME_H 1
  14432. | #define HAVE_SYS_WAIT_H 1
  14433. | #define HAVE_TERMIOS_H 1
  14434. | #define HAVE_TIME_H 1
  14435. | #define HAVE_UTIME_H 1
  14436. | #define HAVE_SCHED_H 1
  14437. | #define TIME_WITH_SYS_TIME 1
  14438. | #define HAVE_LONG_LONG 1
  14439. | #define SIZEOF_CHAR 1
  14440. | #define ALIGNMENT_CHAR 1
  14441. | #define SIZEOF_DOUBLE 8
  14442. | #define ALIGNMENT_DOUBLE 8
  14443. | #define SIZEOF_FLOAT 4
  14444. | #define ALIGNMENT_FLOAT 4
  14445. | #define SIZEOF_INT 4
  14446. | #define ALIGNMENT_INT 4
  14447. | #define SIZEOF_LONG 8
  14448. | #define ALIGNMENT_LONG 8
  14449. | #define SIZEOF_LONG_LONG 8
  14450. | #define ALIGNMENT_LONG_LONG 8
  14451. | #define SIZEOF_SHORT 2
  14452. | #define ALIGNMENT_SHORT 2
  14453. | #define SIZEOF_UNSIGNED_CHAR 1
  14454. | #define ALIGNMENT_UNSIGNED_CHAR 1
  14455. | #define SIZEOF_UNSIGNED_INT 4
  14456. | #define ALIGNMENT_UNSIGNED_INT 4
  14457. | #define SIZEOF_UNSIGNED_LONG 8
  14458. | #define ALIGNMENT_UNSIGNED_LONG 8
  14459. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  14460. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  14461. | #define SIZEOF_UNSIGNED_SHORT 2
  14462. | #define ALIGNMENT_UNSIGNED_SHORT 2
  14463. | #define SIZEOF_VOID_P 8
  14464. | #define ALIGNMENT_VOID_P 8
  14465. | #define SIZEOF_INT8_T 1
  14466. | #define ALIGNMENT_INT8_T 1
  14467. | #define SIZEOF_UINT8_T 1
  14468. | #define ALIGNMENT_UINT8_T 1
  14469. | #define SIZEOF_INT16_T 2
  14470. | #define ALIGNMENT_INT16_T 2
  14471. | #define SIZEOF_UINT16_T 2
  14472. | /* end confdefs.h. */
  14473. | #include <stdio.h>
  14474. | #ifdef HAVE_SYS_TYPES_H
  14475. | # include <sys/types.h>
  14476. | #endif
  14477. | #ifdef HAVE_SYS_STAT_H
  14478. | # include <sys/stat.h>
  14479. | #endif
  14480. | #ifdef STDC_HEADERS
  14481. | # include <stdlib.h>
  14482. | # include <stddef.h>
  14483. | #else
  14484. | # ifdef HAVE_STDLIB_H
  14485. | # include <stdlib.h>
  14486. | # endif
  14487. | #endif
  14488. | #ifdef HAVE_STRING_H
  14489. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  14490. | # include <memory.h>
  14491. | # endif
  14492. | # include <string.h>
  14493. | #endif
  14494. | #ifdef HAVE_STRINGS_H
  14495. | # include <strings.h>
  14496. | #endif
  14497. | #ifdef HAVE_INTTYPES_H
  14498. | # include <inttypes.h>
  14499. | #endif
  14500. | #ifdef HAVE_STDINT_H
  14501. | # include <stdint.h>
  14502. | #endif
  14503. | #ifdef HAVE_UNISTD_H
  14504. | # include <unistd.h>
  14505. | #endif
  14506. | int
  14507. | main ()
  14508. | {
  14509. | static int test_array [1 - 2 * !((offsetof(struct { char c; uint16_t ty; },ty)) <= 1)];
  14510. | test_array [0] = 0;
  14511. | return test_array [0];
  14512. |
  14513. | ;
  14514. | return 0;
  14515. | }
  14516. configure:12964: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14517. configure:12964: $? = 0
  14518. configure:12964: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14519. configure:12964: $? = 0
  14520. configure:12976: result: 2
  14521. configure:12987: checking size of int32_t
  14522. configure:12992: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14523. configure:12992: $? = 0
  14524. configure:12992: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14525. conftest.c: In function 'main':
  14526. conftest.c:125:12: error: size of array 'test_array' is negative
  14527. static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) <= 0)];
  14528. ^~~~~~~~~~
  14529. configure:12992: $? = 1
  14530. configure: failed program was:
  14531. | /* confdefs.h */
  14532. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  14533. | #define PACKAGE_TARNAME "ghc-8.7"
  14534. | #define PACKAGE_VERSION "8.7"
  14535. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  14536. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  14537. | #define PACKAGE_URL ""
  14538. | #define STDC_HEADERS 1
  14539. | #define HAVE_SYS_TYPES_H 1
  14540. | #define HAVE_SYS_STAT_H 1
  14541. | #define HAVE_STDLIB_H 1
  14542. | #define HAVE_STRING_H 1
  14543. | #define HAVE_MEMORY_H 1
  14544. | #define HAVE_STRINGS_H 1
  14545. | #define HAVE_INTTYPES_H 1
  14546. | #define HAVE_STDINT_H 1
  14547. | #define HAVE_UNISTD_H 1
  14548. | #define __EXTENSIONS__ 1
  14549. | #define _ALL_SOURCE 1
  14550. | #define _GNU_SOURCE 1
  14551. | #define _POSIX_PTHREAD_SEMANTICS 1
  14552. | #define _TANDEM_SOURCE 1
  14553. | #define sUPPORTED_LLVM_VERSION (7,0)
  14554. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  14555. | #define STDC_HEADERS 1
  14556. | #define HAVE_CTYPE_H 1
  14557. | #define HAVE_DIRENT_H 1
  14558. | #define HAVE_DLFCN_H 1
  14559. | #define HAVE_ERRNO_H 1
  14560. | #define HAVE_FCNTL_H 1
  14561. | #define HAVE_GRP_H 1
  14562. | #define HAVE_LIMITS_H 1
  14563. | #define HAVE_LOCALE_H 1
  14564. | #define HAVE_NLIST_H 1
  14565. | #define HAVE_PTHREAD_H 1
  14566. | #define HAVE_PWD_H 1
  14567. | #define HAVE_SIGNAL_H 1
  14568. | #define HAVE_SYS_PARAM_H 1
  14569. | #define HAVE_SYS_MMAN_H 1
  14570. | #define HAVE_SYS_RESOURCE_H 1
  14571. | #define HAVE_SYS_SELECT_H 1
  14572. | #define HAVE_SYS_TIME_H 1
  14573. | #define HAVE_SYS_TIMEB_H 1
  14574. | #define HAVE_SYS_TIMERFD_H 1
  14575. | #define HAVE_SYS_TIMES_H 1
  14576. | #define HAVE_SYS_UTSNAME_H 1
  14577. | #define HAVE_SYS_WAIT_H 1
  14578. | #define HAVE_TERMIOS_H 1
  14579. | #define HAVE_TIME_H 1
  14580. | #define HAVE_UTIME_H 1
  14581. | #define HAVE_SCHED_H 1
  14582. | #define TIME_WITH_SYS_TIME 1
  14583. | #define HAVE_LONG_LONG 1
  14584. | #define SIZEOF_CHAR 1
  14585. | #define ALIGNMENT_CHAR 1
  14586. | #define SIZEOF_DOUBLE 8
  14587. | #define ALIGNMENT_DOUBLE 8
  14588. | #define SIZEOF_FLOAT 4
  14589. | #define ALIGNMENT_FLOAT 4
  14590. | #define SIZEOF_INT 4
  14591. | #define ALIGNMENT_INT 4
  14592. | #define SIZEOF_LONG 8
  14593. | #define ALIGNMENT_LONG 8
  14594. | #define SIZEOF_LONG_LONG 8
  14595. | #define ALIGNMENT_LONG_LONG 8
  14596. | #define SIZEOF_SHORT 2
  14597. | #define ALIGNMENT_SHORT 2
  14598. | #define SIZEOF_UNSIGNED_CHAR 1
  14599. | #define ALIGNMENT_UNSIGNED_CHAR 1
  14600. | #define SIZEOF_UNSIGNED_INT 4
  14601. | #define ALIGNMENT_UNSIGNED_INT 4
  14602. | #define SIZEOF_UNSIGNED_LONG 8
  14603. | #define ALIGNMENT_UNSIGNED_LONG 8
  14604. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  14605. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  14606. | #define SIZEOF_UNSIGNED_SHORT 2
  14607. | #define ALIGNMENT_UNSIGNED_SHORT 2
  14608. | #define SIZEOF_VOID_P 8
  14609. | #define ALIGNMENT_VOID_P 8
  14610. | #define SIZEOF_INT8_T 1
  14611. | #define ALIGNMENT_INT8_T 1
  14612. | #define SIZEOF_UINT8_T 1
  14613. | #define ALIGNMENT_UINT8_T 1
  14614. | #define SIZEOF_INT16_T 2
  14615. | #define ALIGNMENT_INT16_T 2
  14616. | #define SIZEOF_UINT16_T 2
  14617. | #define ALIGNMENT_UINT16_T 2
  14618. | /* end confdefs.h. */
  14619. | #include <stdio.h>
  14620. | #ifdef HAVE_SYS_TYPES_H
  14621. | # include <sys/types.h>
  14622. | #endif
  14623. | #ifdef HAVE_SYS_STAT_H
  14624. | # include <sys/stat.h>
  14625. | #endif
  14626. | #ifdef STDC_HEADERS
  14627. | # include <stdlib.h>
  14628. | # include <stddef.h>
  14629. | #else
  14630. | # ifdef HAVE_STDLIB_H
  14631. | # include <stdlib.h>
  14632. | # endif
  14633. | #endif
  14634. | #ifdef HAVE_STRING_H
  14635. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  14636. | # include <memory.h>
  14637. | # endif
  14638. | # include <string.h>
  14639. | #endif
  14640. | #ifdef HAVE_STRINGS_H
  14641. | # include <strings.h>
  14642. | #endif
  14643. | #ifdef HAVE_INTTYPES_H
  14644. | # include <inttypes.h>
  14645. | #endif
  14646. | #ifdef HAVE_STDINT_H
  14647. | # include <stdint.h>
  14648. | #endif
  14649. | #ifdef HAVE_UNISTD_H
  14650. | # include <unistd.h>
  14651. | #endif
  14652. | int
  14653. | main ()
  14654. | {
  14655. | static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) <= 0)];
  14656. | test_array [0] = 0;
  14657. | return test_array [0];
  14658. |
  14659. | ;
  14660. | return 0;
  14661. | }
  14662. configure:12992: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14663. conftest.c: In function 'main':
  14664. conftest.c:125:12: error: size of array 'test_array' is negative
  14665. static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) <= 1)];
  14666. ^~~~~~~~~~
  14667. configure:12992: $? = 1
  14668. configure: failed program was:
  14669. | /* confdefs.h */
  14670. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  14671. | #define PACKAGE_TARNAME "ghc-8.7"
  14672. | #define PACKAGE_VERSION "8.7"
  14673. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  14674. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  14675. | #define PACKAGE_URL ""
  14676. | #define STDC_HEADERS 1
  14677. | #define HAVE_SYS_TYPES_H 1
  14678. | #define HAVE_SYS_STAT_H 1
  14679. | #define HAVE_STDLIB_H 1
  14680. | #define HAVE_STRING_H 1
  14681. | #define HAVE_MEMORY_H 1
  14682. | #define HAVE_STRINGS_H 1
  14683. | #define HAVE_INTTYPES_H 1
  14684. | #define HAVE_STDINT_H 1
  14685. | #define HAVE_UNISTD_H 1
  14686. | #define __EXTENSIONS__ 1
  14687. | #define _ALL_SOURCE 1
  14688. | #define _GNU_SOURCE 1
  14689. | #define _POSIX_PTHREAD_SEMANTICS 1
  14690. | #define _TANDEM_SOURCE 1
  14691. | #define sUPPORTED_LLVM_VERSION (7,0)
  14692. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  14693. | #define STDC_HEADERS 1
  14694. | #define HAVE_CTYPE_H 1
  14695. | #define HAVE_DIRENT_H 1
  14696. | #define HAVE_DLFCN_H 1
  14697. | #define HAVE_ERRNO_H 1
  14698. | #define HAVE_FCNTL_H 1
  14699. | #define HAVE_GRP_H 1
  14700. | #define HAVE_LIMITS_H 1
  14701. | #define HAVE_LOCALE_H 1
  14702. | #define HAVE_NLIST_H 1
  14703. | #define HAVE_PTHREAD_H 1
  14704. | #define HAVE_PWD_H 1
  14705. | #define HAVE_SIGNAL_H 1
  14706. | #define HAVE_SYS_PARAM_H 1
  14707. | #define HAVE_SYS_MMAN_H 1
  14708. | #define HAVE_SYS_RESOURCE_H 1
  14709. | #define HAVE_SYS_SELECT_H 1
  14710. | #define HAVE_SYS_TIME_H 1
  14711. | #define HAVE_SYS_TIMEB_H 1
  14712. | #define HAVE_SYS_TIMERFD_H 1
  14713. | #define HAVE_SYS_TIMES_H 1
  14714. | #define HAVE_SYS_UTSNAME_H 1
  14715. | #define HAVE_SYS_WAIT_H 1
  14716. | #define HAVE_TERMIOS_H 1
  14717. | #define HAVE_TIME_H 1
  14718. | #define HAVE_UTIME_H 1
  14719. | #define HAVE_SCHED_H 1
  14720. | #define TIME_WITH_SYS_TIME 1
  14721. | #define HAVE_LONG_LONG 1
  14722. | #define SIZEOF_CHAR 1
  14723. | #define ALIGNMENT_CHAR 1
  14724. | #define SIZEOF_DOUBLE 8
  14725. | #define ALIGNMENT_DOUBLE 8
  14726. | #define SIZEOF_FLOAT 4
  14727. | #define ALIGNMENT_FLOAT 4
  14728. | #define SIZEOF_INT 4
  14729. | #define ALIGNMENT_INT 4
  14730. | #define SIZEOF_LONG 8
  14731. | #define ALIGNMENT_LONG 8
  14732. | #define SIZEOF_LONG_LONG 8
  14733. | #define ALIGNMENT_LONG_LONG 8
  14734. | #define SIZEOF_SHORT 2
  14735. | #define ALIGNMENT_SHORT 2
  14736. | #define SIZEOF_UNSIGNED_CHAR 1
  14737. | #define ALIGNMENT_UNSIGNED_CHAR 1
  14738. | #define SIZEOF_UNSIGNED_INT 4
  14739. | #define ALIGNMENT_UNSIGNED_INT 4
  14740. | #define SIZEOF_UNSIGNED_LONG 8
  14741. | #define ALIGNMENT_UNSIGNED_LONG 8
  14742. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  14743. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  14744. | #define SIZEOF_UNSIGNED_SHORT 2
  14745. | #define ALIGNMENT_UNSIGNED_SHORT 2
  14746. | #define SIZEOF_VOID_P 8
  14747. | #define ALIGNMENT_VOID_P 8
  14748. | #define SIZEOF_INT8_T 1
  14749. | #define ALIGNMENT_INT8_T 1
  14750. | #define SIZEOF_UINT8_T 1
  14751. | #define ALIGNMENT_UINT8_T 1
  14752. | #define SIZEOF_INT16_T 2
  14753. | #define ALIGNMENT_INT16_T 2
  14754. | #define SIZEOF_UINT16_T 2
  14755. | #define ALIGNMENT_UINT16_T 2
  14756. | /* end confdefs.h. */
  14757. | #include <stdio.h>
  14758. | #ifdef HAVE_SYS_TYPES_H
  14759. | # include <sys/types.h>
  14760. | #endif
  14761. | #ifdef HAVE_SYS_STAT_H
  14762. | # include <sys/stat.h>
  14763. | #endif
  14764. | #ifdef STDC_HEADERS
  14765. | # include <stdlib.h>
  14766. | # include <stddef.h>
  14767. | #else
  14768. | # ifdef HAVE_STDLIB_H
  14769. | # include <stdlib.h>
  14770. | # endif
  14771. | #endif
  14772. | #ifdef HAVE_STRING_H
  14773. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  14774. | # include <memory.h>
  14775. | # endif
  14776. | # include <string.h>
  14777. | #endif
  14778. | #ifdef HAVE_STRINGS_H
  14779. | # include <strings.h>
  14780. | #endif
  14781. | #ifdef HAVE_INTTYPES_H
  14782. | # include <inttypes.h>
  14783. | #endif
  14784. | #ifdef HAVE_STDINT_H
  14785. | # include <stdint.h>
  14786. | #endif
  14787. | #ifdef HAVE_UNISTD_H
  14788. | # include <unistd.h>
  14789. | #endif
  14790. | int
  14791. | main ()
  14792. | {
  14793. | static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) <= 1)];
  14794. | test_array [0] = 0;
  14795. | return test_array [0];
  14796. |
  14797. | ;
  14798. | return 0;
  14799. | }
  14800. configure:12992: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14801. conftest.c: In function 'main':
  14802. conftest.c:125:12: error: size of array 'test_array' is negative
  14803. static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) <= 3)];
  14804. ^~~~~~~~~~
  14805. configure:12992: $? = 1
  14806. configure: failed program was:
  14807. | /* confdefs.h */
  14808. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  14809. | #define PACKAGE_TARNAME "ghc-8.7"
  14810. | #define PACKAGE_VERSION "8.7"
  14811. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  14812. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  14813. | #define PACKAGE_URL ""
  14814. | #define STDC_HEADERS 1
  14815. | #define HAVE_SYS_TYPES_H 1
  14816. | #define HAVE_SYS_STAT_H 1
  14817. | #define HAVE_STDLIB_H 1
  14818. | #define HAVE_STRING_H 1
  14819. | #define HAVE_MEMORY_H 1
  14820. | #define HAVE_STRINGS_H 1
  14821. | #define HAVE_INTTYPES_H 1
  14822. | #define HAVE_STDINT_H 1
  14823. | #define HAVE_UNISTD_H 1
  14824. | #define __EXTENSIONS__ 1
  14825. | #define _ALL_SOURCE 1
  14826. | #define _GNU_SOURCE 1
  14827. | #define _POSIX_PTHREAD_SEMANTICS 1
  14828. | #define _TANDEM_SOURCE 1
  14829. | #define sUPPORTED_LLVM_VERSION (7,0)
  14830. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  14831. | #define STDC_HEADERS 1
  14832. | #define HAVE_CTYPE_H 1
  14833. | #define HAVE_DIRENT_H 1
  14834. | #define HAVE_DLFCN_H 1
  14835. | #define HAVE_ERRNO_H 1
  14836. | #define HAVE_FCNTL_H 1
  14837. | #define HAVE_GRP_H 1
  14838. | #define HAVE_LIMITS_H 1
  14839. | #define HAVE_LOCALE_H 1
  14840. | #define HAVE_NLIST_H 1
  14841. | #define HAVE_PTHREAD_H 1
  14842. | #define HAVE_PWD_H 1
  14843. | #define HAVE_SIGNAL_H 1
  14844. | #define HAVE_SYS_PARAM_H 1
  14845. | #define HAVE_SYS_MMAN_H 1
  14846. | #define HAVE_SYS_RESOURCE_H 1
  14847. | #define HAVE_SYS_SELECT_H 1
  14848. | #define HAVE_SYS_TIME_H 1
  14849. | #define HAVE_SYS_TIMEB_H 1
  14850. | #define HAVE_SYS_TIMERFD_H 1
  14851. | #define HAVE_SYS_TIMES_H 1
  14852. | #define HAVE_SYS_UTSNAME_H 1
  14853. | #define HAVE_SYS_WAIT_H 1
  14854. | #define HAVE_TERMIOS_H 1
  14855. | #define HAVE_TIME_H 1
  14856. | #define HAVE_UTIME_H 1
  14857. | #define HAVE_SCHED_H 1
  14858. | #define TIME_WITH_SYS_TIME 1
  14859. | #define HAVE_LONG_LONG 1
  14860. | #define SIZEOF_CHAR 1
  14861. | #define ALIGNMENT_CHAR 1
  14862. | #define SIZEOF_DOUBLE 8
  14863. | #define ALIGNMENT_DOUBLE 8
  14864. | #define SIZEOF_FLOAT 4
  14865. | #define ALIGNMENT_FLOAT 4
  14866. | #define SIZEOF_INT 4
  14867. | #define ALIGNMENT_INT 4
  14868. | #define SIZEOF_LONG 8
  14869. | #define ALIGNMENT_LONG 8
  14870. | #define SIZEOF_LONG_LONG 8
  14871. | #define ALIGNMENT_LONG_LONG 8
  14872. | #define SIZEOF_SHORT 2
  14873. | #define ALIGNMENT_SHORT 2
  14874. | #define SIZEOF_UNSIGNED_CHAR 1
  14875. | #define ALIGNMENT_UNSIGNED_CHAR 1
  14876. | #define SIZEOF_UNSIGNED_INT 4
  14877. | #define ALIGNMENT_UNSIGNED_INT 4
  14878. | #define SIZEOF_UNSIGNED_LONG 8
  14879. | #define ALIGNMENT_UNSIGNED_LONG 8
  14880. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  14881. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  14882. | #define SIZEOF_UNSIGNED_SHORT 2
  14883. | #define ALIGNMENT_UNSIGNED_SHORT 2
  14884. | #define SIZEOF_VOID_P 8
  14885. | #define ALIGNMENT_VOID_P 8
  14886. | #define SIZEOF_INT8_T 1
  14887. | #define ALIGNMENT_INT8_T 1
  14888. | #define SIZEOF_UINT8_T 1
  14889. | #define ALIGNMENT_UINT8_T 1
  14890. | #define SIZEOF_INT16_T 2
  14891. | #define ALIGNMENT_INT16_T 2
  14892. | #define SIZEOF_UINT16_T 2
  14893. | #define ALIGNMENT_UINT16_T 2
  14894. | /* end confdefs.h. */
  14895. | #include <stdio.h>
  14896. | #ifdef HAVE_SYS_TYPES_H
  14897. | # include <sys/types.h>
  14898. | #endif
  14899. | #ifdef HAVE_SYS_STAT_H
  14900. | # include <sys/stat.h>
  14901. | #endif
  14902. | #ifdef STDC_HEADERS
  14903. | # include <stdlib.h>
  14904. | # include <stddef.h>
  14905. | #else
  14906. | # ifdef HAVE_STDLIB_H
  14907. | # include <stdlib.h>
  14908. | # endif
  14909. | #endif
  14910. | #ifdef HAVE_STRING_H
  14911. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  14912. | # include <memory.h>
  14913. | # endif
  14914. | # include <string.h>
  14915. | #endif
  14916. | #ifdef HAVE_STRINGS_H
  14917. | # include <strings.h>
  14918. | #endif
  14919. | #ifdef HAVE_INTTYPES_H
  14920. | # include <inttypes.h>
  14921. | #endif
  14922. | #ifdef HAVE_STDINT_H
  14923. | # include <stdint.h>
  14924. | #endif
  14925. | #ifdef HAVE_UNISTD_H
  14926. | # include <unistd.h>
  14927. | #endif
  14928. | int
  14929. | main ()
  14930. | {
  14931. | static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) <= 3)];
  14932. | test_array [0] = 0;
  14933. | return test_array [0];
  14934. |
  14935. | ;
  14936. | return 0;
  14937. | }
  14938. configure:12992: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14939. configure:12992: $? = 0
  14940. configure:12992: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14941. configure:12992: $? = 0
  14942. configure:12992: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14943. configure:12992: $? = 0
  14944. configure:13006: result: 4
  14945. configure:13016: checking for int32_t
  14946. configure:13016: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14947. configure:13016: $? = 0
  14948. configure:13016: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  14949. conftest.c: In function 'main':
  14950. conftest.c:126:22: error: expected expression before ')' token
  14951. if (sizeof ((int32_t)))
  14952. ^
  14953. configure:13016: $? = 1
  14954. configure: failed program was:
  14955. | /* confdefs.h */
  14956. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  14957. | #define PACKAGE_TARNAME "ghc-8.7"
  14958. | #define PACKAGE_VERSION "8.7"
  14959. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  14960. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  14961. | #define PACKAGE_URL ""
  14962. | #define STDC_HEADERS 1
  14963. | #define HAVE_SYS_TYPES_H 1
  14964. | #define HAVE_SYS_STAT_H 1
  14965. | #define HAVE_STDLIB_H 1
  14966. | #define HAVE_STRING_H 1
  14967. | #define HAVE_MEMORY_H 1
  14968. | #define HAVE_STRINGS_H 1
  14969. | #define HAVE_INTTYPES_H 1
  14970. | #define HAVE_STDINT_H 1
  14971. | #define HAVE_UNISTD_H 1
  14972. | #define __EXTENSIONS__ 1
  14973. | #define _ALL_SOURCE 1
  14974. | #define _GNU_SOURCE 1
  14975. | #define _POSIX_PTHREAD_SEMANTICS 1
  14976. | #define _TANDEM_SOURCE 1
  14977. | #define sUPPORTED_LLVM_VERSION (7,0)
  14978. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  14979. | #define STDC_HEADERS 1
  14980. | #define HAVE_CTYPE_H 1
  14981. | #define HAVE_DIRENT_H 1
  14982. | #define HAVE_DLFCN_H 1
  14983. | #define HAVE_ERRNO_H 1
  14984. | #define HAVE_FCNTL_H 1
  14985. | #define HAVE_GRP_H 1
  14986. | #define HAVE_LIMITS_H 1
  14987. | #define HAVE_LOCALE_H 1
  14988. | #define HAVE_NLIST_H 1
  14989. | #define HAVE_PTHREAD_H 1
  14990. | #define HAVE_PWD_H 1
  14991. | #define HAVE_SIGNAL_H 1
  14992. | #define HAVE_SYS_PARAM_H 1
  14993. | #define HAVE_SYS_MMAN_H 1
  14994. | #define HAVE_SYS_RESOURCE_H 1
  14995. | #define HAVE_SYS_SELECT_H 1
  14996. | #define HAVE_SYS_TIME_H 1
  14997. | #define HAVE_SYS_TIMEB_H 1
  14998. | #define HAVE_SYS_TIMERFD_H 1
  14999. | #define HAVE_SYS_TIMES_H 1
  15000. | #define HAVE_SYS_UTSNAME_H 1
  15001. | #define HAVE_SYS_WAIT_H 1
  15002. | #define HAVE_TERMIOS_H 1
  15003. | #define HAVE_TIME_H 1
  15004. | #define HAVE_UTIME_H 1
  15005. | #define HAVE_SCHED_H 1
  15006. | #define TIME_WITH_SYS_TIME 1
  15007. | #define HAVE_LONG_LONG 1
  15008. | #define SIZEOF_CHAR 1
  15009. | #define ALIGNMENT_CHAR 1
  15010. | #define SIZEOF_DOUBLE 8
  15011. | #define ALIGNMENT_DOUBLE 8
  15012. | #define SIZEOF_FLOAT 4
  15013. | #define ALIGNMENT_FLOAT 4
  15014. | #define SIZEOF_INT 4
  15015. | #define ALIGNMENT_INT 4
  15016. | #define SIZEOF_LONG 8
  15017. | #define ALIGNMENT_LONG 8
  15018. | #define SIZEOF_LONG_LONG 8
  15019. | #define ALIGNMENT_LONG_LONG 8
  15020. | #define SIZEOF_SHORT 2
  15021. | #define ALIGNMENT_SHORT 2
  15022. | #define SIZEOF_UNSIGNED_CHAR 1
  15023. | #define ALIGNMENT_UNSIGNED_CHAR 1
  15024. | #define SIZEOF_UNSIGNED_INT 4
  15025. | #define ALIGNMENT_UNSIGNED_INT 4
  15026. | #define SIZEOF_UNSIGNED_LONG 8
  15027. | #define ALIGNMENT_UNSIGNED_LONG 8
  15028. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  15029. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  15030. | #define SIZEOF_UNSIGNED_SHORT 2
  15031. | #define ALIGNMENT_UNSIGNED_SHORT 2
  15032. | #define SIZEOF_VOID_P 8
  15033. | #define ALIGNMENT_VOID_P 8
  15034. | #define SIZEOF_INT8_T 1
  15035. | #define ALIGNMENT_INT8_T 1
  15036. | #define SIZEOF_UINT8_T 1
  15037. | #define ALIGNMENT_UINT8_T 1
  15038. | #define SIZEOF_INT16_T 2
  15039. | #define ALIGNMENT_INT16_T 2
  15040. | #define SIZEOF_UINT16_T 2
  15041. | #define ALIGNMENT_UINT16_T 2
  15042. | #define SIZEOF_INT32_T 4
  15043. | /* end confdefs.h. */
  15044. | #include <stdio.h>
  15045. | #ifdef HAVE_SYS_TYPES_H
  15046. | # include <sys/types.h>
  15047. | #endif
  15048. | #ifdef HAVE_SYS_STAT_H
  15049. | # include <sys/stat.h>
  15050. | #endif
  15051. | #ifdef STDC_HEADERS
  15052. | # include <stdlib.h>
  15053. | # include <stddef.h>
  15054. | #else
  15055. | # ifdef HAVE_STDLIB_H
  15056. | # include <stdlib.h>
  15057. | # endif
  15058. | #endif
  15059. | #ifdef HAVE_STRING_H
  15060. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  15061. | # include <memory.h>
  15062. | # endif
  15063. | # include <string.h>
  15064. | #endif
  15065. | #ifdef HAVE_STRINGS_H
  15066. | # include <strings.h>
  15067. | #endif
  15068. | #ifdef HAVE_INTTYPES_H
  15069. | # include <inttypes.h>
  15070. | #endif
  15071. | #ifdef HAVE_STDINT_H
  15072. | # include <stdint.h>
  15073. | #endif
  15074. | #ifdef HAVE_UNISTD_H
  15075. | # include <unistd.h>
  15076. | #endif
  15077. | int
  15078. | main ()
  15079. | {
  15080. | if (sizeof ((int32_t)))
  15081. | return 0;
  15082. | ;
  15083. | return 0;
  15084. | }
  15085. configure:13016: result: yes
  15086. configure:13020: checking alignment of int32_t
  15087. configure:13026: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15088. configure:13026: $? = 0
  15089. configure:13026: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15090. conftest.c: In function 'main':
  15091. conftest.c:126:12: error: size of array 'test_array' is negative
  15092. static int test_array [1 - 2 * !((offsetof(struct { char c; int32_t ty; },ty)) <= 0)];
  15093. ^~~~~~~~~~
  15094. configure:13026: $? = 1
  15095. configure: failed program was:
  15096. | /* confdefs.h */
  15097. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  15098. | #define PACKAGE_TARNAME "ghc-8.7"
  15099. | #define PACKAGE_VERSION "8.7"
  15100. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  15101. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  15102. | #define PACKAGE_URL ""
  15103. | #define STDC_HEADERS 1
  15104. | #define HAVE_SYS_TYPES_H 1
  15105. | #define HAVE_SYS_STAT_H 1
  15106. | #define HAVE_STDLIB_H 1
  15107. | #define HAVE_STRING_H 1
  15108. | #define HAVE_MEMORY_H 1
  15109. | #define HAVE_STRINGS_H 1
  15110. | #define HAVE_INTTYPES_H 1
  15111. | #define HAVE_STDINT_H 1
  15112. | #define HAVE_UNISTD_H 1
  15113. | #define __EXTENSIONS__ 1
  15114. | #define _ALL_SOURCE 1
  15115. | #define _GNU_SOURCE 1
  15116. | #define _POSIX_PTHREAD_SEMANTICS 1
  15117. | #define _TANDEM_SOURCE 1
  15118. | #define sUPPORTED_LLVM_VERSION (7,0)
  15119. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  15120. | #define STDC_HEADERS 1
  15121. | #define HAVE_CTYPE_H 1
  15122. | #define HAVE_DIRENT_H 1
  15123. | #define HAVE_DLFCN_H 1
  15124. | #define HAVE_ERRNO_H 1
  15125. | #define HAVE_FCNTL_H 1
  15126. | #define HAVE_GRP_H 1
  15127. | #define HAVE_LIMITS_H 1
  15128. | #define HAVE_LOCALE_H 1
  15129. | #define HAVE_NLIST_H 1
  15130. | #define HAVE_PTHREAD_H 1
  15131. | #define HAVE_PWD_H 1
  15132. | #define HAVE_SIGNAL_H 1
  15133. | #define HAVE_SYS_PARAM_H 1
  15134. | #define HAVE_SYS_MMAN_H 1
  15135. | #define HAVE_SYS_RESOURCE_H 1
  15136. | #define HAVE_SYS_SELECT_H 1
  15137. | #define HAVE_SYS_TIME_H 1
  15138. | #define HAVE_SYS_TIMEB_H 1
  15139. | #define HAVE_SYS_TIMERFD_H 1
  15140. | #define HAVE_SYS_TIMES_H 1
  15141. | #define HAVE_SYS_UTSNAME_H 1
  15142. | #define HAVE_SYS_WAIT_H 1
  15143. | #define HAVE_TERMIOS_H 1
  15144. | #define HAVE_TIME_H 1
  15145. | #define HAVE_UTIME_H 1
  15146. | #define HAVE_SCHED_H 1
  15147. | #define TIME_WITH_SYS_TIME 1
  15148. | #define HAVE_LONG_LONG 1
  15149. | #define SIZEOF_CHAR 1
  15150. | #define ALIGNMENT_CHAR 1
  15151. | #define SIZEOF_DOUBLE 8
  15152. | #define ALIGNMENT_DOUBLE 8
  15153. | #define SIZEOF_FLOAT 4
  15154. | #define ALIGNMENT_FLOAT 4
  15155. | #define SIZEOF_INT 4
  15156. | #define ALIGNMENT_INT 4
  15157. | #define SIZEOF_LONG 8
  15158. | #define ALIGNMENT_LONG 8
  15159. | #define SIZEOF_LONG_LONG 8
  15160. | #define ALIGNMENT_LONG_LONG 8
  15161. | #define SIZEOF_SHORT 2
  15162. | #define ALIGNMENT_SHORT 2
  15163. | #define SIZEOF_UNSIGNED_CHAR 1
  15164. | #define ALIGNMENT_UNSIGNED_CHAR 1
  15165. | #define SIZEOF_UNSIGNED_INT 4
  15166. | #define ALIGNMENT_UNSIGNED_INT 4
  15167. | #define SIZEOF_UNSIGNED_LONG 8
  15168. | #define ALIGNMENT_UNSIGNED_LONG 8
  15169. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  15170. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  15171. | #define SIZEOF_UNSIGNED_SHORT 2
  15172. | #define ALIGNMENT_UNSIGNED_SHORT 2
  15173. | #define SIZEOF_VOID_P 8
  15174. | #define ALIGNMENT_VOID_P 8
  15175. | #define SIZEOF_INT8_T 1
  15176. | #define ALIGNMENT_INT8_T 1
  15177. | #define SIZEOF_UINT8_T 1
  15178. | #define ALIGNMENT_UINT8_T 1
  15179. | #define SIZEOF_INT16_T 2
  15180. | #define ALIGNMENT_INT16_T 2
  15181. | #define SIZEOF_UINT16_T 2
  15182. | #define ALIGNMENT_UINT16_T 2
  15183. | #define SIZEOF_INT32_T 4
  15184. | /* end confdefs.h. */
  15185. | #include <stdio.h>
  15186. | #ifdef HAVE_SYS_TYPES_H
  15187. | # include <sys/types.h>
  15188. | #endif
  15189. | #ifdef HAVE_SYS_STAT_H
  15190. | # include <sys/stat.h>
  15191. | #endif
  15192. | #ifdef STDC_HEADERS
  15193. | # include <stdlib.h>
  15194. | # include <stddef.h>
  15195. | #else
  15196. | # ifdef HAVE_STDLIB_H
  15197. | # include <stdlib.h>
  15198. | # endif
  15199. | #endif
  15200. | #ifdef HAVE_STRING_H
  15201. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  15202. | # include <memory.h>
  15203. | # endif
  15204. | # include <string.h>
  15205. | #endif
  15206. | #ifdef HAVE_STRINGS_H
  15207. | # include <strings.h>
  15208. | #endif
  15209. | #ifdef HAVE_INTTYPES_H
  15210. | # include <inttypes.h>
  15211. | #endif
  15212. | #ifdef HAVE_STDINT_H
  15213. | # include <stdint.h>
  15214. | #endif
  15215. | #ifdef HAVE_UNISTD_H
  15216. | # include <unistd.h>
  15217. | #endif
  15218. | int
  15219. | main ()
  15220. | {
  15221. | static int test_array [1 - 2 * !((offsetof(struct { char c; int32_t ty; },ty)) <= 0)];
  15222. | test_array [0] = 0;
  15223. | return test_array [0];
  15224. |
  15225. | ;
  15226. | return 0;
  15227. | }
  15228. configure:13026: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15229. conftest.c: In function 'main':
  15230. conftest.c:126:12: error: size of array 'test_array' is negative
  15231. static int test_array [1 - 2 * !((offsetof(struct { char c; int32_t ty; },ty)) <= 1)];
  15232. ^~~~~~~~~~
  15233. configure:13026: $? = 1
  15234. configure: failed program was:
  15235. | /* confdefs.h */
  15236. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  15237. | #define PACKAGE_TARNAME "ghc-8.7"
  15238. | #define PACKAGE_VERSION "8.7"
  15239. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  15240. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  15241. | #define PACKAGE_URL ""
  15242. | #define STDC_HEADERS 1
  15243. | #define HAVE_SYS_TYPES_H 1
  15244. | #define HAVE_SYS_STAT_H 1
  15245. | #define HAVE_STDLIB_H 1
  15246. | #define HAVE_STRING_H 1
  15247. | #define HAVE_MEMORY_H 1
  15248. | #define HAVE_STRINGS_H 1
  15249. | #define HAVE_INTTYPES_H 1
  15250. | #define HAVE_STDINT_H 1
  15251. | #define HAVE_UNISTD_H 1
  15252. | #define __EXTENSIONS__ 1
  15253. | #define _ALL_SOURCE 1
  15254. | #define _GNU_SOURCE 1
  15255. | #define _POSIX_PTHREAD_SEMANTICS 1
  15256. | #define _TANDEM_SOURCE 1
  15257. | #define sUPPORTED_LLVM_VERSION (7,0)
  15258. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  15259. | #define STDC_HEADERS 1
  15260. | #define HAVE_CTYPE_H 1
  15261. | #define HAVE_DIRENT_H 1
  15262. | #define HAVE_DLFCN_H 1
  15263. | #define HAVE_ERRNO_H 1
  15264. | #define HAVE_FCNTL_H 1
  15265. | #define HAVE_GRP_H 1
  15266. | #define HAVE_LIMITS_H 1
  15267. | #define HAVE_LOCALE_H 1
  15268. | #define HAVE_NLIST_H 1
  15269. | #define HAVE_PTHREAD_H 1
  15270. | #define HAVE_PWD_H 1
  15271. | #define HAVE_SIGNAL_H 1
  15272. | #define HAVE_SYS_PARAM_H 1
  15273. | #define HAVE_SYS_MMAN_H 1
  15274. | #define HAVE_SYS_RESOURCE_H 1
  15275. | #define HAVE_SYS_SELECT_H 1
  15276. | #define HAVE_SYS_TIME_H 1
  15277. | #define HAVE_SYS_TIMEB_H 1
  15278. | #define HAVE_SYS_TIMERFD_H 1
  15279. | #define HAVE_SYS_TIMES_H 1
  15280. | #define HAVE_SYS_UTSNAME_H 1
  15281. | #define HAVE_SYS_WAIT_H 1
  15282. | #define HAVE_TERMIOS_H 1
  15283. | #define HAVE_TIME_H 1
  15284. | #define HAVE_UTIME_H 1
  15285. | #define HAVE_SCHED_H 1
  15286. | #define TIME_WITH_SYS_TIME 1
  15287. | #define HAVE_LONG_LONG 1
  15288. | #define SIZEOF_CHAR 1
  15289. | #define ALIGNMENT_CHAR 1
  15290. | #define SIZEOF_DOUBLE 8
  15291. | #define ALIGNMENT_DOUBLE 8
  15292. | #define SIZEOF_FLOAT 4
  15293. | #define ALIGNMENT_FLOAT 4
  15294. | #define SIZEOF_INT 4
  15295. | #define ALIGNMENT_INT 4
  15296. | #define SIZEOF_LONG 8
  15297. | #define ALIGNMENT_LONG 8
  15298. | #define SIZEOF_LONG_LONG 8
  15299. | #define ALIGNMENT_LONG_LONG 8
  15300. | #define SIZEOF_SHORT 2
  15301. | #define ALIGNMENT_SHORT 2
  15302. | #define SIZEOF_UNSIGNED_CHAR 1
  15303. | #define ALIGNMENT_UNSIGNED_CHAR 1
  15304. | #define SIZEOF_UNSIGNED_INT 4
  15305. | #define ALIGNMENT_UNSIGNED_INT 4
  15306. | #define SIZEOF_UNSIGNED_LONG 8
  15307. | #define ALIGNMENT_UNSIGNED_LONG 8
  15308. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  15309. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  15310. | #define SIZEOF_UNSIGNED_SHORT 2
  15311. | #define ALIGNMENT_UNSIGNED_SHORT 2
  15312. | #define SIZEOF_VOID_P 8
  15313. | #define ALIGNMENT_VOID_P 8
  15314. | #define SIZEOF_INT8_T 1
  15315. | #define ALIGNMENT_INT8_T 1
  15316. | #define SIZEOF_UINT8_T 1
  15317. | #define ALIGNMENT_UINT8_T 1
  15318. | #define SIZEOF_INT16_T 2
  15319. | #define ALIGNMENT_INT16_T 2
  15320. | #define SIZEOF_UINT16_T 2
  15321. | #define ALIGNMENT_UINT16_T 2
  15322. | #define SIZEOF_INT32_T 4
  15323. | /* end confdefs.h. */
  15324. | #include <stdio.h>
  15325. | #ifdef HAVE_SYS_TYPES_H
  15326. | # include <sys/types.h>
  15327. | #endif
  15328. | #ifdef HAVE_SYS_STAT_H
  15329. | # include <sys/stat.h>
  15330. | #endif
  15331. | #ifdef STDC_HEADERS
  15332. | # include <stdlib.h>
  15333. | # include <stddef.h>
  15334. | #else
  15335. | # ifdef HAVE_STDLIB_H
  15336. | # include <stdlib.h>
  15337. | # endif
  15338. | #endif
  15339. | #ifdef HAVE_STRING_H
  15340. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  15341. | # include <memory.h>
  15342. | # endif
  15343. | # include <string.h>
  15344. | #endif
  15345. | #ifdef HAVE_STRINGS_H
  15346. | # include <strings.h>
  15347. | #endif
  15348. | #ifdef HAVE_INTTYPES_H
  15349. | # include <inttypes.h>
  15350. | #endif
  15351. | #ifdef HAVE_STDINT_H
  15352. | # include <stdint.h>
  15353. | #endif
  15354. | #ifdef HAVE_UNISTD_H
  15355. | # include <unistd.h>
  15356. | #endif
  15357. | int
  15358. | main ()
  15359. | {
  15360. | static int test_array [1 - 2 * !((offsetof(struct { char c; int32_t ty; },ty)) <= 1)];
  15361. | test_array [0] = 0;
  15362. | return test_array [0];
  15363. |
  15364. | ;
  15365. | return 0;
  15366. | }
  15367. configure:13026: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15368. conftest.c: In function 'main':
  15369. conftest.c:126:12: error: size of array 'test_array' is negative
  15370. static int test_array [1 - 2 * !((offsetof(struct { char c; int32_t ty; },ty)) <= 3)];
  15371. ^~~~~~~~~~
  15372. configure:13026: $? = 1
  15373. configure: failed program was:
  15374. | /* confdefs.h */
  15375. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  15376. | #define PACKAGE_TARNAME "ghc-8.7"
  15377. | #define PACKAGE_VERSION "8.7"
  15378. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  15379. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  15380. | #define PACKAGE_URL ""
  15381. | #define STDC_HEADERS 1
  15382. | #define HAVE_SYS_TYPES_H 1
  15383. | #define HAVE_SYS_STAT_H 1
  15384. | #define HAVE_STDLIB_H 1
  15385. | #define HAVE_STRING_H 1
  15386. | #define HAVE_MEMORY_H 1
  15387. | #define HAVE_STRINGS_H 1
  15388. | #define HAVE_INTTYPES_H 1
  15389. | #define HAVE_STDINT_H 1
  15390. | #define HAVE_UNISTD_H 1
  15391. | #define __EXTENSIONS__ 1
  15392. | #define _ALL_SOURCE 1
  15393. | #define _GNU_SOURCE 1
  15394. | #define _POSIX_PTHREAD_SEMANTICS 1
  15395. | #define _TANDEM_SOURCE 1
  15396. | #define sUPPORTED_LLVM_VERSION (7,0)
  15397. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  15398. | #define STDC_HEADERS 1
  15399. | #define HAVE_CTYPE_H 1
  15400. | #define HAVE_DIRENT_H 1
  15401. | #define HAVE_DLFCN_H 1
  15402. | #define HAVE_ERRNO_H 1
  15403. | #define HAVE_FCNTL_H 1
  15404. | #define HAVE_GRP_H 1
  15405. | #define HAVE_LIMITS_H 1
  15406. | #define HAVE_LOCALE_H 1
  15407. | #define HAVE_NLIST_H 1
  15408. | #define HAVE_PTHREAD_H 1
  15409. | #define HAVE_PWD_H 1
  15410. | #define HAVE_SIGNAL_H 1
  15411. | #define HAVE_SYS_PARAM_H 1
  15412. | #define HAVE_SYS_MMAN_H 1
  15413. | #define HAVE_SYS_RESOURCE_H 1
  15414. | #define HAVE_SYS_SELECT_H 1
  15415. | #define HAVE_SYS_TIME_H 1
  15416. | #define HAVE_SYS_TIMEB_H 1
  15417. | #define HAVE_SYS_TIMERFD_H 1
  15418. | #define HAVE_SYS_TIMES_H 1
  15419. | #define HAVE_SYS_UTSNAME_H 1
  15420. | #define HAVE_SYS_WAIT_H 1
  15421. | #define HAVE_TERMIOS_H 1
  15422. | #define HAVE_TIME_H 1
  15423. | #define HAVE_UTIME_H 1
  15424. | #define HAVE_SCHED_H 1
  15425. | #define TIME_WITH_SYS_TIME 1
  15426. | #define HAVE_LONG_LONG 1
  15427. | #define SIZEOF_CHAR 1
  15428. | #define ALIGNMENT_CHAR 1
  15429. | #define SIZEOF_DOUBLE 8
  15430. | #define ALIGNMENT_DOUBLE 8
  15431. | #define SIZEOF_FLOAT 4
  15432. | #define ALIGNMENT_FLOAT 4
  15433. | #define SIZEOF_INT 4
  15434. | #define ALIGNMENT_INT 4
  15435. | #define SIZEOF_LONG 8
  15436. | #define ALIGNMENT_LONG 8
  15437. | #define SIZEOF_LONG_LONG 8
  15438. | #define ALIGNMENT_LONG_LONG 8
  15439. | #define SIZEOF_SHORT 2
  15440. | #define ALIGNMENT_SHORT 2
  15441. | #define SIZEOF_UNSIGNED_CHAR 1
  15442. | #define ALIGNMENT_UNSIGNED_CHAR 1
  15443. | #define SIZEOF_UNSIGNED_INT 4
  15444. | #define ALIGNMENT_UNSIGNED_INT 4
  15445. | #define SIZEOF_UNSIGNED_LONG 8
  15446. | #define ALIGNMENT_UNSIGNED_LONG 8
  15447. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  15448. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  15449. | #define SIZEOF_UNSIGNED_SHORT 2
  15450. | #define ALIGNMENT_UNSIGNED_SHORT 2
  15451. | #define SIZEOF_VOID_P 8
  15452. | #define ALIGNMENT_VOID_P 8
  15453. | #define SIZEOF_INT8_T 1
  15454. | #define ALIGNMENT_INT8_T 1
  15455. | #define SIZEOF_UINT8_T 1
  15456. | #define ALIGNMENT_UINT8_T 1
  15457. | #define SIZEOF_INT16_T 2
  15458. | #define ALIGNMENT_INT16_T 2
  15459. | #define SIZEOF_UINT16_T 2
  15460. | #define ALIGNMENT_UINT16_T 2
  15461. | #define SIZEOF_INT32_T 4
  15462. | /* end confdefs.h. */
  15463. | #include <stdio.h>
  15464. | #ifdef HAVE_SYS_TYPES_H
  15465. | # include <sys/types.h>
  15466. | #endif
  15467. | #ifdef HAVE_SYS_STAT_H
  15468. | # include <sys/stat.h>
  15469. | #endif
  15470. | #ifdef STDC_HEADERS
  15471. | # include <stdlib.h>
  15472. | # include <stddef.h>
  15473. | #else
  15474. | # ifdef HAVE_STDLIB_H
  15475. | # include <stdlib.h>
  15476. | # endif
  15477. | #endif
  15478. | #ifdef HAVE_STRING_H
  15479. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  15480. | # include <memory.h>
  15481. | # endif
  15482. | # include <string.h>
  15483. | #endif
  15484. | #ifdef HAVE_STRINGS_H
  15485. | # include <strings.h>
  15486. | #endif
  15487. | #ifdef HAVE_INTTYPES_H
  15488. | # include <inttypes.h>
  15489. | #endif
  15490. | #ifdef HAVE_STDINT_H
  15491. | # include <stdint.h>
  15492. | #endif
  15493. | #ifdef HAVE_UNISTD_H
  15494. | # include <unistd.h>
  15495. | #endif
  15496. | int
  15497. | main ()
  15498. | {
  15499. | static int test_array [1 - 2 * !((offsetof(struct { char c; int32_t ty; },ty)) <= 3)];
  15500. | test_array [0] = 0;
  15501. | return test_array [0];
  15502. |
  15503. | ;
  15504. | return 0;
  15505. | }
  15506. configure:13026: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15507. configure:13026: $? = 0
  15508. configure:13026: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15509. configure:13026: $? = 0
  15510. configure:13026: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15511. configure:13026: $? = 0
  15512. configure:13038: result: 4
  15513. configure:13049: checking size of uint32_t
  15514. configure:13054: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15515. configure:13054: $? = 0
  15516. configure:13054: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15517. conftest.c: In function 'main':
  15518. conftest.c:127:12: error: size of array 'test_array' is negative
  15519. static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) <= 0)];
  15520. ^~~~~~~~~~
  15521. configure:13054: $? = 1
  15522. configure: failed program was:
  15523. | /* confdefs.h */
  15524. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  15525. | #define PACKAGE_TARNAME "ghc-8.7"
  15526. | #define PACKAGE_VERSION "8.7"
  15527. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  15528. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  15529. | #define PACKAGE_URL ""
  15530. | #define STDC_HEADERS 1
  15531. | #define HAVE_SYS_TYPES_H 1
  15532. | #define HAVE_SYS_STAT_H 1
  15533. | #define HAVE_STDLIB_H 1
  15534. | #define HAVE_STRING_H 1
  15535. | #define HAVE_MEMORY_H 1
  15536. | #define HAVE_STRINGS_H 1
  15537. | #define HAVE_INTTYPES_H 1
  15538. | #define HAVE_STDINT_H 1
  15539. | #define HAVE_UNISTD_H 1
  15540. | #define __EXTENSIONS__ 1
  15541. | #define _ALL_SOURCE 1
  15542. | #define _GNU_SOURCE 1
  15543. | #define _POSIX_PTHREAD_SEMANTICS 1
  15544. | #define _TANDEM_SOURCE 1
  15545. | #define sUPPORTED_LLVM_VERSION (7,0)
  15546. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  15547. | #define STDC_HEADERS 1
  15548. | #define HAVE_CTYPE_H 1
  15549. | #define HAVE_DIRENT_H 1
  15550. | #define HAVE_DLFCN_H 1
  15551. | #define HAVE_ERRNO_H 1
  15552. | #define HAVE_FCNTL_H 1
  15553. | #define HAVE_GRP_H 1
  15554. | #define HAVE_LIMITS_H 1
  15555. | #define HAVE_LOCALE_H 1
  15556. | #define HAVE_NLIST_H 1
  15557. | #define HAVE_PTHREAD_H 1
  15558. | #define HAVE_PWD_H 1
  15559. | #define HAVE_SIGNAL_H 1
  15560. | #define HAVE_SYS_PARAM_H 1
  15561. | #define HAVE_SYS_MMAN_H 1
  15562. | #define HAVE_SYS_RESOURCE_H 1
  15563. | #define HAVE_SYS_SELECT_H 1
  15564. | #define HAVE_SYS_TIME_H 1
  15565. | #define HAVE_SYS_TIMEB_H 1
  15566. | #define HAVE_SYS_TIMERFD_H 1
  15567. | #define HAVE_SYS_TIMES_H 1
  15568. | #define HAVE_SYS_UTSNAME_H 1
  15569. | #define HAVE_SYS_WAIT_H 1
  15570. | #define HAVE_TERMIOS_H 1
  15571. | #define HAVE_TIME_H 1
  15572. | #define HAVE_UTIME_H 1
  15573. | #define HAVE_SCHED_H 1
  15574. | #define TIME_WITH_SYS_TIME 1
  15575. | #define HAVE_LONG_LONG 1
  15576. | #define SIZEOF_CHAR 1
  15577. | #define ALIGNMENT_CHAR 1
  15578. | #define SIZEOF_DOUBLE 8
  15579. | #define ALIGNMENT_DOUBLE 8
  15580. | #define SIZEOF_FLOAT 4
  15581. | #define ALIGNMENT_FLOAT 4
  15582. | #define SIZEOF_INT 4
  15583. | #define ALIGNMENT_INT 4
  15584. | #define SIZEOF_LONG 8
  15585. | #define ALIGNMENT_LONG 8
  15586. | #define SIZEOF_LONG_LONG 8
  15587. | #define ALIGNMENT_LONG_LONG 8
  15588. | #define SIZEOF_SHORT 2
  15589. | #define ALIGNMENT_SHORT 2
  15590. | #define SIZEOF_UNSIGNED_CHAR 1
  15591. | #define ALIGNMENT_UNSIGNED_CHAR 1
  15592. | #define SIZEOF_UNSIGNED_INT 4
  15593. | #define ALIGNMENT_UNSIGNED_INT 4
  15594. | #define SIZEOF_UNSIGNED_LONG 8
  15595. | #define ALIGNMENT_UNSIGNED_LONG 8
  15596. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  15597. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  15598. | #define SIZEOF_UNSIGNED_SHORT 2
  15599. | #define ALIGNMENT_UNSIGNED_SHORT 2
  15600. | #define SIZEOF_VOID_P 8
  15601. | #define ALIGNMENT_VOID_P 8
  15602. | #define SIZEOF_INT8_T 1
  15603. | #define ALIGNMENT_INT8_T 1
  15604. | #define SIZEOF_UINT8_T 1
  15605. | #define ALIGNMENT_UINT8_T 1
  15606. | #define SIZEOF_INT16_T 2
  15607. | #define ALIGNMENT_INT16_T 2
  15608. | #define SIZEOF_UINT16_T 2
  15609. | #define ALIGNMENT_UINT16_T 2
  15610. | #define SIZEOF_INT32_T 4
  15611. | #define ALIGNMENT_INT32_T 4
  15612. | /* end confdefs.h. */
  15613. | #include <stdio.h>
  15614. | #ifdef HAVE_SYS_TYPES_H
  15615. | # include <sys/types.h>
  15616. | #endif
  15617. | #ifdef HAVE_SYS_STAT_H
  15618. | # include <sys/stat.h>
  15619. | #endif
  15620. | #ifdef STDC_HEADERS
  15621. | # include <stdlib.h>
  15622. | # include <stddef.h>
  15623. | #else
  15624. | # ifdef HAVE_STDLIB_H
  15625. | # include <stdlib.h>
  15626. | # endif
  15627. | #endif
  15628. | #ifdef HAVE_STRING_H
  15629. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  15630. | # include <memory.h>
  15631. | # endif
  15632. | # include <string.h>
  15633. | #endif
  15634. | #ifdef HAVE_STRINGS_H
  15635. | # include <strings.h>
  15636. | #endif
  15637. | #ifdef HAVE_INTTYPES_H
  15638. | # include <inttypes.h>
  15639. | #endif
  15640. | #ifdef HAVE_STDINT_H
  15641. | # include <stdint.h>
  15642. | #endif
  15643. | #ifdef HAVE_UNISTD_H
  15644. | # include <unistd.h>
  15645. | #endif
  15646. | int
  15647. | main ()
  15648. | {
  15649. | static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) <= 0)];
  15650. | test_array [0] = 0;
  15651. | return test_array [0];
  15652. |
  15653. | ;
  15654. | return 0;
  15655. | }
  15656. configure:13054: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15657. conftest.c: In function 'main':
  15658. conftest.c:127:12: error: size of array 'test_array' is negative
  15659. static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) <= 1)];
  15660. ^~~~~~~~~~
  15661. configure:13054: $? = 1
  15662. configure: failed program was:
  15663. | /* confdefs.h */
  15664. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  15665. | #define PACKAGE_TARNAME "ghc-8.7"
  15666. | #define PACKAGE_VERSION "8.7"
  15667. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  15668. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  15669. | #define PACKAGE_URL ""
  15670. | #define STDC_HEADERS 1
  15671. | #define HAVE_SYS_TYPES_H 1
  15672. | #define HAVE_SYS_STAT_H 1
  15673. | #define HAVE_STDLIB_H 1
  15674. | #define HAVE_STRING_H 1
  15675. | #define HAVE_MEMORY_H 1
  15676. | #define HAVE_STRINGS_H 1
  15677. | #define HAVE_INTTYPES_H 1
  15678. | #define HAVE_STDINT_H 1
  15679. | #define HAVE_UNISTD_H 1
  15680. | #define __EXTENSIONS__ 1
  15681. | #define _ALL_SOURCE 1
  15682. | #define _GNU_SOURCE 1
  15683. | #define _POSIX_PTHREAD_SEMANTICS 1
  15684. | #define _TANDEM_SOURCE 1
  15685. | #define sUPPORTED_LLVM_VERSION (7,0)
  15686. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  15687. | #define STDC_HEADERS 1
  15688. | #define HAVE_CTYPE_H 1
  15689. | #define HAVE_DIRENT_H 1
  15690. | #define HAVE_DLFCN_H 1
  15691. | #define HAVE_ERRNO_H 1
  15692. | #define HAVE_FCNTL_H 1
  15693. | #define HAVE_GRP_H 1
  15694. | #define HAVE_LIMITS_H 1
  15695. | #define HAVE_LOCALE_H 1
  15696. | #define HAVE_NLIST_H 1
  15697. | #define HAVE_PTHREAD_H 1
  15698. | #define HAVE_PWD_H 1
  15699. | #define HAVE_SIGNAL_H 1
  15700. | #define HAVE_SYS_PARAM_H 1
  15701. | #define HAVE_SYS_MMAN_H 1
  15702. | #define HAVE_SYS_RESOURCE_H 1
  15703. | #define HAVE_SYS_SELECT_H 1
  15704. | #define HAVE_SYS_TIME_H 1
  15705. | #define HAVE_SYS_TIMEB_H 1
  15706. | #define HAVE_SYS_TIMERFD_H 1
  15707. | #define HAVE_SYS_TIMES_H 1
  15708. | #define HAVE_SYS_UTSNAME_H 1
  15709. | #define HAVE_SYS_WAIT_H 1
  15710. | #define HAVE_TERMIOS_H 1
  15711. | #define HAVE_TIME_H 1
  15712. | #define HAVE_UTIME_H 1
  15713. | #define HAVE_SCHED_H 1
  15714. | #define TIME_WITH_SYS_TIME 1
  15715. | #define HAVE_LONG_LONG 1
  15716. | #define SIZEOF_CHAR 1
  15717. | #define ALIGNMENT_CHAR 1
  15718. | #define SIZEOF_DOUBLE 8
  15719. | #define ALIGNMENT_DOUBLE 8
  15720. | #define SIZEOF_FLOAT 4
  15721. | #define ALIGNMENT_FLOAT 4
  15722. | #define SIZEOF_INT 4
  15723. | #define ALIGNMENT_INT 4
  15724. | #define SIZEOF_LONG 8
  15725. | #define ALIGNMENT_LONG 8
  15726. | #define SIZEOF_LONG_LONG 8
  15727. | #define ALIGNMENT_LONG_LONG 8
  15728. | #define SIZEOF_SHORT 2
  15729. | #define ALIGNMENT_SHORT 2
  15730. | #define SIZEOF_UNSIGNED_CHAR 1
  15731. | #define ALIGNMENT_UNSIGNED_CHAR 1
  15732. | #define SIZEOF_UNSIGNED_INT 4
  15733. | #define ALIGNMENT_UNSIGNED_INT 4
  15734. | #define SIZEOF_UNSIGNED_LONG 8
  15735. | #define ALIGNMENT_UNSIGNED_LONG 8
  15736. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  15737. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  15738. | #define SIZEOF_UNSIGNED_SHORT 2
  15739. | #define ALIGNMENT_UNSIGNED_SHORT 2
  15740. | #define SIZEOF_VOID_P 8
  15741. | #define ALIGNMENT_VOID_P 8
  15742. | #define SIZEOF_INT8_T 1
  15743. | #define ALIGNMENT_INT8_T 1
  15744. | #define SIZEOF_UINT8_T 1
  15745. | #define ALIGNMENT_UINT8_T 1
  15746. | #define SIZEOF_INT16_T 2
  15747. | #define ALIGNMENT_INT16_T 2
  15748. | #define SIZEOF_UINT16_T 2
  15749. | #define ALIGNMENT_UINT16_T 2
  15750. | #define SIZEOF_INT32_T 4
  15751. | #define ALIGNMENT_INT32_T 4
  15752. | /* end confdefs.h. */
  15753. | #include <stdio.h>
  15754. | #ifdef HAVE_SYS_TYPES_H
  15755. | # include <sys/types.h>
  15756. | #endif
  15757. | #ifdef HAVE_SYS_STAT_H
  15758. | # include <sys/stat.h>
  15759. | #endif
  15760. | #ifdef STDC_HEADERS
  15761. | # include <stdlib.h>
  15762. | # include <stddef.h>
  15763. | #else
  15764. | # ifdef HAVE_STDLIB_H
  15765. | # include <stdlib.h>
  15766. | # endif
  15767. | #endif
  15768. | #ifdef HAVE_STRING_H
  15769. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  15770. | # include <memory.h>
  15771. | # endif
  15772. | # include <string.h>
  15773. | #endif
  15774. | #ifdef HAVE_STRINGS_H
  15775. | # include <strings.h>
  15776. | #endif
  15777. | #ifdef HAVE_INTTYPES_H
  15778. | # include <inttypes.h>
  15779. | #endif
  15780. | #ifdef HAVE_STDINT_H
  15781. | # include <stdint.h>
  15782. | #endif
  15783. | #ifdef HAVE_UNISTD_H
  15784. | # include <unistd.h>
  15785. | #endif
  15786. | int
  15787. | main ()
  15788. | {
  15789. | static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) <= 1)];
  15790. | test_array [0] = 0;
  15791. | return test_array [0];
  15792. |
  15793. | ;
  15794. | return 0;
  15795. | }
  15796. configure:13054: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15797. conftest.c: In function 'main':
  15798. conftest.c:127:12: error: size of array 'test_array' is negative
  15799. static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) <= 3)];
  15800. ^~~~~~~~~~
  15801. configure:13054: $? = 1
  15802. configure: failed program was:
  15803. | /* confdefs.h */
  15804. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  15805. | #define PACKAGE_TARNAME "ghc-8.7"
  15806. | #define PACKAGE_VERSION "8.7"
  15807. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  15808. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  15809. | #define PACKAGE_URL ""
  15810. | #define STDC_HEADERS 1
  15811. | #define HAVE_SYS_TYPES_H 1
  15812. | #define HAVE_SYS_STAT_H 1
  15813. | #define HAVE_STDLIB_H 1
  15814. | #define HAVE_STRING_H 1
  15815. | #define HAVE_MEMORY_H 1
  15816. | #define HAVE_STRINGS_H 1
  15817. | #define HAVE_INTTYPES_H 1
  15818. | #define HAVE_STDINT_H 1
  15819. | #define HAVE_UNISTD_H 1
  15820. | #define __EXTENSIONS__ 1
  15821. | #define _ALL_SOURCE 1
  15822. | #define _GNU_SOURCE 1
  15823. | #define _POSIX_PTHREAD_SEMANTICS 1
  15824. | #define _TANDEM_SOURCE 1
  15825. | #define sUPPORTED_LLVM_VERSION (7,0)
  15826. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  15827. | #define STDC_HEADERS 1
  15828. | #define HAVE_CTYPE_H 1
  15829. | #define HAVE_DIRENT_H 1
  15830. | #define HAVE_DLFCN_H 1
  15831. | #define HAVE_ERRNO_H 1
  15832. | #define HAVE_FCNTL_H 1
  15833. | #define HAVE_GRP_H 1
  15834. | #define HAVE_LIMITS_H 1
  15835. | #define HAVE_LOCALE_H 1
  15836. | #define HAVE_NLIST_H 1
  15837. | #define HAVE_PTHREAD_H 1
  15838. | #define HAVE_PWD_H 1
  15839. | #define HAVE_SIGNAL_H 1
  15840. | #define HAVE_SYS_PARAM_H 1
  15841. | #define HAVE_SYS_MMAN_H 1
  15842. | #define HAVE_SYS_RESOURCE_H 1
  15843. | #define HAVE_SYS_SELECT_H 1
  15844. | #define HAVE_SYS_TIME_H 1
  15845. | #define HAVE_SYS_TIMEB_H 1
  15846. | #define HAVE_SYS_TIMERFD_H 1
  15847. | #define HAVE_SYS_TIMES_H 1
  15848. | #define HAVE_SYS_UTSNAME_H 1
  15849. | #define HAVE_SYS_WAIT_H 1
  15850. | #define HAVE_TERMIOS_H 1
  15851. | #define HAVE_TIME_H 1
  15852. | #define HAVE_UTIME_H 1
  15853. | #define HAVE_SCHED_H 1
  15854. | #define TIME_WITH_SYS_TIME 1
  15855. | #define HAVE_LONG_LONG 1
  15856. | #define SIZEOF_CHAR 1
  15857. | #define ALIGNMENT_CHAR 1
  15858. | #define SIZEOF_DOUBLE 8
  15859. | #define ALIGNMENT_DOUBLE 8
  15860. | #define SIZEOF_FLOAT 4
  15861. | #define ALIGNMENT_FLOAT 4
  15862. | #define SIZEOF_INT 4
  15863. | #define ALIGNMENT_INT 4
  15864. | #define SIZEOF_LONG 8
  15865. | #define ALIGNMENT_LONG 8
  15866. | #define SIZEOF_LONG_LONG 8
  15867. | #define ALIGNMENT_LONG_LONG 8
  15868. | #define SIZEOF_SHORT 2
  15869. | #define ALIGNMENT_SHORT 2
  15870. | #define SIZEOF_UNSIGNED_CHAR 1
  15871. | #define ALIGNMENT_UNSIGNED_CHAR 1
  15872. | #define SIZEOF_UNSIGNED_INT 4
  15873. | #define ALIGNMENT_UNSIGNED_INT 4
  15874. | #define SIZEOF_UNSIGNED_LONG 8
  15875. | #define ALIGNMENT_UNSIGNED_LONG 8
  15876. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  15877. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  15878. | #define SIZEOF_UNSIGNED_SHORT 2
  15879. | #define ALIGNMENT_UNSIGNED_SHORT 2
  15880. | #define SIZEOF_VOID_P 8
  15881. | #define ALIGNMENT_VOID_P 8
  15882. | #define SIZEOF_INT8_T 1
  15883. | #define ALIGNMENT_INT8_T 1
  15884. | #define SIZEOF_UINT8_T 1
  15885. | #define ALIGNMENT_UINT8_T 1
  15886. | #define SIZEOF_INT16_T 2
  15887. | #define ALIGNMENT_INT16_T 2
  15888. | #define SIZEOF_UINT16_T 2
  15889. | #define ALIGNMENT_UINT16_T 2
  15890. | #define SIZEOF_INT32_T 4
  15891. | #define ALIGNMENT_INT32_T 4
  15892. | /* end confdefs.h. */
  15893. | #include <stdio.h>
  15894. | #ifdef HAVE_SYS_TYPES_H
  15895. | # include <sys/types.h>
  15896. | #endif
  15897. | #ifdef HAVE_SYS_STAT_H
  15898. | # include <sys/stat.h>
  15899. | #endif
  15900. | #ifdef STDC_HEADERS
  15901. | # include <stdlib.h>
  15902. | # include <stddef.h>
  15903. | #else
  15904. | # ifdef HAVE_STDLIB_H
  15905. | # include <stdlib.h>
  15906. | # endif
  15907. | #endif
  15908. | #ifdef HAVE_STRING_H
  15909. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  15910. | # include <memory.h>
  15911. | # endif
  15912. | # include <string.h>
  15913. | #endif
  15914. | #ifdef HAVE_STRINGS_H
  15915. | # include <strings.h>
  15916. | #endif
  15917. | #ifdef HAVE_INTTYPES_H
  15918. | # include <inttypes.h>
  15919. | #endif
  15920. | #ifdef HAVE_STDINT_H
  15921. | # include <stdint.h>
  15922. | #endif
  15923. | #ifdef HAVE_UNISTD_H
  15924. | # include <unistd.h>
  15925. | #endif
  15926. | int
  15927. | main ()
  15928. | {
  15929. | static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) <= 3)];
  15930. | test_array [0] = 0;
  15931. | return test_array [0];
  15932. |
  15933. | ;
  15934. | return 0;
  15935. | }
  15936. configure:13054: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15937. configure:13054: $? = 0
  15938. configure:13054: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15939. configure:13054: $? = 0
  15940. configure:13054: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15941. configure:13054: $? = 0
  15942. configure:13068: result: 4
  15943. configure:13078: checking for uint32_t
  15944. configure:13078: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15945. configure:13078: $? = 0
  15946. configure:13078: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  15947. conftest.c: In function 'main':
  15948. conftest.c:128:23: error: expected expression before ')' token
  15949. if (sizeof ((uint32_t)))
  15950. ^
  15951. configure:13078: $? = 1
  15952. configure: failed program was:
  15953. | /* confdefs.h */
  15954. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  15955. | #define PACKAGE_TARNAME "ghc-8.7"
  15956. | #define PACKAGE_VERSION "8.7"
  15957. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  15958. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  15959. | #define PACKAGE_URL ""
  15960. | #define STDC_HEADERS 1
  15961. | #define HAVE_SYS_TYPES_H 1
  15962. | #define HAVE_SYS_STAT_H 1
  15963. | #define HAVE_STDLIB_H 1
  15964. | #define HAVE_STRING_H 1
  15965. | #define HAVE_MEMORY_H 1
  15966. | #define HAVE_STRINGS_H 1
  15967. | #define HAVE_INTTYPES_H 1
  15968. | #define HAVE_STDINT_H 1
  15969. | #define HAVE_UNISTD_H 1
  15970. | #define __EXTENSIONS__ 1
  15971. | #define _ALL_SOURCE 1
  15972. | #define _GNU_SOURCE 1
  15973. | #define _POSIX_PTHREAD_SEMANTICS 1
  15974. | #define _TANDEM_SOURCE 1
  15975. | #define sUPPORTED_LLVM_VERSION (7,0)
  15976. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  15977. | #define STDC_HEADERS 1
  15978. | #define HAVE_CTYPE_H 1
  15979. | #define HAVE_DIRENT_H 1
  15980. | #define HAVE_DLFCN_H 1
  15981. | #define HAVE_ERRNO_H 1
  15982. | #define HAVE_FCNTL_H 1
  15983. | #define HAVE_GRP_H 1
  15984. | #define HAVE_LIMITS_H 1
  15985. | #define HAVE_LOCALE_H 1
  15986. | #define HAVE_NLIST_H 1
  15987. | #define HAVE_PTHREAD_H 1
  15988. | #define HAVE_PWD_H 1
  15989. | #define HAVE_SIGNAL_H 1
  15990. | #define HAVE_SYS_PARAM_H 1
  15991. | #define HAVE_SYS_MMAN_H 1
  15992. | #define HAVE_SYS_RESOURCE_H 1
  15993. | #define HAVE_SYS_SELECT_H 1
  15994. | #define HAVE_SYS_TIME_H 1
  15995. | #define HAVE_SYS_TIMEB_H 1
  15996. | #define HAVE_SYS_TIMERFD_H 1
  15997. | #define HAVE_SYS_TIMES_H 1
  15998. | #define HAVE_SYS_UTSNAME_H 1
  15999. | #define HAVE_SYS_WAIT_H 1
  16000. | #define HAVE_TERMIOS_H 1
  16001. | #define HAVE_TIME_H 1
  16002. | #define HAVE_UTIME_H 1
  16003. | #define HAVE_SCHED_H 1
  16004. | #define TIME_WITH_SYS_TIME 1
  16005. | #define HAVE_LONG_LONG 1
  16006. | #define SIZEOF_CHAR 1
  16007. | #define ALIGNMENT_CHAR 1
  16008. | #define SIZEOF_DOUBLE 8
  16009. | #define ALIGNMENT_DOUBLE 8
  16010. | #define SIZEOF_FLOAT 4
  16011. | #define ALIGNMENT_FLOAT 4
  16012. | #define SIZEOF_INT 4
  16013. | #define ALIGNMENT_INT 4
  16014. | #define SIZEOF_LONG 8
  16015. | #define ALIGNMENT_LONG 8
  16016. | #define SIZEOF_LONG_LONG 8
  16017. | #define ALIGNMENT_LONG_LONG 8
  16018. | #define SIZEOF_SHORT 2
  16019. | #define ALIGNMENT_SHORT 2
  16020. | #define SIZEOF_UNSIGNED_CHAR 1
  16021. | #define ALIGNMENT_UNSIGNED_CHAR 1
  16022. | #define SIZEOF_UNSIGNED_INT 4
  16023. | #define ALIGNMENT_UNSIGNED_INT 4
  16024. | #define SIZEOF_UNSIGNED_LONG 8
  16025. | #define ALIGNMENT_UNSIGNED_LONG 8
  16026. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  16027. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  16028. | #define SIZEOF_UNSIGNED_SHORT 2
  16029. | #define ALIGNMENT_UNSIGNED_SHORT 2
  16030. | #define SIZEOF_VOID_P 8
  16031. | #define ALIGNMENT_VOID_P 8
  16032. | #define SIZEOF_INT8_T 1
  16033. | #define ALIGNMENT_INT8_T 1
  16034. | #define SIZEOF_UINT8_T 1
  16035. | #define ALIGNMENT_UINT8_T 1
  16036. | #define SIZEOF_INT16_T 2
  16037. | #define ALIGNMENT_INT16_T 2
  16038. | #define SIZEOF_UINT16_T 2
  16039. | #define ALIGNMENT_UINT16_T 2
  16040. | #define SIZEOF_INT32_T 4
  16041. | #define ALIGNMENT_INT32_T 4
  16042. | #define SIZEOF_UINT32_T 4
  16043. | /* end confdefs.h. */
  16044. | #include <stdio.h>
  16045. | #ifdef HAVE_SYS_TYPES_H
  16046. | # include <sys/types.h>
  16047. | #endif
  16048. | #ifdef HAVE_SYS_STAT_H
  16049. | # include <sys/stat.h>
  16050. | #endif
  16051. | #ifdef STDC_HEADERS
  16052. | # include <stdlib.h>
  16053. | # include <stddef.h>
  16054. | #else
  16055. | # ifdef HAVE_STDLIB_H
  16056. | # include <stdlib.h>
  16057. | # endif
  16058. | #endif
  16059. | #ifdef HAVE_STRING_H
  16060. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  16061. | # include <memory.h>
  16062. | # endif
  16063. | # include <string.h>
  16064. | #endif
  16065. | #ifdef HAVE_STRINGS_H
  16066. | # include <strings.h>
  16067. | #endif
  16068. | #ifdef HAVE_INTTYPES_H
  16069. | # include <inttypes.h>
  16070. | #endif
  16071. | #ifdef HAVE_STDINT_H
  16072. | # include <stdint.h>
  16073. | #endif
  16074. | #ifdef HAVE_UNISTD_H
  16075. | # include <unistd.h>
  16076. | #endif
  16077. | int
  16078. | main ()
  16079. | {
  16080. | if (sizeof ((uint32_t)))
  16081. | return 0;
  16082. | ;
  16083. | return 0;
  16084. | }
  16085. configure:13078: result: yes
  16086. configure:13082: checking alignment of uint32_t
  16087. configure:13088: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16088. configure:13088: $? = 0
  16089. configure:13088: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16090. conftest.c: In function 'main':
  16091. conftest.c:128:12: error: size of array 'test_array' is negative
  16092. static int test_array [1 - 2 * !((offsetof(struct { char c; uint32_t ty; },ty)) <= 0)];
  16093. ^~~~~~~~~~
  16094. configure:13088: $? = 1
  16095. configure: failed program was:
  16096. | /* confdefs.h */
  16097. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  16098. | #define PACKAGE_TARNAME "ghc-8.7"
  16099. | #define PACKAGE_VERSION "8.7"
  16100. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  16101. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  16102. | #define PACKAGE_URL ""
  16103. | #define STDC_HEADERS 1
  16104. | #define HAVE_SYS_TYPES_H 1
  16105. | #define HAVE_SYS_STAT_H 1
  16106. | #define HAVE_STDLIB_H 1
  16107. | #define HAVE_STRING_H 1
  16108. | #define HAVE_MEMORY_H 1
  16109. | #define HAVE_STRINGS_H 1
  16110. | #define HAVE_INTTYPES_H 1
  16111. | #define HAVE_STDINT_H 1
  16112. | #define HAVE_UNISTD_H 1
  16113. | #define __EXTENSIONS__ 1
  16114. | #define _ALL_SOURCE 1
  16115. | #define _GNU_SOURCE 1
  16116. | #define _POSIX_PTHREAD_SEMANTICS 1
  16117. | #define _TANDEM_SOURCE 1
  16118. | #define sUPPORTED_LLVM_VERSION (7,0)
  16119. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  16120. | #define STDC_HEADERS 1
  16121. | #define HAVE_CTYPE_H 1
  16122. | #define HAVE_DIRENT_H 1
  16123. | #define HAVE_DLFCN_H 1
  16124. | #define HAVE_ERRNO_H 1
  16125. | #define HAVE_FCNTL_H 1
  16126. | #define HAVE_GRP_H 1
  16127. | #define HAVE_LIMITS_H 1
  16128. | #define HAVE_LOCALE_H 1
  16129. | #define HAVE_NLIST_H 1
  16130. | #define HAVE_PTHREAD_H 1
  16131. | #define HAVE_PWD_H 1
  16132. | #define HAVE_SIGNAL_H 1
  16133. | #define HAVE_SYS_PARAM_H 1
  16134. | #define HAVE_SYS_MMAN_H 1
  16135. | #define HAVE_SYS_RESOURCE_H 1
  16136. | #define HAVE_SYS_SELECT_H 1
  16137. | #define HAVE_SYS_TIME_H 1
  16138. | #define HAVE_SYS_TIMEB_H 1
  16139. | #define HAVE_SYS_TIMERFD_H 1
  16140. | #define HAVE_SYS_TIMES_H 1
  16141. | #define HAVE_SYS_UTSNAME_H 1
  16142. | #define HAVE_SYS_WAIT_H 1
  16143. | #define HAVE_TERMIOS_H 1
  16144. | #define HAVE_TIME_H 1
  16145. | #define HAVE_UTIME_H 1
  16146. | #define HAVE_SCHED_H 1
  16147. | #define TIME_WITH_SYS_TIME 1
  16148. | #define HAVE_LONG_LONG 1
  16149. | #define SIZEOF_CHAR 1
  16150. | #define ALIGNMENT_CHAR 1
  16151. | #define SIZEOF_DOUBLE 8
  16152. | #define ALIGNMENT_DOUBLE 8
  16153. | #define SIZEOF_FLOAT 4
  16154. | #define ALIGNMENT_FLOAT 4
  16155. | #define SIZEOF_INT 4
  16156. | #define ALIGNMENT_INT 4
  16157. | #define SIZEOF_LONG 8
  16158. | #define ALIGNMENT_LONG 8
  16159. | #define SIZEOF_LONG_LONG 8
  16160. | #define ALIGNMENT_LONG_LONG 8
  16161. | #define SIZEOF_SHORT 2
  16162. | #define ALIGNMENT_SHORT 2
  16163. | #define SIZEOF_UNSIGNED_CHAR 1
  16164. | #define ALIGNMENT_UNSIGNED_CHAR 1
  16165. | #define SIZEOF_UNSIGNED_INT 4
  16166. | #define ALIGNMENT_UNSIGNED_INT 4
  16167. | #define SIZEOF_UNSIGNED_LONG 8
  16168. | #define ALIGNMENT_UNSIGNED_LONG 8
  16169. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  16170. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  16171. | #define SIZEOF_UNSIGNED_SHORT 2
  16172. | #define ALIGNMENT_UNSIGNED_SHORT 2
  16173. | #define SIZEOF_VOID_P 8
  16174. | #define ALIGNMENT_VOID_P 8
  16175. | #define SIZEOF_INT8_T 1
  16176. | #define ALIGNMENT_INT8_T 1
  16177. | #define SIZEOF_UINT8_T 1
  16178. | #define ALIGNMENT_UINT8_T 1
  16179. | #define SIZEOF_INT16_T 2
  16180. | #define ALIGNMENT_INT16_T 2
  16181. | #define SIZEOF_UINT16_T 2
  16182. | #define ALIGNMENT_UINT16_T 2
  16183. | #define SIZEOF_INT32_T 4
  16184. | #define ALIGNMENT_INT32_T 4
  16185. | #define SIZEOF_UINT32_T 4
  16186. | /* end confdefs.h. */
  16187. | #include <stdio.h>
  16188. | #ifdef HAVE_SYS_TYPES_H
  16189. | # include <sys/types.h>
  16190. | #endif
  16191. | #ifdef HAVE_SYS_STAT_H
  16192. | # include <sys/stat.h>
  16193. | #endif
  16194. | #ifdef STDC_HEADERS
  16195. | # include <stdlib.h>
  16196. | # include <stddef.h>
  16197. | #else
  16198. | # ifdef HAVE_STDLIB_H
  16199. | # include <stdlib.h>
  16200. | # endif
  16201. | #endif
  16202. | #ifdef HAVE_STRING_H
  16203. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  16204. | # include <memory.h>
  16205. | # endif
  16206. | # include <string.h>
  16207. | #endif
  16208. | #ifdef HAVE_STRINGS_H
  16209. | # include <strings.h>
  16210. | #endif
  16211. | #ifdef HAVE_INTTYPES_H
  16212. | # include <inttypes.h>
  16213. | #endif
  16214. | #ifdef HAVE_STDINT_H
  16215. | # include <stdint.h>
  16216. | #endif
  16217. | #ifdef HAVE_UNISTD_H
  16218. | # include <unistd.h>
  16219. | #endif
  16220. | int
  16221. | main ()
  16222. | {
  16223. | static int test_array [1 - 2 * !((offsetof(struct { char c; uint32_t ty; },ty)) <= 0)];
  16224. | test_array [0] = 0;
  16225. | return test_array [0];
  16226. |
  16227. | ;
  16228. | return 0;
  16229. | }
  16230. configure:13088: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16231. conftest.c: In function 'main':
  16232. conftest.c:128:12: error: size of array 'test_array' is negative
  16233. static int test_array [1 - 2 * !((offsetof(struct { char c; uint32_t ty; },ty)) <= 1)];
  16234. ^~~~~~~~~~
  16235. configure:13088: $? = 1
  16236. configure: failed program was:
  16237. | /* confdefs.h */
  16238. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  16239. | #define PACKAGE_TARNAME "ghc-8.7"
  16240. | #define PACKAGE_VERSION "8.7"
  16241. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  16242. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  16243. | #define PACKAGE_URL ""
  16244. | #define STDC_HEADERS 1
  16245. | #define HAVE_SYS_TYPES_H 1
  16246. | #define HAVE_SYS_STAT_H 1
  16247. | #define HAVE_STDLIB_H 1
  16248. | #define HAVE_STRING_H 1
  16249. | #define HAVE_MEMORY_H 1
  16250. | #define HAVE_STRINGS_H 1
  16251. | #define HAVE_INTTYPES_H 1
  16252. | #define HAVE_STDINT_H 1
  16253. | #define HAVE_UNISTD_H 1
  16254. | #define __EXTENSIONS__ 1
  16255. | #define _ALL_SOURCE 1
  16256. | #define _GNU_SOURCE 1
  16257. | #define _POSIX_PTHREAD_SEMANTICS 1
  16258. | #define _TANDEM_SOURCE 1
  16259. | #define sUPPORTED_LLVM_VERSION (7,0)
  16260. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  16261. | #define STDC_HEADERS 1
  16262. | #define HAVE_CTYPE_H 1
  16263. | #define HAVE_DIRENT_H 1
  16264. | #define HAVE_DLFCN_H 1
  16265. | #define HAVE_ERRNO_H 1
  16266. | #define HAVE_FCNTL_H 1
  16267. | #define HAVE_GRP_H 1
  16268. | #define HAVE_LIMITS_H 1
  16269. | #define HAVE_LOCALE_H 1
  16270. | #define HAVE_NLIST_H 1
  16271. | #define HAVE_PTHREAD_H 1
  16272. | #define HAVE_PWD_H 1
  16273. | #define HAVE_SIGNAL_H 1
  16274. | #define HAVE_SYS_PARAM_H 1
  16275. | #define HAVE_SYS_MMAN_H 1
  16276. | #define HAVE_SYS_RESOURCE_H 1
  16277. | #define HAVE_SYS_SELECT_H 1
  16278. | #define HAVE_SYS_TIME_H 1
  16279. | #define HAVE_SYS_TIMEB_H 1
  16280. | #define HAVE_SYS_TIMERFD_H 1
  16281. | #define HAVE_SYS_TIMES_H 1
  16282. | #define HAVE_SYS_UTSNAME_H 1
  16283. | #define HAVE_SYS_WAIT_H 1
  16284. | #define HAVE_TERMIOS_H 1
  16285. | #define HAVE_TIME_H 1
  16286. | #define HAVE_UTIME_H 1
  16287. | #define HAVE_SCHED_H 1
  16288. | #define TIME_WITH_SYS_TIME 1
  16289. | #define HAVE_LONG_LONG 1
  16290. | #define SIZEOF_CHAR 1
  16291. | #define ALIGNMENT_CHAR 1
  16292. | #define SIZEOF_DOUBLE 8
  16293. | #define ALIGNMENT_DOUBLE 8
  16294. | #define SIZEOF_FLOAT 4
  16295. | #define ALIGNMENT_FLOAT 4
  16296. | #define SIZEOF_INT 4
  16297. | #define ALIGNMENT_INT 4
  16298. | #define SIZEOF_LONG 8
  16299. | #define ALIGNMENT_LONG 8
  16300. | #define SIZEOF_LONG_LONG 8
  16301. | #define ALIGNMENT_LONG_LONG 8
  16302. | #define SIZEOF_SHORT 2
  16303. | #define ALIGNMENT_SHORT 2
  16304. | #define SIZEOF_UNSIGNED_CHAR 1
  16305. | #define ALIGNMENT_UNSIGNED_CHAR 1
  16306. | #define SIZEOF_UNSIGNED_INT 4
  16307. | #define ALIGNMENT_UNSIGNED_INT 4
  16308. | #define SIZEOF_UNSIGNED_LONG 8
  16309. | #define ALIGNMENT_UNSIGNED_LONG 8
  16310. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  16311. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  16312. | #define SIZEOF_UNSIGNED_SHORT 2
  16313. | #define ALIGNMENT_UNSIGNED_SHORT 2
  16314. | #define SIZEOF_VOID_P 8
  16315. | #define ALIGNMENT_VOID_P 8
  16316. | #define SIZEOF_INT8_T 1
  16317. | #define ALIGNMENT_INT8_T 1
  16318. | #define SIZEOF_UINT8_T 1
  16319. | #define ALIGNMENT_UINT8_T 1
  16320. | #define SIZEOF_INT16_T 2
  16321. | #define ALIGNMENT_INT16_T 2
  16322. | #define SIZEOF_UINT16_T 2
  16323. | #define ALIGNMENT_UINT16_T 2
  16324. | #define SIZEOF_INT32_T 4
  16325. | #define ALIGNMENT_INT32_T 4
  16326. | #define SIZEOF_UINT32_T 4
  16327. | /* end confdefs.h. */
  16328. | #include <stdio.h>
  16329. | #ifdef HAVE_SYS_TYPES_H
  16330. | # include <sys/types.h>
  16331. | #endif
  16332. | #ifdef HAVE_SYS_STAT_H
  16333. | # include <sys/stat.h>
  16334. | #endif
  16335. | #ifdef STDC_HEADERS
  16336. | # include <stdlib.h>
  16337. | # include <stddef.h>
  16338. | #else
  16339. | # ifdef HAVE_STDLIB_H
  16340. | # include <stdlib.h>
  16341. | # endif
  16342. | #endif
  16343. | #ifdef HAVE_STRING_H
  16344. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  16345. | # include <memory.h>
  16346. | # endif
  16347. | # include <string.h>
  16348. | #endif
  16349. | #ifdef HAVE_STRINGS_H
  16350. | # include <strings.h>
  16351. | #endif
  16352. | #ifdef HAVE_INTTYPES_H
  16353. | # include <inttypes.h>
  16354. | #endif
  16355. | #ifdef HAVE_STDINT_H
  16356. | # include <stdint.h>
  16357. | #endif
  16358. | #ifdef HAVE_UNISTD_H
  16359. | # include <unistd.h>
  16360. | #endif
  16361. | int
  16362. | main ()
  16363. | {
  16364. | static int test_array [1 - 2 * !((offsetof(struct { char c; uint32_t ty; },ty)) <= 1)];
  16365. | test_array [0] = 0;
  16366. | return test_array [0];
  16367. |
  16368. | ;
  16369. | return 0;
  16370. | }
  16371. configure:13088: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16372. conftest.c: In function 'main':
  16373. conftest.c:128:12: error: size of array 'test_array' is negative
  16374. static int test_array [1 - 2 * !((offsetof(struct { char c; uint32_t ty; },ty)) <= 3)];
  16375. ^~~~~~~~~~
  16376. configure:13088: $? = 1
  16377. configure: failed program was:
  16378. | /* confdefs.h */
  16379. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  16380. | #define PACKAGE_TARNAME "ghc-8.7"
  16381. | #define PACKAGE_VERSION "8.7"
  16382. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  16383. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  16384. | #define PACKAGE_URL ""
  16385. | #define STDC_HEADERS 1
  16386. | #define HAVE_SYS_TYPES_H 1
  16387. | #define HAVE_SYS_STAT_H 1
  16388. | #define HAVE_STDLIB_H 1
  16389. | #define HAVE_STRING_H 1
  16390. | #define HAVE_MEMORY_H 1
  16391. | #define HAVE_STRINGS_H 1
  16392. | #define HAVE_INTTYPES_H 1
  16393. | #define HAVE_STDINT_H 1
  16394. | #define HAVE_UNISTD_H 1
  16395. | #define __EXTENSIONS__ 1
  16396. | #define _ALL_SOURCE 1
  16397. | #define _GNU_SOURCE 1
  16398. | #define _POSIX_PTHREAD_SEMANTICS 1
  16399. | #define _TANDEM_SOURCE 1
  16400. | #define sUPPORTED_LLVM_VERSION (7,0)
  16401. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  16402. | #define STDC_HEADERS 1
  16403. | #define HAVE_CTYPE_H 1
  16404. | #define HAVE_DIRENT_H 1
  16405. | #define HAVE_DLFCN_H 1
  16406. | #define HAVE_ERRNO_H 1
  16407. | #define HAVE_FCNTL_H 1
  16408. | #define HAVE_GRP_H 1
  16409. | #define HAVE_LIMITS_H 1
  16410. | #define HAVE_LOCALE_H 1
  16411. | #define HAVE_NLIST_H 1
  16412. | #define HAVE_PTHREAD_H 1
  16413. | #define HAVE_PWD_H 1
  16414. | #define HAVE_SIGNAL_H 1
  16415. | #define HAVE_SYS_PARAM_H 1
  16416. | #define HAVE_SYS_MMAN_H 1
  16417. | #define HAVE_SYS_RESOURCE_H 1
  16418. | #define HAVE_SYS_SELECT_H 1
  16419. | #define HAVE_SYS_TIME_H 1
  16420. | #define HAVE_SYS_TIMEB_H 1
  16421. | #define HAVE_SYS_TIMERFD_H 1
  16422. | #define HAVE_SYS_TIMES_H 1
  16423. | #define HAVE_SYS_UTSNAME_H 1
  16424. | #define HAVE_SYS_WAIT_H 1
  16425. | #define HAVE_TERMIOS_H 1
  16426. | #define HAVE_TIME_H 1
  16427. | #define HAVE_UTIME_H 1
  16428. | #define HAVE_SCHED_H 1
  16429. | #define TIME_WITH_SYS_TIME 1
  16430. | #define HAVE_LONG_LONG 1
  16431. | #define SIZEOF_CHAR 1
  16432. | #define ALIGNMENT_CHAR 1
  16433. | #define SIZEOF_DOUBLE 8
  16434. | #define ALIGNMENT_DOUBLE 8
  16435. | #define SIZEOF_FLOAT 4
  16436. | #define ALIGNMENT_FLOAT 4
  16437. | #define SIZEOF_INT 4
  16438. | #define ALIGNMENT_INT 4
  16439. | #define SIZEOF_LONG 8
  16440. | #define ALIGNMENT_LONG 8
  16441. | #define SIZEOF_LONG_LONG 8
  16442. | #define ALIGNMENT_LONG_LONG 8
  16443. | #define SIZEOF_SHORT 2
  16444. | #define ALIGNMENT_SHORT 2
  16445. | #define SIZEOF_UNSIGNED_CHAR 1
  16446. | #define ALIGNMENT_UNSIGNED_CHAR 1
  16447. | #define SIZEOF_UNSIGNED_INT 4
  16448. | #define ALIGNMENT_UNSIGNED_INT 4
  16449. | #define SIZEOF_UNSIGNED_LONG 8
  16450. | #define ALIGNMENT_UNSIGNED_LONG 8
  16451. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  16452. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  16453. | #define SIZEOF_UNSIGNED_SHORT 2
  16454. | #define ALIGNMENT_UNSIGNED_SHORT 2
  16455. | #define SIZEOF_VOID_P 8
  16456. | #define ALIGNMENT_VOID_P 8
  16457. | #define SIZEOF_INT8_T 1
  16458. | #define ALIGNMENT_INT8_T 1
  16459. | #define SIZEOF_UINT8_T 1
  16460. | #define ALIGNMENT_UINT8_T 1
  16461. | #define SIZEOF_INT16_T 2
  16462. | #define ALIGNMENT_INT16_T 2
  16463. | #define SIZEOF_UINT16_T 2
  16464. | #define ALIGNMENT_UINT16_T 2
  16465. | #define SIZEOF_INT32_T 4
  16466. | #define ALIGNMENT_INT32_T 4
  16467. | #define SIZEOF_UINT32_T 4
  16468. | /* end confdefs.h. */
  16469. | #include <stdio.h>
  16470. | #ifdef HAVE_SYS_TYPES_H
  16471. | # include <sys/types.h>
  16472. | #endif
  16473. | #ifdef HAVE_SYS_STAT_H
  16474. | # include <sys/stat.h>
  16475. | #endif
  16476. | #ifdef STDC_HEADERS
  16477. | # include <stdlib.h>
  16478. | # include <stddef.h>
  16479. | #else
  16480. | # ifdef HAVE_STDLIB_H
  16481. | # include <stdlib.h>
  16482. | # endif
  16483. | #endif
  16484. | #ifdef HAVE_STRING_H
  16485. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  16486. | # include <memory.h>
  16487. | # endif
  16488. | # include <string.h>
  16489. | #endif
  16490. | #ifdef HAVE_STRINGS_H
  16491. | # include <strings.h>
  16492. | #endif
  16493. | #ifdef HAVE_INTTYPES_H
  16494. | # include <inttypes.h>
  16495. | #endif
  16496. | #ifdef HAVE_STDINT_H
  16497. | # include <stdint.h>
  16498. | #endif
  16499. | #ifdef HAVE_UNISTD_H
  16500. | # include <unistd.h>
  16501. | #endif
  16502. | int
  16503. | main ()
  16504. | {
  16505. | static int test_array [1 - 2 * !((offsetof(struct { char c; uint32_t ty; },ty)) <= 3)];
  16506. | test_array [0] = 0;
  16507. | return test_array [0];
  16508. |
  16509. | ;
  16510. | return 0;
  16511. | }
  16512. configure:13088: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16513. configure:13088: $? = 0
  16514. configure:13088: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16515. configure:13088: $? = 0
  16516. configure:13088: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16517. configure:13088: $? = 0
  16518. configure:13100: result: 4
  16519. configure:13111: checking size of int64_t
  16520. configure:13116: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16521. configure:13116: $? = 0
  16522. configure:13116: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16523. conftest.c: In function 'main':
  16524. conftest.c:129:12: error: size of array 'test_array' is negative
  16525. static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= 0)];
  16526. ^~~~~~~~~~
  16527. configure:13116: $? = 1
  16528. configure: failed program was:
  16529. | /* confdefs.h */
  16530. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  16531. | #define PACKAGE_TARNAME "ghc-8.7"
  16532. | #define PACKAGE_VERSION "8.7"
  16533. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  16534. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  16535. | #define PACKAGE_URL ""
  16536. | #define STDC_HEADERS 1
  16537. | #define HAVE_SYS_TYPES_H 1
  16538. | #define HAVE_SYS_STAT_H 1
  16539. | #define HAVE_STDLIB_H 1
  16540. | #define HAVE_STRING_H 1
  16541. | #define HAVE_MEMORY_H 1
  16542. | #define HAVE_STRINGS_H 1
  16543. | #define HAVE_INTTYPES_H 1
  16544. | #define HAVE_STDINT_H 1
  16545. | #define HAVE_UNISTD_H 1
  16546. | #define __EXTENSIONS__ 1
  16547. | #define _ALL_SOURCE 1
  16548. | #define _GNU_SOURCE 1
  16549. | #define _POSIX_PTHREAD_SEMANTICS 1
  16550. | #define _TANDEM_SOURCE 1
  16551. | #define sUPPORTED_LLVM_VERSION (7,0)
  16552. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  16553. | #define STDC_HEADERS 1
  16554. | #define HAVE_CTYPE_H 1
  16555. | #define HAVE_DIRENT_H 1
  16556. | #define HAVE_DLFCN_H 1
  16557. | #define HAVE_ERRNO_H 1
  16558. | #define HAVE_FCNTL_H 1
  16559. | #define HAVE_GRP_H 1
  16560. | #define HAVE_LIMITS_H 1
  16561. | #define HAVE_LOCALE_H 1
  16562. | #define HAVE_NLIST_H 1
  16563. | #define HAVE_PTHREAD_H 1
  16564. | #define HAVE_PWD_H 1
  16565. | #define HAVE_SIGNAL_H 1
  16566. | #define HAVE_SYS_PARAM_H 1
  16567. | #define HAVE_SYS_MMAN_H 1
  16568. | #define HAVE_SYS_RESOURCE_H 1
  16569. | #define HAVE_SYS_SELECT_H 1
  16570. | #define HAVE_SYS_TIME_H 1
  16571. | #define HAVE_SYS_TIMEB_H 1
  16572. | #define HAVE_SYS_TIMERFD_H 1
  16573. | #define HAVE_SYS_TIMES_H 1
  16574. | #define HAVE_SYS_UTSNAME_H 1
  16575. | #define HAVE_SYS_WAIT_H 1
  16576. | #define HAVE_TERMIOS_H 1
  16577. | #define HAVE_TIME_H 1
  16578. | #define HAVE_UTIME_H 1
  16579. | #define HAVE_SCHED_H 1
  16580. | #define TIME_WITH_SYS_TIME 1
  16581. | #define HAVE_LONG_LONG 1
  16582. | #define SIZEOF_CHAR 1
  16583. | #define ALIGNMENT_CHAR 1
  16584. | #define SIZEOF_DOUBLE 8
  16585. | #define ALIGNMENT_DOUBLE 8
  16586. | #define SIZEOF_FLOAT 4
  16587. | #define ALIGNMENT_FLOAT 4
  16588. | #define SIZEOF_INT 4
  16589. | #define ALIGNMENT_INT 4
  16590. | #define SIZEOF_LONG 8
  16591. | #define ALIGNMENT_LONG 8
  16592. | #define SIZEOF_LONG_LONG 8
  16593. | #define ALIGNMENT_LONG_LONG 8
  16594. | #define SIZEOF_SHORT 2
  16595. | #define ALIGNMENT_SHORT 2
  16596. | #define SIZEOF_UNSIGNED_CHAR 1
  16597. | #define ALIGNMENT_UNSIGNED_CHAR 1
  16598. | #define SIZEOF_UNSIGNED_INT 4
  16599. | #define ALIGNMENT_UNSIGNED_INT 4
  16600. | #define SIZEOF_UNSIGNED_LONG 8
  16601. | #define ALIGNMENT_UNSIGNED_LONG 8
  16602. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  16603. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  16604. | #define SIZEOF_UNSIGNED_SHORT 2
  16605. | #define ALIGNMENT_UNSIGNED_SHORT 2
  16606. | #define SIZEOF_VOID_P 8
  16607. | #define ALIGNMENT_VOID_P 8
  16608. | #define SIZEOF_INT8_T 1
  16609. | #define ALIGNMENT_INT8_T 1
  16610. | #define SIZEOF_UINT8_T 1
  16611. | #define ALIGNMENT_UINT8_T 1
  16612. | #define SIZEOF_INT16_T 2
  16613. | #define ALIGNMENT_INT16_T 2
  16614. | #define SIZEOF_UINT16_T 2
  16615. | #define ALIGNMENT_UINT16_T 2
  16616. | #define SIZEOF_INT32_T 4
  16617. | #define ALIGNMENT_INT32_T 4
  16618. | #define SIZEOF_UINT32_T 4
  16619. | #define ALIGNMENT_UINT32_T 4
  16620. | /* end confdefs.h. */
  16621. | #include <stdio.h>
  16622. | #ifdef HAVE_SYS_TYPES_H
  16623. | # include <sys/types.h>
  16624. | #endif
  16625. | #ifdef HAVE_SYS_STAT_H
  16626. | # include <sys/stat.h>
  16627. | #endif
  16628. | #ifdef STDC_HEADERS
  16629. | # include <stdlib.h>
  16630. | # include <stddef.h>
  16631. | #else
  16632. | # ifdef HAVE_STDLIB_H
  16633. | # include <stdlib.h>
  16634. | # endif
  16635. | #endif
  16636. | #ifdef HAVE_STRING_H
  16637. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  16638. | # include <memory.h>
  16639. | # endif
  16640. | # include <string.h>
  16641. | #endif
  16642. | #ifdef HAVE_STRINGS_H
  16643. | # include <strings.h>
  16644. | #endif
  16645. | #ifdef HAVE_INTTYPES_H
  16646. | # include <inttypes.h>
  16647. | #endif
  16648. | #ifdef HAVE_STDINT_H
  16649. | # include <stdint.h>
  16650. | #endif
  16651. | #ifdef HAVE_UNISTD_H
  16652. | # include <unistd.h>
  16653. | #endif
  16654. | int
  16655. | main ()
  16656. | {
  16657. | static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= 0)];
  16658. | test_array [0] = 0;
  16659. | return test_array [0];
  16660. |
  16661. | ;
  16662. | return 0;
  16663. | }
  16664. configure:13116: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16665. conftest.c: In function 'main':
  16666. conftest.c:129:12: error: size of array 'test_array' is negative
  16667. static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= 1)];
  16668. ^~~~~~~~~~
  16669. configure:13116: $? = 1
  16670. configure: failed program was:
  16671. | /* confdefs.h */
  16672. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  16673. | #define PACKAGE_TARNAME "ghc-8.7"
  16674. | #define PACKAGE_VERSION "8.7"
  16675. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  16676. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  16677. | #define PACKAGE_URL ""
  16678. | #define STDC_HEADERS 1
  16679. | #define HAVE_SYS_TYPES_H 1
  16680. | #define HAVE_SYS_STAT_H 1
  16681. | #define HAVE_STDLIB_H 1
  16682. | #define HAVE_STRING_H 1
  16683. | #define HAVE_MEMORY_H 1
  16684. | #define HAVE_STRINGS_H 1
  16685. | #define HAVE_INTTYPES_H 1
  16686. | #define HAVE_STDINT_H 1
  16687. | #define HAVE_UNISTD_H 1
  16688. | #define __EXTENSIONS__ 1
  16689. | #define _ALL_SOURCE 1
  16690. | #define _GNU_SOURCE 1
  16691. | #define _POSIX_PTHREAD_SEMANTICS 1
  16692. | #define _TANDEM_SOURCE 1
  16693. | #define sUPPORTED_LLVM_VERSION (7,0)
  16694. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  16695. | #define STDC_HEADERS 1
  16696. | #define HAVE_CTYPE_H 1
  16697. | #define HAVE_DIRENT_H 1
  16698. | #define HAVE_DLFCN_H 1
  16699. | #define HAVE_ERRNO_H 1
  16700. | #define HAVE_FCNTL_H 1
  16701. | #define HAVE_GRP_H 1
  16702. | #define HAVE_LIMITS_H 1
  16703. | #define HAVE_LOCALE_H 1
  16704. | #define HAVE_NLIST_H 1
  16705. | #define HAVE_PTHREAD_H 1
  16706. | #define HAVE_PWD_H 1
  16707. | #define HAVE_SIGNAL_H 1
  16708. | #define HAVE_SYS_PARAM_H 1
  16709. | #define HAVE_SYS_MMAN_H 1
  16710. | #define HAVE_SYS_RESOURCE_H 1
  16711. | #define HAVE_SYS_SELECT_H 1
  16712. | #define HAVE_SYS_TIME_H 1
  16713. | #define HAVE_SYS_TIMEB_H 1
  16714. | #define HAVE_SYS_TIMERFD_H 1
  16715. | #define HAVE_SYS_TIMES_H 1
  16716. | #define HAVE_SYS_UTSNAME_H 1
  16717. | #define HAVE_SYS_WAIT_H 1
  16718. | #define HAVE_TERMIOS_H 1
  16719. | #define HAVE_TIME_H 1
  16720. | #define HAVE_UTIME_H 1
  16721. | #define HAVE_SCHED_H 1
  16722. | #define TIME_WITH_SYS_TIME 1
  16723. | #define HAVE_LONG_LONG 1
  16724. | #define SIZEOF_CHAR 1
  16725. | #define ALIGNMENT_CHAR 1
  16726. | #define SIZEOF_DOUBLE 8
  16727. | #define ALIGNMENT_DOUBLE 8
  16728. | #define SIZEOF_FLOAT 4
  16729. | #define ALIGNMENT_FLOAT 4
  16730. | #define SIZEOF_INT 4
  16731. | #define ALIGNMENT_INT 4
  16732. | #define SIZEOF_LONG 8
  16733. | #define ALIGNMENT_LONG 8
  16734. | #define SIZEOF_LONG_LONG 8
  16735. | #define ALIGNMENT_LONG_LONG 8
  16736. | #define SIZEOF_SHORT 2
  16737. | #define ALIGNMENT_SHORT 2
  16738. | #define SIZEOF_UNSIGNED_CHAR 1
  16739. | #define ALIGNMENT_UNSIGNED_CHAR 1
  16740. | #define SIZEOF_UNSIGNED_INT 4
  16741. | #define ALIGNMENT_UNSIGNED_INT 4
  16742. | #define SIZEOF_UNSIGNED_LONG 8
  16743. | #define ALIGNMENT_UNSIGNED_LONG 8
  16744. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  16745. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  16746. | #define SIZEOF_UNSIGNED_SHORT 2
  16747. | #define ALIGNMENT_UNSIGNED_SHORT 2
  16748. | #define SIZEOF_VOID_P 8
  16749. | #define ALIGNMENT_VOID_P 8
  16750. | #define SIZEOF_INT8_T 1
  16751. | #define ALIGNMENT_INT8_T 1
  16752. | #define SIZEOF_UINT8_T 1
  16753. | #define ALIGNMENT_UINT8_T 1
  16754. | #define SIZEOF_INT16_T 2
  16755. | #define ALIGNMENT_INT16_T 2
  16756. | #define SIZEOF_UINT16_T 2
  16757. | #define ALIGNMENT_UINT16_T 2
  16758. | #define SIZEOF_INT32_T 4
  16759. | #define ALIGNMENT_INT32_T 4
  16760. | #define SIZEOF_UINT32_T 4
  16761. | #define ALIGNMENT_UINT32_T 4
  16762. | /* end confdefs.h. */
  16763. | #include <stdio.h>
  16764. | #ifdef HAVE_SYS_TYPES_H
  16765. | # include <sys/types.h>
  16766. | #endif
  16767. | #ifdef HAVE_SYS_STAT_H
  16768. | # include <sys/stat.h>
  16769. | #endif
  16770. | #ifdef STDC_HEADERS
  16771. | # include <stdlib.h>
  16772. | # include <stddef.h>
  16773. | #else
  16774. | # ifdef HAVE_STDLIB_H
  16775. | # include <stdlib.h>
  16776. | # endif
  16777. | #endif
  16778. | #ifdef HAVE_STRING_H
  16779. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  16780. | # include <memory.h>
  16781. | # endif
  16782. | # include <string.h>
  16783. | #endif
  16784. | #ifdef HAVE_STRINGS_H
  16785. | # include <strings.h>
  16786. | #endif
  16787. | #ifdef HAVE_INTTYPES_H
  16788. | # include <inttypes.h>
  16789. | #endif
  16790. | #ifdef HAVE_STDINT_H
  16791. | # include <stdint.h>
  16792. | #endif
  16793. | #ifdef HAVE_UNISTD_H
  16794. | # include <unistd.h>
  16795. | #endif
  16796. | int
  16797. | main ()
  16798. | {
  16799. | static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= 1)];
  16800. | test_array [0] = 0;
  16801. | return test_array [0];
  16802. |
  16803. | ;
  16804. | return 0;
  16805. | }
  16806. configure:13116: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16807. conftest.c: In function 'main':
  16808. conftest.c:129:12: error: size of array 'test_array' is negative
  16809. static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= 3)];
  16810. ^~~~~~~~~~
  16811. configure:13116: $? = 1
  16812. configure: failed program was:
  16813. | /* confdefs.h */
  16814. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  16815. | #define PACKAGE_TARNAME "ghc-8.7"
  16816. | #define PACKAGE_VERSION "8.7"
  16817. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  16818. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  16819. | #define PACKAGE_URL ""
  16820. | #define STDC_HEADERS 1
  16821. | #define HAVE_SYS_TYPES_H 1
  16822. | #define HAVE_SYS_STAT_H 1
  16823. | #define HAVE_STDLIB_H 1
  16824. | #define HAVE_STRING_H 1
  16825. | #define HAVE_MEMORY_H 1
  16826. | #define HAVE_STRINGS_H 1
  16827. | #define HAVE_INTTYPES_H 1
  16828. | #define HAVE_STDINT_H 1
  16829. | #define HAVE_UNISTD_H 1
  16830. | #define __EXTENSIONS__ 1
  16831. | #define _ALL_SOURCE 1
  16832. | #define _GNU_SOURCE 1
  16833. | #define _POSIX_PTHREAD_SEMANTICS 1
  16834. | #define _TANDEM_SOURCE 1
  16835. | #define sUPPORTED_LLVM_VERSION (7,0)
  16836. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  16837. | #define STDC_HEADERS 1
  16838. | #define HAVE_CTYPE_H 1
  16839. | #define HAVE_DIRENT_H 1
  16840. | #define HAVE_DLFCN_H 1
  16841. | #define HAVE_ERRNO_H 1
  16842. | #define HAVE_FCNTL_H 1
  16843. | #define HAVE_GRP_H 1
  16844. | #define HAVE_LIMITS_H 1
  16845. | #define HAVE_LOCALE_H 1
  16846. | #define HAVE_NLIST_H 1
  16847. | #define HAVE_PTHREAD_H 1
  16848. | #define HAVE_PWD_H 1
  16849. | #define HAVE_SIGNAL_H 1
  16850. | #define HAVE_SYS_PARAM_H 1
  16851. | #define HAVE_SYS_MMAN_H 1
  16852. | #define HAVE_SYS_RESOURCE_H 1
  16853. | #define HAVE_SYS_SELECT_H 1
  16854. | #define HAVE_SYS_TIME_H 1
  16855. | #define HAVE_SYS_TIMEB_H 1
  16856. | #define HAVE_SYS_TIMERFD_H 1
  16857. | #define HAVE_SYS_TIMES_H 1
  16858. | #define HAVE_SYS_UTSNAME_H 1
  16859. | #define HAVE_SYS_WAIT_H 1
  16860. | #define HAVE_TERMIOS_H 1
  16861. | #define HAVE_TIME_H 1
  16862. | #define HAVE_UTIME_H 1
  16863. | #define HAVE_SCHED_H 1
  16864. | #define TIME_WITH_SYS_TIME 1
  16865. | #define HAVE_LONG_LONG 1
  16866. | #define SIZEOF_CHAR 1
  16867. | #define ALIGNMENT_CHAR 1
  16868. | #define SIZEOF_DOUBLE 8
  16869. | #define ALIGNMENT_DOUBLE 8
  16870. | #define SIZEOF_FLOAT 4
  16871. | #define ALIGNMENT_FLOAT 4
  16872. | #define SIZEOF_INT 4
  16873. | #define ALIGNMENT_INT 4
  16874. | #define SIZEOF_LONG 8
  16875. | #define ALIGNMENT_LONG 8
  16876. | #define SIZEOF_LONG_LONG 8
  16877. | #define ALIGNMENT_LONG_LONG 8
  16878. | #define SIZEOF_SHORT 2
  16879. | #define ALIGNMENT_SHORT 2
  16880. | #define SIZEOF_UNSIGNED_CHAR 1
  16881. | #define ALIGNMENT_UNSIGNED_CHAR 1
  16882. | #define SIZEOF_UNSIGNED_INT 4
  16883. | #define ALIGNMENT_UNSIGNED_INT 4
  16884. | #define SIZEOF_UNSIGNED_LONG 8
  16885. | #define ALIGNMENT_UNSIGNED_LONG 8
  16886. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  16887. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  16888. | #define SIZEOF_UNSIGNED_SHORT 2
  16889. | #define ALIGNMENT_UNSIGNED_SHORT 2
  16890. | #define SIZEOF_VOID_P 8
  16891. | #define ALIGNMENT_VOID_P 8
  16892. | #define SIZEOF_INT8_T 1
  16893. | #define ALIGNMENT_INT8_T 1
  16894. | #define SIZEOF_UINT8_T 1
  16895. | #define ALIGNMENT_UINT8_T 1
  16896. | #define SIZEOF_INT16_T 2
  16897. | #define ALIGNMENT_INT16_T 2
  16898. | #define SIZEOF_UINT16_T 2
  16899. | #define ALIGNMENT_UINT16_T 2
  16900. | #define SIZEOF_INT32_T 4
  16901. | #define ALIGNMENT_INT32_T 4
  16902. | #define SIZEOF_UINT32_T 4
  16903. | #define ALIGNMENT_UINT32_T 4
  16904. | /* end confdefs.h. */
  16905. | #include <stdio.h>
  16906. | #ifdef HAVE_SYS_TYPES_H
  16907. | # include <sys/types.h>
  16908. | #endif
  16909. | #ifdef HAVE_SYS_STAT_H
  16910. | # include <sys/stat.h>
  16911. | #endif
  16912. | #ifdef STDC_HEADERS
  16913. | # include <stdlib.h>
  16914. | # include <stddef.h>
  16915. | #else
  16916. | # ifdef HAVE_STDLIB_H
  16917. | # include <stdlib.h>
  16918. | # endif
  16919. | #endif
  16920. | #ifdef HAVE_STRING_H
  16921. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  16922. | # include <memory.h>
  16923. | # endif
  16924. | # include <string.h>
  16925. | #endif
  16926. | #ifdef HAVE_STRINGS_H
  16927. | # include <strings.h>
  16928. | #endif
  16929. | #ifdef HAVE_INTTYPES_H
  16930. | # include <inttypes.h>
  16931. | #endif
  16932. | #ifdef HAVE_STDINT_H
  16933. | # include <stdint.h>
  16934. | #endif
  16935. | #ifdef HAVE_UNISTD_H
  16936. | # include <unistd.h>
  16937. | #endif
  16938. | int
  16939. | main ()
  16940. | {
  16941. | static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= 3)];
  16942. | test_array [0] = 0;
  16943. | return test_array [0];
  16944. |
  16945. | ;
  16946. | return 0;
  16947. | }
  16948. configure:13116: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  16949. conftest.c: In function 'main':
  16950. conftest.c:129:12: error: size of array 'test_array' is negative
  16951. static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= 7)];
  16952. ^~~~~~~~~~
  16953. configure:13116: $? = 1
  16954. configure: failed program was:
  16955. | /* confdefs.h */
  16956. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  16957. | #define PACKAGE_TARNAME "ghc-8.7"
  16958. | #define PACKAGE_VERSION "8.7"
  16959. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  16960. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  16961. | #define PACKAGE_URL ""
  16962. | #define STDC_HEADERS 1
  16963. | #define HAVE_SYS_TYPES_H 1
  16964. | #define HAVE_SYS_STAT_H 1
  16965. | #define HAVE_STDLIB_H 1
  16966. | #define HAVE_STRING_H 1
  16967. | #define HAVE_MEMORY_H 1
  16968. | #define HAVE_STRINGS_H 1
  16969. | #define HAVE_INTTYPES_H 1
  16970. | #define HAVE_STDINT_H 1
  16971. | #define HAVE_UNISTD_H 1
  16972. | #define __EXTENSIONS__ 1
  16973. | #define _ALL_SOURCE 1
  16974. | #define _GNU_SOURCE 1
  16975. | #define _POSIX_PTHREAD_SEMANTICS 1
  16976. | #define _TANDEM_SOURCE 1
  16977. | #define sUPPORTED_LLVM_VERSION (7,0)
  16978. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  16979. | #define STDC_HEADERS 1
  16980. | #define HAVE_CTYPE_H 1
  16981. | #define HAVE_DIRENT_H 1
  16982. | #define HAVE_DLFCN_H 1
  16983. | #define HAVE_ERRNO_H 1
  16984. | #define HAVE_FCNTL_H 1
  16985. | #define HAVE_GRP_H 1
  16986. | #define HAVE_LIMITS_H 1
  16987. | #define HAVE_LOCALE_H 1
  16988. | #define HAVE_NLIST_H 1
  16989. | #define HAVE_PTHREAD_H 1
  16990. | #define HAVE_PWD_H 1
  16991. | #define HAVE_SIGNAL_H 1
  16992. | #define HAVE_SYS_PARAM_H 1
  16993. | #define HAVE_SYS_MMAN_H 1
  16994. | #define HAVE_SYS_RESOURCE_H 1
  16995. | #define HAVE_SYS_SELECT_H 1
  16996. | #define HAVE_SYS_TIME_H 1
  16997. | #define HAVE_SYS_TIMEB_H 1
  16998. | #define HAVE_SYS_TIMERFD_H 1
  16999. | #define HAVE_SYS_TIMES_H 1
  17000. | #define HAVE_SYS_UTSNAME_H 1
  17001. | #define HAVE_SYS_WAIT_H 1
  17002. | #define HAVE_TERMIOS_H 1
  17003. | #define HAVE_TIME_H 1
  17004. | #define HAVE_UTIME_H 1
  17005. | #define HAVE_SCHED_H 1
  17006. | #define TIME_WITH_SYS_TIME 1
  17007. | #define HAVE_LONG_LONG 1
  17008. | #define SIZEOF_CHAR 1
  17009. | #define ALIGNMENT_CHAR 1
  17010. | #define SIZEOF_DOUBLE 8
  17011. | #define ALIGNMENT_DOUBLE 8
  17012. | #define SIZEOF_FLOAT 4
  17013. | #define ALIGNMENT_FLOAT 4
  17014. | #define SIZEOF_INT 4
  17015. | #define ALIGNMENT_INT 4
  17016. | #define SIZEOF_LONG 8
  17017. | #define ALIGNMENT_LONG 8
  17018. | #define SIZEOF_LONG_LONG 8
  17019. | #define ALIGNMENT_LONG_LONG 8
  17020. | #define SIZEOF_SHORT 2
  17021. | #define ALIGNMENT_SHORT 2
  17022. | #define SIZEOF_UNSIGNED_CHAR 1
  17023. | #define ALIGNMENT_UNSIGNED_CHAR 1
  17024. | #define SIZEOF_UNSIGNED_INT 4
  17025. | #define ALIGNMENT_UNSIGNED_INT 4
  17026. | #define SIZEOF_UNSIGNED_LONG 8
  17027. | #define ALIGNMENT_UNSIGNED_LONG 8
  17028. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  17029. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  17030. | #define SIZEOF_UNSIGNED_SHORT 2
  17031. | #define ALIGNMENT_UNSIGNED_SHORT 2
  17032. | #define SIZEOF_VOID_P 8
  17033. | #define ALIGNMENT_VOID_P 8
  17034. | #define SIZEOF_INT8_T 1
  17035. | #define ALIGNMENT_INT8_T 1
  17036. | #define SIZEOF_UINT8_T 1
  17037. | #define ALIGNMENT_UINT8_T 1
  17038. | #define SIZEOF_INT16_T 2
  17039. | #define ALIGNMENT_INT16_T 2
  17040. | #define SIZEOF_UINT16_T 2
  17041. | #define ALIGNMENT_UINT16_T 2
  17042. | #define SIZEOF_INT32_T 4
  17043. | #define ALIGNMENT_INT32_T 4
  17044. | #define SIZEOF_UINT32_T 4
  17045. | #define ALIGNMENT_UINT32_T 4
  17046. | /* end confdefs.h. */
  17047. | #include <stdio.h>
  17048. | #ifdef HAVE_SYS_TYPES_H
  17049. | # include <sys/types.h>
  17050. | #endif
  17051. | #ifdef HAVE_SYS_STAT_H
  17052. | # include <sys/stat.h>
  17053. | #endif
  17054. | #ifdef STDC_HEADERS
  17055. | # include <stdlib.h>
  17056. | # include <stddef.h>
  17057. | #else
  17058. | # ifdef HAVE_STDLIB_H
  17059. | # include <stdlib.h>
  17060. | # endif
  17061. | #endif
  17062. | #ifdef HAVE_STRING_H
  17063. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  17064. | # include <memory.h>
  17065. | # endif
  17066. | # include <string.h>
  17067. | #endif
  17068. | #ifdef HAVE_STRINGS_H
  17069. | # include <strings.h>
  17070. | #endif
  17071. | #ifdef HAVE_INTTYPES_H
  17072. | # include <inttypes.h>
  17073. | #endif
  17074. | #ifdef HAVE_STDINT_H
  17075. | # include <stdint.h>
  17076. | #endif
  17077. | #ifdef HAVE_UNISTD_H
  17078. | # include <unistd.h>
  17079. | #endif
  17080. | int
  17081. | main ()
  17082. | {
  17083. | static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= 7)];
  17084. | test_array [0] = 0;
  17085. | return test_array [0];
  17086. |
  17087. | ;
  17088. | return 0;
  17089. | }
  17090. configure:13116: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17091. configure:13116: $? = 0
  17092. configure:13116: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17093. configure:13116: $? = 0
  17094. configure:13116: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17095. configure:13116: $? = 0
  17096. configure:13116: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17097. configure:13116: $? = 0
  17098. configure:13130: result: 8
  17099. configure:13140: checking for int64_t
  17100. configure:13140: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17101. configure:13140: $? = 0
  17102. configure:13140: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17103. conftest.c: In function 'main':
  17104. conftest.c:130:22: error: expected expression before ')' token
  17105. if (sizeof ((int64_t)))
  17106. ^
  17107. configure:13140: $? = 1
  17108. configure: failed program was:
  17109. | /* confdefs.h */
  17110. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  17111. | #define PACKAGE_TARNAME "ghc-8.7"
  17112. | #define PACKAGE_VERSION "8.7"
  17113. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  17114. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  17115. | #define PACKAGE_URL ""
  17116. | #define STDC_HEADERS 1
  17117. | #define HAVE_SYS_TYPES_H 1
  17118. | #define HAVE_SYS_STAT_H 1
  17119. | #define HAVE_STDLIB_H 1
  17120. | #define HAVE_STRING_H 1
  17121. | #define HAVE_MEMORY_H 1
  17122. | #define HAVE_STRINGS_H 1
  17123. | #define HAVE_INTTYPES_H 1
  17124. | #define HAVE_STDINT_H 1
  17125. | #define HAVE_UNISTD_H 1
  17126. | #define __EXTENSIONS__ 1
  17127. | #define _ALL_SOURCE 1
  17128. | #define _GNU_SOURCE 1
  17129. | #define _POSIX_PTHREAD_SEMANTICS 1
  17130. | #define _TANDEM_SOURCE 1
  17131. | #define sUPPORTED_LLVM_VERSION (7,0)
  17132. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  17133. | #define STDC_HEADERS 1
  17134. | #define HAVE_CTYPE_H 1
  17135. | #define HAVE_DIRENT_H 1
  17136. | #define HAVE_DLFCN_H 1
  17137. | #define HAVE_ERRNO_H 1
  17138. | #define HAVE_FCNTL_H 1
  17139. | #define HAVE_GRP_H 1
  17140. | #define HAVE_LIMITS_H 1
  17141. | #define HAVE_LOCALE_H 1
  17142. | #define HAVE_NLIST_H 1
  17143. | #define HAVE_PTHREAD_H 1
  17144. | #define HAVE_PWD_H 1
  17145. | #define HAVE_SIGNAL_H 1
  17146. | #define HAVE_SYS_PARAM_H 1
  17147. | #define HAVE_SYS_MMAN_H 1
  17148. | #define HAVE_SYS_RESOURCE_H 1
  17149. | #define HAVE_SYS_SELECT_H 1
  17150. | #define HAVE_SYS_TIME_H 1
  17151. | #define HAVE_SYS_TIMEB_H 1
  17152. | #define HAVE_SYS_TIMERFD_H 1
  17153. | #define HAVE_SYS_TIMES_H 1
  17154. | #define HAVE_SYS_UTSNAME_H 1
  17155. | #define HAVE_SYS_WAIT_H 1
  17156. | #define HAVE_TERMIOS_H 1
  17157. | #define HAVE_TIME_H 1
  17158. | #define HAVE_UTIME_H 1
  17159. | #define HAVE_SCHED_H 1
  17160. | #define TIME_WITH_SYS_TIME 1
  17161. | #define HAVE_LONG_LONG 1
  17162. | #define SIZEOF_CHAR 1
  17163. | #define ALIGNMENT_CHAR 1
  17164. | #define SIZEOF_DOUBLE 8
  17165. | #define ALIGNMENT_DOUBLE 8
  17166. | #define SIZEOF_FLOAT 4
  17167. | #define ALIGNMENT_FLOAT 4
  17168. | #define SIZEOF_INT 4
  17169. | #define ALIGNMENT_INT 4
  17170. | #define SIZEOF_LONG 8
  17171. | #define ALIGNMENT_LONG 8
  17172. | #define SIZEOF_LONG_LONG 8
  17173. | #define ALIGNMENT_LONG_LONG 8
  17174. | #define SIZEOF_SHORT 2
  17175. | #define ALIGNMENT_SHORT 2
  17176. | #define SIZEOF_UNSIGNED_CHAR 1
  17177. | #define ALIGNMENT_UNSIGNED_CHAR 1
  17178. | #define SIZEOF_UNSIGNED_INT 4
  17179. | #define ALIGNMENT_UNSIGNED_INT 4
  17180. | #define SIZEOF_UNSIGNED_LONG 8
  17181. | #define ALIGNMENT_UNSIGNED_LONG 8
  17182. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  17183. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  17184. | #define SIZEOF_UNSIGNED_SHORT 2
  17185. | #define ALIGNMENT_UNSIGNED_SHORT 2
  17186. | #define SIZEOF_VOID_P 8
  17187. | #define ALIGNMENT_VOID_P 8
  17188. | #define SIZEOF_INT8_T 1
  17189. | #define ALIGNMENT_INT8_T 1
  17190. | #define SIZEOF_UINT8_T 1
  17191. | #define ALIGNMENT_UINT8_T 1
  17192. | #define SIZEOF_INT16_T 2
  17193. | #define ALIGNMENT_INT16_T 2
  17194. | #define SIZEOF_UINT16_T 2
  17195. | #define ALIGNMENT_UINT16_T 2
  17196. | #define SIZEOF_INT32_T 4
  17197. | #define ALIGNMENT_INT32_T 4
  17198. | #define SIZEOF_UINT32_T 4
  17199. | #define ALIGNMENT_UINT32_T 4
  17200. | #define SIZEOF_INT64_T 8
  17201. | /* end confdefs.h. */
  17202. | #include <stdio.h>
  17203. | #ifdef HAVE_SYS_TYPES_H
  17204. | # include <sys/types.h>
  17205. | #endif
  17206. | #ifdef HAVE_SYS_STAT_H
  17207. | # include <sys/stat.h>
  17208. | #endif
  17209. | #ifdef STDC_HEADERS
  17210. | # include <stdlib.h>
  17211. | # include <stddef.h>
  17212. | #else
  17213. | # ifdef HAVE_STDLIB_H
  17214. | # include <stdlib.h>
  17215. | # endif
  17216. | #endif
  17217. | #ifdef HAVE_STRING_H
  17218. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  17219. | # include <memory.h>
  17220. | # endif
  17221. | # include <string.h>
  17222. | #endif
  17223. | #ifdef HAVE_STRINGS_H
  17224. | # include <strings.h>
  17225. | #endif
  17226. | #ifdef HAVE_INTTYPES_H
  17227. | # include <inttypes.h>
  17228. | #endif
  17229. | #ifdef HAVE_STDINT_H
  17230. | # include <stdint.h>
  17231. | #endif
  17232. | #ifdef HAVE_UNISTD_H
  17233. | # include <unistd.h>
  17234. | #endif
  17235. | int
  17236. | main ()
  17237. | {
  17238. | if (sizeof ((int64_t)))
  17239. | return 0;
  17240. | ;
  17241. | return 0;
  17242. | }
  17243. configure:13140: result: yes
  17244. configure:13144: checking alignment of int64_t
  17245. configure:13150: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17246. configure:13150: $? = 0
  17247. configure:13150: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17248. conftest.c: In function 'main':
  17249. conftest.c:130:12: error: size of array 'test_array' is negative
  17250. static int test_array [1 - 2 * !((offsetof(struct { char c; int64_t ty; },ty)) <= 0)];
  17251. ^~~~~~~~~~
  17252. configure:13150: $? = 1
  17253. configure: failed program was:
  17254. | /* confdefs.h */
  17255. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  17256. | #define PACKAGE_TARNAME "ghc-8.7"
  17257. | #define PACKAGE_VERSION "8.7"
  17258. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  17259. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  17260. | #define PACKAGE_URL ""
  17261. | #define STDC_HEADERS 1
  17262. | #define HAVE_SYS_TYPES_H 1
  17263. | #define HAVE_SYS_STAT_H 1
  17264. | #define HAVE_STDLIB_H 1
  17265. | #define HAVE_STRING_H 1
  17266. | #define HAVE_MEMORY_H 1
  17267. | #define HAVE_STRINGS_H 1
  17268. | #define HAVE_INTTYPES_H 1
  17269. | #define HAVE_STDINT_H 1
  17270. | #define HAVE_UNISTD_H 1
  17271. | #define __EXTENSIONS__ 1
  17272. | #define _ALL_SOURCE 1
  17273. | #define _GNU_SOURCE 1
  17274. | #define _POSIX_PTHREAD_SEMANTICS 1
  17275. | #define _TANDEM_SOURCE 1
  17276. | #define sUPPORTED_LLVM_VERSION (7,0)
  17277. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  17278. | #define STDC_HEADERS 1
  17279. | #define HAVE_CTYPE_H 1
  17280. | #define HAVE_DIRENT_H 1
  17281. | #define HAVE_DLFCN_H 1
  17282. | #define HAVE_ERRNO_H 1
  17283. | #define HAVE_FCNTL_H 1
  17284. | #define HAVE_GRP_H 1
  17285. | #define HAVE_LIMITS_H 1
  17286. | #define HAVE_LOCALE_H 1
  17287. | #define HAVE_NLIST_H 1
  17288. | #define HAVE_PTHREAD_H 1
  17289. | #define HAVE_PWD_H 1
  17290. | #define HAVE_SIGNAL_H 1
  17291. | #define HAVE_SYS_PARAM_H 1
  17292. | #define HAVE_SYS_MMAN_H 1
  17293. | #define HAVE_SYS_RESOURCE_H 1
  17294. | #define HAVE_SYS_SELECT_H 1
  17295. | #define HAVE_SYS_TIME_H 1
  17296. | #define HAVE_SYS_TIMEB_H 1
  17297. | #define HAVE_SYS_TIMERFD_H 1
  17298. | #define HAVE_SYS_TIMES_H 1
  17299. | #define HAVE_SYS_UTSNAME_H 1
  17300. | #define HAVE_SYS_WAIT_H 1
  17301. | #define HAVE_TERMIOS_H 1
  17302. | #define HAVE_TIME_H 1
  17303. | #define HAVE_UTIME_H 1
  17304. | #define HAVE_SCHED_H 1
  17305. | #define TIME_WITH_SYS_TIME 1
  17306. | #define HAVE_LONG_LONG 1
  17307. | #define SIZEOF_CHAR 1
  17308. | #define ALIGNMENT_CHAR 1
  17309. | #define SIZEOF_DOUBLE 8
  17310. | #define ALIGNMENT_DOUBLE 8
  17311. | #define SIZEOF_FLOAT 4
  17312. | #define ALIGNMENT_FLOAT 4
  17313. | #define SIZEOF_INT 4
  17314. | #define ALIGNMENT_INT 4
  17315. | #define SIZEOF_LONG 8
  17316. | #define ALIGNMENT_LONG 8
  17317. | #define SIZEOF_LONG_LONG 8
  17318. | #define ALIGNMENT_LONG_LONG 8
  17319. | #define SIZEOF_SHORT 2
  17320. | #define ALIGNMENT_SHORT 2
  17321. | #define SIZEOF_UNSIGNED_CHAR 1
  17322. | #define ALIGNMENT_UNSIGNED_CHAR 1
  17323. | #define SIZEOF_UNSIGNED_INT 4
  17324. | #define ALIGNMENT_UNSIGNED_INT 4
  17325. | #define SIZEOF_UNSIGNED_LONG 8
  17326. | #define ALIGNMENT_UNSIGNED_LONG 8
  17327. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  17328. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  17329. | #define SIZEOF_UNSIGNED_SHORT 2
  17330. | #define ALIGNMENT_UNSIGNED_SHORT 2
  17331. | #define SIZEOF_VOID_P 8
  17332. | #define ALIGNMENT_VOID_P 8
  17333. | #define SIZEOF_INT8_T 1
  17334. | #define ALIGNMENT_INT8_T 1
  17335. | #define SIZEOF_UINT8_T 1
  17336. | #define ALIGNMENT_UINT8_T 1
  17337. | #define SIZEOF_INT16_T 2
  17338. | #define ALIGNMENT_INT16_T 2
  17339. | #define SIZEOF_UINT16_T 2
  17340. | #define ALIGNMENT_UINT16_T 2
  17341. | #define SIZEOF_INT32_T 4
  17342. | #define ALIGNMENT_INT32_T 4
  17343. | #define SIZEOF_UINT32_T 4
  17344. | #define ALIGNMENT_UINT32_T 4
  17345. | #define SIZEOF_INT64_T 8
  17346. | /* end confdefs.h. */
  17347. | #include <stdio.h>
  17348. | #ifdef HAVE_SYS_TYPES_H
  17349. | # include <sys/types.h>
  17350. | #endif
  17351. | #ifdef HAVE_SYS_STAT_H
  17352. | # include <sys/stat.h>
  17353. | #endif
  17354. | #ifdef STDC_HEADERS
  17355. | # include <stdlib.h>
  17356. | # include <stddef.h>
  17357. | #else
  17358. | # ifdef HAVE_STDLIB_H
  17359. | # include <stdlib.h>
  17360. | # endif
  17361. | #endif
  17362. | #ifdef HAVE_STRING_H
  17363. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  17364. | # include <memory.h>
  17365. | # endif
  17366. | # include <string.h>
  17367. | #endif
  17368. | #ifdef HAVE_STRINGS_H
  17369. | # include <strings.h>
  17370. | #endif
  17371. | #ifdef HAVE_INTTYPES_H
  17372. | # include <inttypes.h>
  17373. | #endif
  17374. | #ifdef HAVE_STDINT_H
  17375. | # include <stdint.h>
  17376. | #endif
  17377. | #ifdef HAVE_UNISTD_H
  17378. | # include <unistd.h>
  17379. | #endif
  17380. | int
  17381. | main ()
  17382. | {
  17383. | static int test_array [1 - 2 * !((offsetof(struct { char c; int64_t ty; },ty)) <= 0)];
  17384. | test_array [0] = 0;
  17385. | return test_array [0];
  17386. |
  17387. | ;
  17388. | return 0;
  17389. | }
  17390. configure:13150: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17391. conftest.c: In function 'main':
  17392. conftest.c:130:12: error: size of array 'test_array' is negative
  17393. static int test_array [1 - 2 * !((offsetof(struct { char c; int64_t ty; },ty)) <= 1)];
  17394. ^~~~~~~~~~
  17395. configure:13150: $? = 1
  17396. configure: failed program was:
  17397. | /* confdefs.h */
  17398. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  17399. | #define PACKAGE_TARNAME "ghc-8.7"
  17400. | #define PACKAGE_VERSION "8.7"
  17401. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  17402. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  17403. | #define PACKAGE_URL ""
  17404. | #define STDC_HEADERS 1
  17405. | #define HAVE_SYS_TYPES_H 1
  17406. | #define HAVE_SYS_STAT_H 1
  17407. | #define HAVE_STDLIB_H 1
  17408. | #define HAVE_STRING_H 1
  17409. | #define HAVE_MEMORY_H 1
  17410. | #define HAVE_STRINGS_H 1
  17411. | #define HAVE_INTTYPES_H 1
  17412. | #define HAVE_STDINT_H 1
  17413. | #define HAVE_UNISTD_H 1
  17414. | #define __EXTENSIONS__ 1
  17415. | #define _ALL_SOURCE 1
  17416. | #define _GNU_SOURCE 1
  17417. | #define _POSIX_PTHREAD_SEMANTICS 1
  17418. | #define _TANDEM_SOURCE 1
  17419. | #define sUPPORTED_LLVM_VERSION (7,0)
  17420. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  17421. | #define STDC_HEADERS 1
  17422. | #define HAVE_CTYPE_H 1
  17423. | #define HAVE_DIRENT_H 1
  17424. | #define HAVE_DLFCN_H 1
  17425. | #define HAVE_ERRNO_H 1
  17426. | #define HAVE_FCNTL_H 1
  17427. | #define HAVE_GRP_H 1
  17428. | #define HAVE_LIMITS_H 1
  17429. | #define HAVE_LOCALE_H 1
  17430. | #define HAVE_NLIST_H 1
  17431. | #define HAVE_PTHREAD_H 1
  17432. | #define HAVE_PWD_H 1
  17433. | #define HAVE_SIGNAL_H 1
  17434. | #define HAVE_SYS_PARAM_H 1
  17435. | #define HAVE_SYS_MMAN_H 1
  17436. | #define HAVE_SYS_RESOURCE_H 1
  17437. | #define HAVE_SYS_SELECT_H 1
  17438. | #define HAVE_SYS_TIME_H 1
  17439. | #define HAVE_SYS_TIMEB_H 1
  17440. | #define HAVE_SYS_TIMERFD_H 1
  17441. | #define HAVE_SYS_TIMES_H 1
  17442. | #define HAVE_SYS_UTSNAME_H 1
  17443. | #define HAVE_SYS_WAIT_H 1
  17444. | #define HAVE_TERMIOS_H 1
  17445. | #define HAVE_TIME_H 1
  17446. | #define HAVE_UTIME_H 1
  17447. | #define HAVE_SCHED_H 1
  17448. | #define TIME_WITH_SYS_TIME 1
  17449. | #define HAVE_LONG_LONG 1
  17450. | #define SIZEOF_CHAR 1
  17451. | #define ALIGNMENT_CHAR 1
  17452. | #define SIZEOF_DOUBLE 8
  17453. | #define ALIGNMENT_DOUBLE 8
  17454. | #define SIZEOF_FLOAT 4
  17455. | #define ALIGNMENT_FLOAT 4
  17456. | #define SIZEOF_INT 4
  17457. | #define ALIGNMENT_INT 4
  17458. | #define SIZEOF_LONG 8
  17459. | #define ALIGNMENT_LONG 8
  17460. | #define SIZEOF_LONG_LONG 8
  17461. | #define ALIGNMENT_LONG_LONG 8
  17462. | #define SIZEOF_SHORT 2
  17463. | #define ALIGNMENT_SHORT 2
  17464. | #define SIZEOF_UNSIGNED_CHAR 1
  17465. | #define ALIGNMENT_UNSIGNED_CHAR 1
  17466. | #define SIZEOF_UNSIGNED_INT 4
  17467. | #define ALIGNMENT_UNSIGNED_INT 4
  17468. | #define SIZEOF_UNSIGNED_LONG 8
  17469. | #define ALIGNMENT_UNSIGNED_LONG 8
  17470. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  17471. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  17472. | #define SIZEOF_UNSIGNED_SHORT 2
  17473. | #define ALIGNMENT_UNSIGNED_SHORT 2
  17474. | #define SIZEOF_VOID_P 8
  17475. | #define ALIGNMENT_VOID_P 8
  17476. | #define SIZEOF_INT8_T 1
  17477. | #define ALIGNMENT_INT8_T 1
  17478. | #define SIZEOF_UINT8_T 1
  17479. | #define ALIGNMENT_UINT8_T 1
  17480. | #define SIZEOF_INT16_T 2
  17481. | #define ALIGNMENT_INT16_T 2
  17482. | #define SIZEOF_UINT16_T 2
  17483. | #define ALIGNMENT_UINT16_T 2
  17484. | #define SIZEOF_INT32_T 4
  17485. | #define ALIGNMENT_INT32_T 4
  17486. | #define SIZEOF_UINT32_T 4
  17487. | #define ALIGNMENT_UINT32_T 4
  17488. | #define SIZEOF_INT64_T 8
  17489. | /* end confdefs.h. */
  17490. | #include <stdio.h>
  17491. | #ifdef HAVE_SYS_TYPES_H
  17492. | # include <sys/types.h>
  17493. | #endif
  17494. | #ifdef HAVE_SYS_STAT_H
  17495. | # include <sys/stat.h>
  17496. | #endif
  17497. | #ifdef STDC_HEADERS
  17498. | # include <stdlib.h>
  17499. | # include <stddef.h>
  17500. | #else
  17501. | # ifdef HAVE_STDLIB_H
  17502. | # include <stdlib.h>
  17503. | # endif
  17504. | #endif
  17505. | #ifdef HAVE_STRING_H
  17506. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  17507. | # include <memory.h>
  17508. | # endif
  17509. | # include <string.h>
  17510. | #endif
  17511. | #ifdef HAVE_STRINGS_H
  17512. | # include <strings.h>
  17513. | #endif
  17514. | #ifdef HAVE_INTTYPES_H
  17515. | # include <inttypes.h>
  17516. | #endif
  17517. | #ifdef HAVE_STDINT_H
  17518. | # include <stdint.h>
  17519. | #endif
  17520. | #ifdef HAVE_UNISTD_H
  17521. | # include <unistd.h>
  17522. | #endif
  17523. | int
  17524. | main ()
  17525. | {
  17526. | static int test_array [1 - 2 * !((offsetof(struct { char c; int64_t ty; },ty)) <= 1)];
  17527. | test_array [0] = 0;
  17528. | return test_array [0];
  17529. |
  17530. | ;
  17531. | return 0;
  17532. | }
  17533. configure:13150: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17534. conftest.c: In function 'main':
  17535. conftest.c:130:12: error: size of array 'test_array' is negative
  17536. static int test_array [1 - 2 * !((offsetof(struct { char c; int64_t ty; },ty)) <= 3)];
  17537. ^~~~~~~~~~
  17538. configure:13150: $? = 1
  17539. configure: failed program was:
  17540. | /* confdefs.h */
  17541. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  17542. | #define PACKAGE_TARNAME "ghc-8.7"
  17543. | #define PACKAGE_VERSION "8.7"
  17544. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  17545. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  17546. | #define PACKAGE_URL ""
  17547. | #define STDC_HEADERS 1
  17548. | #define HAVE_SYS_TYPES_H 1
  17549. | #define HAVE_SYS_STAT_H 1
  17550. | #define HAVE_STDLIB_H 1
  17551. | #define HAVE_STRING_H 1
  17552. | #define HAVE_MEMORY_H 1
  17553. | #define HAVE_STRINGS_H 1
  17554. | #define HAVE_INTTYPES_H 1
  17555. | #define HAVE_STDINT_H 1
  17556. | #define HAVE_UNISTD_H 1
  17557. | #define __EXTENSIONS__ 1
  17558. | #define _ALL_SOURCE 1
  17559. | #define _GNU_SOURCE 1
  17560. | #define _POSIX_PTHREAD_SEMANTICS 1
  17561. | #define _TANDEM_SOURCE 1
  17562. | #define sUPPORTED_LLVM_VERSION (7,0)
  17563. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  17564. | #define STDC_HEADERS 1
  17565. | #define HAVE_CTYPE_H 1
  17566. | #define HAVE_DIRENT_H 1
  17567. | #define HAVE_DLFCN_H 1
  17568. | #define HAVE_ERRNO_H 1
  17569. | #define HAVE_FCNTL_H 1
  17570. | #define HAVE_GRP_H 1
  17571. | #define HAVE_LIMITS_H 1
  17572. | #define HAVE_LOCALE_H 1
  17573. | #define HAVE_NLIST_H 1
  17574. | #define HAVE_PTHREAD_H 1
  17575. | #define HAVE_PWD_H 1
  17576. | #define HAVE_SIGNAL_H 1
  17577. | #define HAVE_SYS_PARAM_H 1
  17578. | #define HAVE_SYS_MMAN_H 1
  17579. | #define HAVE_SYS_RESOURCE_H 1
  17580. | #define HAVE_SYS_SELECT_H 1
  17581. | #define HAVE_SYS_TIME_H 1
  17582. | #define HAVE_SYS_TIMEB_H 1
  17583. | #define HAVE_SYS_TIMERFD_H 1
  17584. | #define HAVE_SYS_TIMES_H 1
  17585. | #define HAVE_SYS_UTSNAME_H 1
  17586. | #define HAVE_SYS_WAIT_H 1
  17587. | #define HAVE_TERMIOS_H 1
  17588. | #define HAVE_TIME_H 1
  17589. | #define HAVE_UTIME_H 1
  17590. | #define HAVE_SCHED_H 1
  17591. | #define TIME_WITH_SYS_TIME 1
  17592. | #define HAVE_LONG_LONG 1
  17593. | #define SIZEOF_CHAR 1
  17594. | #define ALIGNMENT_CHAR 1
  17595. | #define SIZEOF_DOUBLE 8
  17596. | #define ALIGNMENT_DOUBLE 8
  17597. | #define SIZEOF_FLOAT 4
  17598. | #define ALIGNMENT_FLOAT 4
  17599. | #define SIZEOF_INT 4
  17600. | #define ALIGNMENT_INT 4
  17601. | #define SIZEOF_LONG 8
  17602. | #define ALIGNMENT_LONG 8
  17603. | #define SIZEOF_LONG_LONG 8
  17604. | #define ALIGNMENT_LONG_LONG 8
  17605. | #define SIZEOF_SHORT 2
  17606. | #define ALIGNMENT_SHORT 2
  17607. | #define SIZEOF_UNSIGNED_CHAR 1
  17608. | #define ALIGNMENT_UNSIGNED_CHAR 1
  17609. | #define SIZEOF_UNSIGNED_INT 4
  17610. | #define ALIGNMENT_UNSIGNED_INT 4
  17611. | #define SIZEOF_UNSIGNED_LONG 8
  17612. | #define ALIGNMENT_UNSIGNED_LONG 8
  17613. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  17614. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  17615. | #define SIZEOF_UNSIGNED_SHORT 2
  17616. | #define ALIGNMENT_UNSIGNED_SHORT 2
  17617. | #define SIZEOF_VOID_P 8
  17618. | #define ALIGNMENT_VOID_P 8
  17619. | #define SIZEOF_INT8_T 1
  17620. | #define ALIGNMENT_INT8_T 1
  17621. | #define SIZEOF_UINT8_T 1
  17622. | #define ALIGNMENT_UINT8_T 1
  17623. | #define SIZEOF_INT16_T 2
  17624. | #define ALIGNMENT_INT16_T 2
  17625. | #define SIZEOF_UINT16_T 2
  17626. | #define ALIGNMENT_UINT16_T 2
  17627. | #define SIZEOF_INT32_T 4
  17628. | #define ALIGNMENT_INT32_T 4
  17629. | #define SIZEOF_UINT32_T 4
  17630. | #define ALIGNMENT_UINT32_T 4
  17631. | #define SIZEOF_INT64_T 8
  17632. | /* end confdefs.h. */
  17633. | #include <stdio.h>
  17634. | #ifdef HAVE_SYS_TYPES_H
  17635. | # include <sys/types.h>
  17636. | #endif
  17637. | #ifdef HAVE_SYS_STAT_H
  17638. | # include <sys/stat.h>
  17639. | #endif
  17640. | #ifdef STDC_HEADERS
  17641. | # include <stdlib.h>
  17642. | # include <stddef.h>
  17643. | #else
  17644. | # ifdef HAVE_STDLIB_H
  17645. | # include <stdlib.h>
  17646. | # endif
  17647. | #endif
  17648. | #ifdef HAVE_STRING_H
  17649. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  17650. | # include <memory.h>
  17651. | # endif
  17652. | # include <string.h>
  17653. | #endif
  17654. | #ifdef HAVE_STRINGS_H
  17655. | # include <strings.h>
  17656. | #endif
  17657. | #ifdef HAVE_INTTYPES_H
  17658. | # include <inttypes.h>
  17659. | #endif
  17660. | #ifdef HAVE_STDINT_H
  17661. | # include <stdint.h>
  17662. | #endif
  17663. | #ifdef HAVE_UNISTD_H
  17664. | # include <unistd.h>
  17665. | #endif
  17666. | int
  17667. | main ()
  17668. | {
  17669. | static int test_array [1 - 2 * !((offsetof(struct { char c; int64_t ty; },ty)) <= 3)];
  17670. | test_array [0] = 0;
  17671. | return test_array [0];
  17672. |
  17673. | ;
  17674. | return 0;
  17675. | }
  17676. configure:13150: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17677. conftest.c: In function 'main':
  17678. conftest.c:130:12: error: size of array 'test_array' is negative
  17679. static int test_array [1 - 2 * !((offsetof(struct { char c; int64_t ty; },ty)) <= 7)];
  17680. ^~~~~~~~~~
  17681. configure:13150: $? = 1
  17682. configure: failed program was:
  17683. | /* confdefs.h */
  17684. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  17685. | #define PACKAGE_TARNAME "ghc-8.7"
  17686. | #define PACKAGE_VERSION "8.7"
  17687. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  17688. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  17689. | #define PACKAGE_URL ""
  17690. | #define STDC_HEADERS 1
  17691. | #define HAVE_SYS_TYPES_H 1
  17692. | #define HAVE_SYS_STAT_H 1
  17693. | #define HAVE_STDLIB_H 1
  17694. | #define HAVE_STRING_H 1
  17695. | #define HAVE_MEMORY_H 1
  17696. | #define HAVE_STRINGS_H 1
  17697. | #define HAVE_INTTYPES_H 1
  17698. | #define HAVE_STDINT_H 1
  17699. | #define HAVE_UNISTD_H 1
  17700. | #define __EXTENSIONS__ 1
  17701. | #define _ALL_SOURCE 1
  17702. | #define _GNU_SOURCE 1
  17703. | #define _POSIX_PTHREAD_SEMANTICS 1
  17704. | #define _TANDEM_SOURCE 1
  17705. | #define sUPPORTED_LLVM_VERSION (7,0)
  17706. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  17707. | #define STDC_HEADERS 1
  17708. | #define HAVE_CTYPE_H 1
  17709. | #define HAVE_DIRENT_H 1
  17710. | #define HAVE_DLFCN_H 1
  17711. | #define HAVE_ERRNO_H 1
  17712. | #define HAVE_FCNTL_H 1
  17713. | #define HAVE_GRP_H 1
  17714. | #define HAVE_LIMITS_H 1
  17715. | #define HAVE_LOCALE_H 1
  17716. | #define HAVE_NLIST_H 1
  17717. | #define HAVE_PTHREAD_H 1
  17718. | #define HAVE_PWD_H 1
  17719. | #define HAVE_SIGNAL_H 1
  17720. | #define HAVE_SYS_PARAM_H 1
  17721. | #define HAVE_SYS_MMAN_H 1
  17722. | #define HAVE_SYS_RESOURCE_H 1
  17723. | #define HAVE_SYS_SELECT_H 1
  17724. | #define HAVE_SYS_TIME_H 1
  17725. | #define HAVE_SYS_TIMEB_H 1
  17726. | #define HAVE_SYS_TIMERFD_H 1
  17727. | #define HAVE_SYS_TIMES_H 1
  17728. | #define HAVE_SYS_UTSNAME_H 1
  17729. | #define HAVE_SYS_WAIT_H 1
  17730. | #define HAVE_TERMIOS_H 1
  17731. | #define HAVE_TIME_H 1
  17732. | #define HAVE_UTIME_H 1
  17733. | #define HAVE_SCHED_H 1
  17734. | #define TIME_WITH_SYS_TIME 1
  17735. | #define HAVE_LONG_LONG 1
  17736. | #define SIZEOF_CHAR 1
  17737. | #define ALIGNMENT_CHAR 1
  17738. | #define SIZEOF_DOUBLE 8
  17739. | #define ALIGNMENT_DOUBLE 8
  17740. | #define SIZEOF_FLOAT 4
  17741. | #define ALIGNMENT_FLOAT 4
  17742. | #define SIZEOF_INT 4
  17743. | #define ALIGNMENT_INT 4
  17744. | #define SIZEOF_LONG 8
  17745. | #define ALIGNMENT_LONG 8
  17746. | #define SIZEOF_LONG_LONG 8
  17747. | #define ALIGNMENT_LONG_LONG 8
  17748. | #define SIZEOF_SHORT 2
  17749. | #define ALIGNMENT_SHORT 2
  17750. | #define SIZEOF_UNSIGNED_CHAR 1
  17751. | #define ALIGNMENT_UNSIGNED_CHAR 1
  17752. | #define SIZEOF_UNSIGNED_INT 4
  17753. | #define ALIGNMENT_UNSIGNED_INT 4
  17754. | #define SIZEOF_UNSIGNED_LONG 8
  17755. | #define ALIGNMENT_UNSIGNED_LONG 8
  17756. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  17757. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  17758. | #define SIZEOF_UNSIGNED_SHORT 2
  17759. | #define ALIGNMENT_UNSIGNED_SHORT 2
  17760. | #define SIZEOF_VOID_P 8
  17761. | #define ALIGNMENT_VOID_P 8
  17762. | #define SIZEOF_INT8_T 1
  17763. | #define ALIGNMENT_INT8_T 1
  17764. | #define SIZEOF_UINT8_T 1
  17765. | #define ALIGNMENT_UINT8_T 1
  17766. | #define SIZEOF_INT16_T 2
  17767. | #define ALIGNMENT_INT16_T 2
  17768. | #define SIZEOF_UINT16_T 2
  17769. | #define ALIGNMENT_UINT16_T 2
  17770. | #define SIZEOF_INT32_T 4
  17771. | #define ALIGNMENT_INT32_T 4
  17772. | #define SIZEOF_UINT32_T 4
  17773. | #define ALIGNMENT_UINT32_T 4
  17774. | #define SIZEOF_INT64_T 8
  17775. | /* end confdefs.h. */
  17776. | #include <stdio.h>
  17777. | #ifdef HAVE_SYS_TYPES_H
  17778. | # include <sys/types.h>
  17779. | #endif
  17780. | #ifdef HAVE_SYS_STAT_H
  17781. | # include <sys/stat.h>
  17782. | #endif
  17783. | #ifdef STDC_HEADERS
  17784. | # include <stdlib.h>
  17785. | # include <stddef.h>
  17786. | #else
  17787. | # ifdef HAVE_STDLIB_H
  17788. | # include <stdlib.h>
  17789. | # endif
  17790. | #endif
  17791. | #ifdef HAVE_STRING_H
  17792. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  17793. | # include <memory.h>
  17794. | # endif
  17795. | # include <string.h>
  17796. | #endif
  17797. | #ifdef HAVE_STRINGS_H
  17798. | # include <strings.h>
  17799. | #endif
  17800. | #ifdef HAVE_INTTYPES_H
  17801. | # include <inttypes.h>
  17802. | #endif
  17803. | #ifdef HAVE_STDINT_H
  17804. | # include <stdint.h>
  17805. | #endif
  17806. | #ifdef HAVE_UNISTD_H
  17807. | # include <unistd.h>
  17808. | #endif
  17809. | int
  17810. | main ()
  17811. | {
  17812. | static int test_array [1 - 2 * !((offsetof(struct { char c; int64_t ty; },ty)) <= 7)];
  17813. | test_array [0] = 0;
  17814. | return test_array [0];
  17815. |
  17816. | ;
  17817. | return 0;
  17818. | }
  17819. configure:13150: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17820. configure:13150: $? = 0
  17821. configure:13150: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17822. configure:13150: $? = 0
  17823. configure:13150: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17824. configure:13150: $? = 0
  17825. configure:13150: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17826. configure:13150: $? = 0
  17827. configure:13162: result: 8
  17828. configure:13173: checking size of uint64_t
  17829. configure:13178: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17830. configure:13178: $? = 0
  17831. configure:13178: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17832. conftest.c: In function 'main':
  17833. conftest.c:131:12: error: size of array 'test_array' is negative
  17834. static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) <= 0)];
  17835. ^~~~~~~~~~
  17836. configure:13178: $? = 1
  17837. configure: failed program was:
  17838. | /* confdefs.h */
  17839. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  17840. | #define PACKAGE_TARNAME "ghc-8.7"
  17841. | #define PACKAGE_VERSION "8.7"
  17842. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  17843. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  17844. | #define PACKAGE_URL ""
  17845. | #define STDC_HEADERS 1
  17846. | #define HAVE_SYS_TYPES_H 1
  17847. | #define HAVE_SYS_STAT_H 1
  17848. | #define HAVE_STDLIB_H 1
  17849. | #define HAVE_STRING_H 1
  17850. | #define HAVE_MEMORY_H 1
  17851. | #define HAVE_STRINGS_H 1
  17852. | #define HAVE_INTTYPES_H 1
  17853. | #define HAVE_STDINT_H 1
  17854. | #define HAVE_UNISTD_H 1
  17855. | #define __EXTENSIONS__ 1
  17856. | #define _ALL_SOURCE 1
  17857. | #define _GNU_SOURCE 1
  17858. | #define _POSIX_PTHREAD_SEMANTICS 1
  17859. | #define _TANDEM_SOURCE 1
  17860. | #define sUPPORTED_LLVM_VERSION (7,0)
  17861. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  17862. | #define STDC_HEADERS 1
  17863. | #define HAVE_CTYPE_H 1
  17864. | #define HAVE_DIRENT_H 1
  17865. | #define HAVE_DLFCN_H 1
  17866. | #define HAVE_ERRNO_H 1
  17867. | #define HAVE_FCNTL_H 1
  17868. | #define HAVE_GRP_H 1
  17869. | #define HAVE_LIMITS_H 1
  17870. | #define HAVE_LOCALE_H 1
  17871. | #define HAVE_NLIST_H 1
  17872. | #define HAVE_PTHREAD_H 1
  17873. | #define HAVE_PWD_H 1
  17874. | #define HAVE_SIGNAL_H 1
  17875. | #define HAVE_SYS_PARAM_H 1
  17876. | #define HAVE_SYS_MMAN_H 1
  17877. | #define HAVE_SYS_RESOURCE_H 1
  17878. | #define HAVE_SYS_SELECT_H 1
  17879. | #define HAVE_SYS_TIME_H 1
  17880. | #define HAVE_SYS_TIMEB_H 1
  17881. | #define HAVE_SYS_TIMERFD_H 1
  17882. | #define HAVE_SYS_TIMES_H 1
  17883. | #define HAVE_SYS_UTSNAME_H 1
  17884. | #define HAVE_SYS_WAIT_H 1
  17885. | #define HAVE_TERMIOS_H 1
  17886. | #define HAVE_TIME_H 1
  17887. | #define HAVE_UTIME_H 1
  17888. | #define HAVE_SCHED_H 1
  17889. | #define TIME_WITH_SYS_TIME 1
  17890. | #define HAVE_LONG_LONG 1
  17891. | #define SIZEOF_CHAR 1
  17892. | #define ALIGNMENT_CHAR 1
  17893. | #define SIZEOF_DOUBLE 8
  17894. | #define ALIGNMENT_DOUBLE 8
  17895. | #define SIZEOF_FLOAT 4
  17896. | #define ALIGNMENT_FLOAT 4
  17897. | #define SIZEOF_INT 4
  17898. | #define ALIGNMENT_INT 4
  17899. | #define SIZEOF_LONG 8
  17900. | #define ALIGNMENT_LONG 8
  17901. | #define SIZEOF_LONG_LONG 8
  17902. | #define ALIGNMENT_LONG_LONG 8
  17903. | #define SIZEOF_SHORT 2
  17904. | #define ALIGNMENT_SHORT 2
  17905. | #define SIZEOF_UNSIGNED_CHAR 1
  17906. | #define ALIGNMENT_UNSIGNED_CHAR 1
  17907. | #define SIZEOF_UNSIGNED_INT 4
  17908. | #define ALIGNMENT_UNSIGNED_INT 4
  17909. | #define SIZEOF_UNSIGNED_LONG 8
  17910. | #define ALIGNMENT_UNSIGNED_LONG 8
  17911. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  17912. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  17913. | #define SIZEOF_UNSIGNED_SHORT 2
  17914. | #define ALIGNMENT_UNSIGNED_SHORT 2
  17915. | #define SIZEOF_VOID_P 8
  17916. | #define ALIGNMENT_VOID_P 8
  17917. | #define SIZEOF_INT8_T 1
  17918. | #define ALIGNMENT_INT8_T 1
  17919. | #define SIZEOF_UINT8_T 1
  17920. | #define ALIGNMENT_UINT8_T 1
  17921. | #define SIZEOF_INT16_T 2
  17922. | #define ALIGNMENT_INT16_T 2
  17923. | #define SIZEOF_UINT16_T 2
  17924. | #define ALIGNMENT_UINT16_T 2
  17925. | #define SIZEOF_INT32_T 4
  17926. | #define ALIGNMENT_INT32_T 4
  17927. | #define SIZEOF_UINT32_T 4
  17928. | #define ALIGNMENT_UINT32_T 4
  17929. | #define SIZEOF_INT64_T 8
  17930. | #define ALIGNMENT_INT64_T 8
  17931. | /* end confdefs.h. */
  17932. | #include <stdio.h>
  17933. | #ifdef HAVE_SYS_TYPES_H
  17934. | # include <sys/types.h>
  17935. | #endif
  17936. | #ifdef HAVE_SYS_STAT_H
  17937. | # include <sys/stat.h>
  17938. | #endif
  17939. | #ifdef STDC_HEADERS
  17940. | # include <stdlib.h>
  17941. | # include <stddef.h>
  17942. | #else
  17943. | # ifdef HAVE_STDLIB_H
  17944. | # include <stdlib.h>
  17945. | # endif
  17946. | #endif
  17947. | #ifdef HAVE_STRING_H
  17948. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  17949. | # include <memory.h>
  17950. | # endif
  17951. | # include <string.h>
  17952. | #endif
  17953. | #ifdef HAVE_STRINGS_H
  17954. | # include <strings.h>
  17955. | #endif
  17956. | #ifdef HAVE_INTTYPES_H
  17957. | # include <inttypes.h>
  17958. | #endif
  17959. | #ifdef HAVE_STDINT_H
  17960. | # include <stdint.h>
  17961. | #endif
  17962. | #ifdef HAVE_UNISTD_H
  17963. | # include <unistd.h>
  17964. | #endif
  17965. | int
  17966. | main ()
  17967. | {
  17968. | static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) <= 0)];
  17969. | test_array [0] = 0;
  17970. | return test_array [0];
  17971. |
  17972. | ;
  17973. | return 0;
  17974. | }
  17975. configure:13178: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  17976. conftest.c: In function 'main':
  17977. conftest.c:131:12: error: size of array 'test_array' is negative
  17978. static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) <= 1)];
  17979. ^~~~~~~~~~
  17980. configure:13178: $? = 1
  17981. configure: failed program was:
  17982. | /* confdefs.h */
  17983. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  17984. | #define PACKAGE_TARNAME "ghc-8.7"
  17985. | #define PACKAGE_VERSION "8.7"
  17986. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  17987. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  17988. | #define PACKAGE_URL ""
  17989. | #define STDC_HEADERS 1
  17990. | #define HAVE_SYS_TYPES_H 1
  17991. | #define HAVE_SYS_STAT_H 1
  17992. | #define HAVE_STDLIB_H 1
  17993. | #define HAVE_STRING_H 1
  17994. | #define HAVE_MEMORY_H 1
  17995. | #define HAVE_STRINGS_H 1
  17996. | #define HAVE_INTTYPES_H 1
  17997. | #define HAVE_STDINT_H 1
  17998. | #define HAVE_UNISTD_H 1
  17999. | #define __EXTENSIONS__ 1
  18000. | #define _ALL_SOURCE 1
  18001. | #define _GNU_SOURCE 1
  18002. | #define _POSIX_PTHREAD_SEMANTICS 1
  18003. | #define _TANDEM_SOURCE 1
  18004. | #define sUPPORTED_LLVM_VERSION (7,0)
  18005. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  18006. | #define STDC_HEADERS 1
  18007. | #define HAVE_CTYPE_H 1
  18008. | #define HAVE_DIRENT_H 1
  18009. | #define HAVE_DLFCN_H 1
  18010. | #define HAVE_ERRNO_H 1
  18011. | #define HAVE_FCNTL_H 1
  18012. | #define HAVE_GRP_H 1
  18013. | #define HAVE_LIMITS_H 1
  18014. | #define HAVE_LOCALE_H 1
  18015. | #define HAVE_NLIST_H 1
  18016. | #define HAVE_PTHREAD_H 1
  18017. | #define HAVE_PWD_H 1
  18018. | #define HAVE_SIGNAL_H 1
  18019. | #define HAVE_SYS_PARAM_H 1
  18020. | #define HAVE_SYS_MMAN_H 1
  18021. | #define HAVE_SYS_RESOURCE_H 1
  18022. | #define HAVE_SYS_SELECT_H 1
  18023. | #define HAVE_SYS_TIME_H 1
  18024. | #define HAVE_SYS_TIMEB_H 1
  18025. | #define HAVE_SYS_TIMERFD_H 1
  18026. | #define HAVE_SYS_TIMES_H 1
  18027. | #define HAVE_SYS_UTSNAME_H 1
  18028. | #define HAVE_SYS_WAIT_H 1
  18029. | #define HAVE_TERMIOS_H 1
  18030. | #define HAVE_TIME_H 1
  18031. | #define HAVE_UTIME_H 1
  18032. | #define HAVE_SCHED_H 1
  18033. | #define TIME_WITH_SYS_TIME 1
  18034. | #define HAVE_LONG_LONG 1
  18035. | #define SIZEOF_CHAR 1
  18036. | #define ALIGNMENT_CHAR 1
  18037. | #define SIZEOF_DOUBLE 8
  18038. | #define ALIGNMENT_DOUBLE 8
  18039. | #define SIZEOF_FLOAT 4
  18040. | #define ALIGNMENT_FLOAT 4
  18041. | #define SIZEOF_INT 4
  18042. | #define ALIGNMENT_INT 4
  18043. | #define SIZEOF_LONG 8
  18044. | #define ALIGNMENT_LONG 8
  18045. | #define SIZEOF_LONG_LONG 8
  18046. | #define ALIGNMENT_LONG_LONG 8
  18047. | #define SIZEOF_SHORT 2
  18048. | #define ALIGNMENT_SHORT 2
  18049. | #define SIZEOF_UNSIGNED_CHAR 1
  18050. | #define ALIGNMENT_UNSIGNED_CHAR 1
  18051. | #define SIZEOF_UNSIGNED_INT 4
  18052. | #define ALIGNMENT_UNSIGNED_INT 4
  18053. | #define SIZEOF_UNSIGNED_LONG 8
  18054. | #define ALIGNMENT_UNSIGNED_LONG 8
  18055. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  18056. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  18057. | #define SIZEOF_UNSIGNED_SHORT 2
  18058. | #define ALIGNMENT_UNSIGNED_SHORT 2
  18059. | #define SIZEOF_VOID_P 8
  18060. | #define ALIGNMENT_VOID_P 8
  18061. | #define SIZEOF_INT8_T 1
  18062. | #define ALIGNMENT_INT8_T 1
  18063. | #define SIZEOF_UINT8_T 1
  18064. | #define ALIGNMENT_UINT8_T 1
  18065. | #define SIZEOF_INT16_T 2
  18066. | #define ALIGNMENT_INT16_T 2
  18067. | #define SIZEOF_UINT16_T 2
  18068. | #define ALIGNMENT_UINT16_T 2
  18069. | #define SIZEOF_INT32_T 4
  18070. | #define ALIGNMENT_INT32_T 4
  18071. | #define SIZEOF_UINT32_T 4
  18072. | #define ALIGNMENT_UINT32_T 4
  18073. | #define SIZEOF_INT64_T 8
  18074. | #define ALIGNMENT_INT64_T 8
  18075. | /* end confdefs.h. */
  18076. | #include <stdio.h>
  18077. | #ifdef HAVE_SYS_TYPES_H
  18078. | # include <sys/types.h>
  18079. | #endif
  18080. | #ifdef HAVE_SYS_STAT_H
  18081. | # include <sys/stat.h>
  18082. | #endif
  18083. | #ifdef STDC_HEADERS
  18084. | # include <stdlib.h>
  18085. | # include <stddef.h>
  18086. | #else
  18087. | # ifdef HAVE_STDLIB_H
  18088. | # include <stdlib.h>
  18089. | # endif
  18090. | #endif
  18091. | #ifdef HAVE_STRING_H
  18092. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  18093. | # include <memory.h>
  18094. | # endif
  18095. | # include <string.h>
  18096. | #endif
  18097. | #ifdef HAVE_STRINGS_H
  18098. | # include <strings.h>
  18099. | #endif
  18100. | #ifdef HAVE_INTTYPES_H
  18101. | # include <inttypes.h>
  18102. | #endif
  18103. | #ifdef HAVE_STDINT_H
  18104. | # include <stdint.h>
  18105. | #endif
  18106. | #ifdef HAVE_UNISTD_H
  18107. | # include <unistd.h>
  18108. | #endif
  18109. | int
  18110. | main ()
  18111. | {
  18112. | static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) <= 1)];
  18113. | test_array [0] = 0;
  18114. | return test_array [0];
  18115. |
  18116. | ;
  18117. | return 0;
  18118. | }
  18119. configure:13178: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18120. conftest.c: In function 'main':
  18121. conftest.c:131:12: error: size of array 'test_array' is negative
  18122. static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) <= 3)];
  18123. ^~~~~~~~~~
  18124. configure:13178: $? = 1
  18125. configure: failed program was:
  18126. | /* confdefs.h */
  18127. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  18128. | #define PACKAGE_TARNAME "ghc-8.7"
  18129. | #define PACKAGE_VERSION "8.7"
  18130. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  18131. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  18132. | #define PACKAGE_URL ""
  18133. | #define STDC_HEADERS 1
  18134. | #define HAVE_SYS_TYPES_H 1
  18135. | #define HAVE_SYS_STAT_H 1
  18136. | #define HAVE_STDLIB_H 1
  18137. | #define HAVE_STRING_H 1
  18138. | #define HAVE_MEMORY_H 1
  18139. | #define HAVE_STRINGS_H 1
  18140. | #define HAVE_INTTYPES_H 1
  18141. | #define HAVE_STDINT_H 1
  18142. | #define HAVE_UNISTD_H 1
  18143. | #define __EXTENSIONS__ 1
  18144. | #define _ALL_SOURCE 1
  18145. | #define _GNU_SOURCE 1
  18146. | #define _POSIX_PTHREAD_SEMANTICS 1
  18147. | #define _TANDEM_SOURCE 1
  18148. | #define sUPPORTED_LLVM_VERSION (7,0)
  18149. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  18150. | #define STDC_HEADERS 1
  18151. | #define HAVE_CTYPE_H 1
  18152. | #define HAVE_DIRENT_H 1
  18153. | #define HAVE_DLFCN_H 1
  18154. | #define HAVE_ERRNO_H 1
  18155. | #define HAVE_FCNTL_H 1
  18156. | #define HAVE_GRP_H 1
  18157. | #define HAVE_LIMITS_H 1
  18158. | #define HAVE_LOCALE_H 1
  18159. | #define HAVE_NLIST_H 1
  18160. | #define HAVE_PTHREAD_H 1
  18161. | #define HAVE_PWD_H 1
  18162. | #define HAVE_SIGNAL_H 1
  18163. | #define HAVE_SYS_PARAM_H 1
  18164. | #define HAVE_SYS_MMAN_H 1
  18165. | #define HAVE_SYS_RESOURCE_H 1
  18166. | #define HAVE_SYS_SELECT_H 1
  18167. | #define HAVE_SYS_TIME_H 1
  18168. | #define HAVE_SYS_TIMEB_H 1
  18169. | #define HAVE_SYS_TIMERFD_H 1
  18170. | #define HAVE_SYS_TIMES_H 1
  18171. | #define HAVE_SYS_UTSNAME_H 1
  18172. | #define HAVE_SYS_WAIT_H 1
  18173. | #define HAVE_TERMIOS_H 1
  18174. | #define HAVE_TIME_H 1
  18175. | #define HAVE_UTIME_H 1
  18176. | #define HAVE_SCHED_H 1
  18177. | #define TIME_WITH_SYS_TIME 1
  18178. | #define HAVE_LONG_LONG 1
  18179. | #define SIZEOF_CHAR 1
  18180. | #define ALIGNMENT_CHAR 1
  18181. | #define SIZEOF_DOUBLE 8
  18182. | #define ALIGNMENT_DOUBLE 8
  18183. | #define SIZEOF_FLOAT 4
  18184. | #define ALIGNMENT_FLOAT 4
  18185. | #define SIZEOF_INT 4
  18186. | #define ALIGNMENT_INT 4
  18187. | #define SIZEOF_LONG 8
  18188. | #define ALIGNMENT_LONG 8
  18189. | #define SIZEOF_LONG_LONG 8
  18190. | #define ALIGNMENT_LONG_LONG 8
  18191. | #define SIZEOF_SHORT 2
  18192. | #define ALIGNMENT_SHORT 2
  18193. | #define SIZEOF_UNSIGNED_CHAR 1
  18194. | #define ALIGNMENT_UNSIGNED_CHAR 1
  18195. | #define SIZEOF_UNSIGNED_INT 4
  18196. | #define ALIGNMENT_UNSIGNED_INT 4
  18197. | #define SIZEOF_UNSIGNED_LONG 8
  18198. | #define ALIGNMENT_UNSIGNED_LONG 8
  18199. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  18200. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  18201. | #define SIZEOF_UNSIGNED_SHORT 2
  18202. | #define ALIGNMENT_UNSIGNED_SHORT 2
  18203. | #define SIZEOF_VOID_P 8
  18204. | #define ALIGNMENT_VOID_P 8
  18205. | #define SIZEOF_INT8_T 1
  18206. | #define ALIGNMENT_INT8_T 1
  18207. | #define SIZEOF_UINT8_T 1
  18208. | #define ALIGNMENT_UINT8_T 1
  18209. | #define SIZEOF_INT16_T 2
  18210. | #define ALIGNMENT_INT16_T 2
  18211. | #define SIZEOF_UINT16_T 2
  18212. | #define ALIGNMENT_UINT16_T 2
  18213. | #define SIZEOF_INT32_T 4
  18214. | #define ALIGNMENT_INT32_T 4
  18215. | #define SIZEOF_UINT32_T 4
  18216. | #define ALIGNMENT_UINT32_T 4
  18217. | #define SIZEOF_INT64_T 8
  18218. | #define ALIGNMENT_INT64_T 8
  18219. | /* end confdefs.h. */
  18220. | #include <stdio.h>
  18221. | #ifdef HAVE_SYS_TYPES_H
  18222. | # include <sys/types.h>
  18223. | #endif
  18224. | #ifdef HAVE_SYS_STAT_H
  18225. | # include <sys/stat.h>
  18226. | #endif
  18227. | #ifdef STDC_HEADERS
  18228. | # include <stdlib.h>
  18229. | # include <stddef.h>
  18230. | #else
  18231. | # ifdef HAVE_STDLIB_H
  18232. | # include <stdlib.h>
  18233. | # endif
  18234. | #endif
  18235. | #ifdef HAVE_STRING_H
  18236. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  18237. | # include <memory.h>
  18238. | # endif
  18239. | # include <string.h>
  18240. | #endif
  18241. | #ifdef HAVE_STRINGS_H
  18242. | # include <strings.h>
  18243. | #endif
  18244. | #ifdef HAVE_INTTYPES_H
  18245. | # include <inttypes.h>
  18246. | #endif
  18247. | #ifdef HAVE_STDINT_H
  18248. | # include <stdint.h>
  18249. | #endif
  18250. | #ifdef HAVE_UNISTD_H
  18251. | # include <unistd.h>
  18252. | #endif
  18253. | int
  18254. | main ()
  18255. | {
  18256. | static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) <= 3)];
  18257. | test_array [0] = 0;
  18258. | return test_array [0];
  18259. |
  18260. | ;
  18261. | return 0;
  18262. | }
  18263. configure:13178: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18264. conftest.c: In function 'main':
  18265. conftest.c:131:12: error: size of array 'test_array' is negative
  18266. static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) <= 7)];
  18267. ^~~~~~~~~~
  18268. configure:13178: $? = 1
  18269. configure: failed program was:
  18270. | /* confdefs.h */
  18271. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  18272. | #define PACKAGE_TARNAME "ghc-8.7"
  18273. | #define PACKAGE_VERSION "8.7"
  18274. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  18275. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  18276. | #define PACKAGE_URL ""
  18277. | #define STDC_HEADERS 1
  18278. | #define HAVE_SYS_TYPES_H 1
  18279. | #define HAVE_SYS_STAT_H 1
  18280. | #define HAVE_STDLIB_H 1
  18281. | #define HAVE_STRING_H 1
  18282. | #define HAVE_MEMORY_H 1
  18283. | #define HAVE_STRINGS_H 1
  18284. | #define HAVE_INTTYPES_H 1
  18285. | #define HAVE_STDINT_H 1
  18286. | #define HAVE_UNISTD_H 1
  18287. | #define __EXTENSIONS__ 1
  18288. | #define _ALL_SOURCE 1
  18289. | #define _GNU_SOURCE 1
  18290. | #define _POSIX_PTHREAD_SEMANTICS 1
  18291. | #define _TANDEM_SOURCE 1
  18292. | #define sUPPORTED_LLVM_VERSION (7,0)
  18293. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  18294. | #define STDC_HEADERS 1
  18295. | #define HAVE_CTYPE_H 1
  18296. | #define HAVE_DIRENT_H 1
  18297. | #define HAVE_DLFCN_H 1
  18298. | #define HAVE_ERRNO_H 1
  18299. | #define HAVE_FCNTL_H 1
  18300. | #define HAVE_GRP_H 1
  18301. | #define HAVE_LIMITS_H 1
  18302. | #define HAVE_LOCALE_H 1
  18303. | #define HAVE_NLIST_H 1
  18304. | #define HAVE_PTHREAD_H 1
  18305. | #define HAVE_PWD_H 1
  18306. | #define HAVE_SIGNAL_H 1
  18307. | #define HAVE_SYS_PARAM_H 1
  18308. | #define HAVE_SYS_MMAN_H 1
  18309. | #define HAVE_SYS_RESOURCE_H 1
  18310. | #define HAVE_SYS_SELECT_H 1
  18311. | #define HAVE_SYS_TIME_H 1
  18312. | #define HAVE_SYS_TIMEB_H 1
  18313. | #define HAVE_SYS_TIMERFD_H 1
  18314. | #define HAVE_SYS_TIMES_H 1
  18315. | #define HAVE_SYS_UTSNAME_H 1
  18316. | #define HAVE_SYS_WAIT_H 1
  18317. | #define HAVE_TERMIOS_H 1
  18318. | #define HAVE_TIME_H 1
  18319. | #define HAVE_UTIME_H 1
  18320. | #define HAVE_SCHED_H 1
  18321. | #define TIME_WITH_SYS_TIME 1
  18322. | #define HAVE_LONG_LONG 1
  18323. | #define SIZEOF_CHAR 1
  18324. | #define ALIGNMENT_CHAR 1
  18325. | #define SIZEOF_DOUBLE 8
  18326. | #define ALIGNMENT_DOUBLE 8
  18327. | #define SIZEOF_FLOAT 4
  18328. | #define ALIGNMENT_FLOAT 4
  18329. | #define SIZEOF_INT 4
  18330. | #define ALIGNMENT_INT 4
  18331. | #define SIZEOF_LONG 8
  18332. | #define ALIGNMENT_LONG 8
  18333. | #define SIZEOF_LONG_LONG 8
  18334. | #define ALIGNMENT_LONG_LONG 8
  18335. | #define SIZEOF_SHORT 2
  18336. | #define ALIGNMENT_SHORT 2
  18337. | #define SIZEOF_UNSIGNED_CHAR 1
  18338. | #define ALIGNMENT_UNSIGNED_CHAR 1
  18339. | #define SIZEOF_UNSIGNED_INT 4
  18340. | #define ALIGNMENT_UNSIGNED_INT 4
  18341. | #define SIZEOF_UNSIGNED_LONG 8
  18342. | #define ALIGNMENT_UNSIGNED_LONG 8
  18343. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  18344. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  18345. | #define SIZEOF_UNSIGNED_SHORT 2
  18346. | #define ALIGNMENT_UNSIGNED_SHORT 2
  18347. | #define SIZEOF_VOID_P 8
  18348. | #define ALIGNMENT_VOID_P 8
  18349. | #define SIZEOF_INT8_T 1
  18350. | #define ALIGNMENT_INT8_T 1
  18351. | #define SIZEOF_UINT8_T 1
  18352. | #define ALIGNMENT_UINT8_T 1
  18353. | #define SIZEOF_INT16_T 2
  18354. | #define ALIGNMENT_INT16_T 2
  18355. | #define SIZEOF_UINT16_T 2
  18356. | #define ALIGNMENT_UINT16_T 2
  18357. | #define SIZEOF_INT32_T 4
  18358. | #define ALIGNMENT_INT32_T 4
  18359. | #define SIZEOF_UINT32_T 4
  18360. | #define ALIGNMENT_UINT32_T 4
  18361. | #define SIZEOF_INT64_T 8
  18362. | #define ALIGNMENT_INT64_T 8
  18363. | /* end confdefs.h. */
  18364. | #include <stdio.h>
  18365. | #ifdef HAVE_SYS_TYPES_H
  18366. | # include <sys/types.h>
  18367. | #endif
  18368. | #ifdef HAVE_SYS_STAT_H
  18369. | # include <sys/stat.h>
  18370. | #endif
  18371. | #ifdef STDC_HEADERS
  18372. | # include <stdlib.h>
  18373. | # include <stddef.h>
  18374. | #else
  18375. | # ifdef HAVE_STDLIB_H
  18376. | # include <stdlib.h>
  18377. | # endif
  18378. | #endif
  18379. | #ifdef HAVE_STRING_H
  18380. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  18381. | # include <memory.h>
  18382. | # endif
  18383. | # include <string.h>
  18384. | #endif
  18385. | #ifdef HAVE_STRINGS_H
  18386. | # include <strings.h>
  18387. | #endif
  18388. | #ifdef HAVE_INTTYPES_H
  18389. | # include <inttypes.h>
  18390. | #endif
  18391. | #ifdef HAVE_STDINT_H
  18392. | # include <stdint.h>
  18393. | #endif
  18394. | #ifdef HAVE_UNISTD_H
  18395. | # include <unistd.h>
  18396. | #endif
  18397. | int
  18398. | main ()
  18399. | {
  18400. | static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) <= 7)];
  18401. | test_array [0] = 0;
  18402. | return test_array [0];
  18403. |
  18404. | ;
  18405. | return 0;
  18406. | }
  18407. configure:13178: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18408. configure:13178: $? = 0
  18409. configure:13178: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18410. configure:13178: $? = 0
  18411. configure:13178: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18412. configure:13178: $? = 0
  18413. configure:13178: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18414. configure:13178: $? = 0
  18415. configure:13192: result: 8
  18416. configure:13202: checking for uint64_t
  18417. configure:13202: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18418. configure:13202: $? = 0
  18419. configure:13202: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18420. conftest.c: In function 'main':
  18421. conftest.c:132:23: error: expected expression before ')' token
  18422. if (sizeof ((uint64_t)))
  18423. ^
  18424. configure:13202: $? = 1
  18425. configure: failed program was:
  18426. | /* confdefs.h */
  18427. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  18428. | #define PACKAGE_TARNAME "ghc-8.7"
  18429. | #define PACKAGE_VERSION "8.7"
  18430. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  18431. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  18432. | #define PACKAGE_URL ""
  18433. | #define STDC_HEADERS 1
  18434. | #define HAVE_SYS_TYPES_H 1
  18435. | #define HAVE_SYS_STAT_H 1
  18436. | #define HAVE_STDLIB_H 1
  18437. | #define HAVE_STRING_H 1
  18438. | #define HAVE_MEMORY_H 1
  18439. | #define HAVE_STRINGS_H 1
  18440. | #define HAVE_INTTYPES_H 1
  18441. | #define HAVE_STDINT_H 1
  18442. | #define HAVE_UNISTD_H 1
  18443. | #define __EXTENSIONS__ 1
  18444. | #define _ALL_SOURCE 1
  18445. | #define _GNU_SOURCE 1
  18446. | #define _POSIX_PTHREAD_SEMANTICS 1
  18447. | #define _TANDEM_SOURCE 1
  18448. | #define sUPPORTED_LLVM_VERSION (7,0)
  18449. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  18450. | #define STDC_HEADERS 1
  18451. | #define HAVE_CTYPE_H 1
  18452. | #define HAVE_DIRENT_H 1
  18453. | #define HAVE_DLFCN_H 1
  18454. | #define HAVE_ERRNO_H 1
  18455. | #define HAVE_FCNTL_H 1
  18456. | #define HAVE_GRP_H 1
  18457. | #define HAVE_LIMITS_H 1
  18458. | #define HAVE_LOCALE_H 1
  18459. | #define HAVE_NLIST_H 1
  18460. | #define HAVE_PTHREAD_H 1
  18461. | #define HAVE_PWD_H 1
  18462. | #define HAVE_SIGNAL_H 1
  18463. | #define HAVE_SYS_PARAM_H 1
  18464. | #define HAVE_SYS_MMAN_H 1
  18465. | #define HAVE_SYS_RESOURCE_H 1
  18466. | #define HAVE_SYS_SELECT_H 1
  18467. | #define HAVE_SYS_TIME_H 1
  18468. | #define HAVE_SYS_TIMEB_H 1
  18469. | #define HAVE_SYS_TIMERFD_H 1
  18470. | #define HAVE_SYS_TIMES_H 1
  18471. | #define HAVE_SYS_UTSNAME_H 1
  18472. | #define HAVE_SYS_WAIT_H 1
  18473. | #define HAVE_TERMIOS_H 1
  18474. | #define HAVE_TIME_H 1
  18475. | #define HAVE_UTIME_H 1
  18476. | #define HAVE_SCHED_H 1
  18477. | #define TIME_WITH_SYS_TIME 1
  18478. | #define HAVE_LONG_LONG 1
  18479. | #define SIZEOF_CHAR 1
  18480. | #define ALIGNMENT_CHAR 1
  18481. | #define SIZEOF_DOUBLE 8
  18482. | #define ALIGNMENT_DOUBLE 8
  18483. | #define SIZEOF_FLOAT 4
  18484. | #define ALIGNMENT_FLOAT 4
  18485. | #define SIZEOF_INT 4
  18486. | #define ALIGNMENT_INT 4
  18487. | #define SIZEOF_LONG 8
  18488. | #define ALIGNMENT_LONG 8
  18489. | #define SIZEOF_LONG_LONG 8
  18490. | #define ALIGNMENT_LONG_LONG 8
  18491. | #define SIZEOF_SHORT 2
  18492. | #define ALIGNMENT_SHORT 2
  18493. | #define SIZEOF_UNSIGNED_CHAR 1
  18494. | #define ALIGNMENT_UNSIGNED_CHAR 1
  18495. | #define SIZEOF_UNSIGNED_INT 4
  18496. | #define ALIGNMENT_UNSIGNED_INT 4
  18497. | #define SIZEOF_UNSIGNED_LONG 8
  18498. | #define ALIGNMENT_UNSIGNED_LONG 8
  18499. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  18500. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  18501. | #define SIZEOF_UNSIGNED_SHORT 2
  18502. | #define ALIGNMENT_UNSIGNED_SHORT 2
  18503. | #define SIZEOF_VOID_P 8
  18504. | #define ALIGNMENT_VOID_P 8
  18505. | #define SIZEOF_INT8_T 1
  18506. | #define ALIGNMENT_INT8_T 1
  18507. | #define SIZEOF_UINT8_T 1
  18508. | #define ALIGNMENT_UINT8_T 1
  18509. | #define SIZEOF_INT16_T 2
  18510. | #define ALIGNMENT_INT16_T 2
  18511. | #define SIZEOF_UINT16_T 2
  18512. | #define ALIGNMENT_UINT16_T 2
  18513. | #define SIZEOF_INT32_T 4
  18514. | #define ALIGNMENT_INT32_T 4
  18515. | #define SIZEOF_UINT32_T 4
  18516. | #define ALIGNMENT_UINT32_T 4
  18517. | #define SIZEOF_INT64_T 8
  18518. | #define ALIGNMENT_INT64_T 8
  18519. | #define SIZEOF_UINT64_T 8
  18520. | /* end confdefs.h. */
  18521. | #include <stdio.h>
  18522. | #ifdef HAVE_SYS_TYPES_H
  18523. | # include <sys/types.h>
  18524. | #endif
  18525. | #ifdef HAVE_SYS_STAT_H
  18526. | # include <sys/stat.h>
  18527. | #endif
  18528. | #ifdef STDC_HEADERS
  18529. | # include <stdlib.h>
  18530. | # include <stddef.h>
  18531. | #else
  18532. | # ifdef HAVE_STDLIB_H
  18533. | # include <stdlib.h>
  18534. | # endif
  18535. | #endif
  18536. | #ifdef HAVE_STRING_H
  18537. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  18538. | # include <memory.h>
  18539. | # endif
  18540. | # include <string.h>
  18541. | #endif
  18542. | #ifdef HAVE_STRINGS_H
  18543. | # include <strings.h>
  18544. | #endif
  18545. | #ifdef HAVE_INTTYPES_H
  18546. | # include <inttypes.h>
  18547. | #endif
  18548. | #ifdef HAVE_STDINT_H
  18549. | # include <stdint.h>
  18550. | #endif
  18551. | #ifdef HAVE_UNISTD_H
  18552. | # include <unistd.h>
  18553. | #endif
  18554. | int
  18555. | main ()
  18556. | {
  18557. | if (sizeof ((uint64_t)))
  18558. | return 0;
  18559. | ;
  18560. | return 0;
  18561. | }
  18562. configure:13202: result: yes
  18563. configure:13206: checking alignment of uint64_t
  18564. configure:13212: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18565. configure:13212: $? = 0
  18566. configure:13212: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18567. conftest.c: In function 'main':
  18568. conftest.c:132:12: error: size of array 'test_array' is negative
  18569. static int test_array [1 - 2 * !((offsetof(struct { char c; uint64_t ty; },ty)) <= 0)];
  18570. ^~~~~~~~~~
  18571. configure:13212: $? = 1
  18572. configure: failed program was:
  18573. | /* confdefs.h */
  18574. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  18575. | #define PACKAGE_TARNAME "ghc-8.7"
  18576. | #define PACKAGE_VERSION "8.7"
  18577. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  18578. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  18579. | #define PACKAGE_URL ""
  18580. | #define STDC_HEADERS 1
  18581. | #define HAVE_SYS_TYPES_H 1
  18582. | #define HAVE_SYS_STAT_H 1
  18583. | #define HAVE_STDLIB_H 1
  18584. | #define HAVE_STRING_H 1
  18585. | #define HAVE_MEMORY_H 1
  18586. | #define HAVE_STRINGS_H 1
  18587. | #define HAVE_INTTYPES_H 1
  18588. | #define HAVE_STDINT_H 1
  18589. | #define HAVE_UNISTD_H 1
  18590. | #define __EXTENSIONS__ 1
  18591. | #define _ALL_SOURCE 1
  18592. | #define _GNU_SOURCE 1
  18593. | #define _POSIX_PTHREAD_SEMANTICS 1
  18594. | #define _TANDEM_SOURCE 1
  18595. | #define sUPPORTED_LLVM_VERSION (7,0)
  18596. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  18597. | #define STDC_HEADERS 1
  18598. | #define HAVE_CTYPE_H 1
  18599. | #define HAVE_DIRENT_H 1
  18600. | #define HAVE_DLFCN_H 1
  18601. | #define HAVE_ERRNO_H 1
  18602. | #define HAVE_FCNTL_H 1
  18603. | #define HAVE_GRP_H 1
  18604. | #define HAVE_LIMITS_H 1
  18605. | #define HAVE_LOCALE_H 1
  18606. | #define HAVE_NLIST_H 1
  18607. | #define HAVE_PTHREAD_H 1
  18608. | #define HAVE_PWD_H 1
  18609. | #define HAVE_SIGNAL_H 1
  18610. | #define HAVE_SYS_PARAM_H 1
  18611. | #define HAVE_SYS_MMAN_H 1
  18612. | #define HAVE_SYS_RESOURCE_H 1
  18613. | #define HAVE_SYS_SELECT_H 1
  18614. | #define HAVE_SYS_TIME_H 1
  18615. | #define HAVE_SYS_TIMEB_H 1
  18616. | #define HAVE_SYS_TIMERFD_H 1
  18617. | #define HAVE_SYS_TIMES_H 1
  18618. | #define HAVE_SYS_UTSNAME_H 1
  18619. | #define HAVE_SYS_WAIT_H 1
  18620. | #define HAVE_TERMIOS_H 1
  18621. | #define HAVE_TIME_H 1
  18622. | #define HAVE_UTIME_H 1
  18623. | #define HAVE_SCHED_H 1
  18624. | #define TIME_WITH_SYS_TIME 1
  18625. | #define HAVE_LONG_LONG 1
  18626. | #define SIZEOF_CHAR 1
  18627. | #define ALIGNMENT_CHAR 1
  18628. | #define SIZEOF_DOUBLE 8
  18629. | #define ALIGNMENT_DOUBLE 8
  18630. | #define SIZEOF_FLOAT 4
  18631. | #define ALIGNMENT_FLOAT 4
  18632. | #define SIZEOF_INT 4
  18633. | #define ALIGNMENT_INT 4
  18634. | #define SIZEOF_LONG 8
  18635. | #define ALIGNMENT_LONG 8
  18636. | #define SIZEOF_LONG_LONG 8
  18637. | #define ALIGNMENT_LONG_LONG 8
  18638. | #define SIZEOF_SHORT 2
  18639. | #define ALIGNMENT_SHORT 2
  18640. | #define SIZEOF_UNSIGNED_CHAR 1
  18641. | #define ALIGNMENT_UNSIGNED_CHAR 1
  18642. | #define SIZEOF_UNSIGNED_INT 4
  18643. | #define ALIGNMENT_UNSIGNED_INT 4
  18644. | #define SIZEOF_UNSIGNED_LONG 8
  18645. | #define ALIGNMENT_UNSIGNED_LONG 8
  18646. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  18647. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  18648. | #define SIZEOF_UNSIGNED_SHORT 2
  18649. | #define ALIGNMENT_UNSIGNED_SHORT 2
  18650. | #define SIZEOF_VOID_P 8
  18651. | #define ALIGNMENT_VOID_P 8
  18652. | #define SIZEOF_INT8_T 1
  18653. | #define ALIGNMENT_INT8_T 1
  18654. | #define SIZEOF_UINT8_T 1
  18655. | #define ALIGNMENT_UINT8_T 1
  18656. | #define SIZEOF_INT16_T 2
  18657. | #define ALIGNMENT_INT16_T 2
  18658. | #define SIZEOF_UINT16_T 2
  18659. | #define ALIGNMENT_UINT16_T 2
  18660. | #define SIZEOF_INT32_T 4
  18661. | #define ALIGNMENT_INT32_T 4
  18662. | #define SIZEOF_UINT32_T 4
  18663. | #define ALIGNMENT_UINT32_T 4
  18664. | #define SIZEOF_INT64_T 8
  18665. | #define ALIGNMENT_INT64_T 8
  18666. | #define SIZEOF_UINT64_T 8
  18667. | /* end confdefs.h. */
  18668. | #include <stdio.h>
  18669. | #ifdef HAVE_SYS_TYPES_H
  18670. | # include <sys/types.h>
  18671. | #endif
  18672. | #ifdef HAVE_SYS_STAT_H
  18673. | # include <sys/stat.h>
  18674. | #endif
  18675. | #ifdef STDC_HEADERS
  18676. | # include <stdlib.h>
  18677. | # include <stddef.h>
  18678. | #else
  18679. | # ifdef HAVE_STDLIB_H
  18680. | # include <stdlib.h>
  18681. | # endif
  18682. | #endif
  18683. | #ifdef HAVE_STRING_H
  18684. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  18685. | # include <memory.h>
  18686. | # endif
  18687. | # include <string.h>
  18688. | #endif
  18689. | #ifdef HAVE_STRINGS_H
  18690. | # include <strings.h>
  18691. | #endif
  18692. | #ifdef HAVE_INTTYPES_H
  18693. | # include <inttypes.h>
  18694. | #endif
  18695. | #ifdef HAVE_STDINT_H
  18696. | # include <stdint.h>
  18697. | #endif
  18698. | #ifdef HAVE_UNISTD_H
  18699. | # include <unistd.h>
  18700. | #endif
  18701. | int
  18702. | main ()
  18703. | {
  18704. | static int test_array [1 - 2 * !((offsetof(struct { char c; uint64_t ty; },ty)) <= 0)];
  18705. | test_array [0] = 0;
  18706. | return test_array [0];
  18707. |
  18708. | ;
  18709. | return 0;
  18710. | }
  18711. configure:13212: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18712. conftest.c: In function 'main':
  18713. conftest.c:132:12: error: size of array 'test_array' is negative
  18714. static int test_array [1 - 2 * !((offsetof(struct { char c; uint64_t ty; },ty)) <= 1)];
  18715. ^~~~~~~~~~
  18716. configure:13212: $? = 1
  18717. configure: failed program was:
  18718. | /* confdefs.h */
  18719. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  18720. | #define PACKAGE_TARNAME "ghc-8.7"
  18721. | #define PACKAGE_VERSION "8.7"
  18722. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  18723. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  18724. | #define PACKAGE_URL ""
  18725. | #define STDC_HEADERS 1
  18726. | #define HAVE_SYS_TYPES_H 1
  18727. | #define HAVE_SYS_STAT_H 1
  18728. | #define HAVE_STDLIB_H 1
  18729. | #define HAVE_STRING_H 1
  18730. | #define HAVE_MEMORY_H 1
  18731. | #define HAVE_STRINGS_H 1
  18732. | #define HAVE_INTTYPES_H 1
  18733. | #define HAVE_STDINT_H 1
  18734. | #define HAVE_UNISTD_H 1
  18735. | #define __EXTENSIONS__ 1
  18736. | #define _ALL_SOURCE 1
  18737. | #define _GNU_SOURCE 1
  18738. | #define _POSIX_PTHREAD_SEMANTICS 1
  18739. | #define _TANDEM_SOURCE 1
  18740. | #define sUPPORTED_LLVM_VERSION (7,0)
  18741. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  18742. | #define STDC_HEADERS 1
  18743. | #define HAVE_CTYPE_H 1
  18744. | #define HAVE_DIRENT_H 1
  18745. | #define HAVE_DLFCN_H 1
  18746. | #define HAVE_ERRNO_H 1
  18747. | #define HAVE_FCNTL_H 1
  18748. | #define HAVE_GRP_H 1
  18749. | #define HAVE_LIMITS_H 1
  18750. | #define HAVE_LOCALE_H 1
  18751. | #define HAVE_NLIST_H 1
  18752. | #define HAVE_PTHREAD_H 1
  18753. | #define HAVE_PWD_H 1
  18754. | #define HAVE_SIGNAL_H 1
  18755. | #define HAVE_SYS_PARAM_H 1
  18756. | #define HAVE_SYS_MMAN_H 1
  18757. | #define HAVE_SYS_RESOURCE_H 1
  18758. | #define HAVE_SYS_SELECT_H 1
  18759. | #define HAVE_SYS_TIME_H 1
  18760. | #define HAVE_SYS_TIMEB_H 1
  18761. | #define HAVE_SYS_TIMERFD_H 1
  18762. | #define HAVE_SYS_TIMES_H 1
  18763. | #define HAVE_SYS_UTSNAME_H 1
  18764. | #define HAVE_SYS_WAIT_H 1
  18765. | #define HAVE_TERMIOS_H 1
  18766. | #define HAVE_TIME_H 1
  18767. | #define HAVE_UTIME_H 1
  18768. | #define HAVE_SCHED_H 1
  18769. | #define TIME_WITH_SYS_TIME 1
  18770. | #define HAVE_LONG_LONG 1
  18771. | #define SIZEOF_CHAR 1
  18772. | #define ALIGNMENT_CHAR 1
  18773. | #define SIZEOF_DOUBLE 8
  18774. | #define ALIGNMENT_DOUBLE 8
  18775. | #define SIZEOF_FLOAT 4
  18776. | #define ALIGNMENT_FLOAT 4
  18777. | #define SIZEOF_INT 4
  18778. | #define ALIGNMENT_INT 4
  18779. | #define SIZEOF_LONG 8
  18780. | #define ALIGNMENT_LONG 8
  18781. | #define SIZEOF_LONG_LONG 8
  18782. | #define ALIGNMENT_LONG_LONG 8
  18783. | #define SIZEOF_SHORT 2
  18784. | #define ALIGNMENT_SHORT 2
  18785. | #define SIZEOF_UNSIGNED_CHAR 1
  18786. | #define ALIGNMENT_UNSIGNED_CHAR 1
  18787. | #define SIZEOF_UNSIGNED_INT 4
  18788. | #define ALIGNMENT_UNSIGNED_INT 4
  18789. | #define SIZEOF_UNSIGNED_LONG 8
  18790. | #define ALIGNMENT_UNSIGNED_LONG 8
  18791. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  18792. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  18793. | #define SIZEOF_UNSIGNED_SHORT 2
  18794. | #define ALIGNMENT_UNSIGNED_SHORT 2
  18795. | #define SIZEOF_VOID_P 8
  18796. | #define ALIGNMENT_VOID_P 8
  18797. | #define SIZEOF_INT8_T 1
  18798. | #define ALIGNMENT_INT8_T 1
  18799. | #define SIZEOF_UINT8_T 1
  18800. | #define ALIGNMENT_UINT8_T 1
  18801. | #define SIZEOF_INT16_T 2
  18802. | #define ALIGNMENT_INT16_T 2
  18803. | #define SIZEOF_UINT16_T 2
  18804. | #define ALIGNMENT_UINT16_T 2
  18805. | #define SIZEOF_INT32_T 4
  18806. | #define ALIGNMENT_INT32_T 4
  18807. | #define SIZEOF_UINT32_T 4
  18808. | #define ALIGNMENT_UINT32_T 4
  18809. | #define SIZEOF_INT64_T 8
  18810. | #define ALIGNMENT_INT64_T 8
  18811. | #define SIZEOF_UINT64_T 8
  18812. | /* end confdefs.h. */
  18813. | #include <stdio.h>
  18814. | #ifdef HAVE_SYS_TYPES_H
  18815. | # include <sys/types.h>
  18816. | #endif
  18817. | #ifdef HAVE_SYS_STAT_H
  18818. | # include <sys/stat.h>
  18819. | #endif
  18820. | #ifdef STDC_HEADERS
  18821. | # include <stdlib.h>
  18822. | # include <stddef.h>
  18823. | #else
  18824. | # ifdef HAVE_STDLIB_H
  18825. | # include <stdlib.h>
  18826. | # endif
  18827. | #endif
  18828. | #ifdef HAVE_STRING_H
  18829. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  18830. | # include <memory.h>
  18831. | # endif
  18832. | # include <string.h>
  18833. | #endif
  18834. | #ifdef HAVE_STRINGS_H
  18835. | # include <strings.h>
  18836. | #endif
  18837. | #ifdef HAVE_INTTYPES_H
  18838. | # include <inttypes.h>
  18839. | #endif
  18840. | #ifdef HAVE_STDINT_H
  18841. | # include <stdint.h>
  18842. | #endif
  18843. | #ifdef HAVE_UNISTD_H
  18844. | # include <unistd.h>
  18845. | #endif
  18846. | int
  18847. | main ()
  18848. | {
  18849. | static int test_array [1 - 2 * !((offsetof(struct { char c; uint64_t ty; },ty)) <= 1)];
  18850. | test_array [0] = 0;
  18851. | return test_array [0];
  18852. |
  18853. | ;
  18854. | return 0;
  18855. | }
  18856. configure:13212: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  18857. conftest.c: In function 'main':
  18858. conftest.c:132:12: error: size of array 'test_array' is negative
  18859. static int test_array [1 - 2 * !((offsetof(struct { char c; uint64_t ty; },ty)) <= 3)];
  18860. ^~~~~~~~~~
  18861. configure:13212: $? = 1
  18862. configure: failed program was:
  18863. | /* confdefs.h */
  18864. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  18865. | #define PACKAGE_TARNAME "ghc-8.7"
  18866. | #define PACKAGE_VERSION "8.7"
  18867. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  18868. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  18869. | #define PACKAGE_URL ""
  18870. | #define STDC_HEADERS 1
  18871. | #define HAVE_SYS_TYPES_H 1
  18872. | #define HAVE_SYS_STAT_H 1
  18873. | #define HAVE_STDLIB_H 1
  18874. | #define HAVE_STRING_H 1
  18875. | #define HAVE_MEMORY_H 1
  18876. | #define HAVE_STRINGS_H 1
  18877. | #define HAVE_INTTYPES_H 1
  18878. | #define HAVE_STDINT_H 1
  18879. | #define HAVE_UNISTD_H 1
  18880. | #define __EXTENSIONS__ 1
  18881. | #define _ALL_SOURCE 1
  18882. | #define _GNU_SOURCE 1
  18883. | #define _POSIX_PTHREAD_SEMANTICS 1
  18884. | #define _TANDEM_SOURCE 1
  18885. | #define sUPPORTED_LLVM_VERSION (7,0)
  18886. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  18887. | #define STDC_HEADERS 1
  18888. | #define HAVE_CTYPE_H 1
  18889. | #define HAVE_DIRENT_H 1
  18890. | #define HAVE_DLFCN_H 1
  18891. | #define HAVE_ERRNO_H 1
  18892. | #define HAVE_FCNTL_H 1
  18893. | #define HAVE_GRP_H 1
  18894. | #define HAVE_LIMITS_H 1
  18895. | #define HAVE_LOCALE_H 1
  18896. | #define HAVE_NLIST_H 1
  18897. | #define HAVE_PTHREAD_H 1
  18898. | #define HAVE_PWD_H 1
  18899. | #define HAVE_SIGNAL_H 1
  18900. | #define HAVE_SYS_PARAM_H 1
  18901. | #define HAVE_SYS_MMAN_H 1
  18902. | #define HAVE_SYS_RESOURCE_H 1
  18903. | #define HAVE_SYS_SELECT_H 1
  18904. | #define HAVE_SYS_TIME_H 1
  18905. | #define HAVE_SYS_TIMEB_H 1
  18906. | #define HAVE_SYS_TIMERFD_H 1
  18907. | #define HAVE_SYS_TIMES_H 1
  18908. | #define HAVE_SYS_UTSNAME_H 1
  18909. | #define HAVE_SYS_WAIT_H 1
  18910. | #define HAVE_TERMIOS_H 1
  18911. | #define HAVE_TIME_H 1
  18912. | #define HAVE_UTIME_H 1
  18913. | #define HAVE_SCHED_H 1
  18914. | #define TIME_WITH_SYS_TIME 1
  18915. | #define HAVE_LONG_LONG 1
  18916. | #define SIZEOF_CHAR 1
  18917. | #define ALIGNMENT_CHAR 1
  18918. | #define SIZEOF_DOUBLE 8
  18919. | #define ALIGNMENT_DOUBLE 8
  18920. | #define SIZEOF_FLOAT 4
  18921. | #define ALIGNMENT_FLOAT 4
  18922. | #define SIZEOF_INT 4
  18923. | #define ALIGNMENT_INT 4
  18924. | #define SIZEOF_LONG 8
  18925. | #define ALIGNMENT_LONG 8
  18926. | #define SIZEOF_LONG_LONG 8
  18927. | #define ALIGNMENT_LONG_LONG 8
  18928. | #define SIZEOF_SHORT 2
  18929. | #define ALIGNMENT_SHORT 2
  18930. | #define SIZEOF_UNSIGNED_CHAR 1
  18931. | #define ALIGNMENT_UNSIGNED_CHAR 1
  18932. | #define SIZEOF_UNSIGNED_INT 4
  18933. | #define ALIGNMENT_UNSIGNED_INT 4
  18934. | #define SIZEOF_UNSIGNED_LONG 8
  18935. | #define ALIGNMENT_UNSIGNED_LONG 8
  18936. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  18937. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  18938. | #define SIZEOF_UNSIGNED_SHORT 2
  18939. | #define ALIGNMENT_UNSIGNED_SHORT 2
  18940. | #define SIZEOF_VOID_P 8
  18941. | #define ALIGNMENT_VOID_P 8
  18942. | #define SIZEOF_INT8_T 1
  18943. | #define ALIGNMENT_INT8_T 1
  18944. | #define SIZEOF_UINT8_T 1
  18945. | #define ALIGNMENT_UINT8_T 1
  18946. | #define SIZEOF_INT16_T 2
  18947. | #define ALIGNMENT_INT16_T 2
  18948. | #define SIZEOF_UINT16_T 2
  18949. | #define ALIGNMENT_UINT16_T 2
  18950. | #define SIZEOF_INT32_T 4
  18951. | #define ALIGNMENT_INT32_T 4
  18952. | #define SIZEOF_UINT32_T 4
  18953. | #define ALIGNMENT_UINT32_T 4
  18954. | #define SIZEOF_INT64_T 8
  18955. | #define ALIGNMENT_INT64_T 8
  18956. | #define SIZEOF_UINT64_T 8
  18957. | /* end confdefs.h. */
  18958. | #include <stdio.h>
  18959. | #ifdef HAVE_SYS_TYPES_H
  18960. | # include <sys/types.h>
  18961. | #endif
  18962. | #ifdef HAVE_SYS_STAT_H
  18963. | # include <sys/stat.h>
  18964. | #endif
  18965. | #ifdef STDC_HEADERS
  18966. | # include <stdlib.h>
  18967. | # include <stddef.h>
  18968. | #else
  18969. | # ifdef HAVE_STDLIB_H
  18970. | # include <stdlib.h>
  18971. | # endif
  18972. | #endif
  18973. | #ifdef HAVE_STRING_H
  18974. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  18975. | # include <memory.h>
  18976. | # endif
  18977. | # include <string.h>
  18978. | #endif
  18979. | #ifdef HAVE_STRINGS_H
  18980. | # include <strings.h>
  18981. | #endif
  18982. | #ifdef HAVE_INTTYPES_H
  18983. | # include <inttypes.h>
  18984. | #endif
  18985. | #ifdef HAVE_STDINT_H
  18986. | # include <stdint.h>
  18987. | #endif
  18988. | #ifdef HAVE_UNISTD_H
  18989. | # include <unistd.h>
  18990. | #endif
  18991. | int
  18992. | main ()
  18993. | {
  18994. | static int test_array [1 - 2 * !((offsetof(struct { char c; uint64_t ty; },ty)) <= 3)];
  18995. | test_array [0] = 0;
  18996. | return test_array [0];
  18997. |
  18998. | ;
  18999. | return 0;
  19000. | }
  19001. configure:13212: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  19002. conftest.c: In function 'main':
  19003. conftest.c:132:12: error: size of array 'test_array' is negative
  19004. static int test_array [1 - 2 * !((offsetof(struct { char c; uint64_t ty; },ty)) <= 7)];
  19005. ^~~~~~~~~~
  19006. configure:13212: $? = 1
  19007. configure: failed program was:
  19008. | /* confdefs.h */
  19009. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  19010. | #define PACKAGE_TARNAME "ghc-8.7"
  19011. | #define PACKAGE_VERSION "8.7"
  19012. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  19013. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  19014. | #define PACKAGE_URL ""
  19015. | #define STDC_HEADERS 1
  19016. | #define HAVE_SYS_TYPES_H 1
  19017. | #define HAVE_SYS_STAT_H 1
  19018. | #define HAVE_STDLIB_H 1
  19019. | #define HAVE_STRING_H 1
  19020. | #define HAVE_MEMORY_H 1
  19021. | #define HAVE_STRINGS_H 1
  19022. | #define HAVE_INTTYPES_H 1
  19023. | #define HAVE_STDINT_H 1
  19024. | #define HAVE_UNISTD_H 1
  19025. | #define __EXTENSIONS__ 1
  19026. | #define _ALL_SOURCE 1
  19027. | #define _GNU_SOURCE 1
  19028. | #define _POSIX_PTHREAD_SEMANTICS 1
  19029. | #define _TANDEM_SOURCE 1
  19030. | #define sUPPORTED_LLVM_VERSION (7,0)
  19031. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  19032. | #define STDC_HEADERS 1
  19033. | #define HAVE_CTYPE_H 1
  19034. | #define HAVE_DIRENT_H 1
  19035. | #define HAVE_DLFCN_H 1
  19036. | #define HAVE_ERRNO_H 1
  19037. | #define HAVE_FCNTL_H 1
  19038. | #define HAVE_GRP_H 1
  19039. | #define HAVE_LIMITS_H 1
  19040. | #define HAVE_LOCALE_H 1
  19041. | #define HAVE_NLIST_H 1
  19042. | #define HAVE_PTHREAD_H 1
  19043. | #define HAVE_PWD_H 1
  19044. | #define HAVE_SIGNAL_H 1
  19045. | #define HAVE_SYS_PARAM_H 1
  19046. | #define HAVE_SYS_MMAN_H 1
  19047. | #define HAVE_SYS_RESOURCE_H 1
  19048. | #define HAVE_SYS_SELECT_H 1
  19049. | #define HAVE_SYS_TIME_H 1
  19050. | #define HAVE_SYS_TIMEB_H 1
  19051. | #define HAVE_SYS_TIMERFD_H 1
  19052. | #define HAVE_SYS_TIMES_H 1
  19053. | #define HAVE_SYS_UTSNAME_H 1
  19054. | #define HAVE_SYS_WAIT_H 1
  19055. | #define HAVE_TERMIOS_H 1
  19056. | #define HAVE_TIME_H 1
  19057. | #define HAVE_UTIME_H 1
  19058. | #define HAVE_SCHED_H 1
  19059. | #define TIME_WITH_SYS_TIME 1
  19060. | #define HAVE_LONG_LONG 1
  19061. | #define SIZEOF_CHAR 1
  19062. | #define ALIGNMENT_CHAR 1
  19063. | #define SIZEOF_DOUBLE 8
  19064. | #define ALIGNMENT_DOUBLE 8
  19065. | #define SIZEOF_FLOAT 4
  19066. | #define ALIGNMENT_FLOAT 4
  19067. | #define SIZEOF_INT 4
  19068. | #define ALIGNMENT_INT 4
  19069. | #define SIZEOF_LONG 8
  19070. | #define ALIGNMENT_LONG 8
  19071. | #define SIZEOF_LONG_LONG 8
  19072. | #define ALIGNMENT_LONG_LONG 8
  19073. | #define SIZEOF_SHORT 2
  19074. | #define ALIGNMENT_SHORT 2
  19075. | #define SIZEOF_UNSIGNED_CHAR 1
  19076. | #define ALIGNMENT_UNSIGNED_CHAR 1
  19077. | #define SIZEOF_UNSIGNED_INT 4
  19078. | #define ALIGNMENT_UNSIGNED_INT 4
  19079. | #define SIZEOF_UNSIGNED_LONG 8
  19080. | #define ALIGNMENT_UNSIGNED_LONG 8
  19081. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  19082. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  19083. | #define SIZEOF_UNSIGNED_SHORT 2
  19084. | #define ALIGNMENT_UNSIGNED_SHORT 2
  19085. | #define SIZEOF_VOID_P 8
  19086. | #define ALIGNMENT_VOID_P 8
  19087. | #define SIZEOF_INT8_T 1
  19088. | #define ALIGNMENT_INT8_T 1
  19089. | #define SIZEOF_UINT8_T 1
  19090. | #define ALIGNMENT_UINT8_T 1
  19091. | #define SIZEOF_INT16_T 2
  19092. | #define ALIGNMENT_INT16_T 2
  19093. | #define SIZEOF_UINT16_T 2
  19094. | #define ALIGNMENT_UINT16_T 2
  19095. | #define SIZEOF_INT32_T 4
  19096. | #define ALIGNMENT_INT32_T 4
  19097. | #define SIZEOF_UINT32_T 4
  19098. | #define ALIGNMENT_UINT32_T 4
  19099. | #define SIZEOF_INT64_T 8
  19100. | #define ALIGNMENT_INT64_T 8
  19101. | #define SIZEOF_UINT64_T 8
  19102. | /* end confdefs.h. */
  19103. | #include <stdio.h>
  19104. | #ifdef HAVE_SYS_TYPES_H
  19105. | # include <sys/types.h>
  19106. | #endif
  19107. | #ifdef HAVE_SYS_STAT_H
  19108. | # include <sys/stat.h>
  19109. | #endif
  19110. | #ifdef STDC_HEADERS
  19111. | # include <stdlib.h>
  19112. | # include <stddef.h>
  19113. | #else
  19114. | # ifdef HAVE_STDLIB_H
  19115. | # include <stdlib.h>
  19116. | # endif
  19117. | #endif
  19118. | #ifdef HAVE_STRING_H
  19119. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  19120. | # include <memory.h>
  19121. | # endif
  19122. | # include <string.h>
  19123. | #endif
  19124. | #ifdef HAVE_STRINGS_H
  19125. | # include <strings.h>
  19126. | #endif
  19127. | #ifdef HAVE_INTTYPES_H
  19128. | # include <inttypes.h>
  19129. | #endif
  19130. | #ifdef HAVE_STDINT_H
  19131. | # include <stdint.h>
  19132. | #endif
  19133. | #ifdef HAVE_UNISTD_H
  19134. | # include <unistd.h>
  19135. | #endif
  19136. | int
  19137. | main ()
  19138. | {
  19139. | static int test_array [1 - 2 * !((offsetof(struct { char c; uint64_t ty; },ty)) <= 7)];
  19140. | test_array [0] = 0;
  19141. | return test_array [0];
  19142. |
  19143. | ;
  19144. | return 0;
  19145. | }
  19146. configure:13212: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  19147. configure:13212: $? = 0
  19148. configure:13212: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  19149. configure:13212: $? = 0
  19150. configure:13212: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  19151. configure:13212: $? = 0
  19152. configure:13212: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  19153. configure:13212: $? = 0
  19154. configure:13224: result: 8
  19155. configure:13242: checking for WinExec
  19156. configure:13258: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19157. conftest.c:97:10: fatal error: windows.h: No such file or directory
  19158. #include <windows.h>
  19159. ^~~~~~~~~~~
  19160. compilation terminated.
  19161. configure:13258: $? = 1
  19162. configure: failed program was:
  19163. | /* confdefs.h */
  19164. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  19165. | #define PACKAGE_TARNAME "ghc-8.7"
  19166. | #define PACKAGE_VERSION "8.7"
  19167. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  19168. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  19169. | #define PACKAGE_URL ""
  19170. | #define STDC_HEADERS 1
  19171. | #define HAVE_SYS_TYPES_H 1
  19172. | #define HAVE_SYS_STAT_H 1
  19173. | #define HAVE_STDLIB_H 1
  19174. | #define HAVE_STRING_H 1
  19175. | #define HAVE_MEMORY_H 1
  19176. | #define HAVE_STRINGS_H 1
  19177. | #define HAVE_INTTYPES_H 1
  19178. | #define HAVE_STDINT_H 1
  19179. | #define HAVE_UNISTD_H 1
  19180. | #define __EXTENSIONS__ 1
  19181. | #define _ALL_SOURCE 1
  19182. | #define _GNU_SOURCE 1
  19183. | #define _POSIX_PTHREAD_SEMANTICS 1
  19184. | #define _TANDEM_SOURCE 1
  19185. | #define sUPPORTED_LLVM_VERSION (7,0)
  19186. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  19187. | #define STDC_HEADERS 1
  19188. | #define HAVE_CTYPE_H 1
  19189. | #define HAVE_DIRENT_H 1
  19190. | #define HAVE_DLFCN_H 1
  19191. | #define HAVE_ERRNO_H 1
  19192. | #define HAVE_FCNTL_H 1
  19193. | #define HAVE_GRP_H 1
  19194. | #define HAVE_LIMITS_H 1
  19195. | #define HAVE_LOCALE_H 1
  19196. | #define HAVE_NLIST_H 1
  19197. | #define HAVE_PTHREAD_H 1
  19198. | #define HAVE_PWD_H 1
  19199. | #define HAVE_SIGNAL_H 1
  19200. | #define HAVE_SYS_PARAM_H 1
  19201. | #define HAVE_SYS_MMAN_H 1
  19202. | #define HAVE_SYS_RESOURCE_H 1
  19203. | #define HAVE_SYS_SELECT_H 1
  19204. | #define HAVE_SYS_TIME_H 1
  19205. | #define HAVE_SYS_TIMEB_H 1
  19206. | #define HAVE_SYS_TIMERFD_H 1
  19207. | #define HAVE_SYS_TIMES_H 1
  19208. | #define HAVE_SYS_UTSNAME_H 1
  19209. | #define HAVE_SYS_WAIT_H 1
  19210. | #define HAVE_TERMIOS_H 1
  19211. | #define HAVE_TIME_H 1
  19212. | #define HAVE_UTIME_H 1
  19213. | #define HAVE_SCHED_H 1
  19214. | #define TIME_WITH_SYS_TIME 1
  19215. | #define HAVE_LONG_LONG 1
  19216. | #define SIZEOF_CHAR 1
  19217. | #define ALIGNMENT_CHAR 1
  19218. | #define SIZEOF_DOUBLE 8
  19219. | #define ALIGNMENT_DOUBLE 8
  19220. | #define SIZEOF_FLOAT 4
  19221. | #define ALIGNMENT_FLOAT 4
  19222. | #define SIZEOF_INT 4
  19223. | #define ALIGNMENT_INT 4
  19224. | #define SIZEOF_LONG 8
  19225. | #define ALIGNMENT_LONG 8
  19226. | #define SIZEOF_LONG_LONG 8
  19227. | #define ALIGNMENT_LONG_LONG 8
  19228. | #define SIZEOF_SHORT 2
  19229. | #define ALIGNMENT_SHORT 2
  19230. | #define SIZEOF_UNSIGNED_CHAR 1
  19231. | #define ALIGNMENT_UNSIGNED_CHAR 1
  19232. | #define SIZEOF_UNSIGNED_INT 4
  19233. | #define ALIGNMENT_UNSIGNED_INT 4
  19234. | #define SIZEOF_UNSIGNED_LONG 8
  19235. | #define ALIGNMENT_UNSIGNED_LONG 8
  19236. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  19237. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  19238. | #define SIZEOF_UNSIGNED_SHORT 2
  19239. | #define ALIGNMENT_UNSIGNED_SHORT 2
  19240. | #define SIZEOF_VOID_P 8
  19241. | #define ALIGNMENT_VOID_P 8
  19242. | #define SIZEOF_INT8_T 1
  19243. | #define ALIGNMENT_INT8_T 1
  19244. | #define SIZEOF_UINT8_T 1
  19245. | #define ALIGNMENT_UINT8_T 1
  19246. | #define SIZEOF_INT16_T 2
  19247. | #define ALIGNMENT_INT16_T 2
  19248. | #define SIZEOF_UINT16_T 2
  19249. | #define ALIGNMENT_UINT16_T 2
  19250. | #define SIZEOF_INT32_T 4
  19251. | #define ALIGNMENT_INT32_T 4
  19252. | #define SIZEOF_UINT32_T 4
  19253. | #define ALIGNMENT_UINT32_T 4
  19254. | #define SIZEOF_INT64_T 8
  19255. | #define ALIGNMENT_INT64_T 8
  19256. | #define SIZEOF_UINT64_T 8
  19257. | #define ALIGNMENT_UINT64_T 8
  19258. | /* end confdefs.h. */
  19259. | #include <windows.h>
  19260. | int
  19261. | main ()
  19262. | {
  19263. | WinExec("",0)
  19264. | ;
  19265. | return 0;
  19266. | }
  19267. configure:13266: result: no
  19268. configure:13274: checking for GetModuleFileName
  19269. configure:13290: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19270. conftest.c:97:10: fatal error: windows.h: No such file or directory
  19271. #include <windows.h>
  19272. ^~~~~~~~~~~
  19273. compilation terminated.
  19274. configure:13290: $? = 1
  19275. configure: failed program was:
  19276. | /* confdefs.h */
  19277. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  19278. | #define PACKAGE_TARNAME "ghc-8.7"
  19279. | #define PACKAGE_VERSION "8.7"
  19280. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  19281. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  19282. | #define PACKAGE_URL ""
  19283. | #define STDC_HEADERS 1
  19284. | #define HAVE_SYS_TYPES_H 1
  19285. | #define HAVE_SYS_STAT_H 1
  19286. | #define HAVE_STDLIB_H 1
  19287. | #define HAVE_STRING_H 1
  19288. | #define HAVE_MEMORY_H 1
  19289. | #define HAVE_STRINGS_H 1
  19290. | #define HAVE_INTTYPES_H 1
  19291. | #define HAVE_STDINT_H 1
  19292. | #define HAVE_UNISTD_H 1
  19293. | #define __EXTENSIONS__ 1
  19294. | #define _ALL_SOURCE 1
  19295. | #define _GNU_SOURCE 1
  19296. | #define _POSIX_PTHREAD_SEMANTICS 1
  19297. | #define _TANDEM_SOURCE 1
  19298. | #define sUPPORTED_LLVM_VERSION (7,0)
  19299. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  19300. | #define STDC_HEADERS 1
  19301. | #define HAVE_CTYPE_H 1
  19302. | #define HAVE_DIRENT_H 1
  19303. | #define HAVE_DLFCN_H 1
  19304. | #define HAVE_ERRNO_H 1
  19305. | #define HAVE_FCNTL_H 1
  19306. | #define HAVE_GRP_H 1
  19307. | #define HAVE_LIMITS_H 1
  19308. | #define HAVE_LOCALE_H 1
  19309. | #define HAVE_NLIST_H 1
  19310. | #define HAVE_PTHREAD_H 1
  19311. | #define HAVE_PWD_H 1
  19312. | #define HAVE_SIGNAL_H 1
  19313. | #define HAVE_SYS_PARAM_H 1
  19314. | #define HAVE_SYS_MMAN_H 1
  19315. | #define HAVE_SYS_RESOURCE_H 1
  19316. | #define HAVE_SYS_SELECT_H 1
  19317. | #define HAVE_SYS_TIME_H 1
  19318. | #define HAVE_SYS_TIMEB_H 1
  19319. | #define HAVE_SYS_TIMERFD_H 1
  19320. | #define HAVE_SYS_TIMES_H 1
  19321. | #define HAVE_SYS_UTSNAME_H 1
  19322. | #define HAVE_SYS_WAIT_H 1
  19323. | #define HAVE_TERMIOS_H 1
  19324. | #define HAVE_TIME_H 1
  19325. | #define HAVE_UTIME_H 1
  19326. | #define HAVE_SCHED_H 1
  19327. | #define TIME_WITH_SYS_TIME 1
  19328. | #define HAVE_LONG_LONG 1
  19329. | #define SIZEOF_CHAR 1
  19330. | #define ALIGNMENT_CHAR 1
  19331. | #define SIZEOF_DOUBLE 8
  19332. | #define ALIGNMENT_DOUBLE 8
  19333. | #define SIZEOF_FLOAT 4
  19334. | #define ALIGNMENT_FLOAT 4
  19335. | #define SIZEOF_INT 4
  19336. | #define ALIGNMENT_INT 4
  19337. | #define SIZEOF_LONG 8
  19338. | #define ALIGNMENT_LONG 8
  19339. | #define SIZEOF_LONG_LONG 8
  19340. | #define ALIGNMENT_LONG_LONG 8
  19341. | #define SIZEOF_SHORT 2
  19342. | #define ALIGNMENT_SHORT 2
  19343. | #define SIZEOF_UNSIGNED_CHAR 1
  19344. | #define ALIGNMENT_UNSIGNED_CHAR 1
  19345. | #define SIZEOF_UNSIGNED_INT 4
  19346. | #define ALIGNMENT_UNSIGNED_INT 4
  19347. | #define SIZEOF_UNSIGNED_LONG 8
  19348. | #define ALIGNMENT_UNSIGNED_LONG 8
  19349. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  19350. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  19351. | #define SIZEOF_UNSIGNED_SHORT 2
  19352. | #define ALIGNMENT_UNSIGNED_SHORT 2
  19353. | #define SIZEOF_VOID_P 8
  19354. | #define ALIGNMENT_VOID_P 8
  19355. | #define SIZEOF_INT8_T 1
  19356. | #define ALIGNMENT_INT8_T 1
  19357. | #define SIZEOF_UINT8_T 1
  19358. | #define ALIGNMENT_UINT8_T 1
  19359. | #define SIZEOF_INT16_T 2
  19360. | #define ALIGNMENT_INT16_T 2
  19361. | #define SIZEOF_UINT16_T 2
  19362. | #define ALIGNMENT_UINT16_T 2
  19363. | #define SIZEOF_INT32_T 4
  19364. | #define ALIGNMENT_INT32_T 4
  19365. | #define SIZEOF_UINT32_T 4
  19366. | #define ALIGNMENT_UINT32_T 4
  19367. | #define SIZEOF_INT64_T 8
  19368. | #define ALIGNMENT_INT64_T 8
  19369. | #define SIZEOF_UINT64_T 8
  19370. | #define ALIGNMENT_UINT64_T 8
  19371. | /* end confdefs.h. */
  19372. | #include <windows.h>
  19373. | int
  19374. | main ()
  19375. | {
  19376. | GetModuleFileName((HMODULE)0,(LPTSTR)0,0)
  19377. | ;
  19378. | return 0;
  19379. | }
  19380. configure:13298: result: no
  19381. configure:13309: checking for getclock
  19382. configure:13309: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19383. /run/user/1001/ccXUc5pZ.o: In function `main':
  19384. conftest.c:(.text+0xa): undefined reference to `getclock'
  19385. collect2: error: ld returned 1 exit status
  19386. configure:13309: $? = 1
  19387. configure: failed program was:
  19388. | /* confdefs.h */
  19389. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  19390. | #define PACKAGE_TARNAME "ghc-8.7"
  19391. | #define PACKAGE_VERSION "8.7"
  19392. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  19393. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  19394. | #define PACKAGE_URL ""
  19395. | #define STDC_HEADERS 1
  19396. | #define HAVE_SYS_TYPES_H 1
  19397. | #define HAVE_SYS_STAT_H 1
  19398. | #define HAVE_STDLIB_H 1
  19399. | #define HAVE_STRING_H 1
  19400. | #define HAVE_MEMORY_H 1
  19401. | #define HAVE_STRINGS_H 1
  19402. | #define HAVE_INTTYPES_H 1
  19403. | #define HAVE_STDINT_H 1
  19404. | #define HAVE_UNISTD_H 1
  19405. | #define __EXTENSIONS__ 1
  19406. | #define _ALL_SOURCE 1
  19407. | #define _GNU_SOURCE 1
  19408. | #define _POSIX_PTHREAD_SEMANTICS 1
  19409. | #define _TANDEM_SOURCE 1
  19410. | #define sUPPORTED_LLVM_VERSION (7,0)
  19411. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  19412. | #define STDC_HEADERS 1
  19413. | #define HAVE_CTYPE_H 1
  19414. | #define HAVE_DIRENT_H 1
  19415. | #define HAVE_DLFCN_H 1
  19416. | #define HAVE_ERRNO_H 1
  19417. | #define HAVE_FCNTL_H 1
  19418. | #define HAVE_GRP_H 1
  19419. | #define HAVE_LIMITS_H 1
  19420. | #define HAVE_LOCALE_H 1
  19421. | #define HAVE_NLIST_H 1
  19422. | #define HAVE_PTHREAD_H 1
  19423. | #define HAVE_PWD_H 1
  19424. | #define HAVE_SIGNAL_H 1
  19425. | #define HAVE_SYS_PARAM_H 1
  19426. | #define HAVE_SYS_MMAN_H 1
  19427. | #define HAVE_SYS_RESOURCE_H 1
  19428. | #define HAVE_SYS_SELECT_H 1
  19429. | #define HAVE_SYS_TIME_H 1
  19430. | #define HAVE_SYS_TIMEB_H 1
  19431. | #define HAVE_SYS_TIMERFD_H 1
  19432. | #define HAVE_SYS_TIMES_H 1
  19433. | #define HAVE_SYS_UTSNAME_H 1
  19434. | #define HAVE_SYS_WAIT_H 1
  19435. | #define HAVE_TERMIOS_H 1
  19436. | #define HAVE_TIME_H 1
  19437. | #define HAVE_UTIME_H 1
  19438. | #define HAVE_SCHED_H 1
  19439. | #define TIME_WITH_SYS_TIME 1
  19440. | #define HAVE_LONG_LONG 1
  19441. | #define SIZEOF_CHAR 1
  19442. | #define ALIGNMENT_CHAR 1
  19443. | #define SIZEOF_DOUBLE 8
  19444. | #define ALIGNMENT_DOUBLE 8
  19445. | #define SIZEOF_FLOAT 4
  19446. | #define ALIGNMENT_FLOAT 4
  19447. | #define SIZEOF_INT 4
  19448. | #define ALIGNMENT_INT 4
  19449. | #define SIZEOF_LONG 8
  19450. | #define ALIGNMENT_LONG 8
  19451. | #define SIZEOF_LONG_LONG 8
  19452. | #define ALIGNMENT_LONG_LONG 8
  19453. | #define SIZEOF_SHORT 2
  19454. | #define ALIGNMENT_SHORT 2
  19455. | #define SIZEOF_UNSIGNED_CHAR 1
  19456. | #define ALIGNMENT_UNSIGNED_CHAR 1
  19457. | #define SIZEOF_UNSIGNED_INT 4
  19458. | #define ALIGNMENT_UNSIGNED_INT 4
  19459. | #define SIZEOF_UNSIGNED_LONG 8
  19460. | #define ALIGNMENT_UNSIGNED_LONG 8
  19461. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  19462. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  19463. | #define SIZEOF_UNSIGNED_SHORT 2
  19464. | #define ALIGNMENT_UNSIGNED_SHORT 2
  19465. | #define SIZEOF_VOID_P 8
  19466. | #define ALIGNMENT_VOID_P 8
  19467. | #define SIZEOF_INT8_T 1
  19468. | #define ALIGNMENT_INT8_T 1
  19469. | #define SIZEOF_UINT8_T 1
  19470. | #define ALIGNMENT_UINT8_T 1
  19471. | #define SIZEOF_INT16_T 2
  19472. | #define ALIGNMENT_INT16_T 2
  19473. | #define SIZEOF_UINT16_T 2
  19474. | #define ALIGNMENT_UINT16_T 2
  19475. | #define SIZEOF_INT32_T 4
  19476. | #define ALIGNMENT_INT32_T 4
  19477. | #define SIZEOF_UINT32_T 4
  19478. | #define ALIGNMENT_UINT32_T 4
  19479. | #define SIZEOF_INT64_T 8
  19480. | #define ALIGNMENT_INT64_T 8
  19481. | #define SIZEOF_UINT64_T 8
  19482. | #define ALIGNMENT_UINT64_T 8
  19483. | /* end confdefs.h. */
  19484. | /* Define getclock to an innocuous variant, in case <limits.h> declares getclock.
  19485. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  19486. | #define getclock innocuous_getclock
  19487. |
  19488. | /* System header to define __stub macros and hopefully few prototypes,
  19489. | which can conflict with char getclock (); below.
  19490. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  19491. | <limits.h> exists even on freestanding compilers. */
  19492. |
  19493. | #ifdef __STDC__
  19494. | # include <limits.h>
  19495. | #else
  19496. | # include <assert.h>
  19497. | #endif
  19498. |
  19499. | #undef getclock
  19500. |
  19501. | /* Override any GCC internal prototype to avoid an error.
  19502. | Use char because int might match the return type of a GCC
  19503. | builtin and then its argument prototype would still apply. */
  19504. | #ifdef __cplusplus
  19505. | extern "C"
  19506. | #endif
  19507. | char getclock ();
  19508. | /* The GNU C library defines this for functions which it implements
  19509. | to always fail with ENOSYS. Some functions are actually named
  19510. | something starting with __ and the normal name is an alias. */
  19511. | #if defined __stub_getclock || defined __stub___getclock
  19512. | choke me
  19513. | #endif
  19514. |
  19515. | int
  19516. | main ()
  19517. | {
  19518. | return getclock ();
  19519. | ;
  19520. | return 0;
  19521. | }
  19522. configure:13309: result: no
  19523. configure:13309: checking for getrusage
  19524. configure:13309: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19525. configure:13309: $? = 0
  19526. configure:13309: result: yes
  19527. configure:13309: checking for gettimeofday
  19528. configure:13309: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19529. configure:13309: $? = 0
  19530. configure:13309: result: yes
  19531. configure:13309: checking for setitimer
  19532. configure:13309: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19533. configure:13309: $? = 0
  19534. configure:13309: result: yes
  19535. configure:13309: checking for siginterrupt
  19536. configure:13309: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19537. configure:13309: $? = 0
  19538. configure:13309: result: yes
  19539. configure:13309: checking for sysconf
  19540. configure:13309: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19541. configure:13309: $? = 0
  19542. configure:13309: result: yes
  19543. configure:13309: checking for times
  19544. configure:13309: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19545. configure:13309: $? = 0
  19546. configure:13309: result: yes
  19547. configure:13309: checking for ctime_r
  19548. configure:13309: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19549. configure:13309: $? = 0
  19550. configure:13309: result: yes
  19551. configure:13309: checking for sched_setaffinity
  19552. configure:13309: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19553. configure:13309: $? = 0
  19554. configure:13309: result: yes
  19555. configure:13309: checking for setlocale
  19556. configure:13309: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c >&5
  19557. configure:13309: $? = 0
  19558. configure:13309: result: yes
  19559. configure:13319: checking whether ctime_r is declared
  19560. configure:13319: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  19561. configure:13319: $? = 0
  19562. configure:13319: result: yes
  19563. configure:13334: checking for closedir in -lmingwex
  19564. configure:13359: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lmingwex >&5
  19565. /nix/store/b0yc8vswfzcanhdm6dgmfmdcgjmxvxa0-binutils-2.30/bin/ld: cannot find -lmingwex
  19566. collect2: error: ld returned 1 exit status
  19567. configure:13359: $? = 1
  19568. configure: failed program was:
  19569. | /* confdefs.h */
  19570. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  19571. | #define PACKAGE_TARNAME "ghc-8.7"
  19572. | #define PACKAGE_VERSION "8.7"
  19573. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  19574. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  19575. | #define PACKAGE_URL ""
  19576. | #define STDC_HEADERS 1
  19577. | #define HAVE_SYS_TYPES_H 1
  19578. | #define HAVE_SYS_STAT_H 1
  19579. | #define HAVE_STDLIB_H 1
  19580. | #define HAVE_STRING_H 1
  19581. | #define HAVE_MEMORY_H 1
  19582. | #define HAVE_STRINGS_H 1
  19583. | #define HAVE_INTTYPES_H 1
  19584. | #define HAVE_STDINT_H 1
  19585. | #define HAVE_UNISTD_H 1
  19586. | #define __EXTENSIONS__ 1
  19587. | #define _ALL_SOURCE 1
  19588. | #define _GNU_SOURCE 1
  19589. | #define _POSIX_PTHREAD_SEMANTICS 1
  19590. | #define _TANDEM_SOURCE 1
  19591. | #define sUPPORTED_LLVM_VERSION (7,0)
  19592. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  19593. | #define STDC_HEADERS 1
  19594. | #define HAVE_CTYPE_H 1
  19595. | #define HAVE_DIRENT_H 1
  19596. | #define HAVE_DLFCN_H 1
  19597. | #define HAVE_ERRNO_H 1
  19598. | #define HAVE_FCNTL_H 1
  19599. | #define HAVE_GRP_H 1
  19600. | #define HAVE_LIMITS_H 1
  19601. | #define HAVE_LOCALE_H 1
  19602. | #define HAVE_NLIST_H 1
  19603. | #define HAVE_PTHREAD_H 1
  19604. | #define HAVE_PWD_H 1
  19605. | #define HAVE_SIGNAL_H 1
  19606. | #define HAVE_SYS_PARAM_H 1
  19607. | #define HAVE_SYS_MMAN_H 1
  19608. | #define HAVE_SYS_RESOURCE_H 1
  19609. | #define HAVE_SYS_SELECT_H 1
  19610. | #define HAVE_SYS_TIME_H 1
  19611. | #define HAVE_SYS_TIMEB_H 1
  19612. | #define HAVE_SYS_TIMERFD_H 1
  19613. | #define HAVE_SYS_TIMES_H 1
  19614. | #define HAVE_SYS_UTSNAME_H 1
  19615. | #define HAVE_SYS_WAIT_H 1
  19616. | #define HAVE_TERMIOS_H 1
  19617. | #define HAVE_TIME_H 1
  19618. | #define HAVE_UTIME_H 1
  19619. | #define HAVE_SCHED_H 1
  19620. | #define TIME_WITH_SYS_TIME 1
  19621. | #define HAVE_LONG_LONG 1
  19622. | #define SIZEOF_CHAR 1
  19623. | #define ALIGNMENT_CHAR 1
  19624. | #define SIZEOF_DOUBLE 8
  19625. | #define ALIGNMENT_DOUBLE 8
  19626. | #define SIZEOF_FLOAT 4
  19627. | #define ALIGNMENT_FLOAT 4
  19628. | #define SIZEOF_INT 4
  19629. | #define ALIGNMENT_INT 4
  19630. | #define SIZEOF_LONG 8
  19631. | #define ALIGNMENT_LONG 8
  19632. | #define SIZEOF_LONG_LONG 8
  19633. | #define ALIGNMENT_LONG_LONG 8
  19634. | #define SIZEOF_SHORT 2
  19635. | #define ALIGNMENT_SHORT 2
  19636. | #define SIZEOF_UNSIGNED_CHAR 1
  19637. | #define ALIGNMENT_UNSIGNED_CHAR 1
  19638. | #define SIZEOF_UNSIGNED_INT 4
  19639. | #define ALIGNMENT_UNSIGNED_INT 4
  19640. | #define SIZEOF_UNSIGNED_LONG 8
  19641. | #define ALIGNMENT_UNSIGNED_LONG 8
  19642. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  19643. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  19644. | #define SIZEOF_UNSIGNED_SHORT 2
  19645. | #define ALIGNMENT_UNSIGNED_SHORT 2
  19646. | #define SIZEOF_VOID_P 8
  19647. | #define ALIGNMENT_VOID_P 8
  19648. | #define SIZEOF_INT8_T 1
  19649. | #define ALIGNMENT_INT8_T 1
  19650. | #define SIZEOF_UINT8_T 1
  19651. | #define ALIGNMENT_UINT8_T 1
  19652. | #define SIZEOF_INT16_T 2
  19653. | #define ALIGNMENT_INT16_T 2
  19654. | #define SIZEOF_UINT16_T 2
  19655. | #define ALIGNMENT_UINT16_T 2
  19656. | #define SIZEOF_INT32_T 4
  19657. | #define ALIGNMENT_INT32_T 4
  19658. | #define SIZEOF_UINT32_T 4
  19659. | #define ALIGNMENT_UINT32_T 4
  19660. | #define SIZEOF_INT64_T 8
  19661. | #define ALIGNMENT_INT64_T 8
  19662. | #define SIZEOF_UINT64_T 8
  19663. | #define ALIGNMENT_UINT64_T 8
  19664. | #define HAVE_GETRUSAGE 1
  19665. | #define HAVE_GETTIMEOFDAY 1
  19666. | #define HAVE_SETITIMER 1
  19667. | #define HAVE_SIGINTERRUPT 1
  19668. | #define HAVE_SYSCONF 1
  19669. | #define HAVE_TIMES 1
  19670. | #define HAVE_CTIME_R 1
  19671. | #define HAVE_SCHED_SETAFFINITY 1
  19672. | #define HAVE_SETLOCALE 1
  19673. | #define HAVE_DECL_CTIME_R 1
  19674. | /* end confdefs.h. */
  19675. |
  19676. | /* Override any GCC internal prototype to avoid an error.
  19677. | Use char because int might match the return type of a GCC
  19678. | builtin and then its argument prototype would still apply. */
  19679. | #ifdef __cplusplus
  19680. | extern "C"
  19681. | #endif
  19682. | char closedir ();
  19683. | int
  19684. | main ()
  19685. | {
  19686. | return closedir ();
  19687. | ;
  19688. | return 0;
  19689. | }
  19690. configure:13368: result: no
  19691. configure:13387: checking for atan in -lm
  19692. configure:13412: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lm >&5
  19693. conftest.c:114:6: warning: conflicting types for built-in function 'atan' [-Wbuiltin-declaration-mismatch]
  19694. char atan ();
  19695. ^~~~
  19696. configure:13412: $? = 0
  19697. configure:13421: result: yes
  19698. configure:13733: checking for dlopen in -ldl
  19699. configure:13758: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -ldl >&5
  19700. configure:13758: $? = 0
  19701. configure:13767: result: yes
  19702. configure:13778: checking for dlopen in -ldl
  19703. configure:13812: result: yes
  19704. configure:13824: checking for size_t
  19705. configure:13824: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  19706. configure:13824: $? = 0
  19707. configure:13824: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  19708. conftest.c: In function 'main':
  19709. conftest.c:145:21: error: expected expression before ')' token
  19710. if (sizeof ((size_t)))
  19711. ^
  19712. configure:13824: $? = 1
  19713. configure: failed program was:
  19714. | /* confdefs.h */
  19715. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  19716. | #define PACKAGE_TARNAME "ghc-8.7"
  19717. | #define PACKAGE_VERSION "8.7"
  19718. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  19719. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  19720. | #define PACKAGE_URL ""
  19721. | #define STDC_HEADERS 1
  19722. | #define HAVE_SYS_TYPES_H 1
  19723. | #define HAVE_SYS_STAT_H 1
  19724. | #define HAVE_STDLIB_H 1
  19725. | #define HAVE_STRING_H 1
  19726. | #define HAVE_MEMORY_H 1
  19727. | #define HAVE_STRINGS_H 1
  19728. | #define HAVE_INTTYPES_H 1
  19729. | #define HAVE_STDINT_H 1
  19730. | #define HAVE_UNISTD_H 1
  19731. | #define __EXTENSIONS__ 1
  19732. | #define _ALL_SOURCE 1
  19733. | #define _GNU_SOURCE 1
  19734. | #define _POSIX_PTHREAD_SEMANTICS 1
  19735. | #define _TANDEM_SOURCE 1
  19736. | #define sUPPORTED_LLVM_VERSION (7,0)
  19737. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  19738. | #define STDC_HEADERS 1
  19739. | #define HAVE_CTYPE_H 1
  19740. | #define HAVE_DIRENT_H 1
  19741. | #define HAVE_DLFCN_H 1
  19742. | #define HAVE_ERRNO_H 1
  19743. | #define HAVE_FCNTL_H 1
  19744. | #define HAVE_GRP_H 1
  19745. | #define HAVE_LIMITS_H 1
  19746. | #define HAVE_LOCALE_H 1
  19747. | #define HAVE_NLIST_H 1
  19748. | #define HAVE_PTHREAD_H 1
  19749. | #define HAVE_PWD_H 1
  19750. | #define HAVE_SIGNAL_H 1
  19751. | #define HAVE_SYS_PARAM_H 1
  19752. | #define HAVE_SYS_MMAN_H 1
  19753. | #define HAVE_SYS_RESOURCE_H 1
  19754. | #define HAVE_SYS_SELECT_H 1
  19755. | #define HAVE_SYS_TIME_H 1
  19756. | #define HAVE_SYS_TIMEB_H 1
  19757. | #define HAVE_SYS_TIMERFD_H 1
  19758. | #define HAVE_SYS_TIMES_H 1
  19759. | #define HAVE_SYS_UTSNAME_H 1
  19760. | #define HAVE_SYS_WAIT_H 1
  19761. | #define HAVE_TERMIOS_H 1
  19762. | #define HAVE_TIME_H 1
  19763. | #define HAVE_UTIME_H 1
  19764. | #define HAVE_SCHED_H 1
  19765. | #define TIME_WITH_SYS_TIME 1
  19766. | #define HAVE_LONG_LONG 1
  19767. | #define SIZEOF_CHAR 1
  19768. | #define ALIGNMENT_CHAR 1
  19769. | #define SIZEOF_DOUBLE 8
  19770. | #define ALIGNMENT_DOUBLE 8
  19771. | #define SIZEOF_FLOAT 4
  19772. | #define ALIGNMENT_FLOAT 4
  19773. | #define SIZEOF_INT 4
  19774. | #define ALIGNMENT_INT 4
  19775. | #define SIZEOF_LONG 8
  19776. | #define ALIGNMENT_LONG 8
  19777. | #define SIZEOF_LONG_LONG 8
  19778. | #define ALIGNMENT_LONG_LONG 8
  19779. | #define SIZEOF_SHORT 2
  19780. | #define ALIGNMENT_SHORT 2
  19781. | #define SIZEOF_UNSIGNED_CHAR 1
  19782. | #define ALIGNMENT_UNSIGNED_CHAR 1
  19783. | #define SIZEOF_UNSIGNED_INT 4
  19784. | #define ALIGNMENT_UNSIGNED_INT 4
  19785. | #define SIZEOF_UNSIGNED_LONG 8
  19786. | #define ALIGNMENT_UNSIGNED_LONG 8
  19787. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  19788. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  19789. | #define SIZEOF_UNSIGNED_SHORT 2
  19790. | #define ALIGNMENT_UNSIGNED_SHORT 2
  19791. | #define SIZEOF_VOID_P 8
  19792. | #define ALIGNMENT_VOID_P 8
  19793. | #define SIZEOF_INT8_T 1
  19794. | #define ALIGNMENT_INT8_T 1
  19795. | #define SIZEOF_UINT8_T 1
  19796. | #define ALIGNMENT_UINT8_T 1
  19797. | #define SIZEOF_INT16_T 2
  19798. | #define ALIGNMENT_INT16_T 2
  19799. | #define SIZEOF_UINT16_T 2
  19800. | #define ALIGNMENT_UINT16_T 2
  19801. | #define SIZEOF_INT32_T 4
  19802. | #define ALIGNMENT_INT32_T 4
  19803. | #define SIZEOF_UINT32_T 4
  19804. | #define ALIGNMENT_UINT32_T 4
  19805. | #define SIZEOF_INT64_T 8
  19806. | #define ALIGNMENT_INT64_T 8
  19807. | #define SIZEOF_UINT64_T 8
  19808. | #define ALIGNMENT_UINT64_T 8
  19809. | #define HAVE_GETRUSAGE 1
  19810. | #define HAVE_GETTIMEOFDAY 1
  19811. | #define HAVE_SETITIMER 1
  19812. | #define HAVE_SIGINTERRUPT 1
  19813. | #define HAVE_SYSCONF 1
  19814. | #define HAVE_TIMES 1
  19815. | #define HAVE_CTIME_R 1
  19816. | #define HAVE_SCHED_SETAFFINITY 1
  19817. | #define HAVE_SETLOCALE 1
  19818. | #define HAVE_DECL_CTIME_R 1
  19819. | #define HAVE_LIBM 1
  19820. | #define HAVE_LIBDL 1
  19821. | /* end confdefs.h. */
  19822. | #include <stdio.h>
  19823. | #ifdef HAVE_SYS_TYPES_H
  19824. | # include <sys/types.h>
  19825. | #endif
  19826. | #ifdef HAVE_SYS_STAT_H
  19827. | # include <sys/stat.h>
  19828. | #endif
  19829. | #ifdef STDC_HEADERS
  19830. | # include <stdlib.h>
  19831. | # include <stddef.h>
  19832. | #else
  19833. | # ifdef HAVE_STDLIB_H
  19834. | # include <stdlib.h>
  19835. | # endif
  19836. | #endif
  19837. | #ifdef HAVE_STRING_H
  19838. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  19839. | # include <memory.h>
  19840. | # endif
  19841. | # include <string.h>
  19842. | #endif
  19843. | #ifdef HAVE_STRINGS_H
  19844. | # include <strings.h>
  19845. | #endif
  19846. | #ifdef HAVE_INTTYPES_H
  19847. | # include <inttypes.h>
  19848. | #endif
  19849. | #ifdef HAVE_STDINT_H
  19850. | # include <stdint.h>
  19851. | #endif
  19852. | #ifdef HAVE_UNISTD_H
  19853. | # include <unistd.h>
  19854. | #endif
  19855. | int
  19856. | main ()
  19857. | {
  19858. | if (sizeof ((size_t)))
  19859. | return 0;
  19860. | ;
  19861. | return 0;
  19862. | }
  19863. configure:13824: result: yes
  19864. configure:13837: checking for working alloca.h
  19865. configure:13854: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -ldl >&5
  19866. configure:13854: $? = 0
  19867. configure:13862: result: yes
  19868. configure:13870: checking for alloca
  19869. configure:13907: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -ldl >&5
  19870. configure:13907: $? = 0
  19871. configure:13915: result: yes
  19872. configure:14022: checking for pid_t
  19873. configure:14022: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  19874. configure:14022: $? = 0
  19875. configure:14022: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  19876. conftest.c: In function 'main':
  19877. conftest.c:147:20: error: expected expression before ')' token
  19878. if (sizeof ((pid_t)))
  19879. ^
  19880. configure:14022: $? = 1
  19881. configure: failed program was:
  19882. | /* confdefs.h */
  19883. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  19884. | #define PACKAGE_TARNAME "ghc-8.7"
  19885. | #define PACKAGE_VERSION "8.7"
  19886. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  19887. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  19888. | #define PACKAGE_URL ""
  19889. | #define STDC_HEADERS 1
  19890. | #define HAVE_SYS_TYPES_H 1
  19891. | #define HAVE_SYS_STAT_H 1
  19892. | #define HAVE_STDLIB_H 1
  19893. | #define HAVE_STRING_H 1
  19894. | #define HAVE_MEMORY_H 1
  19895. | #define HAVE_STRINGS_H 1
  19896. | #define HAVE_INTTYPES_H 1
  19897. | #define HAVE_STDINT_H 1
  19898. | #define HAVE_UNISTD_H 1
  19899. | #define __EXTENSIONS__ 1
  19900. | #define _ALL_SOURCE 1
  19901. | #define _GNU_SOURCE 1
  19902. | #define _POSIX_PTHREAD_SEMANTICS 1
  19903. | #define _TANDEM_SOURCE 1
  19904. | #define sUPPORTED_LLVM_VERSION (7,0)
  19905. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  19906. | #define STDC_HEADERS 1
  19907. | #define HAVE_CTYPE_H 1
  19908. | #define HAVE_DIRENT_H 1
  19909. | #define HAVE_DLFCN_H 1
  19910. | #define HAVE_ERRNO_H 1
  19911. | #define HAVE_FCNTL_H 1
  19912. | #define HAVE_GRP_H 1
  19913. | #define HAVE_LIMITS_H 1
  19914. | #define HAVE_LOCALE_H 1
  19915. | #define HAVE_NLIST_H 1
  19916. | #define HAVE_PTHREAD_H 1
  19917. | #define HAVE_PWD_H 1
  19918. | #define HAVE_SIGNAL_H 1
  19919. | #define HAVE_SYS_PARAM_H 1
  19920. | #define HAVE_SYS_MMAN_H 1
  19921. | #define HAVE_SYS_RESOURCE_H 1
  19922. | #define HAVE_SYS_SELECT_H 1
  19923. | #define HAVE_SYS_TIME_H 1
  19924. | #define HAVE_SYS_TIMEB_H 1
  19925. | #define HAVE_SYS_TIMERFD_H 1
  19926. | #define HAVE_SYS_TIMES_H 1
  19927. | #define HAVE_SYS_UTSNAME_H 1
  19928. | #define HAVE_SYS_WAIT_H 1
  19929. | #define HAVE_TERMIOS_H 1
  19930. | #define HAVE_TIME_H 1
  19931. | #define HAVE_UTIME_H 1
  19932. | #define HAVE_SCHED_H 1
  19933. | #define TIME_WITH_SYS_TIME 1
  19934. | #define HAVE_LONG_LONG 1
  19935. | #define SIZEOF_CHAR 1
  19936. | #define ALIGNMENT_CHAR 1
  19937. | #define SIZEOF_DOUBLE 8
  19938. | #define ALIGNMENT_DOUBLE 8
  19939. | #define SIZEOF_FLOAT 4
  19940. | #define ALIGNMENT_FLOAT 4
  19941. | #define SIZEOF_INT 4
  19942. | #define ALIGNMENT_INT 4
  19943. | #define SIZEOF_LONG 8
  19944. | #define ALIGNMENT_LONG 8
  19945. | #define SIZEOF_LONG_LONG 8
  19946. | #define ALIGNMENT_LONG_LONG 8
  19947. | #define SIZEOF_SHORT 2
  19948. | #define ALIGNMENT_SHORT 2
  19949. | #define SIZEOF_UNSIGNED_CHAR 1
  19950. | #define ALIGNMENT_UNSIGNED_CHAR 1
  19951. | #define SIZEOF_UNSIGNED_INT 4
  19952. | #define ALIGNMENT_UNSIGNED_INT 4
  19953. | #define SIZEOF_UNSIGNED_LONG 8
  19954. | #define ALIGNMENT_UNSIGNED_LONG 8
  19955. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  19956. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  19957. | #define SIZEOF_UNSIGNED_SHORT 2
  19958. | #define ALIGNMENT_UNSIGNED_SHORT 2
  19959. | #define SIZEOF_VOID_P 8
  19960. | #define ALIGNMENT_VOID_P 8
  19961. | #define SIZEOF_INT8_T 1
  19962. | #define ALIGNMENT_INT8_T 1
  19963. | #define SIZEOF_UINT8_T 1
  19964. | #define ALIGNMENT_UINT8_T 1
  19965. | #define SIZEOF_INT16_T 2
  19966. | #define ALIGNMENT_INT16_T 2
  19967. | #define SIZEOF_UINT16_T 2
  19968. | #define ALIGNMENT_UINT16_T 2
  19969. | #define SIZEOF_INT32_T 4
  19970. | #define ALIGNMENT_INT32_T 4
  19971. | #define SIZEOF_UINT32_T 4
  19972. | #define ALIGNMENT_UINT32_T 4
  19973. | #define SIZEOF_INT64_T 8
  19974. | #define ALIGNMENT_INT64_T 8
  19975. | #define SIZEOF_UINT64_T 8
  19976. | #define ALIGNMENT_UINT64_T 8
  19977. | #define HAVE_GETRUSAGE 1
  19978. | #define HAVE_GETTIMEOFDAY 1
  19979. | #define HAVE_SETITIMER 1
  19980. | #define HAVE_SIGINTERRUPT 1
  19981. | #define HAVE_SYSCONF 1
  19982. | #define HAVE_TIMES 1
  19983. | #define HAVE_CTIME_R 1
  19984. | #define HAVE_SCHED_SETAFFINITY 1
  19985. | #define HAVE_SETLOCALE 1
  19986. | #define HAVE_DECL_CTIME_R 1
  19987. | #define HAVE_LIBM 1
  19988. | #define HAVE_LIBDL 1
  19989. | #define HAVE_ALLOCA_H 1
  19990. | #define HAVE_ALLOCA 1
  19991. | /* end confdefs.h. */
  19992. | #include <stdio.h>
  19993. | #ifdef HAVE_SYS_TYPES_H
  19994. | # include <sys/types.h>
  19995. | #endif
  19996. | #ifdef HAVE_SYS_STAT_H
  19997. | # include <sys/stat.h>
  19998. | #endif
  19999. | #ifdef STDC_HEADERS
  20000. | # include <stdlib.h>
  20001. | # include <stddef.h>
  20002. | #else
  20003. | # ifdef HAVE_STDLIB_H
  20004. | # include <stdlib.h>
  20005. | # endif
  20006. | #endif
  20007. | #ifdef HAVE_STRING_H
  20008. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  20009. | # include <memory.h>
  20010. | # endif
  20011. | # include <string.h>
  20012. | #endif
  20013. | #ifdef HAVE_STRINGS_H
  20014. | # include <strings.h>
  20015. | #endif
  20016. | #ifdef HAVE_INTTYPES_H
  20017. | # include <inttypes.h>
  20018. | #endif
  20019. | #ifdef HAVE_STDINT_H
  20020. | # include <stdint.h>
  20021. | #endif
  20022. | #ifdef HAVE_UNISTD_H
  20023. | # include <unistd.h>
  20024. | #endif
  20025. | int
  20026. | main ()
  20027. | {
  20028. | if (sizeof ((pid_t)))
  20029. | return 0;
  20030. | ;
  20031. | return 0;
  20032. | }
  20033. configure:14022: result: yes
  20034. configure:14035: checking vfork.h usability
  20035. configure:14035: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20036. conftest.c:144:10: fatal error: vfork.h: No such file or directory
  20037. #include <vfork.h>
  20038. ^~~~~~~~~
  20039. compilation terminated.
  20040. configure:14035: $? = 1
  20041. configure: failed program was:
  20042. | /* confdefs.h */
  20043. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  20044. | #define PACKAGE_TARNAME "ghc-8.7"
  20045. | #define PACKAGE_VERSION "8.7"
  20046. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  20047. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  20048. | #define PACKAGE_URL ""
  20049. | #define STDC_HEADERS 1
  20050. | #define HAVE_SYS_TYPES_H 1
  20051. | #define HAVE_SYS_STAT_H 1
  20052. | #define HAVE_STDLIB_H 1
  20053. | #define HAVE_STRING_H 1
  20054. | #define HAVE_MEMORY_H 1
  20055. | #define HAVE_STRINGS_H 1
  20056. | #define HAVE_INTTYPES_H 1
  20057. | #define HAVE_STDINT_H 1
  20058. | #define HAVE_UNISTD_H 1
  20059. | #define __EXTENSIONS__ 1
  20060. | #define _ALL_SOURCE 1
  20061. | #define _GNU_SOURCE 1
  20062. | #define _POSIX_PTHREAD_SEMANTICS 1
  20063. | #define _TANDEM_SOURCE 1
  20064. | #define sUPPORTED_LLVM_VERSION (7,0)
  20065. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  20066. | #define STDC_HEADERS 1
  20067. | #define HAVE_CTYPE_H 1
  20068. | #define HAVE_DIRENT_H 1
  20069. | #define HAVE_DLFCN_H 1
  20070. | #define HAVE_ERRNO_H 1
  20071. | #define HAVE_FCNTL_H 1
  20072. | #define HAVE_GRP_H 1
  20073. | #define HAVE_LIMITS_H 1
  20074. | #define HAVE_LOCALE_H 1
  20075. | #define HAVE_NLIST_H 1
  20076. | #define HAVE_PTHREAD_H 1
  20077. | #define HAVE_PWD_H 1
  20078. | #define HAVE_SIGNAL_H 1
  20079. | #define HAVE_SYS_PARAM_H 1
  20080. | #define HAVE_SYS_MMAN_H 1
  20081. | #define HAVE_SYS_RESOURCE_H 1
  20082. | #define HAVE_SYS_SELECT_H 1
  20083. | #define HAVE_SYS_TIME_H 1
  20084. | #define HAVE_SYS_TIMEB_H 1
  20085. | #define HAVE_SYS_TIMERFD_H 1
  20086. | #define HAVE_SYS_TIMES_H 1
  20087. | #define HAVE_SYS_UTSNAME_H 1
  20088. | #define HAVE_SYS_WAIT_H 1
  20089. | #define HAVE_TERMIOS_H 1
  20090. | #define HAVE_TIME_H 1
  20091. | #define HAVE_UTIME_H 1
  20092. | #define HAVE_SCHED_H 1
  20093. | #define TIME_WITH_SYS_TIME 1
  20094. | #define HAVE_LONG_LONG 1
  20095. | #define SIZEOF_CHAR 1
  20096. | #define ALIGNMENT_CHAR 1
  20097. | #define SIZEOF_DOUBLE 8
  20098. | #define ALIGNMENT_DOUBLE 8
  20099. | #define SIZEOF_FLOAT 4
  20100. | #define ALIGNMENT_FLOAT 4
  20101. | #define SIZEOF_INT 4
  20102. | #define ALIGNMENT_INT 4
  20103. | #define SIZEOF_LONG 8
  20104. | #define ALIGNMENT_LONG 8
  20105. | #define SIZEOF_LONG_LONG 8
  20106. | #define ALIGNMENT_LONG_LONG 8
  20107. | #define SIZEOF_SHORT 2
  20108. | #define ALIGNMENT_SHORT 2
  20109. | #define SIZEOF_UNSIGNED_CHAR 1
  20110. | #define ALIGNMENT_UNSIGNED_CHAR 1
  20111. | #define SIZEOF_UNSIGNED_INT 4
  20112. | #define ALIGNMENT_UNSIGNED_INT 4
  20113. | #define SIZEOF_UNSIGNED_LONG 8
  20114. | #define ALIGNMENT_UNSIGNED_LONG 8
  20115. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  20116. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  20117. | #define SIZEOF_UNSIGNED_SHORT 2
  20118. | #define ALIGNMENT_UNSIGNED_SHORT 2
  20119. | #define SIZEOF_VOID_P 8
  20120. | #define ALIGNMENT_VOID_P 8
  20121. | #define SIZEOF_INT8_T 1
  20122. | #define ALIGNMENT_INT8_T 1
  20123. | #define SIZEOF_UINT8_T 1
  20124. | #define ALIGNMENT_UINT8_T 1
  20125. | #define SIZEOF_INT16_T 2
  20126. | #define ALIGNMENT_INT16_T 2
  20127. | #define SIZEOF_UINT16_T 2
  20128. | #define ALIGNMENT_UINT16_T 2
  20129. | #define SIZEOF_INT32_T 4
  20130. | #define ALIGNMENT_INT32_T 4
  20131. | #define SIZEOF_UINT32_T 4
  20132. | #define ALIGNMENT_UINT32_T 4
  20133. | #define SIZEOF_INT64_T 8
  20134. | #define ALIGNMENT_INT64_T 8
  20135. | #define SIZEOF_UINT64_T 8
  20136. | #define ALIGNMENT_UINT64_T 8
  20137. | #define HAVE_GETRUSAGE 1
  20138. | #define HAVE_GETTIMEOFDAY 1
  20139. | #define HAVE_SETITIMER 1
  20140. | #define HAVE_SIGINTERRUPT 1
  20141. | #define HAVE_SYSCONF 1
  20142. | #define HAVE_TIMES 1
  20143. | #define HAVE_CTIME_R 1
  20144. | #define HAVE_SCHED_SETAFFINITY 1
  20145. | #define HAVE_SETLOCALE 1
  20146. | #define HAVE_DECL_CTIME_R 1
  20147. | #define HAVE_LIBM 1
  20148. | #define HAVE_LIBDL 1
  20149. | #define HAVE_ALLOCA_H 1
  20150. | #define HAVE_ALLOCA 1
  20151. | /* end confdefs.h. */
  20152. | #include <stdio.h>
  20153. | #ifdef HAVE_SYS_TYPES_H
  20154. | # include <sys/types.h>
  20155. | #endif
  20156. | #ifdef HAVE_SYS_STAT_H
  20157. | # include <sys/stat.h>
  20158. | #endif
  20159. | #ifdef STDC_HEADERS
  20160. | # include <stdlib.h>
  20161. | # include <stddef.h>
  20162. | #else
  20163. | # ifdef HAVE_STDLIB_H
  20164. | # include <stdlib.h>
  20165. | # endif
  20166. | #endif
  20167. | #ifdef HAVE_STRING_H
  20168. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  20169. | # include <memory.h>
  20170. | # endif
  20171. | # include <string.h>
  20172. | #endif
  20173. | #ifdef HAVE_STRINGS_H
  20174. | # include <strings.h>
  20175. | #endif
  20176. | #ifdef HAVE_INTTYPES_H
  20177. | # include <inttypes.h>
  20178. | #endif
  20179. | #ifdef HAVE_STDINT_H
  20180. | # include <stdint.h>
  20181. | #endif
  20182. | #ifdef HAVE_UNISTD_H
  20183. | # include <unistd.h>
  20184. | #endif
  20185. | #include <vfork.h>
  20186. configure:14035: result: no
  20187. configure:14035: checking vfork.h presence
  20188. configure:14035: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  20189. conftest.c:111:10: fatal error: vfork.h: No such file or directory
  20190. #include <vfork.h>
  20191. ^~~~~~~~~
  20192. compilation terminated.
  20193. configure:14035: $? = 1
  20194. configure: failed program was:
  20195. | /* confdefs.h */
  20196. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  20197. | #define PACKAGE_TARNAME "ghc-8.7"
  20198. | #define PACKAGE_VERSION "8.7"
  20199. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  20200. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  20201. | #define PACKAGE_URL ""
  20202. | #define STDC_HEADERS 1
  20203. | #define HAVE_SYS_TYPES_H 1
  20204. | #define HAVE_SYS_STAT_H 1
  20205. | #define HAVE_STDLIB_H 1
  20206. | #define HAVE_STRING_H 1
  20207. | #define HAVE_MEMORY_H 1
  20208. | #define HAVE_STRINGS_H 1
  20209. | #define HAVE_INTTYPES_H 1
  20210. | #define HAVE_STDINT_H 1
  20211. | #define HAVE_UNISTD_H 1
  20212. | #define __EXTENSIONS__ 1
  20213. | #define _ALL_SOURCE 1
  20214. | #define _GNU_SOURCE 1
  20215. | #define _POSIX_PTHREAD_SEMANTICS 1
  20216. | #define _TANDEM_SOURCE 1
  20217. | #define sUPPORTED_LLVM_VERSION (7,0)
  20218. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  20219. | #define STDC_HEADERS 1
  20220. | #define HAVE_CTYPE_H 1
  20221. | #define HAVE_DIRENT_H 1
  20222. | #define HAVE_DLFCN_H 1
  20223. | #define HAVE_ERRNO_H 1
  20224. | #define HAVE_FCNTL_H 1
  20225. | #define HAVE_GRP_H 1
  20226. | #define HAVE_LIMITS_H 1
  20227. | #define HAVE_LOCALE_H 1
  20228. | #define HAVE_NLIST_H 1
  20229. | #define HAVE_PTHREAD_H 1
  20230. | #define HAVE_PWD_H 1
  20231. | #define HAVE_SIGNAL_H 1
  20232. | #define HAVE_SYS_PARAM_H 1
  20233. | #define HAVE_SYS_MMAN_H 1
  20234. | #define HAVE_SYS_RESOURCE_H 1
  20235. | #define HAVE_SYS_SELECT_H 1
  20236. | #define HAVE_SYS_TIME_H 1
  20237. | #define HAVE_SYS_TIMEB_H 1
  20238. | #define HAVE_SYS_TIMERFD_H 1
  20239. | #define HAVE_SYS_TIMES_H 1
  20240. | #define HAVE_SYS_UTSNAME_H 1
  20241. | #define HAVE_SYS_WAIT_H 1
  20242. | #define HAVE_TERMIOS_H 1
  20243. | #define HAVE_TIME_H 1
  20244. | #define HAVE_UTIME_H 1
  20245. | #define HAVE_SCHED_H 1
  20246. | #define TIME_WITH_SYS_TIME 1
  20247. | #define HAVE_LONG_LONG 1
  20248. | #define SIZEOF_CHAR 1
  20249. | #define ALIGNMENT_CHAR 1
  20250. | #define SIZEOF_DOUBLE 8
  20251. | #define ALIGNMENT_DOUBLE 8
  20252. | #define SIZEOF_FLOAT 4
  20253. | #define ALIGNMENT_FLOAT 4
  20254. | #define SIZEOF_INT 4
  20255. | #define ALIGNMENT_INT 4
  20256. | #define SIZEOF_LONG 8
  20257. | #define ALIGNMENT_LONG 8
  20258. | #define SIZEOF_LONG_LONG 8
  20259. | #define ALIGNMENT_LONG_LONG 8
  20260. | #define SIZEOF_SHORT 2
  20261. | #define ALIGNMENT_SHORT 2
  20262. | #define SIZEOF_UNSIGNED_CHAR 1
  20263. | #define ALIGNMENT_UNSIGNED_CHAR 1
  20264. | #define SIZEOF_UNSIGNED_INT 4
  20265. | #define ALIGNMENT_UNSIGNED_INT 4
  20266. | #define SIZEOF_UNSIGNED_LONG 8
  20267. | #define ALIGNMENT_UNSIGNED_LONG 8
  20268. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  20269. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  20270. | #define SIZEOF_UNSIGNED_SHORT 2
  20271. | #define ALIGNMENT_UNSIGNED_SHORT 2
  20272. | #define SIZEOF_VOID_P 8
  20273. | #define ALIGNMENT_VOID_P 8
  20274. | #define SIZEOF_INT8_T 1
  20275. | #define ALIGNMENT_INT8_T 1
  20276. | #define SIZEOF_UINT8_T 1
  20277. | #define ALIGNMENT_UINT8_T 1
  20278. | #define SIZEOF_INT16_T 2
  20279. | #define ALIGNMENT_INT16_T 2
  20280. | #define SIZEOF_UINT16_T 2
  20281. | #define ALIGNMENT_UINT16_T 2
  20282. | #define SIZEOF_INT32_T 4
  20283. | #define ALIGNMENT_INT32_T 4
  20284. | #define SIZEOF_UINT32_T 4
  20285. | #define ALIGNMENT_UINT32_T 4
  20286. | #define SIZEOF_INT64_T 8
  20287. | #define ALIGNMENT_INT64_T 8
  20288. | #define SIZEOF_UINT64_T 8
  20289. | #define ALIGNMENT_UINT64_T 8
  20290. | #define HAVE_GETRUSAGE 1
  20291. | #define HAVE_GETTIMEOFDAY 1
  20292. | #define HAVE_SETITIMER 1
  20293. | #define HAVE_SIGINTERRUPT 1
  20294. | #define HAVE_SYSCONF 1
  20295. | #define HAVE_TIMES 1
  20296. | #define HAVE_CTIME_R 1
  20297. | #define HAVE_SCHED_SETAFFINITY 1
  20298. | #define HAVE_SETLOCALE 1
  20299. | #define HAVE_DECL_CTIME_R 1
  20300. | #define HAVE_LIBM 1
  20301. | #define HAVE_LIBDL 1
  20302. | #define HAVE_ALLOCA_H 1
  20303. | #define HAVE_ALLOCA 1
  20304. | /* end confdefs.h. */
  20305. | #include <vfork.h>
  20306. configure:14035: result: no
  20307. configure:14035: checking for vfork.h
  20308. configure:14035: result: no
  20309. configure:14048: checking for fork
  20310. configure:14048: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -ldl >&5
  20311. conftest.c:134:6: warning: conflicting types for built-in function 'fork' [-Wbuiltin-declaration-mismatch]
  20312. char fork ();
  20313. ^~~~
  20314. configure:14048: $? = 0
  20315. configure:14048: result: yes
  20316. configure:14048: checking for vfork
  20317. configure:14048: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -ldl >&5
  20318. configure:14048: $? = 0
  20319. configure:14048: result: yes
  20320. configure:14058: checking for working fork
  20321. configure:14090: result: cross
  20322. configure:14106: WARNING: result yes guessed because of cross compilation
  20323. configure:14111: checking for working vfork
  20324. configure:14221: result: yes
  20325. configure:14247: checking for an ANSI C-conforming const
  20326. configure:14313: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20327. configure:14313: $? = 0
  20328. configure:14320: result: yes
  20329. configure:14329: checking whether byte ordering is bigendian
  20330. configure:14344: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20331. conftest.c:116:9: error: unknown type name 'not'
  20332. not a universal capable compiler
  20333. ^~~
  20334. conftest.c:116:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
  20335. not a universal capable compiler
  20336. ^~~~~~~~~
  20337. conftest.c:116:15: error: unknown type name 'universal'
  20338. configure:14344: $? = 1
  20339. configure: failed program was:
  20340. | /* confdefs.h */
  20341. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  20342. | #define PACKAGE_TARNAME "ghc-8.7"
  20343. | #define PACKAGE_VERSION "8.7"
  20344. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  20345. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  20346. | #define PACKAGE_URL ""
  20347. | #define STDC_HEADERS 1
  20348. | #define HAVE_SYS_TYPES_H 1
  20349. | #define HAVE_SYS_STAT_H 1
  20350. | #define HAVE_STDLIB_H 1
  20351. | #define HAVE_STRING_H 1
  20352. | #define HAVE_MEMORY_H 1
  20353. | #define HAVE_STRINGS_H 1
  20354. | #define HAVE_INTTYPES_H 1
  20355. | #define HAVE_STDINT_H 1
  20356. | #define HAVE_UNISTD_H 1
  20357. | #define __EXTENSIONS__ 1
  20358. | #define _ALL_SOURCE 1
  20359. | #define _GNU_SOURCE 1
  20360. | #define _POSIX_PTHREAD_SEMANTICS 1
  20361. | #define _TANDEM_SOURCE 1
  20362. | #define sUPPORTED_LLVM_VERSION (7,0)
  20363. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  20364. | #define STDC_HEADERS 1
  20365. | #define HAVE_CTYPE_H 1
  20366. | #define HAVE_DIRENT_H 1
  20367. | #define HAVE_DLFCN_H 1
  20368. | #define HAVE_ERRNO_H 1
  20369. | #define HAVE_FCNTL_H 1
  20370. | #define HAVE_GRP_H 1
  20371. | #define HAVE_LIMITS_H 1
  20372. | #define HAVE_LOCALE_H 1
  20373. | #define HAVE_NLIST_H 1
  20374. | #define HAVE_PTHREAD_H 1
  20375. | #define HAVE_PWD_H 1
  20376. | #define HAVE_SIGNAL_H 1
  20377. | #define HAVE_SYS_PARAM_H 1
  20378. | #define HAVE_SYS_MMAN_H 1
  20379. | #define HAVE_SYS_RESOURCE_H 1
  20380. | #define HAVE_SYS_SELECT_H 1
  20381. | #define HAVE_SYS_TIME_H 1
  20382. | #define HAVE_SYS_TIMEB_H 1
  20383. | #define HAVE_SYS_TIMERFD_H 1
  20384. | #define HAVE_SYS_TIMES_H 1
  20385. | #define HAVE_SYS_UTSNAME_H 1
  20386. | #define HAVE_SYS_WAIT_H 1
  20387. | #define HAVE_TERMIOS_H 1
  20388. | #define HAVE_TIME_H 1
  20389. | #define HAVE_UTIME_H 1
  20390. | #define HAVE_SCHED_H 1
  20391. | #define TIME_WITH_SYS_TIME 1
  20392. | #define HAVE_LONG_LONG 1
  20393. | #define SIZEOF_CHAR 1
  20394. | #define ALIGNMENT_CHAR 1
  20395. | #define SIZEOF_DOUBLE 8
  20396. | #define ALIGNMENT_DOUBLE 8
  20397. | #define SIZEOF_FLOAT 4
  20398. | #define ALIGNMENT_FLOAT 4
  20399. | #define SIZEOF_INT 4
  20400. | #define ALIGNMENT_INT 4
  20401. | #define SIZEOF_LONG 8
  20402. | #define ALIGNMENT_LONG 8
  20403. | #define SIZEOF_LONG_LONG 8
  20404. | #define ALIGNMENT_LONG_LONG 8
  20405. | #define SIZEOF_SHORT 2
  20406. | #define ALIGNMENT_SHORT 2
  20407. | #define SIZEOF_UNSIGNED_CHAR 1
  20408. | #define ALIGNMENT_UNSIGNED_CHAR 1
  20409. | #define SIZEOF_UNSIGNED_INT 4
  20410. | #define ALIGNMENT_UNSIGNED_INT 4
  20411. | #define SIZEOF_UNSIGNED_LONG 8
  20412. | #define ALIGNMENT_UNSIGNED_LONG 8
  20413. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  20414. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  20415. | #define SIZEOF_UNSIGNED_SHORT 2
  20416. | #define ALIGNMENT_UNSIGNED_SHORT 2
  20417. | #define SIZEOF_VOID_P 8
  20418. | #define ALIGNMENT_VOID_P 8
  20419. | #define SIZEOF_INT8_T 1
  20420. | #define ALIGNMENT_INT8_T 1
  20421. | #define SIZEOF_UINT8_T 1
  20422. | #define ALIGNMENT_UINT8_T 1
  20423. | #define SIZEOF_INT16_T 2
  20424. | #define ALIGNMENT_INT16_T 2
  20425. | #define SIZEOF_UINT16_T 2
  20426. | #define ALIGNMENT_UINT16_T 2
  20427. | #define SIZEOF_INT32_T 4
  20428. | #define ALIGNMENT_INT32_T 4
  20429. | #define SIZEOF_UINT32_T 4
  20430. | #define ALIGNMENT_UINT32_T 4
  20431. | #define SIZEOF_INT64_T 8
  20432. | #define ALIGNMENT_INT64_T 8
  20433. | #define SIZEOF_UINT64_T 8
  20434. | #define ALIGNMENT_UINT64_T 8
  20435. | #define HAVE_GETRUSAGE 1
  20436. | #define HAVE_GETTIMEOFDAY 1
  20437. | #define HAVE_SETITIMER 1
  20438. | #define HAVE_SIGINTERRUPT 1
  20439. | #define HAVE_SYSCONF 1
  20440. | #define HAVE_TIMES 1
  20441. | #define HAVE_CTIME_R 1
  20442. | #define HAVE_SCHED_SETAFFINITY 1
  20443. | #define HAVE_SETLOCALE 1
  20444. | #define HAVE_DECL_CTIME_R 1
  20445. | #define HAVE_LIBM 1
  20446. | #define HAVE_LIBDL 1
  20447. | #define HAVE_ALLOCA_H 1
  20448. | #define HAVE_ALLOCA 1
  20449. | #define HAVE_FORK 1
  20450. | #define HAVE_VFORK 1
  20451. | #define HAVE_WORKING_VFORK 1
  20452. | #define HAVE_WORKING_FORK 1
  20453. | /* end confdefs.h. */
  20454. | #ifndef __APPLE_CC__
  20455. | not a universal capable compiler
  20456. | #endif
  20457. | typedef int dummy;
  20458. |
  20459. configure:14389: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20460. configure:14389: $? = 0
  20461. configure:14407: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20462. conftest.c: In function 'main':
  20463. conftest.c:122:4: error: unknown type name 'not'; did you mean 'ino_t'?
  20464. not big endian
  20465. ^~~
  20466. ino_t
  20467. conftest.c:122:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
  20468. not big endian
  20469. ^~~~~~
  20470. configure:14407: $? = 1
  20471. configure: failed program was:
  20472. | /* confdefs.h */
  20473. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  20474. | #define PACKAGE_TARNAME "ghc-8.7"
  20475. | #define PACKAGE_VERSION "8.7"
  20476. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  20477. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  20478. | #define PACKAGE_URL ""
  20479. | #define STDC_HEADERS 1
  20480. | #define HAVE_SYS_TYPES_H 1
  20481. | #define HAVE_SYS_STAT_H 1
  20482. | #define HAVE_STDLIB_H 1
  20483. | #define HAVE_STRING_H 1
  20484. | #define HAVE_MEMORY_H 1
  20485. | #define HAVE_STRINGS_H 1
  20486. | #define HAVE_INTTYPES_H 1
  20487. | #define HAVE_STDINT_H 1
  20488. | #define HAVE_UNISTD_H 1
  20489. | #define __EXTENSIONS__ 1
  20490. | #define _ALL_SOURCE 1
  20491. | #define _GNU_SOURCE 1
  20492. | #define _POSIX_PTHREAD_SEMANTICS 1
  20493. | #define _TANDEM_SOURCE 1
  20494. | #define sUPPORTED_LLVM_VERSION (7,0)
  20495. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  20496. | #define STDC_HEADERS 1
  20497. | #define HAVE_CTYPE_H 1
  20498. | #define HAVE_DIRENT_H 1
  20499. | #define HAVE_DLFCN_H 1
  20500. | #define HAVE_ERRNO_H 1
  20501. | #define HAVE_FCNTL_H 1
  20502. | #define HAVE_GRP_H 1
  20503. | #define HAVE_LIMITS_H 1
  20504. | #define HAVE_LOCALE_H 1
  20505. | #define HAVE_NLIST_H 1
  20506. | #define HAVE_PTHREAD_H 1
  20507. | #define HAVE_PWD_H 1
  20508. | #define HAVE_SIGNAL_H 1
  20509. | #define HAVE_SYS_PARAM_H 1
  20510. | #define HAVE_SYS_MMAN_H 1
  20511. | #define HAVE_SYS_RESOURCE_H 1
  20512. | #define HAVE_SYS_SELECT_H 1
  20513. | #define HAVE_SYS_TIME_H 1
  20514. | #define HAVE_SYS_TIMEB_H 1
  20515. | #define HAVE_SYS_TIMERFD_H 1
  20516. | #define HAVE_SYS_TIMES_H 1
  20517. | #define HAVE_SYS_UTSNAME_H 1
  20518. | #define HAVE_SYS_WAIT_H 1
  20519. | #define HAVE_TERMIOS_H 1
  20520. | #define HAVE_TIME_H 1
  20521. | #define HAVE_UTIME_H 1
  20522. | #define HAVE_SCHED_H 1
  20523. | #define TIME_WITH_SYS_TIME 1
  20524. | #define HAVE_LONG_LONG 1
  20525. | #define SIZEOF_CHAR 1
  20526. | #define ALIGNMENT_CHAR 1
  20527. | #define SIZEOF_DOUBLE 8
  20528. | #define ALIGNMENT_DOUBLE 8
  20529. | #define SIZEOF_FLOAT 4
  20530. | #define ALIGNMENT_FLOAT 4
  20531. | #define SIZEOF_INT 4
  20532. | #define ALIGNMENT_INT 4
  20533. | #define SIZEOF_LONG 8
  20534. | #define ALIGNMENT_LONG 8
  20535. | #define SIZEOF_LONG_LONG 8
  20536. | #define ALIGNMENT_LONG_LONG 8
  20537. | #define SIZEOF_SHORT 2
  20538. | #define ALIGNMENT_SHORT 2
  20539. | #define SIZEOF_UNSIGNED_CHAR 1
  20540. | #define ALIGNMENT_UNSIGNED_CHAR 1
  20541. | #define SIZEOF_UNSIGNED_INT 4
  20542. | #define ALIGNMENT_UNSIGNED_INT 4
  20543. | #define SIZEOF_UNSIGNED_LONG 8
  20544. | #define ALIGNMENT_UNSIGNED_LONG 8
  20545. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  20546. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  20547. | #define SIZEOF_UNSIGNED_SHORT 2
  20548. | #define ALIGNMENT_UNSIGNED_SHORT 2
  20549. | #define SIZEOF_VOID_P 8
  20550. | #define ALIGNMENT_VOID_P 8
  20551. | #define SIZEOF_INT8_T 1
  20552. | #define ALIGNMENT_INT8_T 1
  20553. | #define SIZEOF_UINT8_T 1
  20554. | #define ALIGNMENT_UINT8_T 1
  20555. | #define SIZEOF_INT16_T 2
  20556. | #define ALIGNMENT_INT16_T 2
  20557. | #define SIZEOF_UINT16_T 2
  20558. | #define ALIGNMENT_UINT16_T 2
  20559. | #define SIZEOF_INT32_T 4
  20560. | #define ALIGNMENT_INT32_T 4
  20561. | #define SIZEOF_UINT32_T 4
  20562. | #define ALIGNMENT_UINT32_T 4
  20563. | #define SIZEOF_INT64_T 8
  20564. | #define ALIGNMENT_INT64_T 8
  20565. | #define SIZEOF_UINT64_T 8
  20566. | #define ALIGNMENT_UINT64_T 8
  20567. | #define HAVE_GETRUSAGE 1
  20568. | #define HAVE_GETTIMEOFDAY 1
  20569. | #define HAVE_SETITIMER 1
  20570. | #define HAVE_SIGINTERRUPT 1
  20571. | #define HAVE_SYSCONF 1
  20572. | #define HAVE_TIMES 1
  20573. | #define HAVE_CTIME_R 1
  20574. | #define HAVE_SCHED_SETAFFINITY 1
  20575. | #define HAVE_SETLOCALE 1
  20576. | #define HAVE_DECL_CTIME_R 1
  20577. | #define HAVE_LIBM 1
  20578. | #define HAVE_LIBDL 1
  20579. | #define HAVE_ALLOCA_H 1
  20580. | #define HAVE_ALLOCA 1
  20581. | #define HAVE_FORK 1
  20582. | #define HAVE_VFORK 1
  20583. | #define HAVE_WORKING_VFORK 1
  20584. | #define HAVE_WORKING_FORK 1
  20585. | /* end confdefs.h. */
  20586. | #include <sys/types.h>
  20587. | #include <sys/param.h>
  20588. |
  20589. | int
  20590. | main ()
  20591. | {
  20592. | #if BYTE_ORDER != BIG_ENDIAN
  20593. | not big endian
  20594. | #endif
  20595. |
  20596. | ;
  20597. | return 0;
  20598. | }
  20599. configure:14535: result: no
  20600. configure:14553: checking whether float word order is big endian
  20601. configure:14574: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20602. conftest.c: In function 'main':
  20603. conftest.c:122:14: error: 'not' undeclared (first use in this function)
  20604. not float word order big endian
  20605. ^~~
  20606. conftest.c:122:14: note: each undeclared identifier is reported only once for each function it appears in
  20607. conftest.c:122:18: error: expected ';' before 'float'
  20608. not float word order big endian
  20609. ^~~~~
  20610. configure:14574: $? = 1
  20611. configure: failed program was:
  20612. | /* confdefs.h */
  20613. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  20614. | #define PACKAGE_TARNAME "ghc-8.7"
  20615. | #define PACKAGE_VERSION "8.7"
  20616. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  20617. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  20618. | #define PACKAGE_URL ""
  20619. | #define STDC_HEADERS 1
  20620. | #define HAVE_SYS_TYPES_H 1
  20621. | #define HAVE_SYS_STAT_H 1
  20622. | #define HAVE_STDLIB_H 1
  20623. | #define HAVE_STRING_H 1
  20624. | #define HAVE_MEMORY_H 1
  20625. | #define HAVE_STRINGS_H 1
  20626. | #define HAVE_INTTYPES_H 1
  20627. | #define HAVE_STDINT_H 1
  20628. | #define HAVE_UNISTD_H 1
  20629. | #define __EXTENSIONS__ 1
  20630. | #define _ALL_SOURCE 1
  20631. | #define _GNU_SOURCE 1
  20632. | #define _POSIX_PTHREAD_SEMANTICS 1
  20633. | #define _TANDEM_SOURCE 1
  20634. | #define sUPPORTED_LLVM_VERSION (7,0)
  20635. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  20636. | #define STDC_HEADERS 1
  20637. | #define HAVE_CTYPE_H 1
  20638. | #define HAVE_DIRENT_H 1
  20639. | #define HAVE_DLFCN_H 1
  20640. | #define HAVE_ERRNO_H 1
  20641. | #define HAVE_FCNTL_H 1
  20642. | #define HAVE_GRP_H 1
  20643. | #define HAVE_LIMITS_H 1
  20644. | #define HAVE_LOCALE_H 1
  20645. | #define HAVE_NLIST_H 1
  20646. | #define HAVE_PTHREAD_H 1
  20647. | #define HAVE_PWD_H 1
  20648. | #define HAVE_SIGNAL_H 1
  20649. | #define HAVE_SYS_PARAM_H 1
  20650. | #define HAVE_SYS_MMAN_H 1
  20651. | #define HAVE_SYS_RESOURCE_H 1
  20652. | #define HAVE_SYS_SELECT_H 1
  20653. | #define HAVE_SYS_TIME_H 1
  20654. | #define HAVE_SYS_TIMEB_H 1
  20655. | #define HAVE_SYS_TIMERFD_H 1
  20656. | #define HAVE_SYS_TIMES_H 1
  20657. | #define HAVE_SYS_UTSNAME_H 1
  20658. | #define HAVE_SYS_WAIT_H 1
  20659. | #define HAVE_TERMIOS_H 1
  20660. | #define HAVE_TIME_H 1
  20661. | #define HAVE_UTIME_H 1
  20662. | #define HAVE_SCHED_H 1
  20663. | #define TIME_WITH_SYS_TIME 1
  20664. | #define HAVE_LONG_LONG 1
  20665. | #define SIZEOF_CHAR 1
  20666. | #define ALIGNMENT_CHAR 1
  20667. | #define SIZEOF_DOUBLE 8
  20668. | #define ALIGNMENT_DOUBLE 8
  20669. | #define SIZEOF_FLOAT 4
  20670. | #define ALIGNMENT_FLOAT 4
  20671. | #define SIZEOF_INT 4
  20672. | #define ALIGNMENT_INT 4
  20673. | #define SIZEOF_LONG 8
  20674. | #define ALIGNMENT_LONG 8
  20675. | #define SIZEOF_LONG_LONG 8
  20676. | #define ALIGNMENT_LONG_LONG 8
  20677. | #define SIZEOF_SHORT 2
  20678. | #define ALIGNMENT_SHORT 2
  20679. | #define SIZEOF_UNSIGNED_CHAR 1
  20680. | #define ALIGNMENT_UNSIGNED_CHAR 1
  20681. | #define SIZEOF_UNSIGNED_INT 4
  20682. | #define ALIGNMENT_UNSIGNED_INT 4
  20683. | #define SIZEOF_UNSIGNED_LONG 8
  20684. | #define ALIGNMENT_UNSIGNED_LONG 8
  20685. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  20686. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  20687. | #define SIZEOF_UNSIGNED_SHORT 2
  20688. | #define ALIGNMENT_UNSIGNED_SHORT 2
  20689. | #define SIZEOF_VOID_P 8
  20690. | #define ALIGNMENT_VOID_P 8
  20691. | #define SIZEOF_INT8_T 1
  20692. | #define ALIGNMENT_INT8_T 1
  20693. | #define SIZEOF_UINT8_T 1
  20694. | #define ALIGNMENT_UINT8_T 1
  20695. | #define SIZEOF_INT16_T 2
  20696. | #define ALIGNMENT_INT16_T 2
  20697. | #define SIZEOF_UINT16_T 2
  20698. | #define ALIGNMENT_UINT16_T 2
  20699. | #define SIZEOF_INT32_T 4
  20700. | #define ALIGNMENT_INT32_T 4
  20701. | #define SIZEOF_UINT32_T 4
  20702. | #define ALIGNMENT_UINT32_T 4
  20703. | #define SIZEOF_INT64_T 8
  20704. | #define ALIGNMENT_INT64_T 8
  20705. | #define SIZEOF_UINT64_T 8
  20706. | #define ALIGNMENT_UINT64_T 8
  20707. | #define HAVE_GETRUSAGE 1
  20708. | #define HAVE_GETTIMEOFDAY 1
  20709. | #define HAVE_SETITIMER 1
  20710. | #define HAVE_SIGINTERRUPT 1
  20711. | #define HAVE_SYSCONF 1
  20712. | #define HAVE_TIMES 1
  20713. | #define HAVE_CTIME_R 1
  20714. | #define HAVE_SCHED_SETAFFINITY 1
  20715. | #define HAVE_SETLOCALE 1
  20716. | #define HAVE_DECL_CTIME_R 1
  20717. | #define HAVE_LIBM 1
  20718. | #define HAVE_LIBDL 1
  20719. | #define HAVE_ALLOCA_H 1
  20720. | #define HAVE_ALLOCA 1
  20721. | #define HAVE_FORK 1
  20722. | #define HAVE_VFORK 1
  20723. | #define HAVE_WORKING_VFORK 1
  20724. | #define HAVE_WORKING_FORK 1
  20725. | /* end confdefs.h. */
  20726. | #include <endian.h>
  20727. | int
  20728. | main ()
  20729. | {
  20730. | #if defined(__FLOAT_WORD_ORDER) && __FLOAT_WORD_ORDER == BIG_ENDIAN
  20731. | return 0;
  20732. | #else
  20733. | not float word order big endian
  20734. | #endif
  20735. |
  20736. | ;
  20737. | return 0;
  20738. | }
  20739. configure:14582: result: no
  20740. configure:14592: checking for nlist in -lelf
  20741. configure:14617: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lelf -ldl >&5
  20742. configure:14617: $? = 0
  20743. configure:14626: result: yes
  20744. configure:14632: checking leading underscore in symbol names
  20745. configure:14687: result: no
  20746. configure:14704: checking whether __attribute__((visibility("hidden"))) is supported
  20747. configure:14709: result: yes
  20748. configure:14721: checking for clock_gettime in -lrt
  20749. configure:14746: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lrt -lelf -ldl >&5
  20750. configure:14746: $? = 0
  20751. configure:14755: result: yes
  20752. configure:14766: checking for clock_gettime in -lrt
  20753. configure:14800: result: yes
  20754. configure:14813: checking for clock_gettime
  20755. configure:14813: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lrt -lelf -ldl >&5
  20756. configure:14813: $? = 0
  20757. configure:14813: result: yes
  20758. configure:14813: checking for timer_settime
  20759. configure:14813: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lrt -lelf -ldl >&5
  20760. configure:14813: $? = 0
  20761. configure:14813: result: yes
  20762. configure:14823: checking for timer_create
  20763. configure:14823: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lrt -lelf -ldl >&5
  20764. configure:14823: $? = 0
  20765. configure:14823: result: yes
  20766. configure:14962: checking for printf$LDBLStub
  20767. configure:14982: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lrt -lelf -ldl >&5
  20768. /run/user/1001/ccztVpfr.o: In function `main':
  20769. conftest.c:(.text+0xa): undefined reference to `printf$LDBLStub'
  20770. collect2: error: ld returned 1 exit status
  20771. configure:14982: $? = 1
  20772. configure: failed program was:
  20773. | /* confdefs.h */
  20774. | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  20775. | #define PACKAGE_TARNAME "ghc-8.7"
  20776. | #define PACKAGE_VERSION "8.7"
  20777. | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  20778. | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  20779. | #define PACKAGE_URL ""
  20780. | #define STDC_HEADERS 1
  20781. | #define HAVE_SYS_TYPES_H 1
  20782. | #define HAVE_SYS_STAT_H 1
  20783. | #define HAVE_STDLIB_H 1
  20784. | #define HAVE_STRING_H 1
  20785. | #define HAVE_MEMORY_H 1
  20786. | #define HAVE_STRINGS_H 1
  20787. | #define HAVE_INTTYPES_H 1
  20788. | #define HAVE_STDINT_H 1
  20789. | #define HAVE_UNISTD_H 1
  20790. | #define __EXTENSIONS__ 1
  20791. | #define _ALL_SOURCE 1
  20792. | #define _GNU_SOURCE 1
  20793. | #define _POSIX_PTHREAD_SEMANTICS 1
  20794. | #define _TANDEM_SOURCE 1
  20795. | #define sUPPORTED_LLVM_VERSION (7,0)
  20796. | #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  20797. | #define STDC_HEADERS 1
  20798. | #define HAVE_CTYPE_H 1
  20799. | #define HAVE_DIRENT_H 1
  20800. | #define HAVE_DLFCN_H 1
  20801. | #define HAVE_ERRNO_H 1
  20802. | #define HAVE_FCNTL_H 1
  20803. | #define HAVE_GRP_H 1
  20804. | #define HAVE_LIMITS_H 1
  20805. | #define HAVE_LOCALE_H 1
  20806. | #define HAVE_NLIST_H 1
  20807. | #define HAVE_PTHREAD_H 1
  20808. | #define HAVE_PWD_H 1
  20809. | #define HAVE_SIGNAL_H 1
  20810. | #define HAVE_SYS_PARAM_H 1
  20811. | #define HAVE_SYS_MMAN_H 1
  20812. | #define HAVE_SYS_RESOURCE_H 1
  20813. | #define HAVE_SYS_SELECT_H 1
  20814. | #define HAVE_SYS_TIME_H 1
  20815. | #define HAVE_SYS_TIMEB_H 1
  20816. | #define HAVE_SYS_TIMERFD_H 1
  20817. | #define HAVE_SYS_TIMES_H 1
  20818. | #define HAVE_SYS_UTSNAME_H 1
  20819. | #define HAVE_SYS_WAIT_H 1
  20820. | #define HAVE_TERMIOS_H 1
  20821. | #define HAVE_TIME_H 1
  20822. | #define HAVE_UTIME_H 1
  20823. | #define HAVE_SCHED_H 1
  20824. | #define TIME_WITH_SYS_TIME 1
  20825. | #define HAVE_LONG_LONG 1
  20826. | #define SIZEOF_CHAR 1
  20827. | #define ALIGNMENT_CHAR 1
  20828. | #define SIZEOF_DOUBLE 8
  20829. | #define ALIGNMENT_DOUBLE 8
  20830. | #define SIZEOF_FLOAT 4
  20831. | #define ALIGNMENT_FLOAT 4
  20832. | #define SIZEOF_INT 4
  20833. | #define ALIGNMENT_INT 4
  20834. | #define SIZEOF_LONG 8
  20835. | #define ALIGNMENT_LONG 8
  20836. | #define SIZEOF_LONG_LONG 8
  20837. | #define ALIGNMENT_LONG_LONG 8
  20838. | #define SIZEOF_SHORT 2
  20839. | #define ALIGNMENT_SHORT 2
  20840. | #define SIZEOF_UNSIGNED_CHAR 1
  20841. | #define ALIGNMENT_UNSIGNED_CHAR 1
  20842. | #define SIZEOF_UNSIGNED_INT 4
  20843. | #define ALIGNMENT_UNSIGNED_INT 4
  20844. | #define SIZEOF_UNSIGNED_LONG 8
  20845. | #define ALIGNMENT_UNSIGNED_LONG 8
  20846. | #define SIZEOF_UNSIGNED_LONG_LONG 8
  20847. | #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  20848. | #define SIZEOF_UNSIGNED_SHORT 2
  20849. | #define ALIGNMENT_UNSIGNED_SHORT 2
  20850. | #define SIZEOF_VOID_P 8
  20851. | #define ALIGNMENT_VOID_P 8
  20852. | #define SIZEOF_INT8_T 1
  20853. | #define ALIGNMENT_INT8_T 1
  20854. | #define SIZEOF_UINT8_T 1
  20855. | #define ALIGNMENT_UINT8_T 1
  20856. | #define SIZEOF_INT16_T 2
  20857. | #define ALIGNMENT_INT16_T 2
  20858. | #define SIZEOF_UINT16_T 2
  20859. | #define ALIGNMENT_UINT16_T 2
  20860. | #define SIZEOF_INT32_T 4
  20861. | #define ALIGNMENT_INT32_T 4
  20862. | #define SIZEOF_UINT32_T 4
  20863. | #define ALIGNMENT_UINT32_T 4
  20864. | #define SIZEOF_INT64_T 8
  20865. | #define ALIGNMENT_INT64_T 8
  20866. | #define SIZEOF_UINT64_T 8
  20867. | #define ALIGNMENT_UINT64_T 8
  20868. | #define HAVE_GETRUSAGE 1
  20869. | #define HAVE_GETTIMEOFDAY 1
  20870. | #define HAVE_SETITIMER 1
  20871. | #define HAVE_SIGINTERRUPT 1
  20872. | #define HAVE_SYSCONF 1
  20873. | #define HAVE_TIMES 1
  20874. | #define HAVE_CTIME_R 1
  20875. | #define HAVE_SCHED_SETAFFINITY 1
  20876. | #define HAVE_SETLOCALE 1
  20877. | #define HAVE_DECL_CTIME_R 1
  20878. | #define HAVE_LIBM 1
  20879. | #define HAVE_LIBDL 1
  20880. | #define HAVE_ALLOCA_H 1
  20881. | #define HAVE_ALLOCA 1
  20882. | #define HAVE_FORK 1
  20883. | #define HAVE_VFORK 1
  20884. | #define HAVE_WORKING_VFORK 1
  20885. | #define HAVE_WORKING_FORK 1
  20886. | #define HAS_VISIBILITY_HIDDEN 1
  20887. | #define HAVE_LIBRT 1
  20888. | #define HAVE_CLOCK_GETTIME 1
  20889. | #define HAVE_TIMER_SETTIME 1
  20890. | #define USE_TIMER_CREATE 1
  20891. | /* end confdefs.h. */
  20892. |
  20893. | /* Override any GCC internal prototype to avoid an error.
  20894. | Use char because int might match the return type of a GCC
  20895. | builtin and then its argument prototype would still apply. */
  20896. | #ifdef __cplusplus
  20897. | extern "C"
  20898. | #endif
  20899. | char printf$LDBLStub ();
  20900. | int
  20901. | main ()
  20902. | {
  20903. | return printf$LDBLStub ();
  20904. | ;
  20905. | return 0;
  20906. | }
  20907. configure:14992: result: no
  20908. configure:15002: checking whether -lpthread is needed for pthreads
  20909. configure:15004: checking for pthread_create
  20910. configure:15004: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lrt -lelf -ldl >&5
  20911. configure:15004: $? = 0
  20912. configure:15004: result: yes
  20913. configure:15007: result: no
  20914. configure:15078: checking for pthread_setname_np in -lpthread
  20915. configure:15103: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lpthread -lrt -lelf -ldl >&5
  20916. configure:15103: $? = 0
  20917. configure:15112: result: yes
  20918. configure:15123: checking for pthread_setname_np
  20919. configure:15139: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lpthread -lrt -lelf -ldl >&5
  20920. conftest.c:124:0: warning: "_GNU_SOURCE" redefined
  20921. #define _GNU_SOURCE
  20922.  
  20923. conftest.c:20:0: note: this is the location of the previous definition
  20924. #define _GNU_SOURCE 1
  20925.  
  20926. configure:15139: $? = 0
  20927. configure:15140: result: yes
  20928. configure:15155: checking sys/eventfd.h usability
  20929. configure:15155: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20930. configure:15155: $? = 0
  20931. configure:15155: result: yes
  20932. configure:15155: checking sys/eventfd.h presence
  20933. configure:15155: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  20934. configure:15155: $? = 0
  20935. configure:15155: result: yes
  20936. configure:15155: checking for sys/eventfd.h
  20937. configure:15155: result: yes
  20938. configure:15167: checking for eventfd
  20939. configure:15167: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lpthread -lrt -lelf -ldl >&5
  20940. configure:15167: $? = 0
  20941. configure:15167: result: yes
  20942. configure:15177: checking for __thread support
  20943. configure:15183: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20944. configure:15183: $? = 0
  20945. configure:15185: result: yes
  20946. configure:15223: checking whether MAP_NORESERVE is declared
  20947. configure:15223: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20948. configure:15223: $? = 0
  20949. configure:15223: result: yes
  20950. configure:15239: checking whether MADV_FREE is declared
  20951. configure:15239: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20952. configure:15239: $? = 0
  20953. configure:15239: result: yes
  20954. configure:15255: checking whether MADV_DONTNEED is declared
  20955. configure:15255: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20956. configure:15255: $? = 0
  20957. configure:15255: result: yes
  20958. configure:15376: checking numa.h usability
  20959. configure:15376: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20960. configure:15376: $? = 0
  20961. configure:15376: result: yes
  20962. configure:15376: checking numa.h presence
  20963. configure:15376: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  20964. configure:15376: $? = 0
  20965. configure:15376: result: yes
  20966. configure:15376: checking for numa.h
  20967. configure:15376: result: yes
  20968. configure:15376: checking numaif.h usability
  20969. configure:15376: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -c -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c >&5
  20970. configure:15376: $? = 0
  20971. configure:15376: result: yes
  20972. configure:15376: checking numaif.h presence
  20973. configure:15376: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include conftest.c
  20974. configure:15376: $? = 0
  20975. configure:15376: result: yes
  20976. configure:15376: checking for numaif.h
  20977. configure:15376: result: yes
  20978. configure:15388: checking for numa_available in -lnuma
  20979. configure:15413: /nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -o conftest -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include -L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack conftest.c -lnuma -lpthread -lrt -lelf -ldl >&5
  20980. configure:15413: $? = 0
  20981. configure:15422: result: yes
  20982. configure:15633: creating ./config.status
  20983.  
  20984. ## ---------------------- ##
  20985. ## Running config.status. ##
  20986. ## ---------------------- ##
  20987.  
  20988. This file was extended by The Glorious Glasgow Haskell Compilation System config.status 8.7, which was
  20989. generated by GNU Autoconf 2.69. Invocation command line was
  20990.  
  20991. CONFIG_FILES =
  20992. CONFIG_HEADERS =
  20993. CONFIG_LINKS =
  20994. CONFIG_COMMANDS =
  20995. $ ./config.status
  20996.  
  20997. on enterprise
  20998.  
  20999. config.status:1159: creating hadrian/cfg/system.config
  21000. config.status:1159: creating mk/config.mk
  21001. config.status:1159: creating mk/install.mk
  21002. config.status:1159: creating mk/project.mk
  21003. config.status:1159: creating rts/rts.cabal
  21004. config.status:1159: creating compiler/ghc.cabal
  21005. config.status:1159: creating ghc/ghc-bin.cabal
  21006. config.status:1159: creating utils/iserv/iserv.cabal
  21007. config.status:1159: creating utils/iserv-proxy/iserv-proxy.cabal
  21008. config.status:1159: creating utils/runghc/runghc.cabal
  21009. config.status:1159: creating utils/gen-dll/gen-dll.cabal
  21010. config.status:1159: creating libraries/ghc-boot/ghc-boot.cabal
  21011. config.status:1159: creating libraries/ghc-boot-th/ghc-boot-th.cabal
  21012. config.status:1159: creating libraries/ghci/ghci.cabal
  21013. config.status:1159: creating libraries/ghc-heap/ghc-heap.cabal
  21014. config.status:1159: creating libraries/libiserv/libiserv.cabal
  21015. config.status:1159: creating settings
  21016. config.status:1159: creating docs/users_guide/ghc_config.py
  21017. config.status:1159: creating docs/index.html
  21018. config.status:1159: creating libraries/prologue.txt
  21019. config.status:1159: creating distrib/configure.ac
  21020. config.status:1159: creating mk/config.h
  21021. config.status:1334: mk/config.h is unchanged
  21022.  
  21023. ## ---------------- ##
  21024. ## Cache variables. ##
  21025. ## ---------------- ##
  21026.  
  21027. ac_cv_build=x86_64-pc-linux-gnu
  21028. ac_cv_c_bigendian=no
  21029. ac_cv_c_compiler_gnu=yes
  21030. ac_cv_c_const=yes
  21031. ac_cv_env_ALEX_set=
  21032. ac_cv_env_ALEX_value=
  21033. ac_cv_env_CC_STAGE0_set=set
  21034. ac_cv_env_CC_STAGE0_value=/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc
  21035. ac_cv_env_CC_set=set
  21036. ac_cv_env_CC_value=/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc
  21037. ac_cv_env_CFLAGS_set=set
  21038. ac_cv_env_CFLAGS_value=-I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include
  21039. ac_cv_env_CPPFLAGS_set=set
  21040. ac_cv_env_CPPFLAGS_value=-I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include
  21041. ac_cv_env_CPP_set=
  21042. ac_cv_env_CPP_value=
  21043. ac_cv_env_GHC_set=
  21044. ac_cv_env_GHC_value=
  21045. ac_cv_env_HAPPY_set=
  21046. ac_cv_env_HAPPY_value=
  21047. ac_cv_env_LDFLAGS_set=set
  21048. ac_cv_env_LDFLAGS_value=-L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib
  21049. ac_cv_env_LIBS_set=
  21050. ac_cv_env_LIBS_value=
  21051. ac_cv_env_build_alias_set=
  21052. ac_cv_env_build_alias_value=
  21053. ac_cv_env_host_alias_set=
  21054. ac_cv_env_host_alias_value=
  21055. ac_cv_env_target_alias_set=set
  21056. ac_cv_env_target_alias_value=aarch64-unknown-linux-gnu
  21057. ac_cv_func_alloca_works=yes
  21058. ac_cv_func_clock_gettime=yes
  21059. ac_cv_func_ctime_r=yes
  21060. ac_cv_func_eventfd=yes
  21061. ac_cv_func_fork=yes
  21062. ac_cv_func_fork_works=yes
  21063. ac_cv_func_getclock=no
  21064. ac_cv_func_getrusage=yes
  21065. ac_cv_func_gettimeofday=yes
  21066. ac_cv_func_pthread_create=yes
  21067. ac_cv_func_sched_setaffinity=yes
  21068. ac_cv_func_setitimer=yes
  21069. ac_cv_func_setlocale=yes
  21070. ac_cv_func_siginterrupt=yes
  21071. ac_cv_func_sysconf=yes
  21072. ac_cv_func_timer_create=yes
  21073. ac_cv_func_timer_settime=yes
  21074. ac_cv_func_times=yes
  21075. ac_cv_func_vfork=yes
  21076. ac_cv_func_vfork_works=yes
  21077. ac_cv_have_decl_MADV_DONTNEED=yes
  21078. ac_cv_have_decl_MADV_FREE=yes
  21079. ac_cv_have_decl_MAP_NORESERVE=yes
  21080. ac_cv_have_decl_ctime_r=yes
  21081. ac_cv_header_ctype_h=yes
  21082. ac_cv_header_dirent_h=yes
  21083. ac_cv_header_dlfcn_h=yes
  21084. ac_cv_header_errno_h=yes
  21085. ac_cv_header_fcntl_h=yes
  21086. ac_cv_header_grp_h=yes
  21087. ac_cv_header_inttypes_h=yes
  21088. ac_cv_header_limits_h=yes
  21089. ac_cv_header_locale_h=yes
  21090. ac_cv_header_memory_h=yes
  21091. ac_cv_header_minix_config_h=no
  21092. ac_cv_header_nlist_h=yes
  21093. ac_cv_header_numa_h=yes
  21094. ac_cv_header_numaif_h=yes
  21095. ac_cv_header_pthread_h=yes
  21096. ac_cv_header_pwd_h=yes
  21097. ac_cv_header_sched_h=yes
  21098. ac_cv_header_signal_h=yes
  21099. ac_cv_header_stdc=yes
  21100. ac_cv_header_stdint_h=yes
  21101. ac_cv_header_stdlib_h=yes
  21102. ac_cv_header_string_h=yes
  21103. ac_cv_header_strings_h=yes
  21104. ac_cv_header_sys_cpuset_h=no
  21105. ac_cv_header_sys_eventfd_h=yes
  21106. ac_cv_header_sys_mman_h=yes
  21107. ac_cv_header_sys_param_h=yes
  21108. ac_cv_header_sys_resource_h=yes
  21109. ac_cv_header_sys_select_h=yes
  21110. ac_cv_header_sys_stat_h=yes
  21111. ac_cv_header_sys_time_h=yes
  21112. ac_cv_header_sys_timeb_h=yes
  21113. ac_cv_header_sys_timerfd_h=yes
  21114. ac_cv_header_sys_timers_h=no
  21115. ac_cv_header_sys_times_h=yes
  21116. ac_cv_header_sys_types_h=yes
  21117. ac_cv_header_sys_utsname_h=yes
  21118. ac_cv_header_sys_wait_h=yes
  21119. ac_cv_header_termios_h=yes
  21120. ac_cv_header_time=yes
  21121. ac_cv_header_time_h=yes
  21122. ac_cv_header_unistd_h=yes
  21123. ac_cv_header_utime_h=yes
  21124. ac_cv_header_vfork_h=no
  21125. ac_cv_header_windows_h=no
  21126. ac_cv_header_winsock_h=no
  21127. ac_cv_host=x86_64-pc-linux-gnu
  21128. ac_cv_lib_dl_dlopen=yes
  21129. ac_cv_lib_elf_nlist=yes
  21130. ac_cv_lib_m_atan=yes
  21131. ac_cv_lib_mingwex_closedir=no
  21132. ac_cv_lib_numa_numa_available=yes
  21133. ac_cv_lib_pthread_pthread_setname_np=yes
  21134. ac_cv_lib_rt_clock_gettime=yes
  21135. ac_cv_objext=o
  21136. ac_cv_path_ALEX=/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/alex
  21137. ac_cv_path_Bzip2Cmd=/nix/store/5rd9qb6jkzkgd18dm1b379m8439cszac-bzip2-1.0.6.0.1-bin/bin/bzip2
  21138. ac_cv_path_EGREP='/nix/store/2zffhanx8r6zk9qlnn1nrnnwyg45n4lw-gnugrep-3.1/bin/grep -E'
  21139. ac_cv_path_GHC=/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/ghc
  21140. ac_cv_path_GREP=/nix/store/2zffhanx8r6zk9qlnn1nrnnwyg45n4lw-gnugrep-3.1/bin/grep
  21141. ac_cv_path_GzipCmd=/nix/store/zrzqgdm6jxihsban195vrlcskmx9m4zc-gzip-1.9/bin/gzip
  21142. ac_cv_path_HAPPY=/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/happy
  21143. ac_cv_path_PatchCmd=/nix/store/vcin3m0v7d9ph55468jp5zy9v4k4ba9a-patch-2.7.6/bin/patch
  21144. ac_cv_path_PerlCmd=/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/perl
  21145. ac_cv_path_SPHINXBUILD=/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/sphinx-build
  21146. ac_cv_path_SedCmd=/nix/store/s3jpqbw2y0hvwh3nl4063v5c763parg0-gnused-4.5/bin/sed
  21147. ac_cv_path_TarCmd=/nix/store/z5r5s8ccp7hlxkmaijhdikppcawa6d0p-gnutar-1.30/bin/tar
  21148. ac_cv_path_TimeCmd=/run/current-system/sw/bin/time
  21149. ac_cv_path_XELATEX=/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/xelatex
  21150. ac_cv_path_XzCmd=/nix/store/bgv7sypfxl64bdy76l055nghmds8ndgl-xz-5.2.4-bin/bin/xz
  21151. ac_cv_path_fp_prog_find=/nix/store/9gnkv6x5d5fsn62vi8lnfiscmh7jpf8z-findutils-4.6.0/bin/find
  21152. ac_cv_path_fp_prog_sort=/nix/store/dm20hrdk6s4jzfmk1197p2nya0p8fy3a-coreutils-8.29/bin/sort
  21153. ac_cv_path_install='/nix/store/dm20hrdk6s4jzfmk1197p2nya0p8fy3a-coreutils-8.29/bin/install -c'
  21154. ac_cv_prog_CC=/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc
  21155. ac_cv_prog_CPP='/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E'
  21156. ac_cv_prog_DllWrap=aarch64-unknown-linux-gnu-dllwrap
  21157. ac_cv_prog_LD=ld
  21158. ac_cv_prog_NM=nm
  21159. ac_cv_prog_OBJDUMP=objdump
  21160. ac_cv_prog_RANLIB=ranlib
  21161. ac_cv_prog_STRIP=strip
  21162. ac_cv_prog_Windres=aarch64-unknown-linux-gnu-windres
  21163. ac_cv_prog_ac_ct_LLC=llc
  21164. ac_cv_prog_ac_ct_OPT=opt
  21165. ac_cv_prog_cc_c89=
  21166. ac_cv_prog_cc_g=yes
  21167. ac_cv_prog_fp_prog_ar=aarch64-unknown-linux-gnu-ar
  21168. ac_cv_safe_to_define___extensions__=yes
  21169. ac_cv_sizeof_char=1
  21170. ac_cv_sizeof_double=8
  21171. ac_cv_sizeof_float=4
  21172. ac_cv_sizeof_int16_t=2
  21173. ac_cv_sizeof_int32_t=4
  21174. ac_cv_sizeof_int64_t=8
  21175. ac_cv_sizeof_int8_t=1
  21176. ac_cv_sizeof_int=4
  21177. ac_cv_sizeof_long=8
  21178. ac_cv_sizeof_long_long=8
  21179. ac_cv_sizeof_short=2
  21180. ac_cv_sizeof_uint16_t=2
  21181. ac_cv_sizeof_uint32_t=4
  21182. ac_cv_sizeof_uint64_t=8
  21183. ac_cv_sizeof_uint8_t=1
  21184. ac_cv_sizeof_unsigned_char=1
  21185. ac_cv_sizeof_unsigned_int=4
  21186. ac_cv_sizeof_unsigned_long=8
  21187. ac_cv_sizeof_unsigned_long_long=8
  21188. ac_cv_sizeof_unsigned_short=2
  21189. ac_cv_sizeof_void_p=8
  21190. ac_cv_sys_file_offset_bits=no
  21191. ac_cv_sys_interpreter=yes
  21192. ac_cv_sys_largefile_CC=no
  21193. ac_cv_target=aarch64-unknown-linux-gnu
  21194. ac_cv_type_char=yes
  21195. ac_cv_type_double=yes
  21196. ac_cv_type_float=yes
  21197. ac_cv_type_int16_t=yes
  21198. ac_cv_type_int32_t=yes
  21199. ac_cv_type_int64_t=yes
  21200. ac_cv_type_int8_t=yes
  21201. ac_cv_type_int=yes
  21202. ac_cv_type_long=yes
  21203. ac_cv_type_long_long=yes
  21204. ac_cv_type_pid_t=yes
  21205. ac_cv_type_short=yes
  21206. ac_cv_type_size_t=yes
  21207. ac_cv_type_uint16_t=yes
  21208. ac_cv_type_uint32_t=yes
  21209. ac_cv_type_uint64_t=yes
  21210. ac_cv_type_uint8_t=yes
  21211. ac_cv_type_unsigned_char=yes
  21212. ac_cv_type_unsigned_int=yes
  21213. ac_cv_type_unsigned_long=yes
  21214. ac_cv_type_unsigned_long_long=yes
  21215. ac_cv_type_unsigned_short=yes
  21216. ac_cv_type_void_p=yes
  21217. ac_cv_working_alloca_h=yes
  21218. fp_cv_alignment_char=1
  21219. fp_cv_alignment_double=8
  21220. fp_cv_alignment_float=4
  21221. fp_cv_alignment_int16_t=2
  21222. fp_cv_alignment_int32_t=4
  21223. fp_cv_alignment_int64_t=8
  21224. fp_cv_alignment_int8_t=1
  21225. fp_cv_alignment_int=4
  21226. fp_cv_alignment_long=8
  21227. fp_cv_alignment_long_long=8
  21228. fp_cv_alignment_short=2
  21229. fp_cv_alignment_uint16_t=2
  21230. fp_cv_alignment_uint32_t=4
  21231. fp_cv_alignment_uint64_t=8
  21232. fp_cv_alignment_uint8_t=1
  21233. fp_cv_alignment_unsigned_char=1
  21234. fp_cv_alignment_unsigned_int=4
  21235. fp_cv_alignment_unsigned_long=8
  21236. fp_cv_alignment_unsigned_long_long=8
  21237. fp_cv_alignment_unsigned_short=2
  21238. fp_cv_alignment_void_p=8
  21239. fp_cv_context_diff='diff -U 1'
  21240. fp_cv_func_GetModuleFileName=no
  21241. fp_cv_func_WinExec=no
  21242. fp_cv_gcc_extra_opts=' -fwrapv -fno-builtin'
  21243. fp_cv_gcc_version=7.3.0
  21244. fp_cv_gnu_ld=YES
  21245. fp_cv_ld_build_id=yes
  21246. fp_cv_ld_has_filelist=no
  21247. fp_cv_ld_no_compact_unwind=yes
  21248. fp_cv_matching_ghc_pkg=/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/ghc-pkg
  21249. fp_cv_prog_ar_args=q
  21250. fp_cv_prog_ar_is_gnu=yes
  21251. fp_cv_prog_ar_needs_ranlib=no
  21252. fp_cv_prog_ar_supports_atfile=yes
  21253. fp_cv_sphinx_version=1.7.8
  21254. fptools_cv_alex_version=3.2.4
  21255. fptools_cv_float_word_order_bigendian=no
  21256. fptools_cv_happy_version=1.19.9
  21257. fptools_cv_leading_underscore=no
  21258.  
  21259. ## ----------------- ##
  21260. ## Output variables. ##
  21261. ## ----------------- ##
  21262.  
  21263. ALEX='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/alex'
  21264. ALLOCA=''
  21265. AR='ar'
  21266. ARM_ISA=''
  21267. AR_OPTS_STAGE0='q'
  21268. AR_STAGE0='ar'
  21269. AS='as'
  21270. AlexCmd='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/alex'
  21271. AlexVersion='3.2.4'
  21272. ArArgs='q'
  21273. ArCmd='aarch64-unknown-linux-gnu-ar'
  21274. ArIsGNUAr='YES'
  21275. ArSupportsAtFile='YES'
  21276. ArSupportsAtFile_STAGE0='YES'
  21277. BUILD_MAN='YES'
  21278. BUILD_SPHINX_HTML='YES'
  21279. BUILD_SPHINX_PDF='YES'
  21280. BuildArch_CPP='x86_64'
  21281. BuildOS_CPP='linux'
  21282. BuildPlatform='x86_64-unknown-linux'
  21283. BuildPlatform_CPP='x86_64_unknown_linux'
  21284. BuildVendor_CPP='unknown'
  21285. Bzip2Cmd='/nix/store/5rd9qb6jkzkgd18dm1b379m8439cszac-bzip2-1.0.6.0.1-bin/bin/bzip2'
  21286. CC='/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc'
  21287. CC_CLANG_BACKEND='0'
  21288. CC_LLVM_BACKEND='0'
  21289. CC_STAGE0='/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc'
  21290. CFLAGS='-I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include '
  21291. CLANG=''
  21292. CONFIGURE_ARGS=' '\''--target=aarch64-unknown-linux-gnu'\'' '\''target_alias=aarch64-unknown-linux-gnu'\'' '\''CC_STAGE0=/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc'\'' '\''CC=/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc'\'' '\''CFLAGS=-I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include'\'' '\''LDFLAGS=-L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib'\'' '\''CPPFLAGS=-I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include'\'''
  21293. CONF_CC_OPTS_STAGE0=''
  21294. CONF_CC_OPTS_STAGE1=''
  21295. CONF_CC_OPTS_STAGE2=''
  21296. CONF_CPP_OPTS_STAGE0=''
  21297. CONF_CPP_OPTS_STAGE1=''
  21298. CONF_CPP_OPTS_STAGE2=''
  21299. CONF_GCC_LINKER_OPTS_STAGE0=''
  21300. CONF_GCC_LINKER_OPTS_STAGE1=' -Wl,-z,noexecstack'
  21301. CONF_GCC_LINKER_OPTS_STAGE2=' -Wl,-z,noexecstack'
  21302. CONF_HC_OPTS_STAGE0=''
  21303. CONF_HC_OPTS_STAGE1=''
  21304. CONF_HC_OPTS_STAGE2=''
  21305. CONF_LD_LINKER_OPTS_STAGE0=''
  21306. CONF_LD_LINKER_OPTS_STAGE1=' -z noexecstack'
  21307. CONF_LD_LINKER_OPTS_STAGE2=' -z noexecstack'
  21308. CPP='/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc -E'
  21309. CPPFLAGS='-I/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include'
  21310. CURSES_INCLUDE_DIRS='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include'
  21311. CURSES_LIB_DIRS='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib'
  21312. Cabal64bit='False'
  21313. CabalHaveLibNuma='True'
  21314. CabalHaveLibbfd='False'
  21315. CabalHaveLibdl='True'
  21316. CabalHaveLibdw='False'
  21317. CabalHaveLibffi='False'
  21318. CabalHaveLibm='True'
  21319. CabalHaveLibrt='True'
  21320. CabalLeadingUnderscore='False'
  21321. CabalMingwex='False'
  21322. CabalNeedLibpthread='False'
  21323. ClangCmd=''
  21324. ContextDiffCmd='diff -U 1'
  21325. CrossCompilePrefix='aarch64-unknown-linux-gnu-'
  21326. CrossCompiling='YES'
  21327. DEFS='-DHAVE_CONFIG_H'
  21328. DllWrap='aarch64-unknown-linux-gnu-dllwrap'
  21329. DllWrapCmd='aarch64-unknown-linux-gnu-dllwrap'
  21330. DtraceCmd=''
  21331. ECHO_C=''
  21332. ECHO_N='-n'
  21333. ECHO_T=''
  21334. EGREP='/nix/store/2zffhanx8r6zk9qlnn1nrnnwyg45n4lw-gnugrep-3.1/bin/grep -E'
  21335. EXEEXT=''
  21336. EnableDistroToolchain='NO'
  21337. FFIIncludeDir=''
  21338. FFILibDir=''
  21339. FindCmd='/nix/store/9gnkv6x5d5fsn62vi8lnfiscmh7jpf8z-findutils-4.6.0/bin/find'
  21340. GHC='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/ghc'
  21341. GHC_PACKAGE_DB_FLAG='package-db'
  21342. GMP_FORCE_INTREE='NO'
  21343. GMP_INCLUDE_DIRS='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/include'
  21344. GMP_LIB_DIRS='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib'
  21345. GMP_PREFER_FRAMEWORK='NO'
  21346. GREP='/nix/store/2zffhanx8r6zk9qlnn1nrnnwyg45n4lw-gnugrep-3.1/bin/grep'
  21347. GccExtraViaCOpts=' -fwrapv -fno-builtin'
  21348. GccIsClang=''
  21349. GccLT46='NO'
  21350. GccVersion='7.3.0'
  21351. Genlib=''
  21352. GenlibCmd=''
  21353. GhcLibsWithUnix='YES'
  21354. GhcMajVersion='8'
  21355. GhcMinVersion='4'
  21356. GhcPatchLevel='3'
  21357. GhcPkgCmd='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/ghc-pkg'
  21358. GhcVersion='8.4.3'
  21359. GzipCmd='/nix/store/zrzqgdm6jxihsban195vrlcskmx9m4zc-gzip-1.9/bin/gzip'
  21360. HAPPY='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/happy'
  21361. HAVE_GENLIB='False'
  21362. HSCOLOUR=''
  21363. HappyCmd='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/happy'
  21364. HappyVersion='1.19.9'
  21365. HaskellCPPArgs='-E -undef -traditional'
  21366. HaskellCPPCmd='/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc'
  21367. HaskellHaveGnuNonexecStack='True'
  21368. HaskellHaveIdentDirective='True'
  21369. HaskellHaveRTSLinker='YES'
  21370. HaskellHaveSubsectionsViaSymbols='False'
  21371. HaskellTargetArch='ArchARM64'
  21372. HaskellTargetOs='OSLinux'
  21373. HaveDtrace='NO'
  21374. HaveLibMingwEx='NO'
  21375. HostArch_CPP='x86_64'
  21376. HostOS_CPP='linux'
  21377. HostPlatform='x86_64-unknown-linux'
  21378. HostPlatform_CPP='x86_64_unknown_linux'
  21379. HostVendor_CPP='unknown'
  21380. ICONV_INCLUDE_DIRS=''
  21381. ICONV_LIB_DIRS=''
  21382. INSTALL_DATA='${INSTALL} -m 644'
  21383. INSTALL_PROGRAM='${INSTALL}'
  21384. INSTALL_SCRIPT='${INSTALL}'
  21385. LD='ld'
  21386. LDFLAGS='-L/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/lib -Wl,-z,noexecstack'
  21387. LD_STAGE0='/nix/store/p3rksdhjr1sr5rvg99vb20cki03ay29g-binutils-wrapper-2.30/bin/ld'
  21388. LIBOBJS=''
  21389. LIBRARY_Cabal_VERSION='2.5.0.0'
  21390. LIBRARY_base_VERSION='4.12.0.0'
  21391. LIBRARY_ghc_VERSION='8.7.20190211'
  21392. LIBRARY_ghc_compact_VERSION='0.1.0.0'
  21393. LIBRARY_ghc_prim_VERSION='0.5.3'
  21394. LIBS='-lpthread -lrt -lelf -ldl '
  21395. LIBTOOL=''
  21396. LLC='llc'
  21397. LLVMTarget_CPP='aarch64-unknown-linux'
  21398. LN_S='ln -s'
  21399. LTLIBOBJS=''
  21400. LdCmd='ld'
  21401. LdHasBuildId='YES'
  21402. LdHasFilelist='NO'
  21403. LdHasNoCompactUnwind='YES'
  21404. LdIsGNULd='YES'
  21405. LdNoGoldCmd='ld'
  21406. LeadingUnderscore='NO'
  21407. LibtoolCmd=''
  21408. LlcCmd='llc'
  21409. LlvmVersion='7.0'
  21410. MakeCmd='make'
  21411. NM='nm'
  21412. NmCmd='nm'
  21413. OBJDUMP='objdump'
  21414. OBJEXT='o'
  21415. OPT='opt'
  21416. OSTYPE='linux-gnu'
  21417. ObjdumpCmd='objdump'
  21418. OptCmd='opt'
  21419. PACKAGE_BUGREPORT='glasgow-haskell-bugs@haskell.org'
  21420. PACKAGE_NAME='The Glorious Glasgow Haskell Compilation System'
  21421. PACKAGE_STRING='The Glorious Glasgow Haskell Compilation System 8.7'
  21422. PACKAGE_TARNAME='ghc-8.7'
  21423. PACKAGE_URL=''
  21424. PACKAGE_VERSION='8.7.20190211'
  21425. PATH_SEPARATOR=':'
  21426. PatchCmd='/nix/store/vcin3m0v7d9ph55468jp5zy9v4k4ba9a-patch-2.7.6/bin/patch'
  21427. PerlCmd='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/perl'
  21428. ProjectGitCommitId='180c9762d4565f0e8b192abf95d2bed57765e0c5'
  21429. ProjectName='The Glorious Glasgow Haskell Compilation System'
  21430. ProjectPatchLevel1='20190211'
  21431. ProjectPatchLevel2=''
  21432. ProjectPatchLevel='20190211'
  21433. ProjectVersion='8.7.20190211'
  21434. ProjectVersionInt='807'
  21435. ProjectVersionMunged='8.7'
  21436. RANLIB='ranlib'
  21437. RANLIB_CMD='true'
  21438. READELF='readelf'
  21439. REAL_RANLIB_CMD='ranlib'
  21440. RanlibCmd='ranlib'
  21441. SHELL='/nix/store/a9i0a06gcs8w9fj9nghsl0b6vvqpzpi4-bash-4.4-p23/bin/bash'
  21442. SOLARIS_BROKEN_SHLD='NO'
  21443. SPHINXBUILD='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/sphinx-build'
  21444. STRIP='strip'
  21445. SedCmd='/nix/store/s3jpqbw2y0hvwh3nl4063v5c763parg0-gnused-4.5/bin/sed'
  21446. SettingsArCommand='aarch64-unknown-linux-gnu-ar'
  21447. SettingsCCompilerCommand='/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc'
  21448. SettingsCCompilerFlags=''
  21449. SettingsCCompilerLinkFlags=' -Wl,-z,noexecstack'
  21450. SettingsCCompilerSupportsNoPie='YES'
  21451. SettingsClangCommand='clang'
  21452. SettingsDllWrapCommand='aarch64-unknown-linux-gnu-dllwrap'
  21453. SettingsHaskellCPPCommand='/nix/store/nwy73lby94rv8jql92xhxp0wx6gxwjb2-gcc-wrapper-7.3.0/bin/cc'
  21454. SettingsHaskellCPPFlags='-E -undef -traditional'
  21455. SettingsLdCommand='ld'
  21456. SettingsLdFlags=' -z noexecstack'
  21457. SettingsLibtoolCommand='libtool'
  21458. SettingsLlcCommand='llc'
  21459. SettingsOptCommand='opt'
  21460. SettingsPerlCommand='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/perl'
  21461. SettingsRanlibCommand='ranlib'
  21462. SettingsTouchCommand='touch'
  21463. SettingsWindresCommand='aarch64-unknown-linux-gnu-windres'
  21464. SortCmd='/nix/store/dm20hrdk6s4jzfmk1197p2nya0p8fy3a-coreutils-8.29/bin/sort'
  21465. SplitObjsBroken='NO'
  21466. StripCmd='strip'
  21467. TarCmd='/nix/store/z5r5s8ccp7hlxkmaijhdikppcawa6d0p-gnutar-1.30/bin/tar'
  21468. TargetArch_CPP='aarch64'
  21469. TargetOS_CPP='linux'
  21470. TargetPlatform='aarch64-unknown-linux'
  21471. TargetPlatformFull='aarch64-unknown-linux-gnu'
  21472. TargetPlatform_CPP='aarch64_unknown_linux'
  21473. TargetVendor_CPP='unknown'
  21474. TargetWordSize='8'
  21475. TimeCmd='/run/current-system/sw/bin/time'
  21476. TmpLd=''
  21477. Unregisterised='NO'
  21478. UseLibdw='NO'
  21479. UseSystemLibFFI='NO'
  21480. Windres='aarch64-unknown-linux-gnu-windres'
  21481. WindresCmd='aarch64-unknown-linux-gnu-windres'
  21482. WithGhc='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/ghc'
  21483. XELATEX='/nix/store/jxaaf8dsrb16vnwnij69jar7mhhj969q-ghc-build-environment/bin/xelatex'
  21484. XzCmd='/nix/store/bgv7sypfxl64bdy76l055nghmds8ndgl-xz-5.2.4-bin/bin/xz'
  21485. ac_ct_CC=''
  21486. ac_ct_LLC='llc'
  21487. ac_ct_OPT='opt'
  21488. bindir='${exec_prefix}/bin'
  21489. build='x86_64-unknown-linux'
  21490. build_alias=''
  21491. build_cpu='x86_64'
  21492. build_os='linux-gnu'
  21493. build_vendor='pc'
  21494. datadir='${datarootdir}'
  21495. datarootdir='${prefix}/share'
  21496. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  21497. dvidir='${docdir}'
  21498. exec_prefix='${prefix}'
  21499. exeext_host=''
  21500. exeext_target=''
  21501. fp_prog_ar='aarch64-unknown-linux-gnu-ar'
  21502. fp_prog_find='/nix/store/9gnkv6x5d5fsn62vi8lnfiscmh7jpf8z-findutils-4.6.0/bin/find'
  21503. fp_prog_sort='/nix/store/dm20hrdk6s4jzfmk1197p2nya0p8fy3a-coreutils-8.29/bin/sort'
  21504. hardtop='/home/alp/WT/ghc2'
  21505. host='x86_64-unknown-linux'
  21506. host_alias=''
  21507. host_cpu='x86_64'
  21508. host_os='linux-gnu'
  21509. host_vendor='pc'
  21510. htmldir='${docdir}'
  21511. includedir='${prefix}/include'
  21512. infodir='${datarootdir}/info'
  21513. libdir='${exec_prefix}/lib'
  21514. libexecdir='${exec_prefix}/libexec'
  21515. localedir='${datarootdir}/locale'
  21516. localstatedir='${prefix}/var'
  21517. mandir='${datarootdir}/man'
  21518. oldincludedir='/usr/include'
  21519. pdfdir='${docdir}'
  21520. prefix='/usr/local'
  21521. program_transform_name='s,x,x,'
  21522. psdir='${docdir}'
  21523. release='1'
  21524. sbindir='${exec_prefix}/sbin'
  21525. sharedstatedir='${prefix}/com'
  21526. soext_host='.so'
  21527. soext_target='.so'
  21528. sysconfdir='${prefix}/etc'
  21529. target='aarch64-unknown-linux-gnu'
  21530. target_alias='aarch64-unknown-linux-gnu'
  21531. target_cpu='aarch64'
  21532. target_os='linux-gnu'
  21533. target_vendor='unknown'
  21534.  
  21535. ## ----------- ##
  21536. ## confdefs.h. ##
  21537. ## ----------- ##
  21538.  
  21539. /* confdefs.h */
  21540. #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"
  21541. #define PACKAGE_TARNAME "ghc-8.7"
  21542. #define PACKAGE_VERSION "8.7"
  21543. #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.7"
  21544. #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"
  21545. #define PACKAGE_URL ""
  21546. #define STDC_HEADERS 1
  21547. #define HAVE_SYS_TYPES_H 1
  21548. #define HAVE_SYS_STAT_H 1
  21549. #define HAVE_STDLIB_H 1
  21550. #define HAVE_STRING_H 1
  21551. #define HAVE_MEMORY_H 1
  21552. #define HAVE_STRINGS_H 1
  21553. #define HAVE_INTTYPES_H 1
  21554. #define HAVE_STDINT_H 1
  21555. #define HAVE_UNISTD_H 1
  21556. #define __EXTENSIONS__ 1
  21557. #define _ALL_SOURCE 1
  21558. #define _GNU_SOURCE 1
  21559. #define _POSIX_PTHREAD_SEMANTICS 1
  21560. #define _TANDEM_SOURCE 1
  21561. #define sUPPORTED_LLVM_VERSION (7,0)
  21562. #define HAVE_C11_ATOMICS $CONF_GCC_SUPPORTS__ATOMICS
  21563. #define STDC_HEADERS 1
  21564. #define HAVE_CTYPE_H 1
  21565. #define HAVE_DIRENT_H 1
  21566. #define HAVE_DLFCN_H 1
  21567. #define HAVE_ERRNO_H 1
  21568. #define HAVE_FCNTL_H 1
  21569. #define HAVE_GRP_H 1
  21570. #define HAVE_LIMITS_H 1
  21571. #define HAVE_LOCALE_H 1
  21572. #define HAVE_NLIST_H 1
  21573. #define HAVE_PTHREAD_H 1
  21574. #define HAVE_PWD_H 1
  21575. #define HAVE_SIGNAL_H 1
  21576. #define HAVE_SYS_PARAM_H 1
  21577. #define HAVE_SYS_MMAN_H 1
  21578. #define HAVE_SYS_RESOURCE_H 1
  21579. #define HAVE_SYS_SELECT_H 1
  21580. #define HAVE_SYS_TIME_H 1
  21581. #define HAVE_SYS_TIMEB_H 1
  21582. #define HAVE_SYS_TIMERFD_H 1
  21583. #define HAVE_SYS_TIMES_H 1
  21584. #define HAVE_SYS_UTSNAME_H 1
  21585. #define HAVE_SYS_WAIT_H 1
  21586. #define HAVE_TERMIOS_H 1
  21587. #define HAVE_TIME_H 1
  21588. #define HAVE_UTIME_H 1
  21589. #define HAVE_SCHED_H 1
  21590. #define TIME_WITH_SYS_TIME 1
  21591. #define HAVE_LONG_LONG 1
  21592. #define SIZEOF_CHAR 1
  21593. #define ALIGNMENT_CHAR 1
  21594. #define SIZEOF_DOUBLE 8
  21595. #define ALIGNMENT_DOUBLE 8
  21596. #define SIZEOF_FLOAT 4
  21597. #define ALIGNMENT_FLOAT 4
  21598. #define SIZEOF_INT 4
  21599. #define ALIGNMENT_INT 4
  21600. #define SIZEOF_LONG 8
  21601. #define ALIGNMENT_LONG 8
  21602. #define SIZEOF_LONG_LONG 8
  21603. #define ALIGNMENT_LONG_LONG 8
  21604. #define SIZEOF_SHORT 2
  21605. #define ALIGNMENT_SHORT 2
  21606. #define SIZEOF_UNSIGNED_CHAR 1
  21607. #define ALIGNMENT_UNSIGNED_CHAR 1
  21608. #define SIZEOF_UNSIGNED_INT 4
  21609. #define ALIGNMENT_UNSIGNED_INT 4
  21610. #define SIZEOF_UNSIGNED_LONG 8
  21611. #define ALIGNMENT_UNSIGNED_LONG 8
  21612. #define SIZEOF_UNSIGNED_LONG_LONG 8
  21613. #define ALIGNMENT_UNSIGNED_LONG_LONG 8
  21614. #define SIZEOF_UNSIGNED_SHORT 2
  21615. #define ALIGNMENT_UNSIGNED_SHORT 2
  21616. #define SIZEOF_VOID_P 8
  21617. #define ALIGNMENT_VOID_P 8
  21618. #define SIZEOF_INT8_T 1
  21619. #define ALIGNMENT_INT8_T 1
  21620. #define SIZEOF_UINT8_T 1
  21621. #define ALIGNMENT_UINT8_T 1
  21622. #define SIZEOF_INT16_T 2
  21623. #define ALIGNMENT_INT16_T 2
  21624. #define SIZEOF_UINT16_T 2
  21625. #define ALIGNMENT_UINT16_T 2
  21626. #define SIZEOF_INT32_T 4
  21627. #define ALIGNMENT_INT32_T 4
  21628. #define SIZEOF_UINT32_T 4
  21629. #define ALIGNMENT_UINT32_T 4
  21630. #define SIZEOF_INT64_T 8
  21631. #define ALIGNMENT_INT64_T 8
  21632. #define SIZEOF_UINT64_T 8
  21633. #define ALIGNMENT_UINT64_T 8
  21634. #define HAVE_GETRUSAGE 1
  21635. #define HAVE_GETTIMEOFDAY 1
  21636. #define HAVE_SETITIMER 1
  21637. #define HAVE_SIGINTERRUPT 1
  21638. #define HAVE_SYSCONF 1
  21639. #define HAVE_TIMES 1
  21640. #define HAVE_CTIME_R 1
  21641. #define HAVE_SCHED_SETAFFINITY 1
  21642. #define HAVE_SETLOCALE 1
  21643. #define HAVE_DECL_CTIME_R 1
  21644. #define HAVE_LIBM 1
  21645. #define HAVE_LIBDL 1
  21646. #define HAVE_ALLOCA_H 1
  21647. #define HAVE_ALLOCA 1
  21648. #define HAVE_FORK 1
  21649. #define HAVE_VFORK 1
  21650. #define HAVE_WORKING_VFORK 1
  21651. #define HAVE_WORKING_FORK 1
  21652. #define HAS_VISIBILITY_HIDDEN 1
  21653. #define HAVE_LIBRT 1
  21654. #define HAVE_CLOCK_GETTIME 1
  21655. #define HAVE_TIMER_SETTIME 1
  21656. #define USE_TIMER_CREATE 1
  21657. #define HAVE_PRINTF_LDBLSTUB 0
  21658. #define NEED_PTHREAD_LIB 0
  21659. #define HAVE_LIBPTHREAD 1
  21660. #define HAVE_PTHREAD_SETNAME_NP 1
  21661. #define HAVE_SYS_EVENTFD_H 1
  21662. #define HAVE_EVENTFD 1
  21663. #define CC_SUPPORTS_TLS 1
  21664. #define HAVE_DECL_MAP_NORESERVE 1
  21665. #define HAVE_DECL_MADV_FREE 1
  21666. #define HAVE_DECL_MADV_DONTNEED 1
  21667. #define USE_LARGE_ADDRESS_SPACE 1
  21668. #define RTS_LINKER_USE_MMAP 1
  21669. #define USE_LIBDW 0
  21670. #define HAVE_NUMA_H 1
  21671. #define HAVE_NUMAIF_H 1
  21672. #define HAVE_LIBNUMA 1
  21673.  
  21674. configure: exit 0
Add Comment
Please, Sign In to add comment