# Pastebin nHchjYDl This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by The Glorious Glasgow Haskell Compilation System configure 9.2.6, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./configure --prefix=/Users/carter/.ghc_install/ghc_9.2.6_hq --disable-ld-override CC=/opt/homebrew/bin/gcc-12 CPP=/opt/homebrew/bin/gcc-12 ## --------- ## ## Platform. ## ## --------- ## hostname = CarterHydra uname -m = arm64 uname -r = 21.6.0 uname -s = Darwin uname -v = Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:46 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T8101 /usr/bin/uname -p = arm /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:46 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T8101 Kernel configured for up to 8 processors. 8 processors are physically available. 8 processors are logically available. Processor type: arm64e (ARM64E) Processors active: 0 1 2 3 4 5 6 7 Primary memory available: 16.00 gigabytes Default processor set: 466 tasks, 4485 threads, 8 processors Load average: 6.62, Mach factor: 2.43 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /Users/carter/bin/ PATH: /Users/carter/.cabal/bin/ PATH: /Users/carter/.ghc_install/ghc_9.4.4_hq/bin/ PATH: /Applications/Sublime Text.app/Contents/SharedSupport/bin/ PATH: /usr/local/bin/ PATH: /usr/bin/ PATH: /bin/ PATH: /usr/sbin/ PATH: /sbin/ PATH: /Library/Apple/usr/bin/ PATH: /Applications/Little Snitch.app/Contents/Components/ PATH: /Library/TeX/texbin/ PATH: /opt/homebrew/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2604: looking for aux files: install-sh config.guess config.sub configure:2617: trying ./ configure:2628: ./install-sh found configure:2646: ./config.guess found configure:2646: ./config.sub found configure:2834: checking build system type configure:2849: result: aarch64-apple-darwin21.6.0 configure:2869: checking host system type configure:2883: result: aarch64-apple-darwin21.6.0 configure:2903: checking target system type configure:2917: result: aarch64-apple-darwin21.6.0 configure:3912: checking for path to top of build tree configure:3938: result: /Users/carter/Downloads/ghc-9.2.6-aarch64-apple-darwin configure:3973: checking for a BSD-compatible install configure:4046: result: /usr/bin/install -c configure:4060: checking whether ln -s works configure:4064: result: yes configure:4076: checking for gsed configure:4112: result: sed configure:4124: checking for python3 configure:4147: found /usr/bin/python3 configure:4159: result: /usr/bin/python3 configure:4174: checking Xcode version configure:4185: result: 13.3.1 configure:4189: Xcode version component 1: 13 configure:4191: Xcode version component 2: 3 configure:4328: checking for C compiler version configure:4337: /opt/homebrew/bin/gcc-12 --version >&5 gcc-12 (Homebrew GCC 12.1.0_1) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4348: $? = 0 configure:4337: /opt/homebrew/bin/gcc-12 -v >&5 Using built-in specs. COLLECT_GCC=/opt/homebrew/bin/gcc-12 COLLECT_LTO_WRAPPER=/opt/homebrew/Cellar/gcc@12/12.1.0_1/bin/../libexec/gcc/aarch64-apple-darwin21/12/lto-wrapper Target: aarch64-apple-darwin21 Configured with: ../configure --prefix=/opt/homebrew/opt/gcc@12 --libdir=/opt/homebrew/opt/gcc@12/lib/gcc/12 --disable-nls --enable-checking=release --with-gcc-major-version-only --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-12 --with-gmp=/opt/homebrew/opt/gmp --with-mpfr=/opt/homebrew/opt/mpfr --with-mpc=/opt/homebrew/opt/libmpc --with-isl=/opt/homebrew/opt/isl --with-zstd=/opt/homebrew/opt/zstd --with-pkgversion='Homebrew GCC 12.1.0_1' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --with-system-zlib --build=aarch64-apple-darwin21 --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.1.0 (Homebrew GCC 12.1.0_1) configure:4348: $? = 0 configure:4337: /opt/homebrew/bin/gcc-12 -V >&5 gcc-12: error: unrecognized command-line option '-V' gcc-12: fatal error: no input files compilation terminated. configure:4348: $? = 1 configure:4337: /opt/homebrew/bin/gcc-12 -qversion >&5 gcc-12: error: unrecognized command-line option '-qversion'; did you mean '--version'? gcc-12: fatal error: no input files compilation terminated. configure:4348: $? = 1 configure:4337: /opt/homebrew/bin/gcc-12 -version >&5 gcc-12: error: unrecognized command-line option '-version' gcc-12: fatal error: no input files compilation terminated. configure:4348: $? = 1 configure:4368: checking whether the C compiler works configure:4390: /opt/homebrew/bin/gcc-12 conftest.c >&5 configure:4394: $? = 0 configure:4444: result: yes configure:4447: checking for C compiler default output file name configure:4449: result: a.out configure:4455: checking for suffix of executables configure:4462: /opt/homebrew/bin/gcc-12 -o conftest conftest.c >&5 configure:4466: $? = 0 configure:4489: result: configure:4511: checking whether we are cross compiling configure:4519: /opt/homebrew/bin/gcc-12 -o conftest conftest.c >&5 configure:4523: $? = 0 configure:4530: ./conftest configure:4534: $? = 0 configure:4549: result: no configure:4554: checking for suffix of object files configure:4577: /opt/homebrew/bin/gcc-12 -c conftest.c >&5 configure:4581: $? = 0 configure:4603: result: o configure:4607: checking whether the compiler supports GNU C configure:4627: /opt/homebrew/bin/gcc-12 -c conftest.c >&5 configure:4627: $? = 0 configure:4637: result: yes configure:4648: checking whether /opt/homebrew/bin/gcc-12 accepts -g configure:4669: /opt/homebrew/bin/gcc-12 -c -g conftest.c >&5 configure:4669: $? = 0 configure:4713: result: yes configure:4733: checking for /opt/homebrew/bin/gcc-12 option to enable C11 features configure:4748: /opt/homebrew/bin/gcc-12 -c -g -O2 conftest.c >&5 configure:4748: $? = 0 configure:4766: result: none needed configure:4882: checking how to run the C preprocessor configure:4950: result: /opt/homebrew/bin/gcc-12 configure:4964: /opt/homebrew/bin/gcc-12 conftest.c conftest.c:10:22: error: unknown type name 'Syntax' 10 | Syntax error | ^~~~~~ conftest.c:10:22: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input configure:4964: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System" | #define PACKAGE_TARNAME "ghc-9.2.6" | #define PACKAGE_VERSION "9.2.6" | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 9.2.6" | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include | Syntax error configure:4964: /opt/homebrew/bin/gcc-12 conftest.c conftest.c:10:22: error: unknown type name 'Syntax' 10 | Syntax error | ^~~~~~ conftest.c:10:22: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input configure:4964: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System" | #define PACKAGE_TARNAME "ghc-9.2.6" | #define PACKAGE_VERSION "9.2.6" | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 9.2.6" | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include | Syntax error configure:4997: error: in `/Users/carter/Downloads/ghc-9.2.6-aarch64-apple-darwin': configure:4999: error: C preprocessor "/opt/homebrew/bin/gcc-12" fails sanity check See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=aarch64-apple-darwin21.6.0 ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/opt/homebrew/bin/gcc-12 ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/opt/homebrew/bin/gcc-12 ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LLC_set= ac_cv_env_LLC_value= ac_cv_env_OPT_set= ac_cv_env_OPT_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=aarch64-apple-darwin21.6.0 ac_cv_objext=o ac_cv_path_PYTHON=/usr/bin/python3 ac_cv_path_SedCmd=sed ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_CPP=/opt/homebrew/bin/gcc-12 ac_cv_prog_cc_c11= ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_target=aarch64-apple-darwin21.6.0 ## ----------------- ## ## Output variables. ## ## ----------------- ## ARM_ISA='' AS='' AWK='' ArArgs='' ArCmd='' ArIsGNUAr='' ArSupportsAtFile='' BuildArch_CPP='aarch64' BuildOS_CPP='darwin' BuildPlatform='aarch64-apple-darwin' BuildPlatform_CPP='aarch64_apple_darwin' BuildVendor_CPP='apple' CC='/opt/homebrew/bin/gcc-12' CFLAGS='-g -O2' CONF_CC_OPTS_STAGE0='' CONF_CC_OPTS_STAGE1='' CONF_CC_OPTS_STAGE2='' CONF_CPP_OPTS_STAGE0='' CONF_CPP_OPTS_STAGE1='' CONF_CPP_OPTS_STAGE2='' CONF_GCC_LINKER_OPTS_STAGE0='' CONF_GCC_LINKER_OPTS_STAGE1='' CONF_GCC_LINKER_OPTS_STAGE2='' CONF_LD_LINKER_OPTS_STAGE0='' CONF_LD_LINKER_OPTS_STAGE1='' CONF_LD_LINKER_OPTS_STAGE2='' CPP='/opt/homebrew/bin/gcc-12' CPPFLAGS='' CrossCompilePrefix='' CrossCompiling='NO' DEFS='' ECHO_C='\c' ECHO_N='' ECHO_T='' EXEEXT='' FFIIncludeDir='/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ffi' FFILibDir='/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib' GMP_FORCE_INTREE='NO' GMP_INCLUDE_DIRS='' GMP_LIB_DIRS='' GMP_PREFER_FRAMEWORK='NO' GccExtraViaCOpts='' GccVersion='' HaskellCPPArgs='' HaskellCPPCmd='' HaskellHostArch='' HaskellHostOs='' HaskellTargetArch='' HaskellTargetOs='' HostArch_CPP='aarch64' HostOS_CPP='darwin' HostPlatform='aarch64-apple-darwin' HostPlatform_CPP='aarch64_apple_darwin' HostVendor_CPP='apple' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LD='' LDFLAGS='' LIBOBJS='' LIBS='' LLC='' LLVMTarget_CPP='arm64-apple-darwin' LN_S='ln -s' LTLIBOBJS='' LdCmd='' LdHasBuildId='' LdHasFilelist='' LdHasNoCompactUnwind='' LdIsGNULd='' LibdwIncludeDir='' LibdwLibDir='' LlcCmd='' MergeObjsArgs='' MergeObjsCmd='' OBJEXT='o' OPT='' OptCmd='' PACKAGE_BUGREPORT='glasgow-haskell-bugs@haskell.org' PACKAGE_NAME='The Glorious Glasgow Haskell Compilation System' PACKAGE_STRING='The Glorious Glasgow Haskell Compilation System 9.2.6' PACKAGE_TARNAME='ghc-9.2.6' PACKAGE_URL='' PACKAGE_VERSION='9.2.6' PATH_SEPARATOR=':' PYTHON='/usr/bin/python3' PythonCmd='/usr/bin/python3' RANLIB='' RANLIB_CMD='' READELF='' REAL_RANLIB_CMD='' RanlibCmd='' SHELL='/bin/sh' STRIP='' SedCmd='sed' SettingsArCommand='' SettingsCCompilerCommand='' SettingsCCompilerFlags='' SettingsCCompilerLinkFlags='' SettingsCCompilerSupportsNoPie='' SettingsClangCommand='' SettingsCxxCompilerFlags='' SettingsDllWrapCommand='' SettingsHaskellCPPCommand='' SettingsHaskellCPPFlags='' SettingsInstallNameToolCommand='' SettingsLdCommand='' SettingsLdFlags='' SettingsLibtoolCommand='' SettingsLlcCommand='' SettingsMergeObjectsCommand='' SettingsMergeObjectsFlags='' SettingsOptCommand='' SettingsOtoolCommand='' SettingsRanlibCommand='' SettingsTouchCommand='' SettingsUseDistroMINGW='' SettingsWindresCommand='' StripCmd='' TablesNextToCode='YES' TargetArch_CPP='aarch64' TargetHasGnuNonexecStack='' TargetHasIdentDirective='' TargetHasRTSLinker='YES' TargetHasSubsectionsViaSymbols='' TargetOS_CPP='darwin' TargetPlatform='aarch64-apple-darwin' TargetPlatformFull='aarch64-apple-darwin' TargetPlatform_CPP='aarch64_apple_darwin' TargetVendor_CPP='apple' TargetWordBigEndian='' TargetWordSize='' TmpLd='' Unregisterised='NO' UseLibdw='' UseLibffiForAdjustors='YES' ac_ct_CC='' ac_ct_LLC='' ac_ct_OPT='' bindir='${exec_prefix}/bin' build='aarch64-apple-darwin' build_alias='' build_cpu='aarch64' build_os='darwin21.6.0' build_vendor='apple' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' exeext_host='' exeext_target='' fp_prog_ar='' hardtop='/Users/carter/Downloads/ghc-9.2.6-aarch64-apple-darwin' host='aarch64-apple-darwin' host_alias='' host_cpu='aarch64' host_os='darwin21.6.0' host_vendor='apple' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/Users/carter/.ghc_install/ghc_9.2.6_hq' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' soext_host='.dylib' soext_target='.dylib' sysconfdir='${prefix}/etc' target='aarch64-apple-darwin' target_alias='' target_cpu='aarch64' target_os='darwin21.6.0' target_vendor='apple' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System" #define PACKAGE_TARNAME "ghc-9.2.6" #define PACKAGE_VERSION "9.2.6" #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 9.2.6" #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org" #define PACKAGE_URL "" configure: exit 1