<div dir="ltr"><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 26, 2020 at 10:52 AM Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com">ken.cunningham.webuse@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Hi, 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: *dlopen(/Library/PostgreSQL/13/lib/postgresql/llvmjit.so, 10): Symbol not found: ____chkstk_darwin* <br>
<br>
I believe you will have to compile your software built on 10.15 and to be deployed on earlier systems with:<br>
<br>
configure.cflags-append -fno-stack-check<br>
configure.cxxflags-append -fno-stack-check<br>
<br>
to disable the now-default stack-checking feature used in Xcode 11.<br>
<br></blockquote><div>OK, let me check that. Thanks</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The ____chkstk_darwin symbol is not found on 10.13 it appears, and although there are versions of that symbol added to compiler_rt for other systems like WIndows, etc, it is apparently expected to be found in the system libraries on Darwin.<br>
<br>
Ken</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="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>