[cfe-dev] compiler-rt fails to build with the packages are installed on the system

Sylvestre Ledru sylvestre at debian.org
Tue Oct 29 01:44:58 PDT 2013


Hello,

Recently, compiler-rt build started to fail when the package are also
installed on the system.

  COMPILE:   clang_linux/full-x86_64/x86_64:
/tmp/buildd/llvm-toolchain-snapshot-3.4~svn193538/projects/compiler-rt/lib/addvsi3.c
/tmp/buildd/llvm-toolchain-snapshot-3.4~svn193538/build-llvm/Release+Asserts/bin/clang
-fPIC -Wall -Werror -O3 -fomit-frame-pointer -m64
--sysroot=/tmp/buildd/llvm-toolchain-snapshot-3.4~svn193538/projects/compiler-rt/SDKs/linux
-c -o
/tmp/buildd/llvm-toolchain-snapshot-3.4~svn193538/build-llvm/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib/addvsi3.o
/tmp/buildd/llvm-toolchain-snapshot-3.4~svn193538/projects/compiler-rt/lib/addvsi3.c
/usr/include/clang/3.4/include/module.map:1:8: error:
/usr/include/clang/3.4/include/module.map:1:8: error: redefinition of
module '_Builtin_intrinsics'
redefinition of module '_Builtin_intrinsics'
module _Builtin_intrinsics [system] {module _Builtin_intrinsics [system] {
       ^
/tmp/buildd/llvm-toolchain-snapshot-3.4~svn193538/build-llvm/Release+Asserts/bin/../lib/clang/3.4/include/module.map:1:8:
note: previously defined here
module _Builtin_intrinsics [system] {
       ^

Any ideas on how to fix that ?

Thanks,
Sylvestre



More information about the cfe-dev mailing list