Skip to content
Snippets Groups Projects

GHC configure log (hadrian not respecting bootstrap GHC)

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Julian Ospald
    Edited
    snippetfile1.txt 41.94 KiB
    [ Debug ] Identified Platform as: Linux Rocky, 8.9
    [ Debug ] last access was 77.613654536s ago, cache interval is 300s
    [ Debug ] Decoding yaml at: /root/.ghcup/cache/ghcup-0.0.8.yaml
    [ Debug ] last access was 77.412650276s ago, cache interval is 300s
    [ Debug ] Decoding yaml at: /root/.ghcup/cache/ghcup-prereleases-0.0.8.yaml
    [ Debug ] Requested to compile: 9.10.0.20240413 with /root/.ghcup/bin/ghc-9.8.2
    [ Info  ] downloading: https://downloads.haskell.org/~ghc/9.10.0.20240413/ghc-9.10.0.20240413-src.tar.xz as file /root/.ghcup/tmp/ghcup-e053cbb699cd02ea/ghc-9.10.0.20240413-src.tar.xz
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 31.6M  100 31.6M    0     0  88.3M      0 --:--:-- --:--:-- --:--:-- 88.0M
    [ Info  ] verifying digest of: ghc-9.10.0.20240413-src.tar.xz
    [ Info  ] Unpacking: ghc-9.10.0.20240413-src.tar.xz to /root/.ghcup/tmp/ghcup-a0bba238437203fa
    [ Warn  ] GHC 9.10.0.20240413 already installed. Will overwrite existing version.
    [ Warn  ] ...waiting for 10 seconds before continuing, you can still abort...
    [ Info  ] Requested to use Hadrian
    [ Info  ] configuring build
    [ Debug ] Running sh with arguments ["./configure","GHC=/root/.ghcup/bin/ghc-9.8.2","--prefix=/root/.ghcup/ghc/9.10.0.20240413"]
    checking for gfind... no
    checking for find... /usr/bin/find
    checking for sort... /usr/bin/sort
    checking for GHC version date... given 9.10.0.20240413
    checking for GHC Git commit id... given 3b63186da9de818963c40ecb27848d3eb4722513
    checking for ghc... /root/.ghcup/bin/ghc-9.8.2
    checking version of ghc... 9.8.2
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking target system type... x86_64-pc-linux-gnu
    build platform inferred as: x86_64-unknown-linux
    host platform inferred as: x86_64-unknown-linux
    target platform inferred as: x86_64-unknown-linux
    configure: GHC build : x86_64-unknown-linux
    configure: GHC host : x86_64-unknown-linux
    configure: GHC target : x86_64-unknown-linux
    checking for sh... /usr/bin/sh
    checking whether target supports a registerised ABI... yes
    checking whether target supports tables next to code... yes
    checking for path to top of build tree... /root/.ghcup/tmp/ghcup-a0bba238437203fa/ghc-9.10.0.20240413
    checking for gcc... /usr/bin/gcc
    checking for g++... /usr/bin/g++
    checking for nm... /usr/bin/nm
    checking for ar... /usr/bin/ar
    checking for ranlib... /usr/bin/ranlib
    checking for objdump... /usr/bin/objdump
    checking for windres... no
    checking for genlib... no
    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 we are using the GNU C compiler... yes
    checking whether /usr/bin/gcc accepts -g... yes
    checking for /usr/bin/gcc option to accept ISO C89... none needed
    checking whether we are using the GNU C++ compiler... yes
    checking whether /usr/bin/g++ accepts -g... yes
    checking how to run the C preprocessor... /usr/bin/gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for /usr/bin/gcc option to accept ISO C99... none needed
    checking for gcc option to accept ISO C99... none needed
    checking for /usr/bin/gcc option to accept ISO C99... none needed
    checking for /usr/bin/gcc option to accept ISO C99... none needed
    checking for -ld.lld... no
    checking for ld.lld... no
    checking for -ld.gold... no
    checking for ld.gold... ld.gold
    checking whether C compiler supports -fuse-ld=gold... yes
    checking for -nm... /usr/bin/nm
    configure: Setting cmd
    checking for ld.gold object merging bug (binutils 22266)... not affected
    configure: Checking whether /usr/bin/ld.gold can merge objects
    checking whether ld is GNU ld... YES
    checking whether ld understands -no_compact_unwind... no
    checking whether ld understands -filelist... no
    checking whether ld supports -single_module... no
    checking for -nm... (cached) /usr/bin/nm
    checking for ranlib... /usr/bin/ranlib
    checking for -strip... no
    checking for strip... strip
    checking for -otool... no
    checking for otool... no
    checking for -install_name_tool... no
    checking for install_name_tool... no
    checking for gawk... gawk
    checking for llc-15... no
    checking for llc-15.0... no
    checking for llc15... no
    checking for llc-14... no
    checking for llc-14.0... no
    checking for llc14... no
    checking for llc-13... no
    checking for llc-13.0... no
    checking for llc13... no
    checking for llc... no
    checking for opt-15... no
    checking for opt-15.0... no
    checking for opt15... no
    checking for opt-14... no
    checking for opt-14.0... no
    checking for opt14... no
    checking for opt-13... no
    checking for opt-13.0... no
    checking for opt13... no
    checking for opt... no
    checking for clang-15... no
    checking for clang-15.0... no
    checking for clang15... no
    checking for clang-14... no
    checking for clang-14.0... no
    checking for clang14... no
    checking for clang-13... no
    checking for clang-13.0... no
    checking for clang13... no
    checking for clang... no
    configure: Creating links for headers shared by the RTS and compiler
    configure: done.
    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... 8.5.0
    8.5.0
    checking whether CC supports flags passed by GHC when compiling via C... 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 whether C compiler has an LLVM back end... no
    checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... checking whether Cc linker supports -Wl,--no-as-needed... yes
    done
    checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... checking whether Cc linker supports -Wl,--no-as-needed... yes
    done
    checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... checking whether Cc linker supports -Wl,--no-as-needed... yes
    done
    checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... checking whether Cc linker supports -Wl,--no-as-needed... yes
    done
    checking whether ld.gold supports response files... yes
    checking whether gcc supports --target... no
    checking whether /usr/bin/gcc supports --target... no
    checking whether /usr/bin/gcc supports --target... no
    checking whether /usr/bin/gcc used as a linker understands --target... gcc: error: unrecognized command line option '--target=x86_64-unknown-linux'
    no
    checking whether /usr/bin/gcc used as a linker understands --target... gcc: error: unrecognized command line option '--target=x86_64-unknown-linux'
    no
    checking whether /usr/bin/gcc used as a linker understands --target... gcc: error: unrecognized command line option '--target=x86_64-unknown-linux'
    no
    checking whether CC supports -no-pie... yes
    checking whether gcc supports -Qunused-arguments... no
    checking whether /usr/bin/gcc supports -Qunused-arguments... no
    checking whether /usr/bin/gcc supports -Qunused-arguments... no
    checking C++ standard library flavour... libstdc++
    checking for linkage against 'stdc++'... success
    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/bin/install -c
    checking whether /usr/bin/ar is GNU ar... yes
    checking for ar arguments... q
    checking whether /usr/bin/ar supports @file... yes
    checking whether /usr/bin/ar supports -L... /usr/bin/ar: conftest.a: No such file or directory
    no
    checking for ranlib... (cached) /usr/bin/ranlib
    checking whether ln -s works... yes
    checking for gsed... no
    checking for sed... /usr/bin/sed
    checking for time... no
    checking for gnutar... no
    checking for gtar... /usr/bin/gtar
    checking for gpatch... no
    checking for patch... no
    checking for autoreconf... autoreconf
    checking for dtrace... /usr/bin/dtrace
    checking for HsColour... no
    checking for sphinx-build... no
    checking for version of sphinx-build...
    configure: WARNING: Sphinx version 1.0.0 or later is required to build documentation
    checking for xelatex... no
    checking for makeindex... no
    checking for git... /usr/bin/git
    checking for makeinfo... no
    checking for cabal... /root/.ghcup/bin/cabal
    checking for python3... /usr/bin/python3
    checking for ghc-pkg matching /root/.ghcup/bin/ghc-9.8.2... /root/.ghcup/bin/ghc-pkg-9.8.2
    checking for happy... no
    checking for version of happy...
    checking for alex... no
    checking for version of alex...
    checking size of void *... 8
    checking whether byte ordering is bigendian... no
    checking for atan in -lm... yes
    checking for dlopen in -ldl... yes
    checking for nlist in -lelf... no
    checking leading underscore in symbol names... no
    checking for clock_gettime in -lrt... yes
    checking whether -lpthread is needed for pthreads... checking for pthread_create... no
    checking for pthread_create in -lpthread... yes
    yes
    checking whether to use libffi for adjustors... no
    checking numa.h usability... no
    checking numa.h presence... no
    checking for numa.h... no
    checking numaif.h usability... no
    checking numaif.h presence... no
    checking for numaif.h... no
    Execute: sh config.sub x86_64-unknown-linux
    Normalised triple: x86_64-unknown-linux ~> x86_64-unknown-linux-gnu
    checking for C compiler...
    Entering: checking for C compiler
    found for C compiler: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    checking for C compiler...
    Entering: checking for C compiler
    found for C compiler: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    checking for -Qunused-arguments support...
    Entering: checking for -Qunused-arguments support
      Execute: /usr/bin/gcc -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      Command failed: /usr/bin/gcc -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    Exited with code 1
    
    found for -Qunused-arguments support: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    checking whether Cc supports --target...
    Entering: checking whether Cc supports --target
      Execute: /usr/bin/gcc -Werror --target=x86_64-unknown-linux-gnu -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      Command failed: /usr/bin/gcc -Werror --target=x86_64-unknown-linux-gnu -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    Exited with code 1
    
    found whether Cc supports --target: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    checking whether Cc works...
    Entering: checking whether Cc works
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    found whether Cc works: ()
    checking for C99 support...
    Entering: checking for C99 support
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    found for C99 support: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    checking whether cc supports extra via-c flags...
    Entering: checking whether cc supports extra via-c flags
      Execute: /usr/bin/gcc -c -fwrapv -fno-builtin -Werror -x c -o /tmp/tmp0/test.o /tmp/tmp0/test.c
    found whether cc supports extra via-c flags: ()
    checking for C++ compiler...
    Entering: checking for C++ compiler
      x86_64-unknown-linux-g++ not found in search path
      x86_64-unknown-linux-clang++ not found in search path
      x86_64-unknown-linux-c++ not found in search path
      checking whether C++ supports --target...
      Entering: checking whether C++ supports --target
        Execute: /usr/bin/g++ -Werror --target=x86_64-unknown-linux-gnu -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp
        Command failed: /usr/bin/g++ -Werror --target=x86_64-unknown-linux-gnu -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp
    Exited with code 1
    
      found whether C++ supports --target: Cxx {cxxProgram = Program { prgPath =  "/usr/bin/g++" , prgFlags = [] }}
      Execute: /usr/bin/g++ -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp
    found for C++ compiler: Cxx {cxxProgram = Program { prgPath =  "/usr/bin/g++" , prgFlags = [] }}
    checking for C preprocessor...
    Entering: checking for C preprocessor
      Failed to find C preprocessor.
    Looked for one of [] in the system search path.
    
      Failed to find C preprocessor.
    Looked for one of [] in the system search path.
    
      checking for C99 support...
      Entering: checking for C99 support
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      found for C99 support: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    found for C preprocessor: Cpp {cppProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-E"] }}
    checking for Haskell C preprocessor...
    Entering: checking for Haskell C preprocessor
      Failed to find Haskell C preprocessor.
    Looked for one of [] in the system search path.
    
      Failed to find Haskell C preprocessor.
    Looked for one of [] in the system search path.
    
      Execute: /usr/bin/gcc -E -x c /tmp/tmp0/tmp.c -dM -E
      Execute: /usr/bin/gcc -E -v
    found for Haskell C preprocessor: HsCpp {hsCppProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-E","-undef","-traditional"] }}
    checking for 'readelf'...
    Entering: checking for 'readelf'
      x86_64-unknown-linux-readelf not found in search path
    found for 'readelf': Readelf {readelfProgram = Program { prgPath =  "/usr/bin/readelf" , prgFlags = [] }}
    checking for C compiler for linking command...
    Entering: checking for C compiler for linking command
      x86_64-unknown-linux-ld.lld not found in search path
      ld.lld not found in search path
      Failed to find lld linker.
    Looked for one of ["x86_64-unknown-linux-ld.lld","ld.lld"] in the system search path.
    
      Failed to find lld linker.
    Looked for one of ["x86_64-unknown-linux-ld.lld","ld.lld"] in the system search path.
    
      x86_64-unknown-linux-ld.gold not found in search path
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c
      Execute: /usr/bin/gcc -fuse-ld=gold -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o
      checking whether cc linker supports --target...
      Entering: checking whether cc linker supports --target
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c
        Execute: /usr/bin/gcc -Werror --target=x86_64-unknown-linux-gnu -fuse-ld=gold -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o
        Command failed: /usr/bin/gcc -Werror --target=x86_64-unknown-linux-gnu -fuse-ld=gold -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o
    Exited with code 1
    
      found whether cc linker supports --target: Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-fuse-ld=gold"] }
      checking whether the cc linker supports -no-pie...
      Entering: checking whether the cc linker supports -no-pie
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
        Execute: /usr/bin/gcc -fuse-ld=gold -no-pie -Werror /tmp/tmp0/test.o -o /tmp/tmp0/test
      found whether the cc linker supports -no-pie: True
      checking whether the cc linker understands -filelist...
      Entering: checking whether the cc linker understands -filelist
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test1.o /tmp/tmp0/test1.o.c
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test2.o /tmp/tmp0/test2.o.c
        Execute: /usr/bin/gcc -fuse-ld=gold -r -Wl,-filelist /tmp/tmp0/test.o-files -o /tmp/tmp0/test.o
      found whether the cc linker understands -filelist: False
      Execute: /usr/bin/gcc -fuse-ld=gold -Wl,--version
      checking that --no-as-needed works...
      Entering: checking that --no-as-needed works
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c
        Execute: /usr/bin/gcc -fuse-ld=gold -Wl,--no-as-needed -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o
      found that --no-as-needed works: Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-fuse-ld=gold","-Wl,--no-as-needed"] }
    found for C compiler for linking command: CcLink
    { ccLinkProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-fuse-ld=gold","-Wl,--no-as-needed"] }
    , ccLinkSupportsNoPie = True
    , ccLinkSupportsCompactUnwind = False
    , ccLinkSupportsFilelist = False
    , ccLinkSupportsSingleModule = False
    , ccLinkIsGnu = True
    }
    
    checking for 'ar'...
    Entering: checking for 'ar'
      Execute: /usr/bin/ar --version
      checking for how to make archives...
      Entering: checking for how to make archives
        checking that ar works...
        Entering: checking that ar works
          Execute: /usr/bin/ar q /tmp/tmp0/conftest.a /tmp/tmp0/conftest.dummy
        found that ar works: ()
      found for how to make archives: Program { prgPath =  "/usr/bin/ar" , prgFlags = ["q"] }
      checking that ar supports @-files...
      Entering: checking that ar supports @-files
        Execute: /usr/bin/ar q /tmp/tmp0/conftest.a @/tmp/tmp0/conftest.atfile
        Execute: /usr/bin/ar t /tmp/tmp0/conftest.a
      found that ar supports @-files: True
      checking that ar supports -L...
      Entering: checking that ar supports -L
        Execute: /usr/bin/ar qc /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest.a0 /tmp/tmp0/conftest.a1
        Execute: /usr/bin/ar qc /tmp/tmp0/conftest-b.a /tmp/tmp0/conftest.b0 /tmp/tmp0/conftest.b1
        Execute: /usr/bin/ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a
        Command failed: /usr/bin/ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a
    Exited with code 1
    
      found that ar supports -L: False
    found for 'ar': Ar
    { arMkArchive = Program { prgPath =  "/usr/bin/ar" , prgFlags = ["q"] }
    , arIsGnu = True
    , arSupportsAtFile = True
    , arSupportsDashL = False
    , arNeedsRanlib = False
    }
    
    checking for 'ranlib'...
    Entering: checking for 'ranlib'
      x86_64-unknown-linux-ranlib not found in search path
      x86_64-unknown-linux-llvm-ranlib not found in search path
    found for 'ranlib': Ranlib {ranlibProgram = Program { prgPath =  "/usr/bin/ranlib" , prgFlags = [] }}
    checking for 'nm'...
    Entering: checking for 'nm'
      x86_64-unknown-linux-nm not found in search path
      x86_64-unknown-linux-llvm-nm not found in search path
    found for 'nm': Nm {nmProgram = Program { prgPath =  "/usr/bin/nm" , prgFlags = [] }}
    checking for linker for merging objects...
    Entering: checking for linker for merging objects
      x86_64-unknown-linux-ld.gold not found in search path
      x86_64-unknown-linux-ld not found in search path
      checking whether object merging works...
      Entering: checking whether object merging works
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c
        Execute: /usr/bin/ld.gold -r /tmp/tmp0/a.o /tmp/tmp0/b.o -o /tmp/tmp0/out.o
        Execute: /usr/bin/nm /tmp/tmp0/out.o
      found whether object merging works: ()
      checking for ld.gold object merging bug (binutils #22266)...
      Entering: checking for ld.gold object merging bug (binutils #22266)
        Execute: /usr/bin/ld.gold -r --version
      found for ld.gold object merging bug (binutils #22266): "GNU gold (version 2.30-123.el8) 1.15\nCopyright (C) 2018 Free Software Foundation, Inc.\nThis program is free software; you may redistribute it under the terms of\nthe GNU General Public License version 3 or (at your option) a later version.\nThis program has absolutely no warranty.\n"
      checking for ld.gold object merging bug (binutils #22266)...
      Entering: checking for ld.gold object merging bug (binutils #22266)
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c
        Execute: /usr/bin/ld.gold -r -T /tmp/tmp0/link.t /tmp/tmp0/a.o -o /tmp/tmp0/merged.o
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c
        Execute: /usr/bin/gcc -fuse-ld=gold -Wl,--no-as-needed -o /tmp/tmp0/main /tmp/tmp0/merged.o /tmp/tmp0/main.o
        Execute: /tmp/tmp0/main
      found for ld.gold object merging bug (binutils #22266): ()
      checking whether the merge objects tool supports response files...
      Entering: checking whether the merge objects tool supports response files
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c
        Execute: /usr/bin/ld.gold -r @/tmp/tmp0/args.txt
        Execute: /usr/bin/nm /tmp/tmp0/out.o
      found whether the merge objects tool supports response files: True
    found for linker for merging objects: MergeObjs {mergeObjsProgram = Program { prgPath =  "/usr/bin/ld.gold" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True}
    checking word size...
    Entering: checking word size
      Execute: /usr/bin/gcc -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c
    found word size: WS8
    checking endianness (param.h)...
    Entering: checking endianness (param.h)
      Execute: /usr/bin/gcc -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c
    found endianness (param.h): LittleEndian
    checking whether symbols have leading underscores...
    Entering: checking whether symbols have leading underscores
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      Execute: /usr/bin/nm /tmp/tmp0/test.o
    found whether symbols have leading underscores: False
    checking whether .subsections-via-symbols directive is supported...
    Entering: checking whether .subsections-via-symbols directive is supported
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      Command failed: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    Exited with code 1
    
    found whether .subsections-via-symbols directive is supported: False
    checking whether the .ident directive is supported...
    Entering: checking whether the .ident directive is supported
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    found whether the .ident directive is supported: True
    checking whether GNU non-executable stack directives are supported...
    Entering: checking whether GNU non-executable stack directives are supported
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    found whether GNU non-executable stack directives are supported: True
    checking whether to use libffi for adjustors...
    Entering: checking whether to use libffi for adjustors
    found whether to use libffi for adjustors: False
    Final Target: Target
    { tgtArchOs = ArchOS {archOS_arch = ArchX86_64, archOS_OS = OSLinux}
    , tgtVendor = Just "unknown"
    , tgtLocallyExecutable = True
    , tgtSupportsGnuNonexecStack = True
    , tgtSupportsSubsectionsViaSymbols = False
    , tgtSupportsIdentDirective = True
    , tgtWordSize = WS8
    , tgtEndianness = LittleEndian
    , tgtSymbolsHaveLeadingUnderscore = False
    , tgtLlvmTarget = "x86_64-unknown-linux-gnu"
    , tgtUnregisterised = False
    , tgtTablesNextToCode = True
    , tgtUseLibffiForAdjustors = False
    , tgtCCompiler = Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    , tgtCxxCompiler = Cxx {cxxProgram = Program { prgPath =  "/usr/bin/g++" , prgFlags = [] }}
    , tgtCPreprocessor = Cpp {cppProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-E"] }}
    , tgtHsCPreprocessor = HsCpp {hsCppProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-E","-undef","-traditional"] }}
    , tgtCCompilerLink = CcLink
    { ccLinkProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-fuse-ld=gold","-Wl,--no-as-needed"] }
    , ccLinkSupportsNoPie = True
    , ccLinkSupportsCompactUnwind = False
    , ccLinkSupportsFilelist = False
    , ccLinkSupportsSingleModule = False
    , ccLinkIsGnu = True
    }
    
    , tgtAr = Ar
    { arMkArchive = Program { prgPath =  "/usr/bin/ar" , prgFlags = ["q"] }
    , arIsGnu = True
    , arSupportsAtFile = True
    , arSupportsDashL = False
    , arNeedsRanlib = False
    }
    
    , tgtRanlib = Just (Ranlib {ranlibProgram = Program { prgPath =  "/usr/bin/ranlib" , prgFlags = [] }})
    , tgtNm = Nm {nmProgram = Program { prgPath =  "/usr/bin/nm" , prgFlags = [] }}
    , tgtMergeObjs = Just (MergeObjs {mergeObjsProgram = Program { prgPath =  "/usr/bin/ld.gold" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True})
    , tgtWindres = Nothing
    }
    
    Execute: sh config.sub x86_64-unknown-linux
    Normalised triple: x86_64-unknown-linux ~> x86_64-unknown-linux-gnu
    checking for C compiler...
    Entering: checking for C compiler
    found for C compiler: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    checking for C compiler...
    Entering: checking for C compiler
    found for C compiler: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    checking for -Qunused-arguments support...
    Entering: checking for -Qunused-arguments support
      Execute: /usr/bin/gcc -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      Command failed: /usr/bin/gcc -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    Exited with code 1
    
    found for -Qunused-arguments support: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    checking whether Cc supports --target...
    Entering: checking whether Cc supports --target
      Execute: /usr/bin/gcc -Werror --target=x86_64-unknown-linux -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      Command failed: /usr/bin/gcc -Werror --target=x86_64-unknown-linux -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    Exited with code 1
    
    found whether Cc supports --target: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    checking whether Cc works...
    Entering: checking whether Cc works
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    found whether Cc works: ()
    checking for C99 support...
    Entering: checking for C99 support
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    found for C99 support: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    checking whether cc supports extra via-c flags...
    Entering: checking whether cc supports extra via-c flags
      Execute: /usr/bin/gcc -c -fwrapv -fno-builtin -Werror -x c -o /tmp/tmp0/test.o /tmp/tmp0/test.c
    found whether cc supports extra via-c flags: ()
    checking for C++ compiler...
    Entering: checking for C++ compiler
      checking whether C++ supports --target...
      Entering: checking whether C++ supports --target
        Execute: /usr/bin/g++ -Werror --target=x86_64-unknown-linux -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp
        Command failed: /usr/bin/g++ -Werror --target=x86_64-unknown-linux -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp
    Exited with code 1
    
      found whether C++ supports --target: Cxx {cxxProgram = Program { prgPath =  "/usr/bin/g++" , prgFlags = [] }}
      Execute: /usr/bin/g++ -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp
    found for C++ compiler: Cxx {cxxProgram = Program { prgPath =  "/usr/bin/g++" , prgFlags = [] }}
    checking for C preprocessor...
    Entering: checking for C preprocessor
      checking for C99 support...
      Entering: checking for C99 support
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      found for C99 support: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    found for C preprocessor: Cpp {cppProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-E"] }}
    checking for Haskell C preprocessor...
    Entering: checking for Haskell C preprocessor
      Execute: /usr/bin/gcc -E -x c /tmp/tmp0/tmp.c -dM -E
      Execute: /usr/bin/gcc -E -v
    found for Haskell C preprocessor: HsCpp {hsCppProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-E","-undef","-traditional"] }}
    checking for 'readelf'...
    Entering: checking for 'readelf'
      x86_64-unknown-linux-readelf not found in search path
    found for 'readelf': Readelf {readelfProgram = Program { prgPath =  "/usr/bin/readelf" , prgFlags = [] }}
    checking for C compiler for linking command...
    Entering: checking for C compiler for linking command
      x86_64-unknown-linux-ld.lld not found in search path
      ld.lld not found in search path
      Failed to find lld linker.
    Looked for one of ["x86_64-unknown-linux-ld.lld","ld.lld"] in the system search path.
    
      Failed to find lld linker.
    Looked for one of ["x86_64-unknown-linux-ld.lld","ld.lld"] in the system search path.
    
      x86_64-unknown-linux-ld.gold not found in search path
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c
      Execute: /usr/bin/gcc -fuse-ld=gold -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o
      checking whether cc linker supports --target...
      Entering: checking whether cc linker supports --target
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c
        Execute: /usr/bin/gcc -Werror --target=x86_64-unknown-linux -fuse-ld=gold -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o
        Command failed: /usr/bin/gcc -Werror --target=x86_64-unknown-linux -fuse-ld=gold -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o
    Exited with code 1
    
      found whether cc linker supports --target: Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-fuse-ld=gold"] }
      checking whether the cc linker supports -no-pie...
      Entering: checking whether the cc linker supports -no-pie
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
        Execute: /usr/bin/gcc -fuse-ld=gold -no-pie -Werror /tmp/tmp0/test.o -o /tmp/tmp0/test
      found whether the cc linker supports -no-pie: True
      checking whether the cc linker understands -filelist...
      Entering: checking whether the cc linker understands -filelist
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test1.o /tmp/tmp0/test1.o.c
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test2.o /tmp/tmp0/test2.o.c
        Execute: /usr/bin/gcc -fuse-ld=gold -r -Wl,-filelist /tmp/tmp0/test.o-files -o /tmp/tmp0/test.o
      found whether the cc linker understands -filelist: False
      Execute: /usr/bin/gcc -fuse-ld=gold -Wl,--version
      checking that --no-as-needed works...
      Entering: checking that --no-as-needed works
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c
        Execute: /usr/bin/gcc -fuse-ld=gold -Wl,--no-as-needed -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o
      found that --no-as-needed works: Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-fuse-ld=gold","-Wl,--no-as-needed"] }
    found for C compiler for linking command: CcLink
    { ccLinkProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-fuse-ld=gold","-Wl,--no-as-needed"] }
    , ccLinkSupportsNoPie = True
    , ccLinkSupportsCompactUnwind = False
    , ccLinkSupportsFilelist = False
    , ccLinkSupportsSingleModule = False
    , ccLinkIsGnu = True
    }
    
    checking for 'ar'...
    Entering: checking for 'ar'
      Execute: /usr/bin/ar --version
      checking for how to make archives...
      Entering: checking for how to make archives
        checking that ar works...
        Entering: checking that ar works
          Execute: /usr/bin/ar q /tmp/tmp0/conftest.a /tmp/tmp0/conftest.dummy
        found that ar works: ()
      found for how to make archives: Program { prgPath =  "/usr/bin/ar" , prgFlags = ["q"] }
      checking that ar supports @-files...
      Entering: checking that ar supports @-files
        Execute: /usr/bin/ar q /tmp/tmp0/conftest.a @/tmp/tmp0/conftest.atfile
        Execute: /usr/bin/ar t /tmp/tmp0/conftest.a
      found that ar supports @-files: True
      checking that ar supports -L...
      Entering: checking that ar supports -L
        Execute: /usr/bin/ar qc /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest.a0 /tmp/tmp0/conftest.a1
        Execute: /usr/bin/ar qc /tmp/tmp0/conftest-b.a /tmp/tmp0/conftest.b0 /tmp/tmp0/conftest.b1
        Execute: /usr/bin/ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a
        Command failed: /usr/bin/ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a
    Exited with code 1
    
      found that ar supports -L: False
    found for 'ar': Ar
    { arMkArchive = Program { prgPath =  "/usr/bin/ar" , prgFlags = ["q"] }
    , arIsGnu = True
    , arSupportsAtFile = True
    , arSupportsDashL = False
    , arNeedsRanlib = False
    }
    
    checking for 'ranlib'...
    Entering: checking for 'ranlib'
    found for 'ranlib': Ranlib {ranlibProgram = Program { prgPath =  "/usr/bin/ranlib" , prgFlags = [] }}
    checking for 'nm'...
    Entering: checking for 'nm'
    found for 'nm': Nm {nmProgram = Program { prgPath =  "/usr/bin/nm" , prgFlags = [] }}
    checking for linker for merging objects...
    Entering: checking for linker for merging objects
      checking whether object merging works...
      Entering: checking whether object merging works
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c
        Execute: /usr/bin/ld.gold -r /tmp/tmp0/a.o /tmp/tmp0/b.o -o /tmp/tmp0/out.o
        Execute: /usr/bin/nm /tmp/tmp0/out.o
      found whether object merging works: ()
      checking for ld.gold object merging bug (binutils #22266)...
      Entering: checking for ld.gold object merging bug (binutils #22266)
        Execute: /usr/bin/ld.gold -r --version
      found for ld.gold object merging bug (binutils #22266): "GNU gold (version 2.30-123.el8) 1.15\nCopyright (C) 2018 Free Software Foundation, Inc.\nThis program is free software; you may redistribute it under the terms of\nthe GNU General Public License version 3 or (at your option) a later version.\nThis program has absolutely no warranty.\n"
      checking for ld.gold object merging bug (binutils #22266)...
      Entering: checking for ld.gold object merging bug (binutils #22266)
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c
        Execute: /usr/bin/ld.gold -r -T /tmp/tmp0/link.t /tmp/tmp0/a.o -o /tmp/tmp0/merged.o
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c
        Execute: /usr/bin/gcc -fuse-ld=gold -Wl,--no-as-needed -o /tmp/tmp0/main /tmp/tmp0/merged.o /tmp/tmp0/main.o
        Execute: /tmp/tmp0/main
      found for ld.gold object merging bug (binutils #22266): ()
      checking whether the merge objects tool supports response files...
      Entering: checking whether the merge objects tool supports response files
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c
        Execute: /usr/bin/gcc -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c
        Execute: /usr/bin/ld.gold -r @/tmp/tmp0/args.txt
        Execute: /usr/bin/nm /tmp/tmp0/out.o
      found whether the merge objects tool supports response files: True
    found for linker for merging objects: MergeObjs {mergeObjsProgram = Program { prgPath =  "/usr/bin/ld.gold" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True}
    checking word size...
    Entering: checking word size
      Execute: /usr/bin/gcc -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c
    found word size: WS8
    checking endianness (param.h)...
    Entering: checking endianness (param.h)
      Execute: /usr/bin/gcc -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c
    found endianness (param.h): LittleEndian
    checking whether symbols have leading underscores...
    Entering: checking whether symbols have leading underscores
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      Execute: /usr/bin/nm /tmp/tmp0/test.o
    found whether symbols have leading underscores: False
    checking whether .subsections-via-symbols directive is supported...
    Entering: checking whether .subsections-via-symbols directive is supported
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
      Command failed: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    Exited with code 1
    
    found whether .subsections-via-symbols directive is supported: False
    checking whether the .ident directive is supported...
    Entering: checking whether the .ident directive is supported
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    found whether the .ident directive is supported: True
    checking whether GNU non-executable stack directives are supported...
    Entering: checking whether GNU non-executable stack directives are supported
      Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    found whether GNU non-executable stack directives are supported: True
    checking whether to use libffi for adjustors...
    Entering: checking whether to use libffi for adjustors
    found whether to use libffi for adjustors: False
    Final Target: Target
    { tgtArchOs = ArchOS {archOS_arch = ArchX86_64, archOS_OS = OSLinux}
    , tgtVendor = Just "unknown"
    , tgtLocallyExecutable = True
    , tgtSupportsGnuNonexecStack = True
    , tgtSupportsSubsectionsViaSymbols = False
    , tgtSupportsIdentDirective = True
    , tgtWordSize = WS8
    , tgtEndianness = LittleEndian
    , tgtSymbolsHaveLeadingUnderscore = False
    , tgtLlvmTarget = "x86_64-unknown-linux"
    , tgtUnregisterised = False
    , tgtTablesNextToCode = True
    , tgtUseLibffiForAdjustors = False
    , tgtCCompiler = Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
    , tgtCxxCompiler = Cxx {cxxProgram = Program { prgPath =  "/usr/bin/g++" , prgFlags = [] }}
    , tgtCPreprocessor = Cpp {cppProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-E"] }}
    , tgtHsCPreprocessor = HsCpp {hsCppProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-E","-undef","-traditional"] }}
    , tgtCCompilerLink = CcLink
    { ccLinkProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = ["-fuse-ld=gold","-Wl,--no-as-needed"] }
    , ccLinkSupportsNoPie = True
    , ccLinkSupportsCompactUnwind = False
    , ccLinkSupportsFilelist = False
    , ccLinkSupportsSingleModule = False
    , ccLinkIsGnu = True
    }
    
    , tgtAr = Ar
    { arMkArchive = Program { prgPath =  "/usr/bin/ar" , prgFlags = ["q"] }
    , arIsGnu = True
    , arSupportsAtFile = True
    , arSupportsDashL = False
    , arNeedsRanlib = False
    }
    
    , tgtRanlib = Just (Ranlib {ranlibProgram = Program { prgPath =  "/usr/bin/ranlib" , prgFlags = [] }})
    , tgtNm = Nm {nmProgram = Program { prgPath =  "/usr/bin/nm" , prgFlags = [] }}
    , tgtMergeObjs = Just (MergeObjs {mergeObjsProgram = Program { prgPath =  "/usr/bin/ld.gold" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True})
    , tgtWindres = Nothing
    }
    
    configure: creating ./config.status
    config.status: creating mk/system-cxx-std-lib-1.0.conf
    config.status: creating mk/project.mk
    config.status: creating hadrian/cfg/system.config
    config.status: creating hadrian/ghci-cabal
    config.status: creating hadrian/ghci-multi-cabal
    config.status: creating hadrian/ghci-stack
    config.status: creating distrib/configure.ac
    config.status: creating hadrian/cfg/default.host.target
    config.status: creating hadrian/cfg/default.target
    
    ----------------------------------------------------------------------
    Configure completed successfully.
    
       Building GHC version  : 9.10.0.20240413
              Git commit id  : 3b63186da9de818963c40ecb27848d3eb4722513
    
       Build platform        : x86_64-unknown-linux
       Host platform         : x86_64-unknown-linux
       Target platform       : x86_64-unknown-linux
    
       Bootstrapping using   : /root/.ghcup/bin/ghc-9.8.2
          which is version   : 9.8.2
          with threaded RTS? : YES
    
       Using (for bootstrapping) : gcc
       Using gcc                 : /usr/bin/gcc
          which is version       : 8.5.0
          linker options         : -fuse-ld=gold
       Building a cross compiler : NO
       Unregisterised            : NO
       TablesNextToCode          : YES
       Build GMP in tree         : NO
       cpp          : /usr/bin/gcc
       cpp-flags    :  -E
       hs-cpp       : /usr/bin/gcc
       hs-cpp-flags :  -E -undef -traditional
       ar           : /usr/bin/ar
       nm           : /usr/bin/nm
       objdump      : /usr/bin/objdump
       ranlib       : /usr/bin/ranlib
       otool        : otool
       install_name_tool : install_name_tool
       windres      :
       genlib       :
       Happy        :  ()
       Alex         :  ()
       sphinx-build :
       xelatex      :
       makeinfo     :
       git          : /usr/bin/git
       cabal-install : /root/.ghcup/bin/cabal
    
       Using optional dependencies:
          libnuma : NO
          libzstd : NO
             statically linked? : N/A
          libdw   : NO
    
       Using LLVM tools
          llc   : llc
          opt   : opt
          llvm-as : clang
    
       HsColour was not found; documentation will not contain source links
    
       Tools to build Sphinx HTML documentation available: NO
       Tools to build Sphinx PDF documentation available: NO
       Tools to build Sphinx INFO documentation available: NO
    ----------------------------------------------------------------------
    
    For a standard build of GHC (fully optimised with profiling), type
       ./hadrian/build
    
    You can customise the build with flags such as
       ./hadrian/build -j --flavour=devel2 [--freeze1]
    
    To make changes to the default build configuration, see the file
       hadrian/src/UserSettings.hs
    
    For more information on how to configure your GHC build, see
       https://gitlab.haskell.org/ghc/ghc/-/wikis/building/hadrian
    
    [ Info  ] Building GHC version 9.10.0.20240413 (this may take a while)...
    [ Debug ] Running /root/.ghcup/tmp/ghcup-a0bba238437203fa/ghc-9.10.0.20240413/hadrian/build with arguments ["-j16","--flavour=default+native_bignum","binary-dist"]
    Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.10.3.0 supports
    'ghc' version < 9.10): /root/.ghcup/bin/ghc is version 9.10.0.20240413
    Resolving dependencies...
    Error: cabal: Could not resolve dependencies:
    [__0] trying: ghc-platform-0.1.0.0 (user goal)
    [__1] trying: base-4.20.0.0/installed-0026 (dependency of ghc-platform)
    [__2] trying: hadrian-0.1.0.0 (user goal)
    [__3] trying: hadrian:+selftest
    [__4] trying: QuickCheck-2.14.3 (dependency of hadrian +selftest)
    [__5] next goal: splitmix (dependency of QuickCheck)
    [__5] rejecting: splitmix-0.1.0.5 (conflict: base==4.20.0.0/installed-0026,
    splitmix => base>=4.3 && <4.20)
    [__5] skipping: splitmix-0.1.0.4, splitmix-0.1.0.3, splitmix-0.1.0.2,
    splitmix-0.1.0.1, splitmix-0.1, splitmix-0.0.5, splitmix-0.0.4,
    splitmix-0.0.3, splitmix-0.0.2, splitmix-0.0.1, splitmix-0 (has the same
    characteristics that caused the previous version to fail: excludes 'base'
    version 4.20.0.0)
    [__5] fail (backjumping, conflict set: QuickCheck, base, splitmix)
    After searching the rest of the dependency tree exhaustively, these were the
    goals I've had most trouble fulfilling: base, QuickCheck, splitmix, hadrian,
    hadrian:selftest, ghc-platform
    Try running with --minimize-conflict-set to improve the error message.
    
    [ Error ] [GHCup-00841] Process "/root/.ghcup/tmp/ghcup-a0bba238437203fa/ghc-9.10.0.20240413/hadrian/build" with arguments ["-j16",
    [ ...   ]                                                                                                     "--flavour=default+native_bignum",
    [ ...   ]                                                                                                     "binary-dist"] failed with exit code 1.
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment