<div dir="ltr">I'm using distcc from my mac laptop to an ubuntu desktop. I installed clang on ubuntu by running "sudo apt-get install clang".<div><br></div><div>Initially I was also getting an error about "blocks". I don't really know what that means, but adding -fblocks fixed it. However, I'm still getting the two following errors (only when remote compiling on ubuntu):</div><div><br></div><div>
<p class=""><span class="">clang++ -fblocks -fsanitize=address -g -std=gnu++14 -o /tmp/distccd_ab2d19b4.o -c /tmp/distccd_a8a919b4.ii</span></p>
<p class="">...a bunch of my files...</p>
<p class=""><span class="">In file included from /Users/xaxxon/apb/./glm/glm.hpp:90:</span></p>
<p class=""><span class="">In file included from /Users/xaxxon/apb/./glm/fwd.hpp:35:</span></p>
<p class=""><span class="">In file included from /Users/xaxxon/apb/./glm/detail/type_int.hpp:35:</span></p>
<p class=""><span class="">In file included from /Users/xaxxon/apb/./glm/detail/setup.hpp:454:</span></p>
<p class=""><span class="">In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/include/pmmintrin.h:27:</span></p>
<p class=""><span class="">In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/include/emmintrin.h:27:</span></p>
<p class=""><span class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/include/xmmintrin.h:582:18: </span><span class="">error: </span></p>
<p class=""><span class=""> use of undeclared identifier '__builtin_ia32_undef128'</span></p>
<p class=""><span class=""> return (__m128)__builtin_ia32_undef128();</span></p><p class=""><br></p><p class=""><span class="">and</span></p><p class=""><br></p><p class="">...a bunch of my files...</p><p class="">In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h:8:<br></p><p class=""><span class="">/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:428:30: </span><span class="">error: </span><span class="">'objc_bridge' attribute only applies to struct, union or</span></p><p class=""><span class=""> class</span></p><p class="">
</p><p class=""><span class="">typedef const __attribute__((objc_bridge(id))) void * CFTypeRef;</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Can anyone help me figure out how to solve them?</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Thank you.</span></p></div></div>