I'm using distcc from my mac laptop to an ubuntu desktop.   I installed
clang on ubuntu by running "sudo apt-get install clang".

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):

clang++ -fblocks -fsanitize=address -g -std=gnu++14 -o
/tmp/distccd_ab2d19b4.o -c /tmp/distccd_a8a919b4.ii

...a bunch of my files...

In file included from /Users/xaxxon/apb/./glm/glm.hpp:90:

In file included from /Users/xaxxon/apb/./glm/fwd.hpp:35:

In file included from /Users/xaxxon/apb/./glm/detail/type_int.hpp:35:

In file included from /Users/xaxxon/apb/./glm/detail/setup.hpp:454:

In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/include/pmmintrin.h:27:

In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/include/emmintrin.h:27:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/include/xmmintrin.h:582:18:
error:

      use of undeclared identifier '__builtin_ia32_undef128'

  return (__m128)__builtin_ia32_undef128();


and


...a bunch of my files...

In file included from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h:8:

/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:428:30:
error: 'objc_bridge' attribute only applies to struct, union or

      class

typedef const __attribute__((objc_bridge(id))) void * CFTypeRef;


Can anyone help me figure out how to solve them?


Thank you.
_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to