From nobody Wed Feb 9 00:32:44 2022 X-Original-To: haskell@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3181519AC1C8 for ; Wed, 9 Feb 2022 00:32:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jtgnm4Zwhz4lps for ; Wed, 9 Feb 2022 00:32:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 77FB72361E for ; Wed, 9 Feb 2022 00:32:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2190WifV056585 for ; Wed, 9 Feb 2022 00:32:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2190WiFL056584 for haskell@FreeBSD.org; Wed, 9 Feb 2022 00:32:44 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 261798] lang/ghc: Fails to compile due to base/ports LLVM triple target names: error: Warning: Couldn't figure out LLVM version! Date: Wed, 09 Feb 2022 00:32:44 +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: needs-qa, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: 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 List-Id: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644366764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OSq2JWNoGA8VJb2LWToM7D5IhfWonTWoQLTJlO3eliw=; b=v7VcUqqGB7Jf4KcYqMVosEuWMdtlRqEmZuLJL6vemuASduYloU2QxuvouHsFYWeqkg1nkI R4EtzuGf6Va4MCNGlFadpLq4c914JpGApNypXb/khMtA4JK1gv0/RJKc4ClQZ6U8Stb6bd sASSXN4hGAtXQfuPV9rLMK3XBvOZif9x+2JuIkOdeQGf36NdF3oPFbe9iW4V7r3KfTy8j2 2v1EhWshdbcXa/Ss+xjAjlzJSHZI9C8SIfGX638PNwM6TRx8RJePDzgZ/GVLye9Yg5Tsba 3/M7gdwHjRUeybjBcVO+TK0k03XnzbYU+bET42BYj5cgSN1pKYhPJaVYARwK3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644366764; a=rsa-sha256; cv=none; b=c9pOe5CbZ5n/K0aCmbq5Uf2Q0oJFJEPyGcqDqFtFvUscoe+dTOZfjSa887Y89AXkWyi8rt C2G8W4p1py4OAX5PEAwW7wzFWqaCaWUg4sx2yn72HoE+o+HRbXWPOXbTWr4kuqUZ7OfbYl B0T5HPrKJ6zNMzibDU6EupsWDYSRfKtL1vdhRWo/Xs53wxqn2auBm+xclciaDnKqcx4aWQ /4LdrVJmnBbSOIH5rpeBzzYEgd5g7VCPr5EVU/TT6NO0Ft51idf2wlwt4qpE8ZJkgjPRUd ql8KJVUTXDs5KvfFTDhBnbLZfRaSP2H/RPRZQwK2RGB9xsr4OmfemMvKaEz22A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261798 --- Comment #2 from Brooks Davis --- I dug back to llvm60 (the version in the ghc issue) and don't see an obvious path for amd64-portbld-freebsd to end up on the target list. The relevant c= make flags are: -DLLVM_DEFAULT_TARGET_TRIPLE=3Dx86_64-portbld-freebsd13.0 -DLLVM_HOST_TRIPLE=3Dx86_64-portbld-freebsd13.0 If we once patched the port to use that triple it's been a long time (though maybe it was a change in cmake infrastructure?). Presumably ghc should be patched to look for x86_64. Looking at the patch, I might leave the amd64 l= ines alone and simply add the new one. On the LLVM port side, there's an argument there's an argument for dropping `portbld` from LLVM_DEFAULT_TARGET_TRIPLE since it's non-standard, but I do= n't think that's especially related to this PR. --=20 You are receiving this mail because: You are the assignee for the bug.=