Date: Wed, 09 Feb 2022 00:32:44 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@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! Message-ID: <bug-261798-29464-xXRhGBhBOe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-261798-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-261798-29464@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=3D261798 --- Comment #2 from Brooks Davis <brooks@FreeBSD.org> --- 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 on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261798-29464-xXRhGBhBOe>