[GHC] #10610: Issues face while building glassgow haskell compiler package on power - ppc64le - architecture
#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... and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;h... 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@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
#10610: Issues face while building glassgow haskell compiler package on power - ppc64le - architecture -------------------------------------+------------------------------------- Reporter: | Owner: amitkumar_ghatwal | Status: closed Type: bug | Milestone: Priority: normal | Version: 7.6.3 Component: Compiler | Keywords: Resolution: invalid | Architecture: Operating System: Unknown/Multiple | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by trommler): * status: new => closed * resolution: => invalid Comment: This is fixed in HEAD. The port to powerpc64le was done in ticket #9863. The patch applies with minimal changes to release 7.10.1 [https://build.opensuse.org/source/devel:languages:haskell:lts/ghc/0001 -implement-native-code-generator-for- ppc64.patch?rev=b4a84907abb1251170ffd8d48b45ec60] and also to 7.8.4 (with a few more changes)[https://build.opensuse.org/source/devel:languages:haskell/ghc/0001 -implement-native-code-generator-for- ppc64.patch?rev=2a88150541f7efa445602b8730d72bae]. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10610#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10610: Issues face while building glassgow haskell compiler package on power - ppc64le - architecture --------------------------------------+--------------------------------- Reporter: amitkumar_ghatwal | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: invalid | Keywords: Operating System: Linux | Architecture: Other Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: --------------------------------------+--------------------------------- Changes (by amitkumar_ghatwal): * os: Unknown/Multiple => Linux * architecture: Unknown/Multiple => Other Comment: Hi , WIll this patch work for " power - ppc64le - architecture " ? Regards, Amit -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10610#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10610: Issues face while building glassgow haskell compiler package on power - ppc64le - architecture --------------------------------------+--------------------------------- Reporter: amitkumar_ghatwal | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: invalid | Keywords: Operating System: Linux | Architecture: Other Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: --------------------------------------+--------------------------------- Comment (by trommler): Replying to [comment:2 amitkumar_ghatwal]:
Hi ,
WIll this patch work for " power - ppc64le - architecture " ? Yes, it does.
-- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10610#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10610: Issues face while building glassgow haskell compiler package on power - ppc64le - architecture --------------------------------------+--------------------------------- Reporter: amitkumar_ghatwal | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: invalid | Keywords: Operating System: Linux | Architecture: Other Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: --------------------------------------+--------------------------------- Comment (by rwbarton): In any event `configure --enable-hc-boot --enable-hc-boot-unregisterised` has not worked for a very, very long time. You should follow the instructions at Building/CrossCompiling instead, either using the native code generator that is new in HEAD, or using the C backend via `--enable- unregisterised`. You will require a system that can run both GHC and a cross-compiler to ppc64le. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10610#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC