Public bug reported:

/usr/include/clang/3.0/include/* should be part of 'clang' and not
'libclang-dev', while the other headers are fine in that package (for
libclang.so).

These headers contains the SIMD intrinsics like xmmintrin.h
Without libclang-dev clang now includes gcc's version, which in return uses 
__builtin_*()s.

And that looks like this:

/usr/lib/gcc/x86_64-linux-gnu/4.6/include/xmmintrin.h:102:19: error: use of
      undeclared identifier '__builtin_ia32_addss'
  return (__m128) __builtin_ia32_addss ((__v4sf)__A, (__v4sf)__B);

Installing libclang-dev fixes this as clang picks those up
automatically.

** Affects: clang (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/903509

Title:
  clang package is missing includes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/903509/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to