#5914: armhf build fails in Ubuntu (7.4.1)
------------------------------+---------------------------------------------
 Reporter:  jani@…            |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Compiler        
  Version:  7.4.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
 The ARM code generator calls llc in the same way regardless of the ABI
 being used. When the hardfloat EABI variant is in use - armhf in
 Debian/Ubuntu, llc needs to be passed -float-abi=hard.
 This may mean the build scripts need to detect armel vs armhf and have a
 config option snippet in
 compiler/main/DriverPipeline.hs
 I made a successful build on armhf by just piggybacking it to check it
 works.

  else if (elem VFPv3D16 ext)
 -                                           then ["-mattr=+v7,+vfp3"]
 +                                           then ["-mattr=+v7,+vfp3,
 "-float-abi=hard"]

 BTW for Debian/Ubuntu we will need +d16 passed there, but it is not
 strictly related to the build failure on armhf.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to