Bug#652278: clang does not pull required header files

2011-12-19 Thread Sylvestre Ledru
Le jeudi 15 décembre 2011 à 22:09 +0100, Gabriel Corona a écrit : libclang-dev contains header files used to compile against libclang.so. The /usr/include/clang/3.0/include/*.h files should probably not be in libclang-dev as they are not used to compile against libclang.so but are used by

Bug#652278: clang does not pull required header files

2011-12-19 Thread Gabriel Corona
Are you aware that clang itself does not depend on libclang1 ? No I wasn't aware of this. My suggestion doesn't make much sense … Moving the intrinsics headers in the clang package would fix the clang package. However, programs using libclang (without the clang package installed) would fail to

Bug#652278: clang does not pull required header files

2011-12-19 Thread Sylvestre Ledru
Le mardi 20 décembre 2011 à 01:30 +0100, Gabriel Corona a écrit : Are you aware that clang itself does not depend on libclang1 ? No I wasn't aware of this. My suggestion doesn't make much sense … Moving the intrinsics headers in the clang package would fix the clang package. However,

Bug#652278: clang does not pull required header files

2011-12-19 Thread Gabriel Corona
will it happen ? I guess it could. The errors /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); [...] happen at the semantic analysis phase (lib/Sema)

Bug#652278: clang does not pull required header files

2011-12-19 Thread Sylvestre Ledru
Le mardi 20 décembre 2011 à 01:59 +0100, Gabriel Corona a écrit : will it happen ? I guess it could. The errors /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

Bug#652278: clang does not pull required header files

2011-12-15 Thread Gabriel Corona
Package: clang Version: 3.0-3 Severity: normal Without libclang-dev installed, clang can't handle some #include (such as x86 intrinsics). See bug #645731. clang uses its own version of some header files (e.g. x86 intrinsics *intrin.h). These headers are not pulled by the clang package: instead