Re: [GHC] #6086: Cross compilation fails using system linker for other architecture binaries

#6086: Cross compilation fails using system linker for other architecture binaries ----------------------------------------------+--------------------------- Reporter: mtjm | Owner: Type: bug | Status: new Priority: high | Milestone: 7.8.4 Component: Build System | Version: 7.8.3 Resolution: | Keywords: Operating System: Linux | Architecture: arm Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: 9421 | Related Tickets: Differential Revisions: | ----------------------------------------------+--------------------------- Comment (by cetu86): Thanks again, for the reply. :-) Don't know why I thought passing "quick-perf" as an argument to make would choose the flavor. I now did as you said, created a build.mk from build.mk.sample and set {{{ BuildFlavour = quick-cross }}} which pulls in {{{ INTEGER_LIBRARY = integer-simple }}} I only need the simple cross-compiler (at the moment). Now I come as far as {{{ "inplace/bin/ghc-stage1" -hisuf hi -osuf o -hcsuf hc -static -H64m -O0 -package-name ghc-7.8.3 -hide-all-packages -i -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/stage2/build -icompiler/stage2/build/autogen -Icompiler/stage2/build -Icompiler/stage2/build/autogen -Icompiler/. -Icompiler/parser -Icompiler/utils -Icompiler/../rts/dist/build -Icompiler/stage2 -optP- DGHCI -optP-include -optPcompiler/stage2/build/autogen/cabal_macros.h -package Cabal-1.18.1.3 -package array-0.5.0.1 -package base-4.7.0.0 -package bin-package-db-0.0.0.0 -package bytestring-0.10.4.0 -package containers-0.5.5.1 -package directory-1.2.1.0 -package filepath-1.3.0.2 -package hoopl-3.10.0.1 -package hpc-0.6.0.1 -package process-1.2.0.0 -package template-haskell-2.10.0.0 -package time-1.4.2 -package transformers-0.3.0.0 -package unix-2.7.0.2 -Wall -fno-warn-name-shadowing -XHaskell98 -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards -XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances -XMultiParamTypeClasses -XFlexibleInstances -XRankNTypes -XScopedTypeVariables -XDeriveDataTypeable -XBangPatterns -XNondecreasingIndentation -DNO_REGS -DNOSMP -optc-DNOSMP -optc- DTHREADED_RTS -DSTAGE=2 -O0 -fllvm -no-user-package-db -rtsopts -odir compiler/stage2/build -hidir compiler/stage2/build -stubdir compiler/stage2/build -c compiler/hsSyn/Convert.lhs -o compiler/stage2/build/Convert.o compiler/hsSyn/Convert.lhs:895:10: Not in scope: data constructor ‘TH.ClassP’ Perhaps you meant one of these: ‘TH.ClassD’ (imported from Language.Haskell.TH.Syntax), ‘TH.ClassD’ (imported from Language.Haskell.TH), ‘TH.ClassI’ (imported from Language.Haskell.TH.Syntax) compiler/hsSyn/Convert.lhs:900:10: Not in scope: data constructor ‘TH.EqualP’ make[1]: *** [compiler/stage2/build/Convert.o] Error 1 make: *** [all] Error 2 }}} TH stands for template haskell, right? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/6086#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC