Source: clang-3.3
Version: 1:3.3-16
Severity: normal

Dear Maintainer,

While installing clang on a relatively bare system, binutils is
not automaticaly installed as well. The result is that
the installation succeeds, but compilation of just a simple
program fails because the linker can't be found.

Kind regards,

Rogier.

---------------------------------
Example output:

jessie:root ~ 7 # apt-get install clang
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-image-3.2.0-4-amd64 linux-image-amd64
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  binfmt-support clang-3.3 gcc-4.8-base gcc-4.9-base libasan0 libatomic1
  libc-dev-bin libc6-dev libclang-common-3.3-dev libclang1-3.3 libcloog-isl4
  libffi-dev libgcc-4.8-dev libgcc1 libgomp1 libisl10 libitm1 libjsoncpp0
  libllvm3.3 libobjc-4.8-dev libobjc4 libquadmath0 libstdc++-4.8-dev
  libstdc++6 linux-libc-dev llvm-3.3 llvm-3.3-dev llvm-3.3-runtime
  manpages-dev
Suggested packages:
  glibc-doc libstdc++-4.8-doc llvm-3.3-doc
Recommended packages:
  gcc c-compiler
The following NEW packages will be installed:
  binfmt-support clang clang-3.3 libasan0 libatomic1 libc-dev-bin libc6-dev
  libclang-common-3.3-dev libclang1-3.3 libcloog-isl4 libffi-dev
  libgcc-4.8-dev libgomp1 libisl10 libitm1 libjsoncpp0 libllvm3.3
  libobjc-4.8-dev libobjc4 libquadmath0 libstdc++-4.8-dev linux-libc-dev
  llvm-3.3 llvm-3.3-dev llvm-3.3-runtime manpages-dev
The following packages will be upgraded:
  gcc-4.8-base gcc-4.9-base libgcc1 libstdc++6
4 upgraded, 26 newly installed, 0 to remove and 29 not upgraded.
Need to get 0 B/40.1 MB of archives.
After this operation, 172 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

[package installation log deleted]

jessie:root ~ 8 # echo "int main;" | clang -v -o /tmp/null -x c /dev/stdin
Debian clang version 3.3-16 (branches/release_33) (based on LLVM 3.3)
Target: i386-pc-linux-gnu
Thread model: posix
 "/usr/bin/clang" -cc1 -triple i386-pc-linux-gnu -emit-obj -mrelax-all 
-disable-free -disable-llvm-verifier -main-file-name stdin -mrelocation-model 
static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases 
-fuse-init-array -target-cpu pentium4 -target-linker-version 2.24 -v 
-resource-dir /usr/bin/../lib/clang/3.3 -internal-isystem /usr/local/include 
-internal-isystem /usr/bin/../lib/clang/3.3/include -internal-isystem 
/usr/include/clang/3.3/include/ -internal-externc-isystem 
/usr/include/i386-linux-gnu -internal-externc-isystem 
/usr/include/i486-linux-gnu -internal-externc-isystem /usr/include 
-fdebug-compilation-dir /root -ferror-limit 19 -fmessage-length 180 
-mstackrealign -fobjc-runtime=gcc -fobjc-default-synthesize-properties 
-fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops 
-o /tmp/stdin-Stoljv.o -x c /dev/stdin
clang -cc1 version 3.3 based upon LLVM 3.3 default target i386-pc-linux-gnu
ignoring nonexistent directory "/usr/bin/../lib/clang/3.3/include"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/include/clang/3.3/include
 /usr/include/i386-linux-gnu
 /usr/include
End of search list.
 "ld" --hash-style=both --build-id --eh-frame-hdr -m elf_i386 -dynamic-linker 
/lib/ld-linux.so.2 -o /tmp/null 
/usr/lib/gcc/i486-linux-gnu/4.8/../../../i386-linux-gnu/crt1.o 
/usr/lib/gcc/i486-linux-gnu/4.8/../../../i386-linux-gnu/crti.o 
/usr/lib/gcc/i486-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/i486-linux-gnu/4.8 
-L/usr/lib/gcc/i486-linux-gnu/4.8/../../../i386-linux-gnu -L/lib/i386-linux-gnu 
-L/usr/lib/i386-linux-gnu -L/usr/lib/gcc/i486-linux-gnu/4.8/../../.. -L/lib 
-L/usr/lib /tmp/stdin-Stoljv.o -lgcc --as-needed -lgcc_s --no-as-needed -lc 
-lgcc --as-needed -lgcc_s --no-as-needed 
/usr/lib/gcc/i486-linux-gnu/4.8/crtend.o 
/usr/lib/gcc/i486-linux-gnu/4.8/../../../i386-linux-gnu/crtn.o
clang: error: unable to execute command: No such file or directory
clang: error: linker command failed due to signal (use -v to see invocation)


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to