<div dir="ltr">Hi,<div><br></div><div>I'm compiling postgres with LLVM support on macOS 10.15 Catalina. The binaries are supported on 10.13+. On target machine (10.13), the library fails to load with the following error:</div><div><br></div><div><b>dlopen(/Library/PostgreSQL/13/lib/postgresql/llvmjit.so, 10): Symbol not found: ____chkstk_darwin</b><br clear="all"><div><br></div><div>I guess this is because:</div><div>$ otool -l /opt/local/libexec/llvm-8.0/lib/*.dylib | grep -B1 -A3 minos<br>       sdk 10.15<br>     minos 10.15<br></div><div><br></div><div>Before I installed LLVM-8.0 using macports on 10.15, I appended /opt/local/etc/macports/macports.conf file with "macosx_deployment_target   10.13"</div><div><br></div><div>and also did "export MACOSX_DEPLOYMENT_TARGET=10.13" on the terminal where I executed port install clang-8.0</div><div><br></div><div><br></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" size="2">Sandeep Thakkar</font><div><br><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>