[Pkg-haskell-maintainers] [GHC] #5849: Buliding on arm broke in 7.4.1

GHC cvs-ghc at haskell.org
Thu Mar 1 17:37:48 UTC 2012


#5849: Buliding on arm broke in 7.4.1
----------------------------------+-----------------------------------------
  Reporter:  nomeata              |          Owner:         
      Type:  bug                  |         Status:  closed 
  Priority:  high                 |      Milestone:  7.4.2  
 Component:  Runtime System       |        Version:  7.4.1  
Resolution:  fixed                |       Keywords:         
        Os:  Linux                |   Architecture:  arm    
   Failure:  Building GHC failed  |     Difficulty:  Unknown
  Testcase:                       |      Blockedby:         
  Blocking:                       |        Related:         
----------------------------------+-----------------------------------------

Comment(by guest):

 Well, we just merged the two patches in #5824 for Ubuntu/7.4.1 and
 uploaded it. The result built on armel, but not armhf, with errors like
 this

   "inplace/bin/ghc-stage1" -prof  -H32m -O -lffi -optl-pthread -optc-
 mlong-calls    -package-name ghc-prim-0.2.0.0 -hide-all-packages -i
 -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -ilibraries
 /ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/dist-
 install/build -Ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries
 /ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-
 install/build/autogen/cabal_macros.h -package rts-1.0  -package-name ghc-
 prim -XHaskell98 -XCPP -XMagicHash -XForeignFunctionInterface
 -XUnliftedFFITypes -XUnboxedTuples -XEmptyDataDecls -XNoImplicitPrelude
 -O2  -no-user-package-conf -rtsopts     -odir libraries/ghc-prim/dist-
 install/build -hidir libraries/ghc-prim/dist-install/build -stubdir
 libraries/ghc-prim/dist-install/build -hisuf p_hi -osuf  p_o -hcsuf p_hc
 -c libraries/ghc-prim/./GHC/Magic.hs -o libraries/ghc-prim/dist-
 install/build/GHC/Magic.p_o
   /usr/bin/ld: error: /tmp/ghc21839_0/ghc21839_0.p_o uses VFP register
 arguments, libraries/ghc-prim/dist-install/build/GHC/Magic.p_o does not
   /usr/bin/ld: failed to merge target specific data of file
 /tmp/ghc21839_0/ghc21839_0.p_o

 7.0.4 was able to be built on this architecture. Do you expect that this
 is fixed in HEAD? I haven't tried a build.

 Full log: https://launchpadlibrarian.net/94834705/buildlog_ubuntu-precise-
 armhf.ghc_7.4.1-1ubuntu1_FAILEDTOBUILD.txt.gz

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



More information about the Pkg-haskell-maintainers mailing list