<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">This has nothing to do with dynamic linking rules. Something causes the "<span style="font-family: monospace;" class="">-mmacosx-version-min=</span><span style="font-family: monospace;" class=""> "</span> to be set to blank which is indeed invalid.<div class="">I build every commit in master on 11.x and that works just fine.</div><div class=""><br class=""></div><div class="">A small side note on that pull request that you opened and then closed again.</div><div class=""><br class=""></div><div class="">Deep6 dive computers will never be supported in any binary that I create as official Subsurface release.</div><div class="">The people behind those dive computers crossed some lines that make this a permanent decision.</div><div class="">Of course, being an open source projects, you and others are welcome to fork the project and do your own binary releases. I politely request that such releases are not called "Subsurface" or "Subsurface-mobile", and that they do not attempt to access the Subsurface Cloud service that I provide to the Subsurface community.</div><div class=""><br class=""></div><div class="">Thanks</div><div class=""><br class=""></div><div class="">/D<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 17, 2021, at 9:13 AM, Ryan Gardner via subsurface <<a href="mailto:subsurface@subsurface-divelog.org" class="">subsurface@subsurface-divelog.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">I was able to build fine on OS X before I upgraded to Big Sur - when running the build scripts now it fails very quickly with two errors: <br class=""></div><div class=""><br class=""></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><font face="monospace" class="">Run Build Command(s):/usr/bin/make -f Makefile cmTC_f8dee/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_f8dee.dir/build.make CMakeFiles/cmTC_f8dee.dir/build</font></div><div class=""><font face="monospace" class="">Building C object CMakeFiles/cmTC_f8dee.dir/testCCompiler.c.o</font></div><div class=""><font face="monospace" class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc   -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min= -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/ -MD -MT CMakeFiles/cmTC_f8dee.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_f8dee.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_f8dee.dir/testCCompiler.c.o -c /Users/ryan/git/libz/build/CMakeFiles/CMakeTmp/testCCompiler.c</font></div><div class=""><font face="monospace" class="">clang: error: invalid version number in '-mmacosx-version-min='</font></div><div class=""><font face="monospace" class="">make[1]: *** [CMakeFiles/cmTC_f8dee.dir/testCCompiler.c.o] Error 1</font></div><div class=""><font face="monospace" class="">make: *** [cmTC_f8dee/fast] Error 2</font></div><div class=""><font face="monospace" class=""><br class=""></font></div><div class=""><font face="monospace" class=""><br class=""></font></div><div class=""><font face="monospace" class=""><br class=""></font></div><div class=""><font face="monospace" class="">Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.</font></div><div class=""><font face="monospace" class="">Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc </font></div><div class=""><font face="monospace" class="">Build flags: </font></div><div class=""><font face="monospace" class="">Id flags:  </font></div><div class=""><font face="monospace" class=""><br class=""></font></div><div class=""><font face="monospace" class="">The output was:</font></div><div class=""><font face="monospace" class="">1</font></div><div class=""><font face="monospace" class="">ld: library not found for -lSystem</font></div><div class=""><font face="monospace" class="">clang: error: linker command failed with exit code 1 (use -v to see invocation)</font></div><div class=""><br class=""></div></blockquote><div class="">Looking into it more, it seems that Apple changed how they handle dynamic library linking, and it might need some different LDFLAGS ( see <a href="https://developer.apple.com/forums/thread/655588?answerId=665804022#665804022" class="">https://developer.apple.com/forums/thread/655588?answerId=665804022#665804022</a> ) </div><br class=""><font face="arial, sans-serif" class="">I saw the github actions were using "macOS-latest", but that uses Mac OS 10.15 while they work on getting Mac OS 11 supported - ( </font><a href="https://github.com/actions/virtual-environments/issues/2486" class="">https://github.com/actions/virtual-environments/issues/2486</a> ) <div class=""><br class=""></div><div class="">I'm guessing it will take some adjustments to get things to build on Mac OS 11 - before I start trying to make those I figured I'd check in here first to see if there is something simple that I am missing, or if this work was already done by somebody else. </div><div class=""><br class=""></div><div class="">Ryan</div></div></div></blockquote></div><br class=""></div></body></html>