Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Apr 2018 18:34:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        haskell@FreeBSD.org
Subject:   [Bug 196899] [arm] lang/ghc porting project, marked as i386/amd64 only
Message-ID:  <bug-196899-16154-yXmU5PjrsW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196899-16154@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196899-16154@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196899

mikael.urankar@gmail.com changed:

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

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

Hi,

I've managed to build the "registerised" version of ghc-8.4.1 for armv6, ar=
mv7
and aarch64 with the attached patch and the following bootstrap compilers:
http://mikael.urankar.free.fr/FreeBSD/aarch64/ghc-8.4.1-boot-aarch64-unknow=
n-freebsd.tar.xz
http://mikael.urankar.free.fr/FreeBSD/arm/ghc-8.4.1-boot-armv6-unknown-free=
bsd.tar.xz
http://mikael.urankar.free.fr/FreeBSD/arm/ghc-8.4.1-boot-armv7-unknown-free=
bsd.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@12armv7: uname -p
armv7
root@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196899-16154-yXmU5PjrsW>