Advertisement
Guest User

Untitled

a guest
Dec 15th, 2021
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.73 KB | None | 0 0
  1. Error when running Shake build system:
  2. at action, called at src/Rules.hs:71:19 in main:Rules
  3. at need, called at src/Rules.hs:93:5 in main:Rules
  4. * Depends on: _build/stage0/lib/package.conf.d/ghc-8.11.0.20210923.conf
  5. at need, called at src/Rules/Register.hs:117:5 in main:Rules.Register
  6. * Depends on: _build/stage0/compiler/build/libHSghc-8.11.0.20210923.a
  7. at need, called at src/Rules/Library.hs:214:5 in main:Rules.Library
  8. * Depends on: _build/stage0/compiler/build/GHC/Data/FastString.o
  9. at &%>, called at src/Rules/Compile.hs:77:9 in main:Rules.Compile
  10. * Depends on: _build/stage0/compiler/build/GHC/Data/FastString.o _build/stage0/compiler/build/GHC/Data/FastString.hi
  11. at cmd', called at src/Builder.hs:291:23 in main:Builder
  12. at cmd, called at src/Builder.hs:376:8 in main:Builder
  13. * Raised the exception:
  14. Development.Shake.cmd, system command failed
  15. Command line: /home/gaura/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.7/bin/ghc -Wall -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-db _build/stage0/lib/package.conf.d' '-this-unit-id ghc-8.11.0.20210923' '-package-id array-0.5.4.0' '-package-id base-4.14.3.0' '-package-id binary-0.8.7.0' '-package-id bytestring-0.10.12.0' '-package-id containers-0.6.5.1' '-package-id deepseq-1.4.4.0' '-package-id directory-1.3.6.0' '-package-id filepath-1.4.2.1' '-package-id ghc-boot-8.11.0.20210923' '-package-id ghc-boot-th-8.11.0.20210923' '-package-id ghc-heap-8.11.0.20210923' '-package-id ghci-8.11.0.20210923' '-package-id hpc-0.6.1.0' '-package-id process-1.6.13.2' '-package-id template-haskell-2.17.0.0' '-package-id terminfo-0.4.1.4' '-package-id time-1.9.3' '-package-id transformers-0.5.6.2' '-package-id unix-2.7.2.2' -i -i/home/gaura/experiments/ghc-whole-program-compiler-project/ghc-wpc/_build/stage0/compiler/build -i/home/gaura/experiments/ghc-whole-program-compiler-project/ghc-wpc/_build/stage0/compiler/build/autogen -i/home/gaura/experiments/ghc-whole-program-compiler-project/ghc-wpc/compiler -Iincludes -I_build/stage0/lib -I_build/stage0/compiler/build -I_build/stage0/compiler/build/. -Icompiler/. -I/home/gaura/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/process-1.6.13.2/include -I/home/gaura/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/unix-2.7.2.2/include -I/home/gaura/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/time-1.9.3/include -I/home/gaura/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/bytestring-0.10.12.0/include -I/home/gaura/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/base-4.14.3.0/include -I/home/gaura/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/integer-gmp-1.0.3.0/include -I/home/gaura/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/include -I_build/stage0/lib -optc-I_build/stage0/lib -optP-include -optP_build/stage0/compiler/build/autogen/cabal_macros.h -outputdir _build/stage0/compiler/build -optc-Wno-error=inline -c compiler/GHC/Data/FastString.hs -o _build/stage0/compiler/build/GHC/Data/FastString.o -O -H32m -Wall -Wno-name-shadowing -Wnoncanonical-monad-instances -Wnoncanonical-monoid-instances -this-unit-id ghc -XHaskell2010 -XNoImplicitPrelude -fno-warn-deprecated-flags
  16. Exit code: 1
  17. Stderr and Stdout:
  18. /tmp/ghc9807_0/ghc_4.c:7:15: error:
  19. error: variable ‘stg_exports_GHCziDataziFastString’ has initializer but incomplete type
  20. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  21. | ^~~~~~~~~~~~~~~~~~
  22. |
  23. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  24. | ^
  25.  
  26. /tmp/ghc9807_0/ghc_4.c:7:72: error:
  27. error: ‘struct ForeignExportsList’ has no member named ‘exports’
  28. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  29. | ^~~~~~~
  30. |
  31. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  32. | ^
  33.  
  34. /tmp/ghc9807_0/ghc_4.c:7:83: error:
  35. error: extra brace group at end of initializer
  36. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  37. | ^
  38. |
  39. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  40. | ^
  41.  
  42. /tmp/ghc9807_0/ghc_4.c:7:83: error:
  43. note: (near initialization for ‘stg_exports_GHCziDataziFastString’)
  44. |
  45. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  46. | ^
  47.  
  48. /tmp/ghc9807_0/ghc_4.c:7:83: error:
  49. warning: excess elements in struct initializer
  50. |
  51. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  52. | ^
  53.  
  54. /tmp/ghc9807_0/ghc_4.c:7:83: error:
  55. note: (near initialization for ‘stg_exports_GHCziDataziFastString’)
  56. |
  57. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  58. | ^
  59.  
  60. /tmp/ghc9807_0/ghc_4.c:7:88: error:
  61. error: ‘struct ForeignExportsList’ has no member named ‘n_entries’
  62. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  63. | ^~~~~~~~~
  64. |
  65. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  66. | ^
  67.  
  68. /tmp/ghc9807_0/ghc_4.c:7:101: error:
  69. warning: excess elements in struct initializer
  70. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  71. | ^
  72. |
  73. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  74. | ^
  75.  
  76. /tmp/ghc9807_0/ghc_4.c:7:101: error:
  77. note: (near initialization for ‘stg_exports_GHCziDataziFastString’)
  78. |
  79. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  80. | ^
  81. /tmp/ghc9807_0/ghc_4.c: In function ‘stginit_export_GHCziDataziFastString’:
  82.  
  83. /tmp/ghc9807_0/ghc_4.c:10:2: error:
  84. warning: implicit declaration of function ‘registerForeignExports’ [-Wimplicit-function-declaration]
  85. 10 | {registerForeignExports(&stg_exports_GHCziDataziFastString);}
  86. | ^~~~~~~~~~~~~~~~~~~~~~
  87. |
  88. 10 | {registerForeignExports(&stg_exports_GHCziDataziFastString);}
  89. | ^
  90. /tmp/ghc9807_0/ghc_4.c: At top level:
  91.  
  92. /tmp/ghc9807_0/ghc_4.c:7:34: error:
  93. error: storage size of ‘stg_exports_GHCziDataziFastString’ isn’t known
  94. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  95. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  96. |
  97. 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
  98. | ^
  99. `gcc' failed in phase `C Compiler'. (Exit code: 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement