From owner-freebsd-haskell@freebsd.org Sat Jun 2 23:55:21 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 D20B1FD1F31 for ; Sat, 2 Jun 2018 23:55:20 +0000 (UTC) (envelope-from raichoo@googlemail.com) 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 65231818BD for ; Sat, 2 Jun 2018 23:55:20 +0000 (UTC) (envelope-from raichoo@googlemail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2444EFD1F2E; Sat, 2 Jun 2018 23:55:20 +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 F3D89FD1F26 for ; Sat, 2 Jun 2018 23:55:19 +0000 (UTC) (envelope-from raichoo@googlemail.com) Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 896ED818B9 for ; Sat, 2 Jun 2018 23:55:19 +0000 (UTC) (envelope-from raichoo@googlemail.com) Received: by mail-it0-x232.google.com with SMTP id u4-v6so5977898itg.0 for ; Sat, 02 Jun 2018 16:55:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=795Xa+poZK9qjPdZ/NZRCtrrLXcbZxG6G+2XBMVQik4=; b=NvBsJN+uZFcpMRyGEMvgo488o/iFaKpGFVlAKVuT7JkbxRaD5o3M4ZfAgPsHNgr2kQ SnIn8NnIJ209TSJ4KV6D65aG3fvbx/rK3vzrh1tW1bqXKrkvVd72nLSCYO4xfKxknBao 40bGdwLee7QX7T80oo7OjaUeRHGl0cdyK0HyU/W2YCuIym99xXlEW5urRaYVNUZkbWC9 4uh2Nk+StQslgUJP4Eo1EVkwPveKqEfpYjdbD43X+Dt/vFqW2k3xS7qf5VlSsQnKfV8e ZymWCVJkLq8cO9Xa9HMfXCaAtybf8kmb5KR07xh1zMWXipRT0h2B2yweHjzVNs5gMswL MQmw== X-Gm-Message-State: APt69E3CmO1ux6PzeSmCPWHbSF4xOYrMD8SYIHOXt1wJduG2nAZb/ZIf iVfDKAOkxh54aSXjwgiA0fJLMNVTRBGc5rXtXQ8= X-Google-Smtp-Source: ADUXVKIXx3wjCsVmtcHb0vEW0+6GPFHLCowAihDsOHR/wL7EzYQV/qY9WyCd3NzVt3RPEi9YEO2KW5q9s+RVYZSCcAo= X-Received: by 2002:a24:e3ca:: with SMTP id d193-v6mr9004181ith.130.1527983718830; Sat, 02 Jun 2018 16:55:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:9386:0:0:0:0:0 with HTTP; Sat, 2 Jun 2018 16:55:18 -0700 (PDT) From: raichoo Date: Sun, 3 Jun 2018 01:55:18 +0200 Message-ID: Subject: `ghc` in `pkg` is incapable of bootstrapping To: haskell@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2018 23:55:21 -0000 Hi, I've posted on this list a couple of weeks ago. GHC 8.4.1+ has enabled dtrace probes on FreeBSD, sadly this caused an issue with GHC's ability to function as a bootstrap compiler to build GHC. 8.4.2 added a flag to disable dtrace support and link the RTS in a way that does not tamper with the bootstrap ability of the compiler. I'd recommand to ship GHC built with --disable-dtrace for the moment. That does not seem to be the case with the GHC that is currently being shipped via `pkg` so people trying to bootstrap their own compiler might run into unpleasant surprises. I've just now submitted a patch to GHC project that fixes this issue and it'll hopefully be available as soon as possible. Kind regards, raichoo