Opened 3 years ago

Closed 3 years ago

#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 Test Case:
Blocked By: Blocking:
Related Tickets: #7575 Differential Rev(s):
Wiki Page:


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 phase=final all
"inplace/bin/ghc-stage1" -static  -H64m -O0 -fllvm    -package-name base- -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- -package integer-gmp- -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/

Change History (3)

comment:1 Changed 3 years ago by dterei

Karel can you confirm this bug still exists? I believe it's the same as #7575 which I fixed yesterday...

comment:2 Changed 3 years ago by kgardas

Hi David, yes, this is already fixed by you. Thanks! Karel

comment:3 Changed 3 years ago by dterei

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.