Bug#663743: clang: Continues to fail to link on powerpc

Christian Böhme monodhs at arcor.de
Fri Dec 28 14:30:17 UTC 2012


Package: clang
Version: 3.0-6
Followup-For: Bug #663743

Dear Maintainer,

Linking is still not possible at least for every piece of code referencing
operator new. While references to  operator delete  seem to be satisfied
by linking against  libstc++  this dos not apply to  operator new. This I
consider not "normal" but indeed "grave" like the original report.

For example, the program

---8<---
// #include <cstddef>

int main ( int argc, char * argv[] )
{
        int * i = new int (100);
        int j = (*i) + 4;
        delete i;

        return j;
}
---8<---

fails to link (and even leads to clang/++ crashing when uncommenting the
commented out line above).

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.39-2-powerpc
Locale: LANG=POSIX, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clang depends on:
ii  libc6                2.13-37
ii  libclang-common-dev  3.0-6
ii  libffi5              3.0.10-3
ii  libgcc1              1:4.7.2-4
ii  libllvm3.0           3.0-10
ii  libstdc++6           4.7.2-4
ii  libstdc++6-4.6-dev   4.6.3-11

Versions of packages clang recommends:
ii  llvm-3.0-dev  3.0-10
ii  python        2.7.3~rc2-1

clang suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list