tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Compiling TCC with gcc 3.4.2 20040907 (Red Hat 3.4.2-2)


From: Vladimir G. Ivanovic
Subject: [Tinycc-devel] Compiling TCC with gcc 3.4.2 20040907 (Red Hat 3.4.2-2)
Date: Thu, 04 Nov 2004 23:14:44 -0800

Have other people compiled TCC successfully on Fedora Core 2? I get
lots of warnings and then some errors (see below).

Any ideas?

--- Vladimir

-- 
Vladimir G. Ivanovic                      http://leonora.org/~vladimir
Palo Alto, CA 94306                                    +1 650 678 8014

$ ./configure
Binary  directory   /usr/local/bin
Library directory   /usr/local/lib
Include directory   /usr/local/include
Manual directory    /usr/local/man
Doc directory       /usr/local/share/doc/tcc
Source path      /usr/local/src/tcc-0.9.21
C compiler       gcc
make             make
CPU              x86
Big Endian       no
gprof enabled    no


$ cd /usr/local/src/tcc-0.9.21/
make
gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 
-o tcc_g tcc.c -ldl
tcc.c: In function `ieee_finite':
tcc.c:914: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
tcc.c: In function `expand_args':
tcc.c:10090: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
tcc.c: In function `parse_args':
tcc.c:10122: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
tcc.c:10193: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
strip -s -R .comment -R .note -o tcc tcc_g
gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 
-DTCC_TARGET_C67 -o c67-tcc tcc.c -ldl
tcc.c: In function `ieee_finite':
tcc.c:914: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
In file included from tcc.c:9137:
tccelf.c: In function `relocate_section':
tccelf.c:451: warning: unused variable `esym_index'
tcc.c: In function `expand_args':
tcc.c:10090: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
tcc.c: In function `parse_args':
tcc.c:10122: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
tcc.c:10193: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
c67-gen.c: In function `load':
c67-gen.c:1554: warning: 'size' might be used uninitialized in this function
c67-gen.c: In function `gen_cvt_ftof':
c67-gen.c:2498: warning: 'r2' might be used uninitialized in this function
c67-gen.c: In function `gfunc_call':
c67-gen.c:1876: warning: 'size' might be used uninitialized in this function
tcc.c: At top level:
tcc.c:321: warning: 'last_text_section' defined but not used
tccelf.c:666: warning: 'get32' defined but not used
gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 
-DTCC_TARGET_ARM -o arm-tcc tcc.c -ldl
tcc.c: In function `ieee_finite':
tcc.c:914: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
In file included from tcc.c:9137:
tccelf.c: In function `relocate_section':
tccelf.c:451: warning: unused variable `esym_index'
tcc.c: In function `expand_args':
tcc.c:10090: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
tcc.c: In function `parse_args':
tcc.c:10122: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
tcc.c:10193: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
arm-gen.c: In function `stuff_const':
arm-gen.c:139: warning: 'nc' might be used uninitialized in this function
arm-gen.c:139: warning: 'negop' might be used uninitialized in this function
tcc.c: At top level:
tcc.c:321: warning: 'last_text_section' defined but not used
gcc -O2 -Wall -c -o libtcc1.o libtcc1.c
ar rcs libtcc1.a libtcc1.o
gcc -O2 -Wall -c -o bcheck.o bcheck.c
bcheck.c:172: error: conflicting types for '__bound_ptr_add'
bcheck.c:80: error: previous declaration of '__bound_ptr_add' was here
bcheck.c:172: error: conflicting types for '__bound_ptr_add'
bcheck.c:80: error: previous declaration of '__bound_ptr_add' was here
bcheck.c:231: error: conflicting types for '__bound_local_new'
bcheck.c:87: error: previous declaration of '__bound_local_new' was here
bcheck.c:231: error: conflicting types for '__bound_local_new'
bcheck.c:87: error: previous declaration of '__bound_local_new' was here
bcheck.c:247: error: conflicting types for '__bound_local_delete'
bcheck.c:88: error: previous declaration of '__bound_local_delete' was here
bcheck.c:247: error: conflicting types for '__bound_local_delete'
bcheck.c:88: error: previous declaration of '__bound_local_delete' was here
bcheck.c:281: error: conflicting types for '__bound_ptr_indir1'
bcheck.c:81: error: previous declaration of '__bound_ptr_indir1' was here
bcheck.c:281: error: conflicting types for '__bound_ptr_indir1'
bcheck.c:81: error: previous declaration of '__bound_ptr_indir1' was here
bcheck.c:282: error: conflicting types for '__bound_ptr_indir2'
bcheck.c:82: error: previous declaration of '__bound_ptr_indir2' was here
bcheck.c:282: error: conflicting types for '__bound_ptr_indir2'
bcheck.c:82: error: previous declaration of '__bound_ptr_indir2' was here
bcheck.c:283: error: conflicting types for '__bound_ptr_indir4'
bcheck.c:83: error: previous declaration of '__bound_ptr_indir4' was here
bcheck.c:283: error: conflicting types for '__bound_ptr_indir4'
bcheck.c:83: error: previous declaration of '__bound_ptr_indir4' was here
bcheck.c:284: error: conflicting types for '__bound_ptr_indir8'
bcheck.c:84: error: previous declaration of '__bound_ptr_indir8' was here
bcheck.c:284: error: conflicting types for '__bound_ptr_indir8'
bcheck.c:84: error: previous declaration of '__bound_ptr_indir8' was here
bcheck.c:285: error: conflicting types for '__bound_ptr_indir12'
bcheck.c:85: error: previous declaration of '__bound_ptr_indir12' was here
bcheck.c:285: error: conflicting types for '__bound_ptr_indir12'
bcheck.c:85: error: previous declaration of '__bound_ptr_indir12' was here
bcheck.c:286: error: conflicting types for '__bound_ptr_indir16'
bcheck.c:86: error: previous declaration of '__bound_ptr_indir16' was here
bcheck.c:286: error: conflicting types for '__bound_ptr_indir16'
bcheck.c:86: error: previous declaration of '__bound_ptr_indir16' was here
make: *** [bcheck.o] Error 1

Compilation exited abnormally with code 2 at Thu Nov  4 22:52:03




reply via email to

[Prev in Thread] Current Thread [Next in Thread]