Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2023 14:38:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        haskell@FreeBSD.org
Subject:   [Bug 273091] lang/ghc 9.4.6 fails to build without the addition of iconv configure flags
Message-ID:  <bug-273091-16154-I0hwhvqw4I@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273091-16154@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273091-16154@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=3D273091

--- Comment #2 from Kevin Reinholz <kreinholz@gmail.com> ---
(In reply to Gleb Popov from comment #1)

Actually, while I have lang/gcc12 installed from Ports, my default compiler=
 is
LLVM:

FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git
llvmorg-16.0.6-0-g7cbf1a259152)
Target: x86_64-unknown-freebsd13.2
Thread model: posix
InstalledDir: /usr/bin

I'm not sure why lang/ghc would pick up and select GCC instead of the base
system LLVM. There are no `make config` options to select an alternate comp=
iler
for lang/ghc so it ought to automatically use the default compiler installe=
d in
/usr/bin, rather than poking around in /usr/local/bin.

I have lang/gcc12 installed as a dependency of java/openjdk11, itself a
dependency of editors/libreoffice, but most Ports pick up the default LLVM
system compiler installed in /usr/bin and use that.=20

At any rate, feeding those two configure arguments to ghc so it can find ic=
onv
allows ghc to build without errors.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273091-16154-I0hwhvqw4I>