Bug#640289: clang 2.9.10 requires cpp-4.6 gcc-4.6 g++-4.6

Philip Ashmore contact at philipashmore.com
Sun Sep 4 00:03:31 UTC 2011


Package: clang
Version: 2.9-10
Severity: normal

I wanted to install clang-2.9-10 from Sid.
I have llvm-2.9 installed from Sid.
When I selected clang for installation in Synaptic it reported that cpp-4.6
gcc-4.6 g++-4.6 and libstdc++-6.4.6-dev were required.
Unfortunately, due to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630441
"g++-4.6 miscompilation"
I can't use g++-4.6.
I'm guessing that because it no longer requires llvm, it's now a plugin for
gcc/g++ 4.6.
Until the above bug is fixed the only option I can see is to provide two
versions that conflict:
1. clang-gcc
2. clang-llvm

The current situation also prevents using llvm/clang as an alternative for
gcc/g++



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clang depends on:
ii  libc6                      2.13-16       Embedded GNU C Library: Shared lib
ii  libffi5                    3.0.10~rc10-1 Foreign Function Interface library
ii  libgcc1                    1:4.6.1-4     GCC support library
ii  libstdc++6                 4.6.1-4       GNU Standard C++ Library v3

Versions of packages clang recommends:
pn  llvm-2.7-dev                  <none>     (no description available)
ii  python                        2.6.7-3    interactive high-level object-orie

clang suggests no packages.





More information about the Pkg-llvm-team mailing list