* Package: dev-lang/ghc-9.2.8:0/9.2.8 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: arm64 doc elibc_glibc gmp kernel_linux * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox * Checking for at least 8 GiB disk space at "/var/tmp/portage/dev-lang/ghc-9.2.8/temp" ... [ ok ] * Checking for at least 2 GiB disk space at "/usr" ... [ ok ] * Checking whether python3_12 is suitable ... * dev-lang/python:3.12 ... [ ok ] * python_check_deps ... * dev-python/sphinx[python_targets_python3_12(-)] ... [ ok ] * dev-python/sphinx-rtd-theme[python_targets_python3_12(-)] ... [ ok ] [ ok ] * Using python3.12 to build (via PYTHON_COMPAT iteration) >>> Unpacking ghc-9.2.8-src.tar.xz to /var/tmp/portage/dev-lang/ghc-9.2.8/work >>> Unpacking ghc-bin-9.0.2-r4-aarch64-unknown-linux-gnu.tar.gz to /var/tmp/portage/dev-lang/ghc-9.2.8/work * strip-flags: CFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe' * strip-flags: CXXFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe' * strip-flags: FFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe' * strip-flags: FCFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe' renamed '/var/tmp/portage/dev-lang/ghc-9.2.8/work/ghc-9.0.2-r4/image/usr' -> '/var/tmp/portage/dev-lang/ghc-9.2.8/work/usr' * Applying ghc-9.0.2-verbose-modunusable.patch ... [ ok ] * Applying ghc-9.2.7-modorigin-semigroup.patch ... [ ok ] * Applying ghc-8.10.1-allow-cross-bootstrap.patch ... [ ok ] * Applying ghc-9.0.2-disable-unboxed-arrays.patch ... [ ok ] * Applying ghc-9.0.2-llvm-13.patch ... [ ok ] * Applying ghc-9.0.2-llvm-14.patch ... [ ok ] * Applying ghc-9.0.2-sphinx-6.patch ... [ ok ] * Replacing bundled rtd-theme with dev-python/sphinx-rtd-theme /var/tmp/portage/dev-lang/ghc-9.2.8/work/ghc-9.2.8/libraries/Win32 /var/tmp/portage/dev-lang/ghc-9.2.8/work/ghc-9.2.8 * Applying ghc-8.2.1_rc1-win32-cross-2-hack.patch ... patching file Graphics/Win32/GDI/Types.hsc Hunk #1 succeeded at 214 (offset -2 lines). patching file Graphics/Win32/Misc.hsc patching file Graphics/Win32/Resource.hsc patching file Graphics/Win32/Window/PostMessage.hsc patching file System/Win32/Registry.hsc Hunk #1 succeeded at 140 with fuzz 1 (offset 60 lines). [ ok ] /var/tmp/portage/dev-lang/ghc-9.2.8/work/ghc-9.2.8 * Running eautoreconf in '/var/tmp/portage/dev-lang/ghc-9.2.8/work/ghc-9.2.8' ... * Running 'aclocal --system-acdir=/var/tmp/portage/dev-lang/ghc-9.2.8/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] *(B Running elibtoolize in: ghc-9.2.8/ *(B Running elibtoolize in: ghc-9.2.8/libraries/Cabal/cabal-install/tests/IntegrationTests2/exception/ *(B Running elibtoolize in: ghc-9.2.8/libraries/Cabal/cabal-testsuite/PackageTests/AutoconfBadPaths/ *(B Running elibtoolize in: ghc-9.2.8/libraries/Cabal/cabal-testsuite/PackageTests/Regression/T5386/ *(B Running elibtoolize in: ghc-9.2.8/libraries/base/ *(B Running elibtoolize in: ghc-9.2.8/libraries/directory/ *(B Running elibtoolize in: ghc-9.2.8/libraries/ghc-bignum/ *(B Running elibtoolize in: ghc-9.2.8/libraries/process/ *(B Running elibtoolize in: ghc-9.2.8/libraries/terminfo/ *(B Running elibtoolize in: ghc-9.2.8/libraries/time/ *(B Running elibtoolize in: ghc-9.2.8/libraries/unix/ * Final mk/build.mk: # Gentoo changes docdir = /usr/share/doc/ghc-9.2.8 htmldir = /usr/share/doc/ghc-9.2.8 SRC_HC_OPTS+= -optc-march=native -opta-march=native -optl-Wl,-O1 -optl-Wl,--as-needed SRC_CC_OPTS+=-march=native -O2 -pipe -march=native -march=native -fno-strict-aliasing SRC_LD_OPTS+=-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed utils/ghc-cabal_dist_EXTRA_HC_OPTS+=-j6 +RTS -A256M -qb0 -RTS BUILD_SPHINX_PDF = NO BUILD_SPHINX_HTML = YES BUILD_MAN = YES HADDOCK_DOCS = YES BUILD_DPH = NO BUILD_PROF_LIBS = NO BIGNUM_BACKEND = gmp STRIP_CMD = : checking for gfind... /usr/bin/gfind checking for sort... /usr/bin/sort checking for GHC Git commit id... given dfa834627a94d98aaeddb0cb3a0cedca934d2814 checking for ghc... /var/tmp/portage/dev-lang/ghc-9.2.8/work/usr/bin/ghc checking version of ghc... 9.0.2 checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-gnu GHC build : aarch64-unknown-linux GHC host : aarch64-unknown-linux GHC target : aarch64-unknown-linux LLVM target: aarch64-unknown-linux checking for sh... /usr/bin/sh checking whether target supports a registerised ABI... yes configure: user chose unregisterised matching default for platform checking whether target supports tables next to code... yes checking for path to top of build tree... /var/tmp/portage/dev-lang/ghc-9.2.8/work/ghc-9.2.8 checking for aarch64-unknown-linux-gnu-windres... aarch64-unknown-linux-gnu-windres checking for aarch64-unknown-linux-gnu-dllwrap... aarch64-unknown-linux-gnu-dllwrap checking for aarch64-unknown-linux-gnu-objdump... aarch64-unknown-linux-gnu-objdump checking for aarch64-unknown-linux-gnu-cc... aarch64-unknown-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether aarch64-unknown-linux-gnu-gcc accepts -g... yes checking for aarch64-unknown-linux-gnu-gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... aarch64-unknown-linux-gnu-gcc -E checking whether GCC supports -no-pie... yes checking for aarch64-unknown-linux-gnu-ld... aarch64-unknown-linux-gnu-ld checking for ld.gold object merging bug (binutils 22266)... checking whether ld is GNU ld... YES checking whether ld understands --build-id... yes checking whether ld understands -no_compact_unwind... no checking whether ld understands -filelist... no checking for aarch64-unknown-linux-gnu-nm... aarch64-unknown-linux-gnu-nm checking for aarch64-unknown-linux-gnu-ranlib... aarch64-unknown-linux-gnu-ranlib checking for aarch64-unknown-linux-gnu-strip... aarch64-unknown-linux-gnu-strip checking for aarch64-unknown-linux-gnu-libtool... no checking for libtool... libtool checking for aarch64-unknown-linux-gnu-otool... no checking for otool... no checking for aarch64-unknown-linux-gnu-install_name_tool... no checking for install_name_tool... no checking for aarch64-unknown-linux-gnu-clang... aarch64-unknown-linux-gnu-clang checking for gawk... gawk checking for aarch64-unknown-linux-gnu-llc-15... no checking for aarch64-unknown-linux-gnu-llc-15.0... no checking for aarch64-unknown-linux-gnu-llc-14... no checking for aarch64-unknown-linux-gnu-llc-14.0... no checking for aarch64-unknown-linux-gnu-llc-13... no checking for aarch64-unknown-linux-gnu-llc-13.0... no checking for aarch64-unknown-linux-gnu-llc-12... no checking for aarch64-unknown-linux-gnu-llc-12.0... no checking for aarch64-unknown-linux-gnu-llc-11... no checking for aarch64-unknown-linux-gnu-llc-11.0... no checking for aarch64-unknown-linux-gnu-llc-10... no checking for aarch64-unknown-linux-gnu-llc-10.0... no checking for aarch64-unknown-linux-gnu-llc-9... no checking for aarch64-unknown-linux-gnu-llc-9.0... no checking for aarch64-unknown-linux-gnu-llc... no checking for llc-15... no checking for llc-15.0... no checking for llc-14... no checking for llc-14.0... no checking for llc-13... no checking for llc-13.0... no checking for llc-12... no checking for llc-12.0... no checking for llc-11... no checking for llc-11.0... no checking for llc-10... no checking for llc-10.0... no checking for llc-9... no checking for llc-9.0... no checking for llc... llc checking llc version (17.0.5) is between 9 and 15... no configure: We only support llvm 9 to 15 (found 17.0.5). checking for aarch64-unknown-linux-gnu-opt-15... no checking for aarch64-unknown-linux-gnu-opt-15.0... no checking for aarch64-unknown-linux-gnu-opt-14... no checking for aarch64-unknown-linux-gnu-opt-14.0... no checking for aarch64-unknown-linux-gnu-opt-13... no checking for aarch64-unknown-linux-gnu-opt-13.0... no checking for aarch64-unknown-linux-gnu-opt-12... no checking for aarch64-unknown-linux-gnu-opt-12.0... no checking for aarch64-unknown-linux-gnu-opt-11... no checking for aarch64-unknown-linux-gnu-opt-11.0... no checking for aarch64-unknown-linux-gnu-opt-10... no checking for aarch64-unknown-linux-gnu-opt-10.0... no checking for aarch64-unknown-linux-gnu-opt-9... no checking for aarch64-unknown-linux-gnu-opt-9.0... no checking for aarch64-unknown-linux-gnu-opt... no checking for opt-15... no checking for opt-15.0... no checking for opt-14... no checking for opt-14.0... no checking for opt-13... no checking for opt-13.0... no checking for opt-12... no checking for opt-12.0... no checking for opt-11... no checking for opt-11.0... no checking for opt-10... no checking for opt-10.0... no checking for opt-9... no checking for opt-9.0... no checking for opt... opt checking opt version (17.0.5) is between 9 and 15... no configure: We only support llvm 9 to 15 (found 17.0.5). configure: Creating links for in-tree file handling routines configure: Routines in place. Packages can now be build normally. configure: Creating links for ghci wrapper configure: done. checking whether #! works in shell scripts... yes checking version of gcc... checking version of gcc... 13.2.1 13.2.1 checking whether GCC supports -no-pie... yes checking whether C compiler supports __atomic_ builtins... yes checking whether -latomic is needed for sub-word-sized atomic operations... no checking whether -latomic is needed for 64-bit atomic operations... no checking for extra options to pass gcc when compiling via C... checking whether C compiler has an LLVM back end... no checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking whether CC supports --target... no checking for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking for GNU non-executable stack support... yes checking for a working context diff... diff -U 1 checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c checking whether aarch64-unknown-linux-gnu-ar is GNU ar... yes checking for ar arguments... q checking whether aarch64-unknown-linux-gnu-ar supports @file... yes checking for aarch64-unknown-linux-gnu-ranlib... (cached) aarch64-unknown-linux-gnu-ranlib checking whether ln -s works... yes checking for gsed... /usr/bin/gsed checking for time... no checking for gnutar... no checking for gtar... /usr/bin/gtar checking for bzip2... /usr/bin/bzip2 checking for gzip... /usr/bin/gzip checking for pxz... no checking for xz... /usr/bin/xz checking for gpatch... /usr/bin/gpatch checking for autoreconf... /usr/bin/autoreconf checking for dtrace... /usr/bin/dtrace checking for HsColour... /usr/bin/HsColour checking for sphinx-build... /usr/bin/sphinx-build checking for version of sphinx-build... 7.2.6 checking for xelatex... /usr/bin/xelatex checking for makeindex... /usr/bin/makeindex checking for git... /usr/bin/git checking for makeinfo... /usr/bin/makeinfo checking for python3... /usr/bin/python3.12 checking for ghc-pkg matching /var/tmp/portage/dev-lang/ghc-9.2.8/work/usr/bin/ghc... /var/tmp/portage/dev-lang/ghc-9.2.8/work/usr/bin/ghc-pkg checking for happy... /usr/bin/happy checking for version of happy... 1.20.1.1 checking for alex... /usr/bin/alex checking for version of alex... 3.2.7.2 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for ctype.h... yes checking for dirent.h... yes checking for dlfcn.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for limits.h... yes checking for locale.h... yes checking for nlist.h... yes checking for pthread.h... yes checking for pwd.h... yes checking for signal.h... yes checking for sys/param.h... yes checking for sys/mman.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for sys/timerfd.h... yes checking for sys/timers.h... no checking for sys/times.h... yes checking for sys/utsname.h... yes checking for sys/wait.h... yes checking for termios.h... yes checking for time.h... yes checking for utime.h... yes checking for windows.h... no checking for winsock.h... no checking for sched.h... yes checking for sys/cpuset.h... no checking for aarch64-unknown-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed checking whether environ is declared... yes checking for long long... yes checking size of char... 1 checking for char... yes checking alignment of char... 1 checking size of double... 8 checking for double... yes checking alignment of double... 8 checking size of float... 4 checking for float... yes checking alignment of float... 4 checking size of int... 4 checking for int... yes checking alignment of int... 4 checking size of long... 8 checking for long... yes checking alignment of long... 8 checking size of long long... 8 checking for long long... (cached) yes checking alignment of long long... 8 checking size of short... 2 checking for short... yes checking alignment of short... 2 checking size of unsigned char... 1 checking for unsigned char... yes checking alignment of unsigned char... 1 checking size of unsigned int... 4 checking for unsigned int... yes checking alignment of unsigned int... 4 checking size of unsigned long... 8 checking for unsigned long... yes checking alignment of unsigned long... 8 checking size of unsigned long long... 8 checking for unsigned long long... yes checking alignment of unsigned long long... 8 checking size of unsigned short... 2 checking for unsigned short... yes checking alignment of unsigned short... 2 checking size of void *... 8 checking for void *... yes checking alignment of void *... 8 checking size of int8_t... 1 checking for int8_t... yes checking alignment of int8_t... 1 checking size of uint8_t... 1 checking for uint8_t... yes checking alignment of uint8_t... 1 checking size of int16_t... 2 checking for int16_t... yes checking alignment of int16_t... 2 checking size of uint16_t... 2 checking for uint16_t... yes checking alignment of uint16_t... 2 checking size of int32_t... 4 checking for int32_t... yes checking alignment of int32_t... 4 checking size of uint32_t... 4 checking for uint32_t... yes checking alignment of uint32_t... 4 checking size of int64_t... 8 checking for int64_t... yes checking alignment of int64_t... 8 checking size of uint64_t... 8 checking for uint64_t... yes checking alignment of uint64_t... 8 checking whether byte ordering is bigendian... no checking for WinExec... no checking for GetModuleFileName... no checking for getclock... no checking for getrusage... yes checking for gettimeofday... yes checking for setitimer... yes checking for siginterrupt... yes checking for sysconf... yes checking for times... yes checking for ctime_r... yes checking for sched_setaffinity... yes checking for sched_getaffinity... yes checking for setlocale... yes checking whether ctime_r is declared... yes checking for closedir in -lmingwex... no checking for atan in -lm... yes checking for ffi_call in -lffi... yes checking for ffi.h... yes checking for dlopen in -ldl... yes checking for dlopen in -ldl... (cached) yes checking for dlinfo... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for pthread_condattr_setclock... yes checking for working fork... yes checking for working vfork... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... (cached) no checking whether float word order is big endian... no checking for nlist in -lelf... yes checking leading underscore in symbol names... no checking whether __attribute__((visibility("hidden"))) is supported... yes checking for clock_gettime in -lrt... yes checking for clock_gettime in -lrt... (cached) yes checking for clock_gettime... yes checking for timer_settime... yes checking for timer_create... yes checking for a working timer_create(CLOCK_REALTIME)... yes checking for printf$LDBLStub... no checking whether -lpthread is needed for pthreads... checking for pthread_create... yes no checking for pthread_np.h... no checking for pthread_setname_np in -lpthread... yes checking for pthread_setname_np (Darwin)... no checking for pthread_setname_np (glibc)... yes checking for pthread_set_name_np... no checking for sys/eventfd.h... yes checking for eventfd... yes checking for __thread support... yes checking whether MAP_NORESERVE is declared... yes checking whether MADV_FREE is declared... yes checking whether MADV_DONTNEED is declared... yes checking whether to use libffi for adjustors... configure: creating ./config.status config.status: creating hadrian/cfg/system.config config.status: creating hadrian/ghci-cabal config.status: creating hadrian/ghci-stack config.status: creating mk/config.mk config.status: creating mk/install.mk config.status: creating mk/project.mk config.status: creating rts/rts.cabal config.status: creating compiler/ghc.cabal config.status: creating ghc/ghc-bin.cabal config.status: creating utils/runghc/runghc.cabal config.status: creating driver/ghci/ghci-wrapper.cabal config.status: creating utils/iserv/iserv.cabal config.status: creating utils/iserv-proxy/iserv-proxy.cabal config.status: creating utils/ghc-pkg/ghc-pkg.cabal config.status: creating utils/remote-iserv/remote-iserv.cabal config.status: creating utils/gen-dll/gen-dll.cabal config.status: creating libraries/ghc-boot/ghc-boot.cabal config.status: creating libraries/ghc-boot-th/ghc-boot-th.cabal config.status: creating libraries/ghci/ghci.cabal config.status: creating libraries/ghc-heap/ghc-heap.cabal config.status: creating libraries/libiserv/libiserv.cabal config.status: creating libraries/template-haskell/template-haskell.cabal config.status: creating docs/users_guide/ghc_config.py config.status: creating docs/index.html config.status: creating libraries/prologue.txt config.status: creating distrib/configure.ac config.status: creating mk/config.h ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 9.2.8 Git commit id : dfa834627a94d98aaeddb0cb3a0cedca934d2814 Build platform : aarch64-unknown-linux Host platform : aarch64-unknown-linux Target platform : aarch64-unknown-linux Bootstrapping using : /var/tmp/portage/dev-lang/ghc-9.2.8/work/usr/bin/ghc which is version : 9.0.2 with threaded RTS? : YES Using (for bootstrapping) : aarch64-unknown-linux-gnu-gcc Using gcc : aarch64-unknown-linux-gnu-gcc which is version : 13.2.1 linker options : Building a cross compiler : NO Unregisterised : NO TablesNextToCode : YES Build GMP in tree : NO hs-cpp : aarch64-unknown-linux-gnu-gcc hs-cpp-flags : -E -undef -traditional ar : aarch64-unknown-linux-gnu-ar ld : aarch64-unknown-linux-gnu-ld nm : aarch64-unknown-linux-gnu-nm libtool : libtool objdump : aarch64-unknown-linux-gnu-objdump ranlib : aarch64-unknown-linux-gnu-ranlib otool : install_name_tool : windres : aarch64-unknown-linux-gnu-windres dllwrap : aarch64-unknown-linux-gnu-dllwrap genlib : Happy : /usr/bin/happy (1.20.1.1) Alex : /usr/bin/alex (3.2.7.2) sphinx-build : /usr/bin/sphinx-build xelatex : /usr/bin/xelatex makeinfo : /usr/bin/makeinfo git : /usr/bin/git Using LLVM tools clang : aarch64-unknown-linux-gnu-clang llc : opt : HsColour : /usr/bin/HsColour Tools to build Sphinx HTML documentation available: YES Tools to build Sphinx PDF documentation available: YES Tools to build Sphinx INFO documentation available: YES ---------------------------------------------------------------------- For a standard build of GHC (fully optimised with profiling), type (g)make. To make changes to the default build configuration, copy the file mk/build.mk.sample to mk/build.mk, and edit the settings in there. For more information on how to configure your GHC build, see https://gitlab.haskell.org/ghc/ghc/wikis/building + test -f mk/config.mk.old + cp -p mk/config.mk mk/config.mk.old touch -r mk/config.mk.old mk/config.mk + test -f mk/project.mk.old + cp -p mk/project.mk mk/project.mk.old touch -r mk/project.mk.old mk/project.mk + test -f compiler/ghc.cabal.old + cp -p compiler/ghc.cabal compiler/ghc.cabal.old touch -r compiler/ghc.cabal.old compiler/ghc.cabal ===--- building phase 0 make --no-print-directory -f ghc.mk phase=0 phase_0_builds mkdir -p inplace/bin mkdir -p inplace/lib "rm" -f inplace/bin/mkdirhier echo '#!/bin/sh' >> inplace/bin/mkdirhier cat utils/mkdirhier/mkdirhier.sh >> inplace/bin/mkdirhier chmod +x inplace/bin/mkdirhier "inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//. "inplace/bin/mkdirhier" bootstrapping/. "inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC//. "inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC/Platform//. "inplace/bin/mkdirhier" includes/dist/build//. "inplace/bin/mkdirhier" compiler/stage1/build/GHC/Settings//. "/var/tmp/portage/dev-lang/ghc-9.2.8/work/usr/bin/ghc" -H32m -O -optc-march=native -opta-march=native -optl-Wl,-O1 -optl-Wl,--as-needed -Wall \ -optc-march=native -optc-O2 -optc-pipe -optc-march=native -optc-march=native -optc-fno-strict-aliasing -optc-Wall \ -optl-Wl,-O1 -optl-Wl,--as-needed -optl-Wl,-O1 -optl-Wl,--as-needed -optl-Wl,-z,noexecstack \ -O0 \ -XHaskell2010 \ -hide-all-packages \ -package-env - \ -package ghc-prim -package base -package binary -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package filepath -package template-haskell -package unix \ --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal \ -no-user-package-db \ -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \ -DCABAL_VERSION=3,6,3,0 \ -DBOOTSTRAPPING \ -odir bootstrapping \ -hidir bootstrapping \ libraries/Cabal/Cabal/src/Distribution/Fields/Lexer.hs \ -ilibraries/Cabal/Cabal/src \ -ilibraries/binary/src \ -ilibraries/filepath \ -ilibraries/hpc \ -ilibraries/mtl \ -ilibraries/text/src \ libraries/text/cbits/cbits.c \ -Ilibraries/text/include \ -ilibraries/parsec/src \ -j6 +RTS -A256M -qb0 -RTS \ "rm" -f libraries/ghc-boot/dist-boot/build/GHC/Version.hs "rm" -f libraries/ghc-boot/dist-boot/build/GHC/Platform/Host.hs "rm" -f includes/dist/build/ghcplatform.h "rm" -f includes/dist/build/ghcautoconf.h "rm" -f compiler/stage1/build/GHC/Settings/Config.hs Creating includes/dist/build/ghcplatform.h... Creating includes/dist/build/ghcautoconf.h... Creating compiler/stage1/build/GHC/Settings/Config.hs ... Done. done. done. Done. done. [ 1 of 299] Compiling Control.Monad.Cont.Class ( libraries/mtl/Control/Monad/Cont/Class.hs, bootstrapping/Control/Monad/Cont/Class.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 2 of 299] Compiling Control.Monad.Error.Class ( libraries/mtl/Control/Monad/Error/Class.hs, bootstrapping/Control/Monad/Error/Class.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 3 of 299] Compiling Control.Monad.Identity ( libraries/mtl/Control/Monad/Identity.hs, bootstrapping/Control/Monad/Identity.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 4 of 299] Compiling Control.Monad.Reader.Class ( libraries/mtl/Control/Monad/Reader/Class.hs, bootstrapping/Control/Monad/Reader/Class.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 5 of 299] Compiling Control.Monad.State.Class ( libraries/mtl/Control/Monad/State/Class.hs, bootstrapping/Control/Monad/State/Class.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 6 of 299] Compiling Control.Monad.Trans ( libraries/mtl/Control/Monad/Trans.hs, bootstrapping/Control/Monad/Trans.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 8 of 299] Compiling Data.Binary.Builder ( libraries/binary/src/Data/Binary/Builder.hs, bootstrapping/Data/Binary/Builder.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 9 of 299] Compiling Data.Binary.FloatCast ( libraries/binary/src/Data/Binary/FloatCast.hs, bootstrapping/Data/Binary/FloatCast.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 10 of 299] Compiling Data.Binary.Internal ( libraries/binary/src/Data/Binary/Internal.hs, bootstrapping/Data/Binary/Internal.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 17 of 299] Compiling Data.Text.Encoding.Error ( libraries/text/src/Data/Text/Encoding/Error.hs, bootstrapping/Data/Text/Encoding/Error.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 18 of 299] Compiling Data.Text.Internal.ByteStringCompat ( libraries/text/src/Data/Text/Internal/ByteStringCompat.hs, bootstrapping/Data/Text/Internal/ByteStringCompat.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 19 of 299] Compiling Data.Text.Internal.Encoding.Utf32 ( libraries/text/src/Data/Text/Internal/Encoding/Utf32.hs, bootstrapping/Data/Text/Internal/Encoding/Utf32.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 20 of 299] Compiling Data.Text.Internal.Functions ( libraries/text/src/Data/Text/Internal/Functions.hs, bootstrapping/Data/Text/Internal/Functions.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 21 of 299] Compiling Data.Text.Internal.PrimCompat ( libraries/text/src/Data/Text/Internal/PrimCompat.hs, bootstrapping/Data/Text/Internal/PrimCompat.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 23 of 299] Compiling Data.Text.Internal.Unsafe ( libraries/text/src/Data/Text/Internal/Unsafe.hs, bootstrapping/Data/Text/Internal/Unsafe.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 24 of 299] Compiling Data.Text.Internal.Unsafe.Shift ( libraries/text/src/Data/Text/Internal/Unsafe/Shift.hs, bootstrapping/Data/Text/Internal/Unsafe/Shift.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 48 of 299] Compiling Distribution.Compat.Async ( libraries/Cabal/Cabal/src/Distribution/Compat/Async.hs, bootstrapping/Distribution/Compat/Async.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 50 of 299] Compiling Distribution.Compat.CreatePipe ( libraries/Cabal/Cabal/src/Distribution/Compat/CreatePipe.hs, bootstrapping/Distribution/Compat/CreatePipe.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 51 of 299] Compiling Distribution.Compat.Directory ( libraries/Cabal/Cabal/src/Distribution/Compat/Directory.hs, bootstrapping/Distribution/Compat/Directory.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 52 of 299] Compiling Distribution.Compat.Exception ( libraries/Cabal/Cabal/src/Distribution/Compat/Exception.hs, bootstrapping/Distribution/Compat/Exception.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 53 of 299] Compiling Distribution.Compat.MonadFail ( libraries/Cabal/Cabal/src/Distribution/Compat/MonadFail.hs, bootstrapping/Distribution/Compat/MonadFail.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 54 of 299] Compiling Distribution.Compat.Newtype ( libraries/Cabal/Cabal/src/Distribution/Compat/Newtype.hs, bootstrapping/Distribution/Compat/Newtype.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 55 of 299] Compiling Distribution.Compat.Process ( libraries/Cabal/Cabal/src/Distribution/Compat/Process.hs, bootstrapping/Distribution/Compat/Process.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 56 of 299] Compiling Distribution.Compat.Stack ( libraries/Cabal/Cabal/src/Distribution/Compat/Stack.hs, bootstrapping/Distribution/Compat/Stack.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 57 of 299] Compiling Distribution.Compat.Typeable ( libraries/Cabal/Cabal/src/Distribution/Compat/Typeable.hs, bootstrapping/Distribution/Compat/Typeable.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 58 of 299] Compiling Distribution.PackageDescription.Utils ( libraries/Cabal/Cabal/src/Distribution/PackageDescription/Utils.hs, bootstrapping/Distribution/PackageDescription/Utils.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 59 of 299] Compiling Distribution.Simple.Utils.Json ( libraries/Cabal/Cabal/src/Distribution/Simple/Utils/Json.hs, bootstrapping/Distribution/Simple/Utils/Json.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 60 of 299] Compiling Distribution.Utils.Base62 ( libraries/Cabal/Cabal/src/Distribution/Utils/Base62.hs, bootstrapping/Distribution/Utils/Base62.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 62 of 299] Compiling Distribution.Utils.String ( libraries/Cabal/Cabal/src/Distribution/Utils/String.hs, bootstrapping/Distribution/Utils/String.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 88 of 299] Compiling Distribution.Utils.UnionFind ( libraries/Cabal/Cabal/src/Distribution/Utils/UnionFind.hs, bootstrapping/Distribution/Utils/UnionFind.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [ 90 of 299] Compiling System.FilePath.Posix ( libraries/filepath/System/FilePath/Posix.hs, bootstrapping/System/FilePath/Posix.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [104 of 299] Compiling System.FilePath.Windows ( libraries/filepath/System/FilePath/Windows.hs, bootstrapping/System/FilePath/Windows.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) [105 of 299] Compiling Text.Parsec.Pos ( libraries/parsec/src/Text/Parsec/Pos.hs, bootstrapping/Text/Parsec/Pos.o ) You are using an unsupported version of LLVM! Currently only 9 to 15 is supported. System LLVM version: 17.0.5 We will try though... opt: Unknown command line argument '-globalopt'. Try: 'opt --help' opt: Did you mean '--globals-aa'? : error: `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) ghc/ghc.mk:124: ghc/stage1/package-data.mk: No such file or directory make[1]: *** [utils/ghc-cabal/ghc.mk:59: utils/ghc-cabal/dist/build/tmp/ghc-cabal] Error 1 make: *** [Makefile:124: ghc/stage2/build/tmp/ghc-stage2] Error 2 * ERROR: dev-lang/ghc-9.2.8::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/ghc-9.2.8::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/ghc-9.2.8::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-lang/ghc-9.2.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ghc-9.2.8/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/ghc-9.2.8/work/ghc-9.2.8' * S: '/var/tmp/portage/dev-lang/ghc-9.2.8/work/ghc-9.2.8'