Build broken with `make` with devel2 on a Mac
My make
dies with this:
rae:17:48:23 ~/ghc/ghc-rae> make -j1
===--- building phase 0
/Applications/Xcode.app/Contents/Developer/usr/bin/make --no-print-directory -f ghc.mk phase=0 phase_0_builds
make[1]: Nothing to be done for `phase_0_builds'.
===--- building phase 1
/Applications/Xcode.app/Contents/Developer/usr/bin/make --no-print-directory -f ghc.mk phase=1 phase_1_builds
make[1]: Nothing to be done for `phase_1_builds'.
===--- building final phase
/Applications/Xcode.app/Contents/Developer/usr/bin/make --no-print-directory -f ghc.mk phase=final all
HC [stage 2] utils/check-api-annotations/dist-install/build/Main.dyn_o
dyld: lazy symbol binding failed: Symbol not found: _clock_getcpuclockid
Referenced from: /Users/rae/ghc/ghc-rae/rts/dist/build/libHSrts_thr-ghc8.11.0.20200309.dylib
Expected in: flat namespace
dyld: Symbol not found: _clock_getcpuclockid
Referenced from: /Users/rae/ghc/ghc-rae/rts/dist/build/libHSrts_thr-ghc8.11.0.20200309.dylib
Expected in: flat namespace
/bin/sh: line 1: 21947 Abort trap: 6 "inplace/bin/ghc-stage2" -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -O -H64m -Wall -hide-all-packages -i -iutils/check-api-annotations/. -iutils/check-api-annotations/dist-install/build -Iutils/check-api-annotations/dist-install/build -iutils/check-api-annotations/dist-install/build/check-api-annotations/autogen -Iutils/check-api-annotations/dist-install/build/check-api-annotations/autogen -optP-include -optPutils/check-api-annotations/dist-install/build/check-api-annotations/autogen/cabal_macros.h -package-id Cabal-3.3.0.0 -package-id base-4.14.0.0 -package-id containers-0.6.2.1 -package-id directory-1.3.6.0 -package-id ghc-8.11.0.20200309 -Wall -XHaskell2010 -no-user-package-db -rtsopts -Wnoncanonical-monad-instances -outputdir utils/check-api-annotations/dist-install/build -c utils/check-api-annotations/./Main.hs -o utils/check-api-annotations/dist-install/build/Main.dyn_o
make[1]: *** [utils/check-api-annotations/dist-install/build/Main.dyn_o] Error 134
make: *** [all] Error 2
rae:17:48:32 ~/ghc/ghc-rae>
I'm on a Mac, compiling with make
, in devel2
mode. Because of this bug, I cannot run the testsuite. :(