Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 175827 - Missing items for tcc
Missing items for tcc
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-12-15 10:47 EST by Kim Lux
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-12-15 10:51:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kim Lux 2005-12-15 10:47:34 EST
Description of problem:     
tcc can't build projects due to libc dependencies and errors.     
Version-Release number of selected component (if applicable):     
tcc -v    
tcc version 0.9.23    
rpm -q glibc    
$ rpm -q gcc    
How reproducible:     
We've seen this problem on 4 fc4 machines.  I don't know of an fc4 machine    
that doesn't have this problem.     
Steps to Reproduce:     
1) Install fc4    
2) Install tcc    
3) Build a tcc example:    
tcc -o test ./examples/ex1.c    
Actual results:     
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: '_dl_tls_static_size' defined twice    
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 build and run without errors.     
ex1.c implements Hello World.     
The code in it is:  
#include <tcclib.h> 
int main()  
    printf("Hello World\n"); 
    return 0; 
You can check out tcclib.h in the tcc installation. 
Additional info:
Comment 1 Jakub Jelinek 2005-12-15 10:51:14 EST
That's tcc's fault, not glibc.  libc.so is a linker script (and has been for
many years), so if tcc for some weirdo reason uses its own linker and doesn't
grok it or looks at it for whatever other reason, it is just its fault
and should be fixed there.
Comment 2 Kim Lux 2005-12-15 14:08:05 EST
You were right.  
Tcc does parse the linker scripts.  We fixed the parser and now it works.  
Thanks for your help and quick response.   

Note You need to log in before you can comment on or make changes to this bug.