[GHC] #11206: ARM is generally a disaster

GHC ghc-devs at haskell.org
Sun Feb 14 18:04:04 UTC 2016


#11206: ARM is generally a disaster
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.2
      Resolution:  fixed             |             Keywords:
Operating System:  Linux             |         Architecture:  arm
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11205, #11289,   |  Differential Rev(s):
  #11294, #11295, #11296, #11297,    |
  #11340                             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mfox):

 @erikd

 {{{
 binutils-2.26

 ld.gold --version
 GNU gold (GNU Binutils 2.26.20160125) 1.11

 ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.10.3

 cabal get hello
 Downloading hello-1.0.0.2...
 Unpacking to hello-1.0.0.2/
 admin at vectorious2:~/src$ cd hello-1.0.0.2/
 admin at vectorious2:~/src/hello-1.0.0.2$ cabal build
 Package has never been configured. Configuring with default flags. If this
 fails, please run configure manually.
 Resolving dependencies...
 Configuring hello-1.0.0.2...
 Building hello-1.0.0.2...
 Preprocessing executable 'hello' for hello-1.0.0.2...
 ghc: setNumCapabilities: not supported on this platform
 [1 of 1] Compiling Main             ( src/hello.hs, dist/build/hello
 /hello-tmp/Main.o )
 Linking dist/build/hello/hello ...
 admin at vectorious2:~/src/hello-1.0.0.2$ ls
 dist  hello.cabal  LICENSE  Setup.hs  src
 admin at vectorious2:~/src/hello-1.0.0.2$ ./dist/
 build/                package.conf.inplace/
 admin at vectorious2:~/src/hello-1.0.0.2$ ./dist/build/
 autogen/ hello/
 admin at vectorious2:~/src/hello-1.0.0.2$ ./dist/build/hello/hello
 Hello, World!

 llc --version
 LLVM (http://llvm.org/):
   LLVM version 3.7.1
   DEBUG build with assertions.
   Built Feb  8 2016 (22:06:00).
   Default target: aarch64-unknown-linux-gnu
   Host CPU: (unknown)

 aptitude search llvm | egrep "^i"
 i A libllvm3.4                      - Modular compiler and toolchain
 technologie
 id  llvm-3.4-runtime                - Modular compiler and toolchain
 technologie

 cat /proc/cpuinfo
 processor       : 0 [nid: 0]
 Features        : fp asimd aes pmull sha1 sha2 crc32
 CPU implementer : 0x43
 CPU architecture: 8
 CPU variant     : 0x0
 CPU part        : 0x0a1
 CPU revision    : 0
 }}}

 How else can I help? Do you want to try screen sharing? May be more
 productive in getting you on track.

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


More information about the ghc-tickets mailing list