* Andreas Moog <am...@ubuntu.com>, 2012-01-01, 19:44:
When compiling with tcc, the resulting binaries can't be executed:

$ echo 'main(){puts("hello");}' | tcc -
$ ./a.out
- -bash: ./a.out: No such file or directory
$ ls -la
total 12
drwxr-xr-x  2 andreas andreas 4096 Jan  1 18:44 .
drwxr-xr-x 62 andreas andreas 4096 Jan  1 18:43 ..
- -rwxrwxr-x  1 andreas andreas 3392 Jan  1 18:43 a.out

Happens on testing and unstable, not on stable.

It's worse than that. Even binaries produced on a squeeze system won't work an wheezy/unstable system.

This is because on amd64 tcc encodes incorrect path to ELF interpreter: /lib/ld-linux-x86-64.so.2
It should be: /lib64/ld-linux-x86-64.so.2

/lib64 used to be a symlink to /lib, but is not anymore, so all binaries produced by tcc broke.

--
Jakub Wilk



--
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