FreeBSD Bugzilla – Attachment 159052 Details for
Bug 201749
[MAINTAINER] lang/tcc: add amd64 support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
tcc build log on amd64
tcc-amd64.log (text/x-log), 76.76 KB, created by
Carlos J Puga Medina
on 2015-07-21 22:57:26 UTC
(
hide
)
Description:
tcc build log on amd64
Filename:
MIME Type:
Creator:
Carlos J Puga Medina
Created:
2015-07-21 22:57:26 UTC
Size:
76.76 KB
patch
obsolete
>Script started on Wed Jul 22 00:51:48 2015 >root@bsd:/usr/ports/lang/tcc # env DEVELOPER=yes make stage && make check-plist && make package > >===> License LGPL21 accepted by the user >===> Found saved configuration for tcc-0.9.26_2 >===> tcc-0.9.26_2 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by tcc-0.9.26_2 for building >===> Extracting for tcc-0.9.26_2 >=> SHA256 Checksum OK for tcc-0.9.26.tar.bz2. >===> Patching for tcc-0.9.26_2 >===> Applying FreeBSD patches for tcc-0.9.26_2 >===> tcc-0.9.26_2 depends on executable: gmake - found >===> tcc-0.9.26_2 depends on file: /usr/local/bin/perl5.20.2 - found >===> Configuring for tcc-0.9.26_2 >Binary directory /usr/local/bin >TinyCC directory /usr/local/lib/tcc >Library directory /usr/local/lib >Include directory /usr/local/include >Manual directory /usr/local/share/man >Info directory /usr/local/share/info >Doc directory /usr/local/share/doc/tcc >Target root prefix >Source path /usr/ports/lang/tcc/work/tcc-0.9.26 >C compiler cc >Target OS FreeBSD >CPU x86-64 >Big Endian no >gprof enabled no >cross compilers no >use libgcc no >Creating config.mak and config.h >===> Building for tcc-0.9.26_2 >gmake[2]: se entra en el directorio '/usr/ports/lang/tcc/work/tcc-0.9.26' >cc -o tcc.o -c tcc.c -DTCC_TARGET_X86_64 -I. -DTCC_TARGET_X86_64 -DONE_SOURCE >In file included from tcc.c:22: >In file included from ./libtcc.c:38: >./tccpp.c:1251:7: warning: assigning to 'const unsigned char *' from > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > s = filename; > ^ ~~~~~~~~ >./tccpp.c:2226:37: warning: passing 'uint8_t *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > ts = tok_alloc_new(pts, p1, len); > ^~ >./tccpp.c:195:60: note: passing argument to parameter 'str' here >static TokenSym *tok_alloc_new(TokenSym **pts, const char *str, int len) > ^ >In file included from tcc.c:22: >In file included from ./libtcc.c:40: >./tccelf.c:60:12: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types with different sign [-Wpointer-sign] > strtab = s->link->data; > ^ ~~~~~~~~~~~~~ >./tccelf.c:75:26: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > h = elf_hash(strtab + sym->st_name) % nb_buckets; > ^~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:38:52: note: passing argument to parameter 'name' here >static unsigned long elf_hash(const unsigned char *name) > ^ >./tccelf.c:117:26: warning: passing 'const char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > h = elf_hash(name) % nbuckets; > ^~~~ >./tccelf.c:38:52: note: passing argument to parameter 'name' here >static unsigned long elf_hash(const unsigned char *name) > ^ >./tccelf.c:147:18: warning: passing 'const char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > h = elf_hash(name) % nbuckets; > ^~~~ >./tccelf.c:38:52: note: passing argument to parameter 'name' here >static unsigned long elf_hash(const unsigned char *name) > ^ >./tccelf.c:151:15: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name1 = s->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:434:18: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = strtab_section->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:438:22: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1037:14: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1628:30: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1664:53: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...dynname = s1->dynsymtab_section->link->data > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1694:30: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1712:30: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...name = s1->dynsymtab_section->link->data + esym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1756:34: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1968:37: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (!strcmp(strsec->data + s->sh_name, ".rel.got... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >In file included from tcc.c:22: >In file included from ./libtcc.c:40: >./tccelf.c:1972:37: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (!strcmp(strsec->data + s->sh_name, ".rel.bss... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >In file included from tcc.c:22: >In file included from ./libtcc.c:40: >./tccelf.c:2432:17: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sh_name = strsec + sh->sh_name; > ^ ~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2553:26: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = strtab + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2569:14: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = strtab + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2673:14: warning: assigning to 'const char *' from 'const uint8_t *' > (aka 'const unsigned char *') converts between pointers to integer types > with different sign [-Wpointer-sign] > ar_names = ar_index + nsyms * 4; > ^ ~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2810:20: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > soname = dynstr + dt->d_un.d_val; > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2839:14: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = dynstr + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2848:18: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = dynstr + dt->d_un.d_val; > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >In file included from tcc.c:22: >In file included from ./libtcc.c:41: >./tccrun.c:256:18: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > stab_str = stabstr_section->data; > ^ ~~~~~~~~~~~~~~~~~~~~~ >./tccrun.c:349:29: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strtab_section->data + sym->st_name); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tcc.h:998:61: note: passing argument to parameter 's' here >PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s); > ^ >In file included from tcc.c:22: >In file included from ./libtcc.c:55: >./tccasm.c:541:72: warning: data argument not used by format string > [-Wformat-extra-args] > sprintf(sname, (n?".%s%d":".%s"), get_tok_str(tok1, NULL), n); > ~~~~~ ^ >27 warnings generated. >cc -o libtcc.o -c libtcc.c -DTCC_TARGET_X86_64 -I. -DTCC_TARGET_X86_64 -DONE_SOURCE >In file included from libtcc.c:38: >./tccpp.c:1251:7: warning: assigning to 'const unsigned char *' from > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > s = filename; > ^ ~~~~~~~~ >./tccpp.c:2226:37: warning: passing 'uint8_t *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > ts = tok_alloc_new(pts, p1, len); > ^~ >./tccpp.c:195:60: note: passing argument to parameter 'str' here >static TokenSym *tok_alloc_new(TokenSym **pts, const char *str, int len) > ^ >In file included from libtcc.c:40: >./tccelf.c:60:12: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types with different sign [-Wpointer-sign] > strtab = s->link->data; > ^ ~~~~~~~~~~~~~ >./tccelf.c:75:26: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > h = elf_hash(strtab + sym->st_name) % nb_buckets; > ^~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:38:52: note: passing argument to parameter 'name' here >static unsigned long elf_hash(const unsigned char *name) > ^ >./tccelf.c:117:26: warning: passing 'const char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > h = elf_hash(name) % nbuckets; > ^~~~ >./tccelf.c:38:52: note: passing argument to parameter 'name' here >static unsigned long elf_hash(const unsigned char *name) > ^ >./tccelf.c:147:18: warning: passing 'const char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > h = elf_hash(name) % nbuckets; > ^~~~ >./tccelf.c:38:52: note: passing argument to parameter 'name' here >static unsigned long elf_hash(const unsigned char *name) > ^ >./tccelf.c:151:15: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name1 = s->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:434:18: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = strtab_section->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:438:22: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1037:14: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1628:30: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1664:53: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...dynname = s1->dynsymtab_section->link->data > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1694:30: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1712:30: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...name = s1->dynsymtab_section->link->data + esym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1756:34: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:1968:37: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (!strcmp(strsec->data + s->sh_name, ".rel.got... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >In file included from libtcc.c:40: >./tccelf.c:1972:37: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (!strcmp(strsec->data + s->sh_name, ".rel.bss... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >In file included from libtcc.c:40: >./tccelf.c:2432:17: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > sh_name = strsec + sh->sh_name; > ^ ~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2553:26: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = strtab + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2569:14: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = strtab + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2673:14: warning: assigning to 'const char *' from 'const uint8_t *' > (aka 'const unsigned char *') converts between pointers to integer types > with different sign [-Wpointer-sign] > ar_names = ar_index + nsyms * 4; > ^ ~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2810:20: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > soname = dynstr + dt->d_un.d_val; > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2839:14: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = dynstr + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~ >./tccelf.c:2848:18: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = dynstr + dt->d_un.d_val; > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >In file included from libtcc.c:41: >./tccrun.c:256:18: warning: assigning to 'char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > stab_str = stabstr_section->data; > ^ ~~~~~~~~~~~~~~~~~~~~~ >./tccrun.c:349:29: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strtab_section->data + sym->st_name); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tcc.h:998:61: note: passing argument to parameter 's' here >PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s); > ^ >In file included from libtcc.c:55: >./tccasm.c:541:72: warning: data argument not used by format string > [-Wformat-extra-args] > sprintf(sname, (n?".%s%d":".%s"), get_tok_str(tok1, NULL), n); > ~~~~~ ^ >27 warnings generated. >cc -o tccpp.o -c tccpp.c -DTCC_TARGET_X86_64 -I. -DTCC_TARGET_X86_64 -DONE_SOURCE >tccpp.c:1251:7: warning: assigning to 'const unsigned char *' from > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > s = filename; > ^ ~~~~~~~~ >tccpp.c:2226:37: warning: passing 'uint8_t *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types with different sign [-Wpointer-sign] > ts = tok_alloc_new(pts, p1, len); > ^~ >tccpp.c:195:60: note: passing argument to parameter 'str' here >static TokenSym *tok_alloc_new(TokenSym **pts, const char *str, int len) > ^ >In file included from tccpp.c:21: >./tcc.h:1039:14: warning: function 'sym_push2' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC Sym *sym_push2(Sym **ps, int v, int t, long c); > ^ >tccpp.c:1024:9: note: used here > s = sym_push2(&define_stack, v, macro_type, 0); > ^ >In file included from tccpp.c:21: >./tcc.h:1038:14: warning: function 'sym_free' has internal linkage but is not > defined [-Wundefined-internal] >ST_INLN void sym_free(Sym *sym); > ^ >tccpp.c:1063:9: note: used here > sym_free(top); > ^ >In file included from tccpp.c:21: >./tcc.h:1035:14: warning: function 'put_extern_sym' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void put_extern_sym(Sym *sym, Section *section, addr_t value, un... > ^ >tccpp.c:1111:17: note: used here > put_extern_sym(s, cur_text_section, s->jnext, 1); > ^ >In file included from tccpp.c:21: >./tcc.h:1188:13: warning: function 'expr_const' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC int expr_const(void); > ^ >tccpp.c:1152:9: note: used here > c = expr_const(); > ^ >In file included from tccpp.c:21: >./tcc.h:1019:14: warning: function 'dynarray_add' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void dynarray_add(void ***ptab, int *nb_ptr, void *data); > ^ >tccpp.c:1290:5: note: used here > dynarray_add((void ***)&s1->cached_includes, &s1->nb_cached_includes, e); > ^ >In file included from tccpp.c:21: >./tcc.h:1048:13: warning: function 'tcc_open' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC int tcc_open(TCCState *s1, const char *filename); > ^ >tccpp.c:1487:17: note: used here > if (tcc_open(s1, buf1) < 0) > ^ >In file included from tccpp.c:21: >./tcc.h:1219:14: warning: function 'put_stabs' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void put_stabs(const char *str, int type, int other, int desc, u... > ^ >tccpp.c:1501:17: note: used here > put_stabs(file->filename, N_BINCL, 0, 0, 0); > ^ >In file included from tccpp.c:21: >./tcc.h:1222:14: warning: function 'put_stabd' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void put_stabd(int type, int other, int desc); > ^ >tccpp.c:2137:21: note: used here > put_stabd(N_EINCL, 0, 0); > ^ >In file included from tccpp.c:21: >./tcc.h:1049:14: warning: function 'tcc_close' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void tcc_close(void); > ^ >tccpp.c:2140:17: note: used here > tcc_close(); > ^ >In file included from tccpp.c:21: >./tcc.h:1040:14: warning: function 'sym_find2' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC Sym *sym_find2(Sym *s, int v); > ^ >tccpp.c:2544:17: note: used here > s = sym_find2(args, t); > ^ >In file included from tccpp.c:21: >./tcc.h:1047:14: warning: function 'tcc_open_bf' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void tcc_open_bf(TCCState *s1, const char *filename, int initlen); > ^ >tccpp.c:2848:17: note: used here > tcc_open_bf(tcc_state, ":paste:", cstr.size); > ^ >13 warnings generated. >cc -o tccgen.o -c tccgen.c -DTCC_TARGET_X86_64 -I. -DTCC_TARGET_X86_64 -DONE_SOURCE >In file included from tccgen.c:21: >./tcc.h:1111:14: warning: function 'expect' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void expect(const char *msg); > ^ >tccgen.c:106:9: note: used here > expect("lvalue"); > ^ >In file included from tccgen.c:21: >./tcc.h:1019:14: warning: function 'dynarray_add' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void dynarray_add(void ***ptab, int *nb_ptr, void *data); > ^ >tccgen.c:117:5: note: used here > dynarray_add(&sym_pools, &nb_sym_pools, sym_pool); > ^ >In file included from tccgen.c:21: >./tcc.h:1088:15: warning: function 'get_tok_str' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC char *get_tok_str(int v, CValue *cv); > ^ >tccgen.c:155:27: note: used here > get_tok_str(v, NULL)); > ^ >In file included from tccgen.c:21: >./tcc.h:1035:14: warning: function 'put_extern_sym' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void put_extern_sym(Sym *sym, Section *section, addr_t value, un... > ^ >tccgen.c:374:5: note: used here > put_extern_sym(sym, sec, offset, size); > ^ >In file included from tccgen.c:21: >./tcc.h:1261:14: warning: function 'store' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void store(int r, SValue *v); > ^ >tccgen.c:520:17: note: used here > store(r, &sv); > ^ >In file included from tccgen.c:21: >./tcc.h:1274:14: warning: function 'o' has internal linkage but is not defined > [-Wundefined-internal] >ST_FUNC void o(unsigned int c); > ^ >tccgen.c:524:21: note: used here > o(0xd8dd); /* fstp %st(0) */ > ^ >In file included from tccgen.c:21: >./tcc.h:1260:14: warning: function 'load' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void load(int r, SValue *sv); > ^ >tccgen.c:640:9: note: used here > load(r, &sv); > ^ >In file included from tccgen.c:21: >./tcc.h:1030:15: warning: function 'section_ptr_add' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void *section_ptr_add(Section *sec, unsigned long size); > ^ >tccgen.c:746:19: note: used here > ptr = section_ptr_add(data_section, size); > ^ >In file included from tccgen.c:21: >./tcc.h:1259:14: warning: function 'gsym' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gsym(int t); > ^ >tccgen.c:1019:9: note: used here > gsym(vtop->c.ul); > ^ >In file included from tccgen.c:21: >./tcc.h:1298:14: warning: function 'gen_opl' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_opl(int op); > ^ >tccgen.c:1437:21: note: used here > gen_opl(op); > ^ >In file included from tccgen.c:21: >./tcc.h:1268:14: warning: function 'gen_opi' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_opi(int op); > ^ >tccgen.c:1439:21: note: used here > gen_opi(op); > ^ >In file included from tccgen.c:21: >./tcc.h:1269:14: warning: function 'gen_opf' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_opf(int op); > ^ >tccgen.c:1504:13: note: used here > gen_opf(op); > ^ >In file included from tccgen.c:21: >./tcc.h:1262:14: warning: function 'gfunc_call' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gfunc_call(int nb_args); > ^ >tccgen.c:1769:9: note: used here > gfunc_call(1); > ^ >In file included from tccgen.c:21: >./tcc.h:1277:14: warning: function 'gen_cvt_itof' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void gen_cvt_itof(int t); > ^ >tccgen.c:1773:9: note: used here > gen_cvt_itof(t); > ^ >In file included from tccgen.c:21: >./tcc.h:1270:14: warning: function 'gen_cvt_ftoi' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void gen_cvt_ftoi(int t); > ^ >tccgen.c:1800:9: note: used here > gen_cvt_ftoi(t); > ^ >In file included from tccgen.c:21: >./tcc.h:1271:14: warning: function 'gen_cvt_ftof' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void gen_cvt_ftof(int t); > ^ >tccgen.c:1923:17: note: used here > gen_cvt_ftof(dbt); > ^ >In file included from tccgen.c:21: >./tcc.h:1105:14: warning: function 'next' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void next(void); > ^ >tccgen.c:2551:5: note: used here > next(); > ^ >In file included from tccgen.c:21: >./tcc.h:1110:14: warning: function 'skip' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void skip(int c); > ^ >tccgen.c:2552:5: note: used here > skip('('); > ^ >In file included from tccgen.c:21: >./tcc.h:1032:18: warning: function 'find_section' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC Section *find_section(TCCState *s1, const char *name); > ^ >tccgen.c:2565:27: note: used here > ad->section = find_section(tcc_state, (char *)tokc.cstr->data); > ^ >In file included from tccgen.c:21: >./tcc.h:1087:19: warning: function 'tok_alloc' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC TokenSym *tok_alloc(const char *str, int len); > ^ >tccgen.c:2575:15: note: used here > tok_alloc((char*)tokc.cstr->data, tokc.cstr->size-1)->tok; > ^ >In file included from tccgen.c:21: >./tcc.h:1024:14: warning: function 'cstr_new' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void cstr_new(CString *cstr); > ^ >tccgen.c:3108:5: note: used here > cstr_new(astr); > ^ >In file included from tccgen.c:21: >./tcc.h:1022:14: warning: function 'cstr_cat' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void cstr_cat(CString *cstr, const char *str); > ^ >tccgen.c:3111:9: note: used here > cstr_cat(astr, tokc.cstr->data); > ^ >In file included from tccgen.c:21: >./tcc.h:1021:14: warning: function 'cstr_ccat' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void cstr_ccat(CString *cstr, int ch); > ^ >tccgen.c:3114:5: note: used here > cstr_ccat(astr, '\0'); > ^ >In file included from tccgen.c:21: >./tcc.h:1267:13: warning: function 'gtst' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC int gtst(int inv, int t); > ^ >tccgen.c:3597:27: note: used here > vseti(VT_JMP, gtst(1, 0)); > ^ >In file included from tccgen.c:21: >./tcc.h:1099:14: warning: function 'label_find' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC Sym *label_find(int v); > ^ >tccgen.c:3731:13: note: used here > s = label_find(tok); > ^ >In file included from tccgen.c:21: >./tcc.h:1100:14: warning: function 'label_push' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC Sym *label_push(Sym **ptop, int v, int flags); > ^ >tccgen.c:3733:17: note: used here > s = label_push(&global_label_stack, tok, LABEL_FORWARD); > ^ >In file included from tccgen.c:21: >./tcc.h:1265:13: warning: function 'gjmp' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC int gjmp(int t); > ^ >tccgen.c:4147:17: note: used here > u = gjmp(0); > ^ >In file included from tccgen.c:21: >./tcc.h:1106:14: warning: function 'unget_tok' has internal linkage but is not > defined [-Wundefined-internal] >ST_INLN void unget_tok(int last_tok); > ^ >tccgen.c:4336:9: note: used here > unget_tok(last_tok); > ^ >In file included from tccgen.c:21: >./tcc.h:1221:14: warning: function 'put_stabn' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void put_stabn(int type, int other, int desc, int value); > ^ >tccgen.c:4369:9: note: used here > put_stabn(N_SLINE, 0, file->line_num, ind - func_ind); > ^ >In file included from tccgen.c:21: >./tcc.h:1266:14: warning: function 'gjmp_addr' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gjmp_addr(int a); > ^ >tccgen.c:4406:9: note: used here > gjmp_addr(d); > ^ >In file included from tccgen.c:21: >./tcc.h:1258:14: warning: function 'gsym_addr' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gsym_addr(int t, int a); > ^ >tccgen.c:4408:9: note: used here > gsym_addr(b, d); > ^ >In file included from tccgen.c:21: >./tcc.h:1101:14: warning: function 'label_pop' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void label_pop(Sym **ptop, Sym *slast); > ^ >tccgen.c:4444:9: note: used here > label_pop(&local_label_stack, llabel); > ^ >In file included from tccgen.c:21: >./tcc.h:1272:14: warning: function 'ggoto' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void ggoto(void); > ^ >tccgen.c:4657:13: note: used here > ggoto(); > ^ >In file included from tccgen.c:21: >./tcc.h:1320:14: warning: function 'asm_instr' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void asm_instr(void); > ^ >tccgen.c:4678:9: note: used here > asm_instr(); > ^ >In file included from tccgen.c:21: >./tcc.h:1029:14: warning: function 'section_realloc' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void section_realloc(Section *sec, unsigned long new_size); > ^ >tccgen.c:4828:13: note: used here > section_realloc(sec, c_end); > ^ >In file included from tccgen.c:21: >./tcc.h:1036:14: warning: function 'greloc' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void greloc(Section *s, Sym *sym, unsigned long offset, int type); > ^ >tccgen.c:4921:17: note: used here > greloc(sec, vtop->sym, c, R_DATA_PTR); > ^ >In file included from tccgen.c:21: >./tcc.h:1091:14: warning: function 'tok_str_new' has internal linkage but is not > defined [-Wundefined-internal] >ST_INLN void tok_str_new(TokenString *s); > ^ >tccgen.c:5237:5: note: used here > tok_str_new(&init_str); > ^ >In file included from tccgen.c:21: >./tcc.h:1094:14: warning: function 'tok_str_add_tok' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void tok_str_add_tok(TokenString *s); > ^ >tccgen.c:5245:17: note: used here > tok_str_add_tok(&init_str); > ^ >In file included from tccgen.c:21: >./tcc.h:1093:14: warning: function 'tok_str_add' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void tok_str_add(TokenString *s, int t); > ^ >tccgen.c:5266:9: note: used here > tok_str_add(&init_str, -1); > ^ >In file included from tccgen.c:21: >./tcc.h:1089:14: warning: function 'save_parse_state' has internal linkage but > is not defined [-Wundefined-internal] >ST_FUNC void save_parse_state(ParseState *s); > ^ >tccgen.c:5270:9: note: used here > save_parse_state(&saved_parse_state); > ^ >In file included from tccgen.c:21: >./tcc.h:1092:14: warning: function 'tok_str_free' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void tok_str_free(int *str); > ^ >tccgen.c:5435:13: note: used here > tok_str_free(init_str.str); > ^ >In file included from tccgen.c:21: >./tcc.h:1090:14: warning: function 'restore_parse_state' has internal linkage > but is not defined [-Wundefined-internal] >ST_FUNC void restore_parse_state(ParseState *s); > ^ >tccgen.c:5436:13: note: used here > restore_parse_state(&saved_parse_state); > ^ >In file included from tccgen.c:21: >./tcc.h:1220:14: warning: function 'put_stabs_r' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void put_stabs_r(const char *str, int type, int other, int desc... > ^ >tccgen.c:5454:5: note: used here > put_stabs_r(buf, N_FUN, 0, file->line_num, 0, > ^ >In file included from tccgen.c:21: >./tcc.h:1263:14: warning: function 'gfunc_prolog' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void gfunc_prolog(CType *func_type); > ^ >tccgen.c:5527:5: note: used here > gfunc_prolog(&sym->type); > ^ >In file included from tccgen.c:21: >./tcc.h:1264:14: warning: function 'gfunc_epilog' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void gfunc_epilog(void); > ^ >tccgen.c:5531:5: note: used here > gfunc_epilog(); > ^ >In file included from tccgen.c:21: >./tcc.h:1020:14: warning: function 'dynarray_reset' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void dynarray_reset(void *pp, int *n); > ^ >tccgen.c:5594:5: note: used here > dynarray_reset(&tcc_state->inline_fns, &tcc_state->nb_inline_fns); > ^ >In file included from tccgen.c:21: >./tcc.h:1321:14: warning: function 'asm_global_instr' has internal linkage but > is not defined [-Wundefined-internal] >ST_FUNC void asm_global_instr(void); > ^ >tccgen.c:5618:17: note: used here > asm_global_instr(); > ^ >In file included from tccgen.c:21: >./tcc.h:1025:14: warning: function 'cstr_free' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void cstr_free(CString *cstr); > ^ >tccgen.c:5662:17: note: used here > cstr_free(&astr); > ^ >In file included from tccgen.c:21: >./tcc.h:1034:14: warning: function 'put_extern_sym2' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void put_extern_sym2(Sym *sym, Section *section, addr_t value, u... > ^ >tccgen.c:5811:29: note: used here > put_extern_sym2(sym, &tsec, esym->st_value, ... > ^ >49 warnings generated. >cc -o tccelf.o -c tccelf.c -DTCC_TARGET_X86_64 -I. -DTCC_TARGET_X86_64 -DONE_SOURCE >tccelf.c:60:12: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types with different sign [-Wpointer-sign] > strtab = s->link->data; > ^ ~~~~~~~~~~~~~ >tccelf.c:75:26: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > h = elf_hash(strtab + sym->st_name) % nb_buckets; > ^~~~~~~~~~~~~~~~~~~~~ >tccelf.c:38:52: note: passing argument to parameter 'name' here >static unsigned long elf_hash(const unsigned char *name) > ^ >tccelf.c:117:26: warning: passing 'const char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > h = elf_hash(name) % nbuckets; > ^~~~ >tccelf.c:38:52: note: passing argument to parameter 'name' here >static unsigned long elf_hash(const unsigned char *name) > ^ >tccelf.c:147:18: warning: passing 'const char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types with > different sign [-Wpointer-sign] > h = elf_hash(name) % nbuckets; > ^~~~ >tccelf.c:38:52: note: passing argument to parameter 'name' here >static unsigned long elf_hash(const unsigned char *name) > ^ >tccelf.c:151:15: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name1 = s->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:434:18: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = strtab_section->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:438:22: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:1037:14: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:1628:30: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:1664:53: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types with different sign [-Wpointer-sign] > ...dynname = s1->dynsymtab_section->link->data > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:1694:30: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:1712:30: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > ...name = s1->dynsymtab_section->link->data + esym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:1756:34: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = symtab_section->link->data + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:1968:37: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (!strcmp(strsec->data + s->sh_name, ".rel.got... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tccelf.c:1972:37: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > if (!strcmp(strsec->data + s->sh_name, ".rel.bss... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tccelf.c:2432:17: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types with different sign [-Wpointer-sign] > sh_name = strsec + sh->sh_name; > ^ ~~~~~~~~~~~~~~~~~~~~ >tccelf.c:2553:26: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types with different sign [-Wpointer-sign] > name = strtab + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:2569:14: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types with different sign [-Wpointer-sign] > name = strtab + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:2673:14: warning: assigning to 'const char *' from 'const uint8_t *' > (aka 'const unsigned char *') converts between pointers to integer types > with different sign [-Wpointer-sign] > ar_names = ar_index + nsyms * 4; > ^ ~~~~~~~~~~~~~~~~~~~~ >tccelf.c:2810:20: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > soname = dynstr + dt->d_un.d_val; > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:2839:14: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = dynstr + sym->st_name; > ^ ~~~~~~~~~~~~~~~~~~~~~ >tccelf.c:2848:18: warning: assigning to 'const char *' from 'unsigned char *' > converts between pointers to integer types with different sign > [-Wpointer-sign] > name = dynstr + dt->d_un.d_val; > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >In file included from tccelf.c:21: >./tcc.h:1030:15: warning: function 'section_ptr_add' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void *section_ptr_add(Section *sec, unsigned long size); > ^ >tccelf.c:32:11: note: used here > ptr = section_ptr_add(s, len); > ^ >In file included from tccelf.c:21: >./tcc.h:1028:18: warning: function 'new_section' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC Section *new_section(TCCState *s1, const char *name, int sh_type... > ^ >tccelf.c:281:14: note: used here > sr = new_section(tcc_state, buf, SHT_RELX, symtab->sh_flags); > ^ >In file included from tccelf.c:21: >./tcc.h:1360:15: warning: function 'resolve_sym' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void *resolve_sym(TCCState *s1, const char *symbol); > ^ >tccelf.c:439:24: note: used here > addr = resolve_sym(s1, name); > ^ >In file included from tccelf.c:21: >./tcc.h:1032:18: warning: function 'find_section' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC Section *find_section(TCCState *s1, const char *name); > ^ >tccelf.c:1299:9: note: used here > s = find_section(s1, section_name); > ^ >In file included from tccelf.c:21: >./tcc.h:1052:13: warning: function 'tcc_add_crt' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC int tcc_add_crt(TCCState *s, const char *filename); > ^ >tccelf.c:1371:13: note: used here > tcc_add_crt(s1, "crtn.o"); > ^ >In file included from tccelf.c:21: >./tcc.h:1031:14: warning: function 'section_reserve' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void section_reserve(Section *sec, unsigned long size); > ^ >tccelf.c:1502:2: note: used here > section_reserve(s1->got, offset + PTR_SIZE); > ^ >In file included from tccelf.c:21: >./tcc.h:1019:14: warning: function 'dynarray_add' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void dynarray_add(void ***ptab, int *nb_ptr, void *data); > ^ >tccelf.c:2832:5: note: used here > dynarray_add((void ***)&s1->loaded_dlls, &s1->nb_loaded_dlls, dllref); > ^ >In file included from tccelf.c:21: >./tcc.h:1053:13: warning: function 'tcc_add_dll' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC int tcc_add_dll(TCCState *s, const char *filename, int flags); > ^ >tccelf.c:2854:17: note: used here > if (tcc_add_dll(s1, name, AFF_REFERENCED_DLL) < 0) { > ^ >In file included from tccelf.c:21: >./tcc.h:1246:14: warning: function 'inp' has internal linkage but is not defined > [-Wundefined-internal] >ST_INLN void inp(void); > ^ >tccelf.c:2889:9: note: used here > inp(); > ^ >In file included from tccelf.c:21: >./tcc.h:1245:14: warning: function 'minp' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void minp(void); > ^ >tccelf.c:2892:9: note: used here > minp(); > ^ >In file included from tccelf.c:21: >./tcc.h:1244:18: warning: function 'parse_comment' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC uint8_t *parse_comment(uint8_t *p); > ^ >tccelf.c:2894:29: note: used here > file->buf_ptr = parse_comment(file->buf_ptr); > ^ >In file included from tccelf.c:21: >./tcc.h:1051:13: warning: function 'tcc_add_file_internal' has internal linkage > but is not defined [-Wundefined-internal] >ST_FUNC int tcc_add_file_internal(TCCState *s1, const char *filename, in... > ^ >tccelf.c:2998:11: note: used here > ret = tcc_add_file_internal(s1, filename, 0); > ^ >In file included from tccelf.c:21: >./tcc.h:1111:14: warning: function 'expect' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void expect(const char *msg); > ^ >tccelf.c:3023:9: note: used here > expect("("); > ^ >In file included from tccelf.c:21: >./tcc.h:1020:14: warning: function 'dynarray_reset' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void dynarray_reset(void *pp, int *n); > ^ >tccelf.c:3083:5: note: used here > dynarray_reset(&libs, &nblibs); > ^ >In file included from tccelf.c:21: >./tcc.h:1247:13: warning: function 'handle_eob' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC int handle_eob(void); > ^ >tccelf.c:3096:10: note: used here > ch = handle_eob(); > ^ >37 warnings generated. >cc -o tccasm.o -c tccasm.c -DTCC_TARGET_X86_64 -I. -DTCC_TARGET_X86_64 -DONE_SOURCE >tccasm.c:541:72: warning: data argument not used by format string > [-Wformat-extra-args] > sprintf(sname, (n?".%s%d":".%s"), get_tok_str(tok1, NULL), n); > ~~~~~ ^ >In file included from tccasm.c:21: >./tcc.h:1087:19: warning: function 'tok_alloc' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC TokenSym *tok_alloc(const char *str, int len); > ^ >tccasm.c:30:10: note: used here > ts = tok_alloc(buf, strlen(buf)); > ^ >In file included from tccasm.c:21: >./tcc.h:1099:14: warning: function 'label_find' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC Sym *label_find(int v); > ^ >tccasm.c:52:19: note: used here > sym = label_find(label); > ^ >In file included from tccasm.c:21: >./tcc.h:1100:14: warning: function 'label_push' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC Sym *label_push(Sym **ptop, int v, int flags); > ^ >tccasm.c:63:27: note: used here > sym = label_push(&s1->asm_labels, label, 0); > ^ >In file included from tccasm.c:21: >./tcc.h:1105:14: warning: function 'next' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void next(void); > ^ >tccasm.c:75:9: note: used here > next(); > ^ >In file included from tccasm.c:21: >./tcc.h:1110:14: warning: function 'skip' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void skip(int c); > ^ >tccasm.c:102:9: note: used here > skip(')'); > ^ >In file included from tccasm.c:21: >./tcc.h:1088:15: warning: function 'get_tok_str' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC char *get_tok_str(int v, CValue *cv); > ^ >tccasm.c:123:53: note: used here > tcc_error("bad expression syntax [%s]", get_tok_str(tok, &tokc)); > ^ >In file included from tccasm.c:21: >./tcc.h:1111:14: warning: function 'expect' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void expect(const char *msg); > ^ >tccasm.c:254:9: note: used here > expect("constant"); > ^ >In file included from tccasm.c:21: >./tcc.h:1034:14: warning: function 'put_extern_sym2' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void put_extern_sym2(Sym *sym, Section *section, addr_t value, u... > ^ >tccasm.c:304:13: note: used here > put_extern_sym2(s, sec, s->jnext, 0, 0); > ^ >In file included from tccasm.c:21: >./tcc.h:1038:14: warning: function 'sym_free' has internal linkage but is not > defined [-Wundefined-internal] >ST_INLN void sym_free(Sym *sym); > ^ >tccasm.c:308:9: note: used here > sym_free(s); > ^ >In file included from tccasm.c:21: >./tcc.h:1032:18: warning: function 'find_section' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC Section *find_section(TCCState *s1, const char *name); > ^ >tccasm.c:323:11: note: used here > sec = find_section(s1, name); > ^ >In file included from tccasm.c:21: >./tcc.h:1030:15: warning: function 'section_ptr_add' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void *section_ptr_add(Section *sec, unsigned long size); > ^ >tccasm.c:362:19: note: used here > ptr = section_ptr_add(sec, size); > ^ >In file included from tccasm.c:21: >./tcc.h:1285:14: warning: function 'gen_le32' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_le32(int c); > ^ >tccasm.c:384:17: note: used here > gen_le32(vl); > ^ >In file included from tccasm.c:21: >./tcc.h:1328:14: warning: function 'gen_expr32' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_expr32(ExprValue *pe); > ^ >tccasm.c:411:21: note: used here > gen_expr32(&e); > ^ >In file included from tccasm.c:21: >./tcc.h:1282:14: warning: function 'g' has internal linkage but is not defined > [-Wundefined-internal] >ST_FUNC void g(int c); > ^ >tccasm.c:416:25: note: used here > g(e.v); > ^ >In file included from tccasm.c:21: >./tcc.h:1284:14: warning: function 'gen_le16' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_le16(int c); > ^ >tccasm.c:418:25: note: used here > gen_le16(e.v); > ^ >In file included from tccasm.c:21: >./tcc.h:1329:14: warning: function 'asm_opcode' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void asm_opcode(TCCState *s1, int opcode); > ^ >tccasm.c:781:17: note: used here > asm_opcode(s1, opcode); > ^ >In file included from tccasm.c:21: >./tcc.h:1107:14: warning: function 'preprocess_init' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void preprocess_init(TCCState *s1); > ^ >tccasm.c:803:5: note: used here > preprocess_init(s1); > ^ >In file included from tccasm.c:21: >./tcc.h:1214:13: warning: function 'put_elf_sym' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC int put_elf_sym(Section *s, addr_t value, unsigned long size, in... > ^ >tccasm.c:813:5: note: used here > put_elf_sym(symtab_section, 0, 0, > ^ >In file included from tccasm.c:21: >./tcc.h:1098:14: warning: function 'free_defines' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void free_defines(Sym *b); > ^ >tccasm.c:821:5: note: used here > free_defines(define_start); > ^ >In file included from tccasm.c:21: >./tcc.h:1047:14: warning: function 'tcc_open_bf' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void tcc_open_bf(TCCState *s1, const char *filename, int initlen); > ^ >tccasm.c:840:5: note: used here > tcc_open_bf(s1, ":asm:", len); > ^ >In file included from tccasm.c:21: >./tcc.h:1049:14: warning: function 'tcc_close' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void tcc_close(void); > ^ >tccasm.c:845:5: note: used here > tcc_close(); > ^ >In file included from tccasm.c:21: >./tcc.h:1024:14: warning: function 'cstr_new' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void cstr_new(CString *cstr); > ^ >tccasm.c:901:5: note: used here > cstr_new(out_str); > ^ >In file included from tccasm.c:21: >./tcc.h:1331:14: warning: function 'subst_asm_operand' has internal linkage but > is not defined [-Wundefined-internal] >ST_FUNC void subst_asm_operand(CString *add_str, SValue *sv, int modifier); > ^ >tccasm.c:924:13: note: used here > subst_asm_operand(out_str, &sv, modifier); > ^ >In file included from tccasm.c:21: >./tcc.h:1021:14: warning: function 'cstr_ccat' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void cstr_ccat(CString *cstr, int ch); > ^ >tccasm.c:927:13: note: used here > cstr_ccat(out_str, c); > ^ >In file included from tccasm.c:21: >./tcc.h:1187:14: warning: function 'gexpr' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gexpr(void); > ^ >tccasm.c:962:13: note: used here > gexpr(); > ^ >In file included from tccasm.c:21: >./tcc.h:1155:14: warning: function 'test_lvalue' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void test_lvalue(void); > ^ >tccasm.c:964:17: note: used here > test_lvalue(); > ^ >In file included from tccasm.c:21: >./tcc.h:1173:13: warning: function 'gv' has internal linkage but is not defined > [-Wundefined-internal] >ST_FUNC int gv(int rc); > ^ >tccasm.c:974:21: note: used here > gv(RC_INT); > ^ >In file included from tccasm.c:21: >./tcc.h:1181:14: warning: function 'parse_asm_str' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void parse_asm_str(CString *astr); > ^ >tccasm.c:1003:5: note: used here > parse_asm_str(&astr); > ^ >In file included from tccasm.c:21: >./tcc.h:1333:14: warning: function 'asm_clobber' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void asm_clobber(uint8_t *clobber_regs, const char *str); > ^ >tccasm.c:1026:25: note: used here > asm_clobber(clobber_regs, tokc.cstr->data); > ^ >In file included from tccasm.c:21: >./tcc.h:1172:14: warning: function 'save_regs' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void save_regs(int n); > ^ >tccasm.c:1045:5: note: used here > save_regs(0); > ^ >In file included from tccasm.c:21: >./tcc.h:1330:14: warning: function 'asm_compute_constraints' has internal > linkage but is not defined [-Wundefined-internal] >ST_FUNC void asm_compute_constraints(ASMOperand *operands, int nb_operan... > ^ >tccasm.c:1048:5: note: used here > asm_compute_constraints(operands, nb_operands, nb_outputs, > ^ >In file included from tccasm.c:21: >./tcc.h:1025:14: warning: function 'cstr_free' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void cstr_free(CString *cstr); > ^ >tccasm.c:1058:9: note: used here > cstr_free(&astr); > ^ >In file included from tccasm.c:21: >./tcc.h:1332:14: warning: function 'asm_gen_code' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void asm_gen_code(ASMOperand *operands, int nb_operands, int nb_... > ^ >tccasm.c:1067:5: note: used here > asm_gen_code(operands, nb_operands, nb_outputs, 0, > ^ >In file included from tccasm.c:21: >./tcc.h:1175:14: warning: function 'vpop' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void vpop(void); > ^ >tccasm.c:1085:9: note: used here > vpop(); > ^ >35 warnings generated. >cc -o tccrun.o -c tccrun.c -DTCC_TARGET_X86_64 -I. -DTCC_TARGET_X86_64 -DONE_SOURCE >tccrun.c:256:18: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types with different sign [-Wpointer-sign] > stab_str = stabstr_section->data; > ^ ~~~~~~~~~~~~~~~~~~~~~ >tccrun.c:349:29: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types with different > sign [-Wpointer-sign] > strtab_section->data + sym->st_name); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./tcc.h:998:61: note: passing argument to parameter 's' here >PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s); > ^ >./tcc.h:1238:15: warning: function 'tcc_get_symbol_err' has internal linkage but > is not defined [-Wundefined-internal] >ST_FUNC void *tcc_get_symbol_err(TCCState *s, const char *name); > ^ >tccrun.c:100:17: note: used here > prog_main = tcc_get_symbol_err(s1, "main"); > ^ >In file included from tccrun.c:21: >./tcc.h:1234:14: warning: function 'tcc_add_runtime' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void tcc_add_runtime(TCCState *s1); > ^ >tccrun.c:141:9: note: used here > tcc_add_runtime(s1); > ^ >In file included from tccrun.c:21: >./tcc.h:1224:14: warning: function 'relocate_common_syms' has internal linkage > but is not defined [-Wundefined-internal] >ST_FUNC void relocate_common_syms(void); > ^ >tccrun.c:142:9: note: used here > relocate_common_syms(); > ^ >In file included from tccrun.c:21: >./tcc.h:1228:14: warning: function 'tcc_add_linker_symbols' has internal linkage > but is not defined [-Wundefined-internal] >ST_FUNC void tcc_add_linker_symbols(TCCState *s1); > ^ >tccrun.c:143:9: note: used here > tcc_add_linker_symbols(s1); > ^ >In file included from tccrun.c:21: >./tcc.h:1233:14: warning: function 'build_got_entries' has internal linkage but > is not defined [-Wundefined-internal] >ST_FUNC void build_got_entries(TCCState *s1); > ^ >tccrun.c:144:9: note: used here > build_got_entries(s1); > ^ >In file included from tccrun.c:21: >./tcc.h:1225:14: warning: function 'relocate_syms' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void relocate_syms(TCCState *s1, int do_resolve); > ^ >tccrun.c:162:5: note: used here > relocate_syms(s1, 1); > ^ >In file included from tccrun.c:21: >./tcc.h:1226:14: warning: function 'relocate_section' has internal linkage but > is not defined [-Wundefined-internal] >ST_FUNC void relocate_section(TCCState *s1, Section *s); > ^ >tccrun.c:181:13: note: used here > relocate_section(s1, s); > ^ >9 warnings generated. >cc -o x86_64-gen.o -c x86_64-gen.c -DTCC_TARGET_X86_64 -I. -DTCC_TARGET_X86_64 -DONE_SOURCE >In file included from x86_64-gen.c:103: >./tcc.h:1029:14: warning: function 'section_realloc' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void section_realloc(Section *sec, unsigned long new_size); > ^ >x86_64-gen.c:130:9: note: used here > section_realloc(cur_text_section, ind1); > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1036:14: warning: function 'greloc' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void greloc(Section *s, Sym *sym, unsigned long offset, int type); > ^ >x86_64-gen.c:233:9: note: used here > greloc(cur_text_section, sym, ind, R_X86_64_32); > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1153:13: warning: function 'is_float' has internal linkage but is not > defined [-Wundefined-internal] >ST_INLN int is_float(int t); > ^ >x86_64-gen.c:351:13: note: used here > if (is_float(ft)) { > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1171:13: warning: function 'get_reg' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC int get_reg(int rc); > ^ >x86_64-gen.c:353:18: note: used here > tr = get_reg(RC_INT) | TREG_MEM; > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1217:14: warning: function 'put_elf_reloc' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void put_elf_reloc(Section *symtab, Section *s, unsigned long of... > ^ >x86_64-gen.c:566:13: note: used here > put_elf_reloc(symtab_section, cur_text_section, > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1177:13: warning: function 'type_size' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC int type_size(CType *type, int *a); > ^ >x86_64-gen.c:839:26: note: used here > args_size += type_size(&vtop[-i].type, &align); > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1173:13: warning: function 'gv' has internal linkage but is not defined > [-Wundefined-internal] >ST_FUNC int gv(int rc); > ^ >x86_64-gen.c:862:13: note: used here > gv(RC_INT); > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1159:14: warning: function 'vset' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void vset(CType *type, int r, int v); > ^ >x86_64-gen.c:889:6: note: used here > vset(&vtop->type, r | VT_LVAL, 0); > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1160:14: warning: function 'vswap' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void vswap(void); > ^ >x86_64-gen.c:890:6: note: used here > vswap(); > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1179:14: warning: function 'vstore' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void vstore(void); > ^ >x86_64-gen.c:891:6: note: used here > vstore(); > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1172:14: warning: function 'save_regs' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void save_regs(int n); > ^ >x86_64-gen.c:929:5: note: used here > save_regs(0); /* save used temporary registers */ > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1041:14: warning: function 'sym_push' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC Sym *sym_push(int v, CType *type, int r, int c); > ^ >x86_64-gen.c:1114:9: note: used here > sym_push(sym->v & ~SYM_FIELD, type, > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1157:14: warning: function 'vpushi' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void vpushi(int v); > ^ >x86_64-gen.c:1208:13: note: used here > vpushi(0); > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1176:14: warning: function 'gen_op' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_op(int op); > ^ >x86_64-gen.c:1209:13: note: used here > gen_op(TOK_NE); > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1174:14: warning: function 'gv2' has internal linkage but is not defined > [-Wundefined-internal] >ST_FUNC void gv2(int rc1, int rc2); > ^ >x86_64-gen.c:1258:13: note: used here > gv2(RC_INT, RC_INT); > ^ >In file included from x86_64-gen.c:103: >./tcc.h:1170:14: warning: function 'save_reg' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void save_reg(int r); > ^ >x86_64-gen.c:1339:9: note: used here > save_reg(TREG_RDX); > ^ >16 warnings generated. >cc -o i386-asm.o -c i386-asm.c -DTCC_TARGET_X86_64 -I. -DTCC_TARGET_X86_64 -DONE_SOURCE >In file included from i386-asm.c:22: >./tcc.h:1325:13: warning: function 'asm_int_expr' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC int asm_int_expr(TCCState *s1); > ^ >i386-asm.c:248:9: note: used here > v = asm_int_expr(s1); > ^ >In file included from i386-asm.c:22: >./tcc.h:1111:14: warning: function 'expect' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void expect(const char *msg); > ^ >i386-asm.c:263:9: note: used here > expect("1, 2, 4 or 8 constant"); > ^ >In file included from i386-asm.c:22: >./tcc.h:1105:14: warning: function 'next' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void next(void); > ^ >i386-asm.c:275:5: note: used here > next(); > ^ >In file included from i386-asm.c:22: >./tcc.h:1110:14: warning: function 'skip' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void skip(int c); > ^ >i386-asm.c:338:17: note: used here > skip(')'); > ^ >In file included from i386-asm.c:22: >./tcc.h:1324:14: warning: function 'asm_expr' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void asm_expr(TCCState *s1, ExprValue *pe); > ^ >i386-asm.c:352:9: note: used here > asm_expr(s1, &e); > ^ >In file included from i386-asm.c:22: >./tcc.h:1106:14: warning: function 'unget_tok' has internal linkage but is not > defined [-Wundefined-internal] >ST_INLN void unget_tok(int last_tok); > ^ >i386-asm.c:381:17: note: used here > unget_tok('('); > ^ >In file included from i386-asm.c:22: >./tcc.h:1286:14: warning: function 'gen_addr32' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_addr32(int r, Sym *sym, int c); > ^ >i386-asm.c:420:5: note: used here > gen_addr32(pe->sym ? VT_SYM : 0, pe->sym, pe->v); > ^ >In file included from i386-asm.c:22: >./tcc.h:1297:14: warning: function 'gen_addr64' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_addr64(int r, Sym *sym, int64_t c); > ^ >i386-asm.c:426:5: note: used here > gen_addr64(pe->sym ? VT_SYM : 0, pe->sym, pe->v); > ^ >In file included from i386-asm.c:22: >./tcc.h:1285:14: warning: function 'gen_le32' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_le32(int c); > ^ >i386-asm.c:439:9: note: used here > gen_le32(pe->v + sym->jnext - ind - 4); > ^ >In file included from i386-asm.c:22: >./tcc.h:1287:14: warning: function 'gen_addrpc32' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC void gen_addrpc32(int r, Sym *sym, int c); > ^ >i386-asm.c:445:9: note: used here > gen_addrpc32(VT_SYM, sym, pe->v); > ^ >In file included from i386-asm.c:22: >./tcc.h:1282:14: warning: function 'g' has internal linkage but is not defined > [-Wundefined-internal] >ST_FUNC void g(int c); > ^ >i386-asm.c:486:9: note: used here > g(0xc0 + (reg << 3) + op->reg); > ^ >In file included from i386-asm.c:22: >./tcc.h:1088:15: warning: function 'get_tok_str' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC char *get_tok_str(int v, CValue *cv); > ^ >i386-asm.c:720:19: note: used here > get_tok_str(opcode, NULL)); > ^ >In file included from i386-asm.c:22: >./tcc.h:1284:14: warning: function 'gen_le16' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void gen_le16(int c); > ^ >i386-asm.c:949:21: note: used here > gen_le16(ops[i].e.v); > ^ >In file included from i386-asm.c:22: >./tcc.h:1323:13: warning: function 'find_constraint' has internal linkage but is > not defined [-Wundefined-internal] >ST_FUNC int find_constraint(ASMOperand *operands, int nb_operands, cons... > ^ >i386-asm.c:1084:17: note: used here > k = find_constraint(operands, nb_operands, str, NULL); > ^ >In file included from i386-asm.c:22: >./tcc.h:1021:14: warning: function 'cstr_ccat' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void cstr_ccat(CString *cstr, int ch); > ^ >i386-asm.c:1297:13: note: used here > cstr_ccat(add_str, '$'); > ^ >In file included from i386-asm.c:22: >./tcc.h:1022:14: warning: function 'cstr_cat' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void cstr_cat(CString *cstr, const char *str); > ^ >i386-asm.c:1299:13: note: used here > cstr_cat(add_str, get_tok_str(sv->sym->v, NULL)); > ^ >In file included from i386-asm.c:22: >./tcc.h:1260:14: warning: function 'load' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void load(int r, SValue *sv); > ^ >i386-asm.c:1423:21: note: used here > load(op->reg, &sv); > ^ >In file included from i386-asm.c:22: >./tcc.h:1261:14: warning: function 'store' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC void store(int r, SValue *v); > ^ >i386-asm.c:1449:25: note: used here > store(op->reg, &sv); > ^ >In file included from i386-asm.c:22: >./tcc.h:1087:19: warning: function 'tok_alloc' has internal linkage but is not > defined [-Wundefined-internal] >ST_FUNC TokenSym *tok_alloc(const char *str, int len); > ^ >i386-asm.c:1484:10: note: used here > ts = tok_alloc(str, strlen(str)); > ^ >19 warnings generated. >ar rcs libtcc.a libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o x86_64-gen.o i386-asm.o >cc -o tcc tcc.o libtcc.a -lm -I. -DTCC_TARGET_X86_64 -DONE_SOURCE -fstack-protector >gmake -C lib native >gmake[3]: se entra en el directorio '/usr/ports/lang/tcc/work/tcc-0.9.26/lib' >mkdir -p x86_64 >cc -c libtcc1.c -o x86_64/libtcc1.o -I.. -DTCC_TARGET_X86_64 -DONE_SOURCE -DTCC_TARGET_X86_64 >cc -c alloca86_64.S -o x86_64/alloca86_64.o -I.. -DTCC_TARGET_X86_64 -DONE_SOURCE -DTCC_TARGET_X86_64 >cc -c bcheck.c -o x86_64/bcheck.o -I.. -DTCC_TARGET_X86_64 -DONE_SOURCE -DTCC_TARGET_X86_64 >bcheck.c:46:2: warning: Bound checking does not support malloc (etc.) in this > environment. [-W#warnings] >#warning Bound checking does not support malloc (etc.) in this environment. >^ >bcheck.c:149:5: warning: indirection of non-volatile null pointer will be > deleted, not trap [-Wnull-dereference] > *(int *)0 = 0; /* force a runtime error */ > ^~~~~~~~~ >bcheck.c:149:5: note: consider using __builtin_trap() or qualifying pointer with > 'volatile' >bcheck.c:416:28: warning: cast to 'void *' from smaller integer type 'int' > [-Wint-to-void-pointer-cast] > __bound_new_region((void *)p[0], p[1]); > ^ >3 warnings generated. >ar rcs ../libtcc1.a x86_64/libtcc1.o x86_64/alloca86_64.o x86_64/bcheck.o >gmake[3]: se sale del directorio '/usr/ports/lang/tcc/work/tcc-0.9.26/lib' >./texi2pod.pl tcc-doc.texi tcc.pod >pod2man --section=1 --center=" " --release=" " tcc.pod > tcc.1 >makeinfo tcc-doc.texi >gmake[2]: se sale del directorio '/usr/ports/lang/tcc/work/tcc-0.9.26' >===> Staging for tcc-0.9.26_2 >===> tcc-0.9.26_2 depends on executable: indexinfo - found >===> Generating temporary packing list >gmake[2]: se entra en el directorio '/usr/ports/lang/tcc/work/tcc-0.9.26' >gmake -C lib native >gmake[3]: se entra en el directorio '/usr/ports/lang/tcc/work/tcc-0.9.26/lib' >gmake[3]: No se hace nada para 'native'. >gmake[3]: se sale del directorio '/usr/ports/lang/tcc/work/tcc-0.9.26/lib' >mkdir -p "/usr/ports/lang/tcc/work/stage/usr/local/bin" >install -m755 tcc "/usr/ports/lang/tcc/work/stage/usr/local/bin" >mkdir -p "/usr/ports/lang/tcc/work/stage/usr/local/share/man/man1" >install tcc.1 "/usr/ports/lang/tcc/work/stage/usr/local/share/man/man1" >mkdir -p "/usr/ports/lang/tcc/work/stage/usr/local/share/info" >install tcc-doc.info "/usr/ports/lang/tcc/work/stage/usr/local/share/info" >mkdir -p "/usr/ports/lang/tcc/work/stage/usr/local/lib/tcc" >mkdir -p "/usr/ports/lang/tcc/work/stage/usr/local/lib/tcc/include" >install -m644 libtcc1.a "/usr/ports/lang/tcc/work/stage/usr/local/lib/tcc" >install -m644 ./include/stdarg.h ./include/stddef.h ./include/stdbool.h ./include/float.h ./include/varargs.h ./include/tcclib.h "/usr/ports/lang/tcc/work/stage/usr/local/lib/tcc/include" >mkdir -p "/usr/ports/lang/tcc/work/stage/usr/local/lib" >install -m755 libtcc.a "/usr/ports/lang/tcc/work/stage/usr/local/lib" >mkdir -p "/usr/ports/lang/tcc/work/stage/usr/local/include" >install -m644 ./libtcc.h "/usr/ports/lang/tcc/work/stage/usr/local/include" >mkdir -p "/usr/ports/lang/tcc/work/stage/usr/local/share/doc/tcc" >install -m644 tcc-doc.html "/usr/ports/lang/tcc/work/stage/usr/local/share/doc/tcc" >gmake[2]: se sale del directorio '/usr/ports/lang/tcc/work/tcc-0.9.26' >/usr/bin/strip /usr/ports/lang/tcc/work/stage/usr/local/bin/tcc >install -m 444 /usr/ports/lang/tcc/work/tcc-0.9.26/tcc.1 /usr/ports/lang/tcc/work/stage/usr/local/man/man1 >/bin/rm -f -r /usr/ports/lang/tcc/work/stage/usr/local/share/man >install -m 0644 /usr/ports/lang/tcc/work/tcc-0.9.26/lib/x86_64/*.o /usr/ports/lang/tcc/work/stage/usr/local/lib/tcc >install -m 0644 /usr/ports/lang/tcc/work/tcc-0.9.26/lib/x86_64/*.o /usr/ports/lang/tcc/work/stage/usr/local/lib/tcc >install -m 0644 /usr/ports/lang/tcc/work/tcc-0.9.26/lib/x86_64/*.o /usr/ports/lang/tcc/work/stage/usr/local/lib/tcc >/bin/mkdir -p /usr/ports/lang/tcc/work/stage/usr/local/share/doc/tcc >install -m 0644 /usr/ports/lang/tcc/work/tcc-0.9.26/COPYING /usr/ports/lang/tcc/work/tcc-0.9.26/Changelog /usr/ports/lang/tcc/work/tcc-0.9.26/README /usr/ports/lang/tcc/work/tcc-0.9.26/TODO /usr/ports/lang/tcc/work/tcc-0.9.26/VERSION /usr/ports/lang/tcc/work/stage/usr/local/share/doc/tcc >install -m 0644 /usr/ports/lang/tcc/work/tcc-0.9.26/tcc-doc.info /usr/ports/lang/tcc/work/stage/usr/local/info >/bin/rm -f -r /usr/ports/lang/tcc/work/stage/usr/local/share/info >/bin/mkdir -p /usr/ports/lang/tcc/work/stage/usr/local/share/examples/tcc >install -m 0644 /usr/ports/lang/tcc/work/tcc-0.9.26/examples/* /usr/ports/lang/tcc/work/stage/usr/local/share/examples/tcc >====> Compressing man pages (compress-man) >====> Running Q/A tests (stage-qa) >====> Checking for pkg-plist issues (check-plist) >===> Parsing plist >===> Checking for items in STAGEDIR missing from pkg-plist >===> Checking for items in pkg-plist which are not in STAGEDIR >===> No pkg-plist issues found (check-plist) >===> Building package for tcc-0.9.26_2 >root@bsd:/usr/ports/lang/tcc # exit > >exit > >Script done on Wed Jul 22 00:52:51 2015
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 201749
:
159051
| 159052 |
159055