lang/ghc98: fix build on powerpc64 Needs its own hadrian bootstrap and a patch that was already committed for newer versions.bf203e5214
Port details
lang/ghc9.12.4
Compiler for the functional language Haskell
- Maintainer
- haskell@FreeBSD.org
- Packages
- ghc 9.12.4
- Upstream
- Higher version available: 9.14.1
- CPE
- none, CVEs only via VuXML
- WWW
- https://www.haskell.org/ghc/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (590)
lang/ghc: Update to 9.12.436d574352b
*/*: Use C.UTF-8 locale Ports 02f27a83b44d fixed the ports tree to the C locale so it would work correctly in environments where users use a locale that isn't compatible with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just upper case letters. USE_LOCALE was introduced to let ports use another locale if they needed it. The C.UTF-8 locale was created later on to be mostly compatible with the C locale. Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The world has moved to Unicode so all ports either require it or know how to build correctly in a Unicode environment. PR: 295945 Exp-run by: antoineb6ec06f079
lang/ghc: Fix build with sphinx-9.0.4 PR: 2848451bb51bf836
lang/ghc: fix runtime on powerpc64 While the compiler binary itself built fine, it creates ELFv1 binaries on powerpc64, because default.target is regenerated later during the build process. Drop the current workaround and just patch the autoconf's m4 file instead.1d37def939
lang/ghc{,96}: port to powerpc64
1. In the Makefile, switch ARCH == powerpc64le to ARCH:Mpowerpc64*,
2. Add some additional ARCH == powerpc64 for switching to ELFv2, since GHC assumes powerpc64 is ELFv1.
3. Add additional patch to disable ELFv1 code in StgCRun.c.
Bootstrap is built against 14.3-RELEASE.
PR: 295675
Approved by: arrowd@51c541c1e6lang/ghc{,96}: fix ARCH handling
Turns out poudriere sets ARCH in make.conf, which shadows some Makefile
errors.
Reported by: Freshports47622a0248lang/ghc{,96}: add powerpc64le support8acc550bfclang/ghc: Add patch fixing the semaphore-compat package98214c958a
lang/ghc: Install unsuffixed haddock executablec30918b1d1
lang/ghc: Update to 9.10.3b9c35d8f17
lang/ghc*: Make PROFILE option working again The option does not work for lang/ghc92, so omit it from this port6ebfb9059f
lang/ghc*: Make DYNAMIC option working again There is a known problem with ghci and static linking, reported upstream: https://gitlab.haskell.org/ghc/ghc/-/issues/26316b4e431fddb
lang/ghc: Remove custom UserSettings.hs We're going to use flavour transformers instead64fb6a8ba0
lang/ghc: Fix build on CURRENT after libutil bump PR: 288655 Tested by: eduardobb538d4b8e
lang/ghc: Make the BOOT option working again + more cleanups - Tidy up some knobs - Build Hadrian in pre-build, install bootstrap in pre-configure - Add comments65df7bcd5b
lang/ghc: Continue with cleanups - Move pkg-plist.hadrian into pkg-plist. Everything is build with Hadrian now - Fix building without GMP option5ce4b8015b
lang/ghc: Continue with cleanups - Remove INSTALL_TARGET as it is now the same for all GHCs and matches the default - Remove GHCs 8.10.7 from distinfo, these are unused now - Remove USE_PERL5 - Stop generating build.mk, it isn't used by Hadrian build system - Move BOOT_SCRIPT definition into the slave port - Dedup BOOT_DIR5920333c65
lang/ghc: Remove USE_HADRIAN knob All GHC ports are now using Hadrian0c9ed782ea
lang/ghc: Drop i386 support The latest working GHC port for i386 was ghc92 until we switched to a newer bootstrap. This change doesn't remove much, because most of Haskell ports use GHC 94+ and weren't available for i386 anyways.1ec916d0d8
lang/ghc*: Completely stop depending on LLVM - LLVM is needed only for arches that are missing the native codegen backend in GHC - Starting from GHC 9 both AArch64 and X86 are natively supported - Leave LLVM_VERSION and LLVM_BOOT_VERSION vars for documentational purpose PR: 287528ec48599208
lang/ghc92: Use the same GHC 9.2 as bootstrap This removes dependency on GHC 8.10.7 as a bootstrap, and transitively - on llvm11 PR: 287528a5de5d2d8b
lang/ghc: Add a GHC 9.6 AArch64 bootstrap40d8b9f223
lang/ghc810: Remove the port782acf9ab8
lang/ghc: Update to 9.8.4 Move GHC 9.6.7 to lang/ghc961a6b1d89f0
lang/ghc: Remove the fixup-plist machinery With all the substitutions in play this helper target became useless3479e63393
lang/ghc: Update to 9.6.726fb608e7e
lang/ghc*: Remove BUILD_DEPEND on compat12x compat12x is only needed for ghc810 and ghc92 so remove the build depend for lang/ghc and lang/ghc94 Reviewed by: arrowdafc5ed77e9
lang/ghc: Introduce PDFDOCS option. PR: 283368344cf9384c
lang/ghc: Do not build PDF docs to avoid a heavy dependency on xetex PR: 2833680e32e26d38
lang/ghc: Pull a patch from upstream fixing a forking bug838c356b17
lang/ghc: Update to 9.6.697d143239d
lang/ghc: Update to 9.6.5920765491c
lang/ghc: Fix Hadrian build with BOOT option enabled Reported by: rene2eb4487ade
Framework: Use WRK_ENV when handling USE_LOCALE PR: 276478bf8e12d3e7
lang/ghc: Try to unbreak on AArch64 by pulling a patch from upstream.81243cb5ab
lang/ghc: Mark BROKEN on FreeBSD 14 aarch64 Reported by: pkg-fallouted864d0be6
lang/ghc: Use SETENVI for gmake invocations PR: 277492973a7aaf48
lang/ghc: Update to 9.6.4189c268221
lang/ghc: Update to 9.4.8e0faae0c54
lang/ghc: Unbreak GHC 9.2 on AArch64, refresh bootstraps.81be046af8
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree - Remove all references to defunct ARCH arm - Remove all references to defunct ARCH sparc64 - Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64 ARCH - Remove sysutils/afbinit requires defunct sparc64 ARCH - Remove all references to bktr driver - Remove all references to defunct FreeBSD_12 - Remove all references to OSVERSION/OSREL corresponding to 12 - Remove conditionals in Mk/Uses/cabal.mk - Remove sparc reference from Mk/Uses/qt-dist.mk - Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64 - Remove BROKEN_FreeBSD_12* from: - Remove OpenSSL patches from: - Remove conditional flags for OSVERSION >= 1300000 to fixed flags. Also move conditional flags for non sparc64/arm ARCH to fixed flags. Reviewed by: brooks, jbeich, rene, salvadore Differential Revision: https://reviews.freebsd.org/D42068bbab7f59e9
lang/ghc: Update to 9.4.7b652df2dfb
lang/ghc: Update to 9.4.60a452f3815
lang/ghc92: Reroll Hadrian bootstrap for real this time. Fixes: c8d0965f210b5176103c0b8a81da352c9ae9e696c75f100932
lang/ghc92: Reroll Hadrian bootstrap as it depends on GHC 8.10.7 bootstrap. Reported by: pkg-falloutc8d0965f21
lang/ghc*: Add unconditional BUILD_DEPENDS on libgmp. Rerolled bootstraps are now using GMP-backed Integer's, so make sure we can run them on the build stage.bf3eff78ea
lang/ghc: Reroll amd64 and i386 bindists of GHC 8.10.76a6fa4f81c
lang/ghc: Reroll Aarch64 8.10.7 bootstrap and simplify Makefile.
Also remove support for armv{6,7} due to problems in getting bootstraps.
Obtained from: kevansfd5e084339lang/ghc: Pass CC and CXX to Hadrian to fix build in lang/gcc presence. PR: 271928 Reported by: John Hein <jcfyecrayz@liamekaens.com>, Mark Evenson <evenson.not.org@gmail.com>57bf75dc7f