Jinwoo Lee <jinwoo68@gmail.com> writes: > ld: unknown option: --no-undefined > clang: error: linker command failed with exit code 1 (use -v to see invocation) I wonder if this the actual relevant error. Can you try with the next two patches in the series? id:1433142542-2307-3-git-send-email-david@tethera.net id:1433142542-2307-4-git-send-email-david@tethera.net This first alone may fix it, but it would be good to know if the next one breaks anything on Mac OS.