[Bug 903509] [NEW] clang package is missing includes

Launchpad Bug Tracker 903509 at bugs.launchpad.net
Sun Feb 26 03:03:29 UTC 2012


You have been subscribed to a public bug by Anders Kaseorg (anders-kaseorg):

/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: Confirmed

** Affects: clang (Debian)
     Importance: Unknown
         Status: Fix Released

-- 
clang package is missing includes
https://bugs.launchpad.net/bugs/903509
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list