Interesting. Okay, more searching turns up the “xcrun” and “xcode-select” tools, which confirm that I am in fact using a 10.15 SDK:
hardy:~/430 clements> xcrun --show-sdk-version 10.15 hardy:~/430 clements> xcode-select -p /Applications/Xcode.app/Contents/Developer hardy:~/430 clements> xcrun --show-sdk-path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk What I’m less sure about is how to set it *back* to 10.14 so that I can compile racket again. Things I’m seeing online suggest that in fact this might involve downloading another whole copy of XCode, which would be … a bit frightening. John > On Sep 30, 2019, at 4:44 PM, Matthew Flatt <[email protected]> wrote: > > Although I have the latest Xcode, the command-line tools seem to have a > copy the 10.14 SDK, maybe because I'm running on 10.14. > > When I tell the compiler to use the 10.15 SDK (which is what is in the > "Xcode.app" directory), then I see the error that you do. > > I'll fix xform. > > At 29 Sep 2019 14:32:55 -0400, "'John Clements' via dev-redirect" wrote: >> I’m failing to build DrRacket on 10.14.6 with a recently updated XCode, and >> clang is complaining about a pragma, “clang diagnostic pop”: >> >> env XFORM_USE_PRECOMP=xsrc/precomp.h ../racketcgc -G >> /Users/clements/racket/build/config -O "info@compiler/cm error" -l- setup >> --boot >> /Users/clements/racket/racket/src/build/../racket/gc2/../../setup-go.rkt >> ../../compiled --tag ++out >> /Users/clements/racket/racket/src/build/../racket/gc2/xform-mod.rkt >> --depends >> --cpp "gcc -E -I./.. >> -I/Users/clements/racket/racket/src/build/../racket/gc2/../include >> -I/Users/clements/racket/racket/src/build/../racket/gc2/../../rktio >> -I../../rktio -g -O2 -DOS_X -D_DARWIN_UNLIMITED_SELECT -fno-common >> -DUSE_SENORA_GC -Wno-nullability-completeness " --keep-lines -o ++out >> xsrc/salloc.c >> /Users/clements/racket/racket/src/build/../racket/gc2/../src/salloc.c >> pragma: unexpected pragma: clang diagnostic pop at: >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ >> SDKs/MacOSX.sdk/usr/include/sys/event.h:371 >> context...: >> /Users/clements/racket/racket/collects/compiler/private/xform.rkt:4072:10: >> loop >> /Users/clements/racket/racket/collects/compiler/private/xform.rkt:4109:10: >> loop >> /Users/clements/racket/racket/collects/compiler/private/xform.rkt:8:2: >> xform >> "/Users/clements/racket/racket/src/racket/gc2/xform-mod.rkt": [running >> body] >> temp37_0 >> for-loop >> run-module-instance!125 >> "/Users/clements/racket/racket/collects/setup/main.rkt": [running body] >> temp37_0 >> for-loop >> run-module-instance!125 >> perform-require!78 >> make[8]: *** [xsrc/salloc.c] Error 1 >> make[7]: *** [all] Error 2 >> make[6]: *** [3m] Error 2 >> make[5]: *** [3m] Error 2 >> make[4]: *** [racket-variant] Error 2 >> make[3]: *** [plain-base] Error 2 >> make[2]: *** [plain-minimal-in-place] Error 2 >> make[1]: *** [plain-in-place] Error 2 >> make: *** [in-place] Error 2 >> >> After a bit of investigation, I see that this is not an error from clang, it >> looks like it’s actually coming from xform, which makes me wonder whether >> commit 429436fb77e7a3dbf0a5c1eb5c could have made xform unhappy. >> >> Maybe I’ll try building the version from just before this commit? >> >> John >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Racket Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/racket-dev/7d190fe1-bf42-4167-87f5-9463d5330b >> 22%40mtasv.net. -- You received this message because you are subscribed to the Google Groups "Racket Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/954ca3bf-2b5d-42c0-bb52-5d6907ef6857%40mtasv.net.
