Tcc fails to link executables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Baltix |
Fix Released
|
Undecided
|
Unassigned | ||
tcc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Tcc appears non-functional in Edgy. It is unable to compile and link any programs, even trivial ones, such as "hello world". For example:
$ cat a.c
#include <stdio.h>
int main()
{
printf("hello world\n");
return 0;
}
$ tcc a.c
tcc: file 'AS_NEEDED' not found
/usr/lib/libc.so:3: filename expected
/usr/lib/libc.so:3: unrecognized file type
tcc: undefined symbol '__gcc_
tcc: undefined symbol '_Unwind_Resume'
tcc: undefined symbol '_Unwind_Backtrace'
tcc: undefined symbol '_Unwind_GetIP'
tcc: undefined symbol '_Unwind_GetGR'
tcc: undefined symbol '_Unwind_GetCFA'
This seems to be a link-related problem, because `tcc -c a.c' produces a working a.o file, which can be (for testing purposes) linked with gcc, and which results in a correctly running executable.
Note that tcc does not exhibit this problem on Debian testing.
Note: the original reporter indicated the bug was in package 'tcc'; however, that package was not published in Baltix.
Changed in baltix: | |
status: | New → Fix Released |
Same problem here. I.e. tcc is also disfunctional in Feisty.