Bug#712437: clang-3.3: fails to compile anything at -O4

Adam Borowski kilobyte at angband.pl
Sat Jun 15 23:08:40 UTC 2013


Package: clang-3.3
Version: 1:3.3-1
Severity: normal

When compiling stuff at -O4, I get:

/usr/bin/ld: error: /usr/bin/../lib/LLVMgold.so: could not load plugin library: /usr/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
/usr/bin/ld: error: XXX.o:1:3: invalid character
/usr/bin/ld: error: XXX.o:1:3: syntax error, unexpected $end
/usr/bin/ld: error: XXX.o: not an object or archive
(repeated for every object)
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o(.text+0x20): error: undefined reference to 'main'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Its libraries (from llvm-3.3-dev) come in /usr/lib/llvm-3.3/lib/ rather
than /usr/bin/../lib/


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9.4-x32 (SMP w/6 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.3 depends on:
ii  libc6                    2.17-5
ii  libclang-common-3.3-dev  1:3.3-1
ii  libclang1-3.3            1:3.3-1
ii  libffi6                  3.0.13-4
ii  libgcc-4.7-dev           4.7.3-5
ii  libgcc1                  1:4.8.1-3
ii  libllvm3.3               1:3.3-1
ii  libobjc-4.7-dev          4.7.3-5
ii  libstdc++6               4.8.1-3
ii  libstdc++6-4.7-dev       4.7.3-5

Versions of packages clang-3.3 recommends:
ii  llvm-3.3-dev  1:3.3-1
ii  python        2.7.5-2

clang-3.3 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list