From owner-freebsd-haskell@freebsd.org Mon Sep 30 17:58:36 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AC9CA12DD79 for ; Mon, 30 Sep 2019 17:58:36 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: from straasha.imrryr.org (straasha.imrryr.org [100.2.39.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46hqrr0pjvz4F0h for ; Mon, 30 Sep 2019 17:58:35 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: by straasha.imrryr.org (Postfix, from userid 1001) id BA2822A44D4; Mon, 30 Sep 2019 13:58:34 -0400 (EDT) Date: Mon, 30 Sep 2019 13:58:34 -0400 From: Viktor Dukhovni To: freebsd-haskell@freebsd.org Subject: Re: Anyone working on adding a GHC 8.8.1 port? Message-ID: <20190930175834.GQ21772@straasha.imrryr.org> Reply-To: freebsd-haskell@freebsd.org References: <20190929234421.GH21772@straasha.imrryr.org> <20190930054031.GL21772@straasha.imrryr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 46hqrr0pjvz4F0h X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ietf-dane@dukhovni.org designates 100.2.39.101 as permitted sender) smtp.mailfrom=ietf-dane@dukhovni.org X-Spamd-Result: default: False [2.76 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd-haskell@freebsd.org]; NEURAL_HAM_MEDIUM(-0.69)[-0.692,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:100.2.39.101:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dukhovni.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.990,0]; IP_SCORE(-1.06)[ip: (-4.03), ipnet: 100.2.0.0/16(-2.02), asn: 701(0.80), country: US(-0.05)]; RCVD_IN_DNSWL_MED(-0.20)[101.39.2.100.list.dnswl.org : 127.0.6.2]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:701, ipnet:100.2.0.0/16, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; GREYLIST(0.00)[pass,meta]; REPLYTO_EQ_TO_ADDR(5.00)[] X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2019 17:58:36 -0000 On Mon, Sep 30, 2019 at 12:24:25PM +0400, Gleb Popov wrote: > > Thanks! For GHC 8.8.1 itself, I had to apply the patch below to > > get it to to build. That said, "stack" does not yet support GHC > > 8.8.1 on FreeBSD it seems, so my projects must wait for that shoe > > to drop. Have not yet tried to do anything with cabal-install. > > > > --- a/libraries/base/System/Environment/ExecutablePath.hsc > > +++ b/libraries/base/System/Environment/ExecutablePath.hsc > > @@ -39,6 +39,7 @@ import Foreign.Marshal.Array > > import Foreign.Ptr > > import Foreign.Storable > > import System.Posix.Internals > > +#include > > #include > > #elif defined(mingw32_HOST_OS) > > import Control.Exception > > And I also had to turn off "dtrace" support in my build.mk file: HaveDtrace = NO Without that I got a linker error when a bunch of .o files were being relinked for some dtrace-related reason. > I'll try to prepare stack bindists of 8.8.1 on this week, if you need > those. I just thought that 8.8.1 is too bleeding-edge and most packages > aren't prepared for base 4.13. No rush, I can wait until stack has upstream support for GHC 8.8.1 on FreeBSD. Just noticed that the nightlies are now using 8.8.1, and thought it might be time to start getting ready. > I also had no need in the patch you provided. Why did you have to add it? > Any error messages? The error was about "u_int" (used in sysctl.h) being an unknown type when compiling that file. I'm using FreeBSD 12.0. -- Viktor.