Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error when running Shake build system:
- at action, called at src/Rules.hs:71:19 in main:Rules
- at need, called at src/Rules.hs:93:5 in main:Rules
- * Depends on: _build/stage0/lib/package.conf.d/ghc-8.11.0.20210923.conf
- at need, called at src/Rules/Register.hs:117:5 in main:Rules.Register
- * Depends on: _build/stage0/compiler/build/libHSghc-8.11.0.20210923.a
- at need, called at src/Rules/Library.hs:214:5 in main:Rules.Library
- * Depends on: _build/stage0/compiler/build/GHC/Data/FastString.o
- at &%>, called at src/Rules/Compile.hs:77:9 in main:Rules.Compile
- * Depends on: _build/stage0/compiler/build/GHC/Data/FastString.o _build/stage0/compiler/build/GHC/Data/FastString.hi
- at cmd', called at src/Builder.hs:291:23 in main:Builder
- at cmd, called at src/Builder.hs:376:8 in main:Builder
- * Raised the exception:
- Development.Shake.cmd, system command failed
- 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
- Exit code: 1
- Stderr and Stdout:
- /tmp/ghc9807_0/ghc_4.c:7:15: error:
- error: variable ‘stg_exports_GHCziDataziFastString’ has initializer but incomplete type
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^~~~~~~~~~~~~~~~~~
- |
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- /tmp/ghc9807_0/ghc_4.c:7:72: error:
- error: ‘struct ForeignExportsList’ has no member named ‘exports’
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^~~~~~~
- |
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- /tmp/ghc9807_0/ghc_4.c:7:83: error:
- error: extra brace group at end of initializer
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- |
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- /tmp/ghc9807_0/ghc_4.c:7:83: error:
- note: (near initialization for ‘stg_exports_GHCziDataziFastString’)
- |
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- /tmp/ghc9807_0/ghc_4.c:7:83: error:
- warning: excess elements in struct initializer
- |
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- /tmp/ghc9807_0/ghc_4.c:7:83: error:
- note: (near initialization for ‘stg_exports_GHCziDataziFastString’)
- |
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- /tmp/ghc9807_0/ghc_4.c:7:88: error:
- error: ‘struct ForeignExportsList’ has no member named ‘n_entries’
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^~~~~~~~~
- |
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- /tmp/ghc9807_0/ghc_4.c:7:101: error:
- warning: excess elements in struct initializer
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- |
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- /tmp/ghc9807_0/ghc_4.c:7:101: error:
- note: (near initialization for ‘stg_exports_GHCziDataziFastString’)
- |
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- /tmp/ghc9807_0/ghc_4.c: In function ‘stginit_export_GHCziDataziFastString’:
- /tmp/ghc9807_0/ghc_4.c:10:2: error:
- warning: implicit declaration of function ‘registerForeignExports’ [-Wimplicit-function-declaration]
- 10 | {registerForeignExports(&stg_exports_GHCziDataziFastString);}
- | ^~~~~~~~~~~~~~~~~~~~~~
- |
- 10 | {registerForeignExports(&stg_exports_GHCziDataziFastString);}
- | ^
- /tmp/ghc9807_0/ghc_4.c: At top level:
- /tmp/ghc9807_0/ghc_4.c:7:34: error:
- error: storage size of ‘stg_exports_GHCziDataziFastString’ isn’t known
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- |
- 7 | static struct ForeignExportsList stg_exports_GHCziDataziFastString = {.exports = {}, .n_entries = 0};
- | ^
- `gcc' failed in phase `C Compiler'. (Exit code: 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement