[GHC] #15204: GHC 8.4 fails to build on Debian mips
GHC
ghc-devs at haskell.org
Thu May 31 11:47:56 UTC 2018
#15204: GHC 8.4 fails to build on Debian mips
--------------------------------+-------------------------------------
Reporter: clint | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
Keywords: | Operating System: Unknown/Multiple
Architecture: mips | Type of failure: None/Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
--------------------------------+-------------------------------------
8.2.2 worked, 8.4 fails:
{{{
"/usr/bin/ghc" -hisuf hi -osuf o -hcsuf hc -static -H32m -O
-lffi -optl-pthread -optc--param -optcggc-min-expand=10 -Wall -Iincludes
-Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-
ghcconstants/header -package-db libraries/bootstrapping.conf -this-unit-
id ghc-8.4.3 -hide-all-packages -i -icompiler/backpack
-icompiler/basicTypes -icompiler/cmm -icompiler/codeGen -icompiler/coreSyn
-icompiler/deSugar -icompiler/ghci -icompiler/hsSyn -icompiler/iface
-icompiler/llvmGen -icompiler/main -icompiler/nativeGen -icompiler/parser
-icompiler/prelude -icompiler/profiling -icompiler/rename
-icompiler/simplCore -icompiler/simplStg -icompiler/specialise
-icompiler/stgSyn -icompiler/stranal -icompiler/typecheck -icompiler/types
-icompiler/utils -icompiler/vectorise -icompiler/stage1/build
-Icompiler/stage1/build -icompiler/stage1/build/./autogen
-Icompiler/stage1/build/./autogen -Icompiler/. -Icompiler/parser
-Icompiler/utils -Icompiler/stage1 -Icompiler/stage1/build/.
-Icompiler/stage1/build/parser -Icompiler/stage1/build/utils
-Icompiler/stage1/build/stage1 -optP-include
-optPcompiler/stage1/build/./autogen/cabal_macros.h -package-id
base-4.10.1.0 -package-id deepseq-1.4.3.0 -package-id directory-1.3.0.2
-package-id process-1.6.1.0 -package-id bytestring-0.10.8.2 -package-id
binary-0.8.5.1 -package-id time-1.8.0.2 -package-id containers-0.5.10.2
-package-id array-0.5.2.0 -package-id filepath-1.4.1.2 -package-id
template-haskell-2.13.0.0 -package-id hpc-0.6.0.3 -package-id
transformers-0.5.5.0 -package-id ghc-boot-8.4.3 -package-id ghc-boot-
th-8.4.3 -package-id ghci-8.4.3 -package-id unix-2.7.2.2 -package-id
terminfo-0.4.1.1 -Wall -Wno-name-shadowing -Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-instances -Wnoncanonical-monoid-instances -this-
unit-id ghc -XHaskell2010 -XNoImplicitPrelude -DNO_REGS -DNOSMP -optc-
DNOSMP -DSTAGE=1 -Rghc-timing -Wcpp-undef -no-user-package-db -rtsopts
-odir compiler/stage1/build -hidir compiler/stage1/build -stubdir
compiler/stage1/build -c compiler/utils/GhcPrelude.hs -o
compiler/stage1/build/GhcPrelude.o
/tmp/ghca022_0/ghc_3.hc:7:1: error:
warning: data definition has no type or storage class
EI_(ghczmprim_GHCziTypes_TrNameS_con_info);
^~~
|
7 | EI_(ghczmprim_GHCziTypes_TrNameS_con_info);
| ^
/tmp/ghca022_0/ghc_3.hc:7:1: error:
warning: type defaults to 'int' in declaration of 'EI_' [-Wimplicit-
int]
|
7 | EI_(ghczmprim_GHCziTypes_TrNameS_con_info);
| ^
/tmp/ghca022_0/ghc_3.hc:7:1: error:
warning: parameter names (without types) in function declaration
|
7 | EI_(ghczmprim_GHCziTypes_TrNameS_con_info);
| ^
In file included from /tmp/ghca022_0/ghc_3.hc:3:0: error:
/tmp/ghca022_0/ghc_3.hc:8:5: error:
error: conflicting types for 'ghc_GhcPrelude_zdtrModule4_bytes'
EB_(ghc_GhcPrelude_zdtrModule4_bytes);
^
|
8 | EB_(ghc_GhcPrelude_zdtrModule4_bytes);
| ^
includes/Stg.h:236:37: error:
note: in definition of macro 'EB_'
#define EB_(X) extern const char X[]
^
|
236 | #define EB_(X) extern const char X[]
| ^
/tmp/ghca022_0/ghc_3.hc:6:6: error:
note: previous definition of 'ghc_GhcPrelude_zdtrModule4_bytes' was
here
char ghc_GhcPrelude_zdtrModule4_bytes[] = "ghc";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
6 | char ghc_GhcPrelude_zdtrModule4_bytes[] = "ghc";
| ^
/tmp/ghca022_0/ghc_3.hc:10:6: error:
error: 'ghczmprim_GHCziTypes_TrNameS_con_info' undeclared here (not
in a function)
(W_)&ghczmprim_GHCziTypes_TrNameS_con_info,
(W_)&ghc_GhcPrelude_zdtrModule4_bytes
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
10 | (W_)&ghczmprim_GHCziTypes_TrNameS_con_info,
(W_)&ghc_GhcPrelude_zdtrModule4_bytes
| ^
/tmp/ghca022_0/ghc_3.hc:13:1: error:
warning: data definition has no type or storage class
EI_(ghczmprim_GHCziTypes_TrNameS_con_info);
^~~
|
13 | EI_(ghczmprim_GHCziTypes_TrNameS_con_info);
| ^
/tmp/ghca022_0/ghc_3.hc:13:1: error:
warning: type defaults to 'int' in declaration of 'EI_' [-Wimplicit-
int]
|
13 | EI_(ghczmprim_GHCziTypes_TrNameS_con_info);
| ^
/tmp/ghca022_0/ghc_3.hc:13:1: error:
warning: parameter names (without types) in function declaration
|
13 | EI_(ghczmprim_GHCziTypes_TrNameS_con_info);
| ^
In file included from /tmp/ghca022_0/ghc_3.hc:3:0: error:
/tmp/ghca022_0/ghc_3.hc:14:5: error:
error: conflicting types for 'ghc_GhcPrelude_zdtrModule2_bytes'
EB_(ghc_GhcPrelude_zdtrModule2_bytes);
^
|
14 | EB_(ghc_GhcPrelude_zdtrModule2_bytes);
| ^
includes/Stg.h:236:37: error:
note: in definition of macro 'EB_'
#define EB_(X) extern const char X[]
^
|
236 | #define EB_(X) extern const char X[]
| ^
/tmp/ghca022_0/ghc_3.hc:12:6: error:
note: previous definition of 'ghc_GhcPrelude_zdtrModule2_bytes' was
here
char ghc_GhcPrelude_zdtrModule2_bytes[] = "GhcPrelude";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
12 | char ghc_GhcPrelude_zdtrModule2_bytes[] = "GhcPrelude";
| ^
/tmp/ghca022_0/ghc_3.hc:16:1: error:
error: initializer element is not constant
(W_)&ghczmprim_GHCziTypes_TrNameS_con_info,
(W_)&ghc_GhcPrelude_zdtrModule2_bytes
^
|
16 | (W_)&ghczmprim_GHCziTypes_TrNameS_con_info,
(W_)&ghc_GhcPrelude_zdtrModule2_bytes
| ^
/tmp/ghca022_0/ghc_3.hc:16:1: error:
note: (near initialization for
'ghc_GhcPrelude_zdtrModule1_closure[0]')
|
16 | (W_)&ghczmprim_GHCziTypes_TrNameS_con_info,
(W_)&ghc_GhcPrelude_zdtrModule2_bytes
| ^
/tmp/ghca022_0/ghc_3.hc:18:1: error:
warning: data definition has no type or storage class
EI_(ghczmprim_GHCziTypes_Module_con_info);
^~~
|
18 | EI_(ghczmprim_GHCziTypes_Module_con_info);
| ^
/tmp/ghca022_0/ghc_3.hc:18:1: error:
warning: type defaults to 'int' in declaration of 'EI_' [-Wimplicit-
int]
|
18 | EI_(ghczmprim_GHCziTypes_Module_con_info);
| ^
/tmp/ghca022_0/ghc_3.hc:18:1: error:
warning: parameter names (without types) in function declaration
|
18 | EI_(ghczmprim_GHCziTypes_Module_con_info);
| ^
/tmp/ghca022_0/ghc_3.hc:19:1: error:
warning: data definition has no type or storage class
EI_(ghc_GhcPrelude_zdtrModule1_closure);
^~~
|
19 | EI_(ghc_GhcPrelude_zdtrModule1_closure);
| ^
/tmp/ghca022_0/ghc_3.hc:19:1: error:
warning: type defaults to 'int' in declaration of 'EI_' [-Wimplicit-
int]
|
19 | EI_(ghc_GhcPrelude_zdtrModule1_closure);
| ^
/tmp/ghca022_0/ghc_3.hc:19:1: error:
warning: parameter names (without types) in function declaration
|
19 | EI_(ghc_GhcPrelude_zdtrModule1_closure);
| ^
/tmp/ghca022_0/ghc_3.hc:20:1: error:
warning: data definition has no type or storage class
EI_(ghc_GhcPrelude_zdtrModule3_closure);
^~~
|
20 | EI_(ghc_GhcPrelude_zdtrModule3_closure);
| ^
/tmp/ghca022_0/ghc_3.hc:20:1: error:
warning: type defaults to 'int' in declaration of 'EI_' [-Wimplicit-
int]
|
20 | EI_(ghc_GhcPrelude_zdtrModule3_closure);
| ^
/tmp/ghca022_0/ghc_3.hc:20:1: error:
warning: parameter names (without types) in function declaration
|
20 | EI_(ghc_GhcPrelude_zdtrModule3_closure);
| ^
/tmp/ghca022_0/ghc_3.hc:22:6: error:
error: 'ghczmprim_GHCziTypes_Module_con_info' undeclared here (not in
a function); did you mean 'ghczmprim_GHCziTypes_TrNameS_con_info'?
(W_)&ghczmprim_GHCziTypes_Module_con_info,
((W_)&ghc_GhcPrelude_zdtrModule3_closure+1),
((W_)&ghc_GhcPrelude_zdtrModule1_closure+1), 0x3U
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ghczmprim_GHCziTypes_TrNameS_con_info
|
22 | (W_)&ghczmprim_GHCziTypes_Module_con_info,
((W_)&ghc_GhcPrelude_zdtrModule3_closure+1),
((W_)&ghc_GhcPrelude_zdtrModule1_closure+1), 0x3U
| ^
/tmp/ghca022_0/ghc_3.hc:22:1: error:
error: initializer element is not constant
(W_)&ghczmprim_GHCziTypes_Module_con_info,
((W_)&ghc_GhcPrelude_zdtrModule3_closure+1),
((W_)&ghc_GhcPrelude_zdtrModule1_closure+1), 0x3U
^
|
22 | (W_)&ghczmprim_GHCziTypes_Module_con_info,
((W_)&ghc_GhcPrelude_zdtrModule3_closure+1),
((W_)&ghc_GhcPrelude_zdtrModule1_closure+1), 0x3U
| ^
/tmp/ghca022_0/ghc_3.hc:22:1: error:
note: (near initialization for
'ghc_GhcPrelude_zdtrModule_closure[0]')
|
22 | (W_)&ghczmprim_GHCziTypes_Module_con_info,
((W_)&ghc_GhcPrelude_zdtrModule3_closure+1),
((W_)&ghc_GhcPrelude_zdtrModule1_closure+1), 0x3U
| ^
`gcc' failed in phase `C Compiler'. (Exit code: 1)
}}}
https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=mips&ver=8.4.3-1&stamp=1527757736&raw=0
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15204>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list