Comment 19 for bug 792146

Revision history for this message
Anders Kaseorg (andersk) wrote :

Still doesn’t work in precise.

$ echo 'int main() {return 0;}' > foo.c
$ clang foo.c
/usr/bin/ld: error: cannot open crt1.o: No such file or directory
/usr/bin/ld: error: cannot open crti.o: No such file or directory
/usr/bin/ld: error: cannot open crtn.o: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

But it works if I replace /etc/lsb-release to make my precise system look like oneiric. If nothing else, the patch needs to be rewritten to treat unknown/future Ubuntu releases the same way as oneiric so that this doesn’t automatically break again every six months.