[GHC] #7615: LLVM enabled build fails on i386-solaris.

GHC cvs-ghc at haskell.org
Tue Jan 22 22:57:54 CET 2013


#7615: LLVM enabled build fails on i386-solaris.
--------------------------------+-------------------------------------------
Reporter:  kgardas              |          Owner:                 
    Type:  bug                  |         Status:  new            
Priority:  normal               |      Component:  Compiler (LLVM)
 Version:  7.7                  |       Keywords:                 
      Os:  Solaris              |   Architecture:  x86            
 Failure:  Building GHC failed  |      Blockedby:                 
Blocking:                       |        Related:                 
--------------------------------+-------------------------------------------
 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

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7615>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list