[GHC] #10610: Issues face while building glassgow haskell compiler package on power - ppc64le - architecture

GHC ghc-devs at haskell.org
Tue Jul 7 05:41:10 UTC 2015


#10610: Issues face while building glassgow haskell compiler package on power -
ppc64le - architecture
-------------------------------------+-------------------------------------
              Reporter:              |             Owner:
  amitkumar_ghatwal                  |            Status:  new
                  Type:  bug         |         Milestone:
              Priority:  normal      |           Version:  7.6.3
             Component:  Compiler    |  Operating System:  Unknown/Multiple
              Keywords:              |   Type of failure:  None/Unknown
          Architecture:              |        Blocked By:
  Unknown/Multiple                   |   Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 I am a newbie to GHC platform. I am trying to port GHC to my power
 architecture , and whilst following the below:

 1.      wget http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-src.tar.bz2
 2.      tar xjvf ghc-7.6.3-src.tar.bz2
 3.      cd ghc-7.6.3
 4.       ./configure --enable-hc-boot --enable-hc-boot-unregisterised
 5.      make
 6.      sudo make install

 I am getting below errors while performing above step 4 :

 configure: WARNING: unrecognized options: --enable-hc-boot-unregisterised
 checking for gfind... no
 checking for find... /usr/bin/find
 checking for sort... /usr/bin/sort
 checking for ghc... no
 checking build system type... ./config.guess: unable to guess system type

 This script, last modified 2012-02-10, has failed to recognize
 the operating system you are using. It is advised that you
 download the most up to date version of the config scripts from

 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
 and
 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

 If the version you run (./config.guess) is already up to date, please
 send the following data and any information you think might be
 pertinent to <config-patches at gnu.org> in order to provide the needed
 information to handle your system.

 config.guess timestamp = 2012-02-10

 uname -m = ppc64le
 uname -r = 3.16.0-23-generic
 uname -s = Linux
 uname -v = #31-Ubuntu SMP Tue Oct 21 17:55:08 UTC 2014

 /usr/bin/uname -p =
 /bin/uname -X     =

 hostinfo               =
 /bin/universe          =
 /usr/bin/arch -k       =
 /bin/arch              =
 /usr/bin/oslevel       =
 /usr/convex/getsysinfo =

 UNAME_MACHINE = ppc64le
 UNAME_RELEASE = 3.16.0-23-generic
 UNAME_SYSTEM  = Linux
 UNAME_VERSION = #31-Ubuntu SMP Tue Oct 21 17:55:08 UTC 2014
 configure: error: cannot guess build type; you must specify one

 My system arch is as below :
 $ lscpu
 Architecture:          ppc64le
 Byte Order:            Little Endian
 CPU(s):                2
 On-line CPU(s) list:   0,1
 Thread(s) per core:    1
 Core(s) per socket:    2
 Socket(s):             1
 NUMA node(s):          1
 Model:                 IBM pSeries (emulated by qemu)
 Hypervisor vendor:     KVM
 Virtualization type:   full
 L1d cache:             64K
 L1i cache:             32K
 NUMA node0 CPU(s):     0,1

 Any pointers in above will be greatly appreciated.

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


More information about the ghc-tickets mailing list