Bug#609174: llvm-ld-2.7 generates broken executables
Michael Stone
michael at laptop.org
Fri Jan 7 02:05:14 UTC 2011
Package: llvm-2.7
Version: 2.7-6
File: /usr/bin/llvm-ld-2.7
Severity: important
llvm-ld-2.7 generates broken executables because it shells out to "lli" instead
of to "lli-2.7". Here's a sample test case illustrating the problem:
echo "int main(int argc, char** arg) { return 0; }" > foo.c
llvm-gcc-4.2 -c -emit-llvm -g -O2 -o foo.o foo.c
llvm-ld-2.7 -o foo foo.o
./foo && echo "ok"
The expected output is "ok".
The current output is:
./foo: line 3: exec: lli: not found
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (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/bash
Versions of packages llvm-2.7 depends on:
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libffi5 3.0.9-3 Foreign Function Interface library
ii libgcc1 1:4.4.5-8 GCC support library
ii libllvm2.7 2.7-6 Low-Level Virtual Machine (LLVM),
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii llvm-2.7-runtime 2.7-6 Low-Level Virtual Machine (LLVM),
Versions of packages llvm-2.7 recommends:
ii llvm-2.7-dev 2.7-6 Low-Level Virtual Machine (LLVM),
Versions of packages llvm-2.7 suggests:
pn llvm-2.7-doc <none> (no description available)
More information about the Pkg-llvm-team
mailing list