diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index 947badff816c09..d42b06cc2cfd42 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -117,6 +117,7 @@ jobs: find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete brew install llvm@${{ matrix.llvm }} export SDKROOT="$(xcrun --show-sdk-path)" + export MACOSX_DEPLOYMENT_TARGET=10.15 ./configure --enable-experimental-jit --enable-universalsdk --with-universal-archs=universal2 ${{ matrix.debug && '--with-pydebug' || '' }} make all --jobs 4 ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3 diff --git a/Tools/jit/_targets.py b/Tools/jit/_targets.py index 3883671e92aa39..07ecb754f5ec5d 100644 --- a/Tools/jit/_targets.py +++ b/Tools/jit/_targets.py @@ -164,6 +164,8 @@ async def _compile( "-fno-plt", # Don't call stack-smashing canaries that we can't find or patch: "-fno-stack-protector", + # Error if symbols above the deployment target without guards + "-Werror=unguarded-availability", "-std=c11", "-o", f"{s}",
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: