From owner-freebsd-haskell@freebsd.org Sun Apr 8 18:35:02 2018 Return-Path: Delivered-To: freebsd-haskell@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C00AF981EA for ; Sun, 8 Apr 2018 18:35:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 10B3771D91 for ; Sun, 8 Apr 2018 18:35:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C99D0F981E2; Sun, 8 Apr 2018 18:35:01 +0000 (UTC) Delivered-To: haskell@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3AE0F981E1 for ; Sun, 8 Apr 2018 18:35:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BFB671D6E for ; Sun, 8 Apr 2018 18:35:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 801DE1B49E for ; Sun, 8 Apr 2018 18:35:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w38IZ0dT080880 for ; Sun, 8 Apr 2018 18:35:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w38IZ0GN080879 for haskell@FreeBSD.org; Sun, 8 Apr 2018 18:35:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 196899] [arm] lang/ghc porting project, marked as i386/amd64 only Date: Sun, 08 Apr 2018 18:34:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mikael.urankar@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Apr 2018 18:35:02 -0000 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.=