[Bug 196899] [arm] lang/ghc porting project, marked as i386/amd64 only

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 8 18:35:02 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196899

mikael.urankar at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #159455|0                           |1
        is obsolete|                            |

--- Comment #5 from mikael.urankar at gmail.com ---
Created attachment 192347
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192347&action=edit
patch

Hi,

I've managed to build the "registerised" version of ghc-8.4.1 for armv6, armv7
and aarch64 with the attached patch and the following bootstrap compilers:
http://mikael.urankar.free.fr/FreeBSD/aarch64/ghc-8.4.1-boot-aarch64-unknown-freebsd.tar.xz
http://mikael.urankar.free.fr/FreeBSD/arm/ghc-8.4.1-boot-armv6-unknown-freebsd.tar.xz
http://mikael.urankar.free.fr/FreeBSD/arm/ghc-8.4.1-boot-armv7-unknown-freebsd.tar.xz

They're based on 12-CURRENT (I don't have time or resources to do the same work
on -RELEASE or -STABLE.)

Building ghc under emulation (with qemu-user-static) doesn't work.

There is an issue with CABAL_ARCH, it's always set to x86_64 even for arm* arch
and I don't know how to fix it:
root at 12armv7: uname -p
armv7
root at 12armv7: make -C textproc/hs-case-insensitive -V CABAL_ARCH
x86_64

Templates/config.sub and Templates/config.guess should be in a separate bug
report, I'll do that later.

My patch wasn't tested at all on amd64.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-haskell mailing list