Ticket #7615 (closed bug: fixed)
LLVM enabled build fails on i386-solaris.
| Reported by: | kgardas | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Compiler (LLVM) | Version: | 7.7 |
| Keywords: | Cc: | ||
| Operating System: | Solaris | Architecture: | x86 |
| Type of failure: | Building GHC failed | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: | #7575 |
Description
Hello, while attempting to build LLVM-based build of GHC HEAD on i386-solaris2 with LLVM 2.9 tools, I've got following failure:
gmake -r --no-print-directory -f ghc.mk phase=final all
"inplace/bin/ghc-stage1" -static -H64m -O0 -fllvm -package-name base-4.7.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/autogen -Ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package ghc-prim-0.3.1.0 -package integer-gmp-0.5.1.0 -package rts-1.0 -package-name base -XHaskell98 -XCPP -O -fllvm -no-user-package-db -rtsopts -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build -hisuf hi -osuf o -hcsuf hc -c libraries/base/./GHC/Word.hs -o libraries/base/dist-install/build/GHC/Word.o
/opt/llvm-2.9/bin/opt: /tmp/ghc19689_0/ghc19689_0.ll:19141:62: error: argument is not of expected type 'i64'
%lnglA = call ccc i32 (i64,i64)* @hs_eqWord64( i64 %lnglz, i32 0 ) nounwind
^
gmake[1]: *** [libraries/base/dist-install/build/GHC/Word.o] Error 1
gmake: *** [all] Error 2
I'm just testing LLVM-based build on 32bit solaris to see if there is a chance to complete LLVM-based build on a slower 32bit ARM board...
For LLVM-based build I used simple:
BuildFlavour = quick-llvm
in mk/build.mk
Change History
Note: See
TracTickets for help on using
tickets.
