emerged tcc and tried to compile this program: #include <stdio.h> int main(void) { printf("hello world\n"); exit(42); } Reproducible: Always Steps to Reproduce: Actual Results: [proton][11:39:45 PM] tcc hello.c tcc: file 'AS_NEEDED' not found /usr/lib/libc.so:3: filename expected /usr/lib/libc.so:3: unrecognized file type /usr/lib/libc.a: '_nl_category_name_idxs' defined twice ... repeats many times ... tcc: undefined symbol '_Unwind_Resume' tcc: undefined symbol '__gcc_personality_v0' tcc: undefined symbol '_Unwind_GetIP' tcc: undefined symbol '_Unwind_GetGR' tcc: undefined symbol '_Unwind_GetCFA' tcc: undefined symbol '_Unwind_Backtrace' Expected Results: should have produced an executable Found this while googling: http://www.mail-archive.com/tinycc-devel@nongnu.org/msg00680.html but I figured since this ebuild is marked stable, it must have worked for somebody already. And it has no dependencies (no special libc, etc.) What am I missing?
You're actually not missing anything. tcc 0.9.22 worked with glibc 2.3; tcc on glibc 2.4 and 2.5 requires patches which have been added to the ebuild for tcc 0.9.23. @x86: would you please stabilise tcc 0.9.23-r1?
x86 stable and closing.