Bug#705115: clang-3.2: fails to compile simple C++ code on armhf

Adam Borowski kilobyte at angband.pl
Wed Apr 10 10:45:27 UTC 2013


Package: clang-3.2
Version: 1:3.2-1~exp9
Severity: important

#include <string> yields:

In file included from /usr/bin/../lib/gcc/arm-linux-gnueabihf/4.8/../../../../include/c++/4.8/string:51:
In file included from /usr/bin/../lib/gcc/arm-linux-gnueabihf/4.8/../../../../include/c++/4.8/bits/basic_string.h:38:
/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.8/../../../../include/c++/4.8/ext/atomicity.h:47:12: error: cannot compile this
      atomic library call yet
  { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is a fresh system, pure wheezy->unstable, with just the basic toolchain
(glibc, gcc, clang) upgraded to modern versions (ie, experimental).


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armhf (armv7l)

Kernel: Linux 3.0.68 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clang-3.2 depends on:
ii  libc6                2.17-0experimental2
ii  libclang-common-dev  1:3.2-1~exp9
ii  libffi5              3.0.10-3+b1
ii  libgcc-4.7-dev       4.7.2-22
ii  libgcc1              1:4.8.0-2
ii  libllvm3.2           3.2-5
ii  libobjc-4.7-dev      4.7.2-22
ii  libstdc++6           4.8.0-2
ii  libstdc++6-4.7-dev   4.7.2-22

Versions of packages clang-3.2 recommends:
ii  llvm-3.2-dev  3.2-5
ii  python        2.7.3-13

clang-3.2 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list