Source: clang-3.4
Version: 1:3.4.2-4
Severity: serious
clang-3.4 can't compile programs in a minimal chroot:
$ echo 'int main(int argc, char **argv) { return 0; }' > test.c
$ clang test.c
/usr/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: cannot find -lgcc_s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If you install libgcc-4.7-dev or libgcc-4.8-dev, the problem goes away.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages clang-3.4 depends on:
ii libc6 2.19-7
ii libc6-dev 2.19-7
ii libclang-common-3.4-dev 1:3.4.2-4
ii libclang1-3.4 1:3.4.2-4
ii libffi6 3.1-2
ii libgcc-4.9-dev 4.9.0-10
ii libgcc1 1:4.9.0-10
ii libllvm3.4 1:3.4.2-4
ii libobjc-4.9-dev 4.9.0-10
ii libstdc++-4.9-dev 4.9.0-10
ii libstdc++6 4.9.0-10
ii libtinfo5 5.9+20140118-1
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]