Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176070 - stabilise dev-lang/tcc-0.9.23-r1: tcc 0.9.22 can't compile "hello world"
Summary: stabilise dev-lang/tcc-0.9.23-r1: tcc 0.9.22 can't compile "hello world"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 06:59 UTC by Shawn Rutledge
Modified: 2007-04-27 11:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Rutledge 2007-04-26 06:59:07 UTC
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?
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2007-04-26 17:17:20 UTC
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?
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2007-04-27 11:27:02 UTC
x86 stable and closing.