=>> Building lang/tcc build started at Fri Apr 5 00:32:18 BST 2024 port directory: /usr/ports/lang/tcc package name: tcc-0.9.26_7 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1543 Jan 11 20:37 /usr/ports/lang/tcc/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: e10e2022a9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for tcc-0.9.26_7: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix="/usr/local" --cc="cc" --cpu=x86-64 --extra-cflags="-DTCC_TARGET_X86_64 -DONE_SOURCE" --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/tcc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/tcc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/tcc/work/.cache HOME=/wrkdirs/usr/ports/lang/tcc/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/lang/tcc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/tcc/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/tcc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/tcc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/tcc/work/.cache HOME=/wrkdirs/usr/ports/lang/tcc/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/lang/tcc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/tcc/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fheinous-gnu-extensions -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fheinous-gnu-extensions -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" AMD64="" I386="@comment " OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3 PERL_VER=5.36 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.36 DOCSDIR="share/doc/tcc" EXAMPLESDIR="share/examples/tcc" DATADIR="share/tcc" WWWDIR="www/tcc" ETCDIR="etc/tcc" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/tcc DOCSDIR=/usr/local/share/doc/tcc EXAMPLESDIR=/usr/local/share/examples/tcc WWWDIR=/usr/local/www/tcc ETCDIR=/usr/local/etc/tcc --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The tcc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> tcc-0.9.26_7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> tcc-0.9.26_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tcc-0.9.26_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The tcc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by tcc-0.9.26_7 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The tcc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by tcc-0.9.26_7 for building => SHA256 Checksum OK for TinyCC-tinycc-release_0_9_26_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The tcc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by tcc-0.9.26_7 for building ===> Extracting for tcc-0.9.26_7 => SHA256 Checksum OK for TinyCC-tinycc-release_0_9_26_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for tcc-0.9.26_7 ===> Applying FreeBSD patches for tcc-0.9.26_7 from /usr/ports/lang/tcc/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> tcc-0.9.26_7 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> tcc-0.9.26_7 depends on package: gmake>=4.4.1 - found ===> Returning to build of tcc-0.9.26_7 ===> tcc-0.9.26_7 depends on file: /usr/local/bin/makeinfo - not found ===> Installing existing package /packages/All/texinfo-7.1_2,1.pkg [pkg-builder.dan.net.uk] Installing texinfo-7.1_2,1... [pkg-builder.dan.net.uk] `-- Installing libiconv-1.17_1... [pkg-builder.dan.net.uk] `-- Extracting libiconv-1.17_1: .......... done [pkg-builder.dan.net.uk] `-- Installing p5-Locale-libintl-1.33... [pkg-builder.dan.net.uk] | `-- Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] | `-- Extracting perl5-5.36.3_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting p5-Locale-libintl-1.33: .......... done [pkg-builder.dan.net.uk] `-- Installing p5-Text-Unidecode-1.30... [pkg-builder.dan.net.uk] `-- Extracting p5-Text-Unidecode-1.30: .......... done [pkg-builder.dan.net.uk] `-- Installing p5-Unicode-EastAsianWidth-12.0... [pkg-builder.dan.net.uk] `-- Extracting p5-Unicode-EastAsianWidth-12.0: ... done [pkg-builder.dan.net.uk] Extracting texinfo-7.1_2,1: .......... done ===> tcc-0.9.26_7 depends on file: /usr/local/bin/makeinfo - found ===> Returning to build of tcc-0.9.26_7 ===> tcc-0.9.26_7 depends on package: perl5>=5.36<5.37 - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for tcc-0.9.26_7 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 /wrkdirs/usr/ports/lang/tcc/work/tinycc-release_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 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for tcc-0.9.26_7 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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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:39: ./tccgen.c:702:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] vtop->type.t &= ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT)); ~~ ^ ./tccgen.c:2371:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] vtop->type.t = ft & (VT_TYPE & ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT))); ~~ ^ ./tccgen.c:2421:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] vtop[-1].type.t = ft & ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT)); ~~ ^ 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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(strsec->data + s->sh_name, ".rel.got")) { // rel_size == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(strsec->data + s->sh_name, ".rel.bss")) { // rel_size == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = strtab + sym->st_name; ^ ~~~~~~~~~~~~~~~~~~~~~ ./tccelf.c:2569:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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); ^ 29 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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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:39: ./tccgen.c:702:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] vtop->type.t &= ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT)); ~~ ^ ./tccgen.c:2371:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] vtop->type.t = ft & (VT_TYPE & ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT))); ~~ ^ ./tccgen.c:2421:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] vtop[-1].type.t = ft & ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT)); ~~ ^ In file included from libtcc.c:40: ./tccelf.c:60:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(strsec->data + s->sh_name, ".rel.got")) { // rel_size == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(strsec->data + s->sh_name, ".rel.bss")) { // rel_size == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = strtab + sym->st_name; ^ ~~~~~~~~~~~~~~~~~~~~~ ./tccelf.c:2569:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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); ^ 29 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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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, unsigned long size); ^ 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, unsigned long value); ^ 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 tccgen.c:702:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] vtop->type.t &= ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT)); ~~ ^ tccgen.c:2371:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] vtop->type.t = ft & (VT_TYPE & ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT))); ~~ ^ tccgen.c:2421:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] vtop[-1].type.t = ft & ~(VT_BITFIELD | (-1 << VT_STRUCT_SHIFT)); ~~ ^ 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, unsigned long size); ^ 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, unsigned long value, Section *sec, int sym_index); ^ 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, unsigned long size, int can_add_underscore); ^ tccgen.c:5811:29: note: used here put_extern_sym2(sym, &tsec, esym->st_value, esym->st_size, 0); ^ 52 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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(strsec->data + s->sh_name, ".rel.got")) { // rel_size == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(strsec->data + s->sh_name, ".rel.bss")) { // rel_size == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = strtab + sym->st_name; ^ ~~~~~~~~~~~~~~~~~~~~~ tccelf.c:2569:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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, int sh_flags); ^ 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, int flags); ^ 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 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, unsigned long size, int can_add_underscore); ^ 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, int info, int other, int shndx, const char *name); ^ 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_operands, int nb_outputs, const uint8_t *clobber_regs, int *pout_reg); ^ 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_outputs, int is_output, uint8_t *clobber_regs, int out_reg); ^ 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(); ^ 34 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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 offset, int type, int symbol); ^ ./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, const char *name, const char **pp); ^ 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-strong gmake -C lib native gmake[1]: Entering directory '/wrkdirs/usr/ports/lang/tcc/work/tinycc-release_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[1]: Leaving directory '/wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/lib' ./texi2pod.pl tcc-doc.texi tcc.pod pod2man --section=1 --center=" " --release=" " tcc.pod > tcc.1 makeinfo --no-split --html --number-sections -o tcc-doc.html tcc-doc.texi makeinfo tcc-doc.texi =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> tcc-0.9.26_7 depends on executable: indexinfo - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for tcc-0.9.26_7 ===> Generating temporary packing list gmake -C lib native gmake[1]: Entering directory '/wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/lib' gmake[1]: Nothing to be done for 'native'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/lib' mkdir -p "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/bin" install -m755 tcc "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/bin" mkdir -p "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/share/man/man1" install tcc.1 "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/share/man/man1" mkdir -p "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/share/info" install tcc-doc.info "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/share/info" mkdir -p "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/lib/tcc" mkdir -p "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/lib/tcc/include" install -m644 libtcc1.a "/wrkdirs/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 "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/lib/tcc/include" mkdir -p "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/lib" install -m755 libtcc.a "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/lib" mkdir -p "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/include" install -m644 ./libtcc.h "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/include" mkdir -p "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/share/doc/tcc" install -m644 tcc-doc.html "/wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/share/doc/tcc" /usr/bin/strip /wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/bin/tcc install -m 0644 /wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/tcc-doc.info /wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/share/info install -m 0644 /wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/lib/x86_64/*.o /wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/lib/tcc install -m 0644 /wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/lib/x86_64/*.o /wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/lib/tcc install -m 0644 /wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/lib/x86_64/*.o /wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/lib/tcc install -m 0644 /wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/Changelog /wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/README /wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/TODO /wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/VERSION /wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/share/doc/tcc install -m 0644 /wrkdirs/usr/ports/lang/tcc/work/tinycc-release_0_9_26/examples/* /wrkdirs/usr/ports/lang/tcc/work/stage/usr/local/share/examples/tcc ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-04T23:32:18+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=e10e2022a9' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for tcc-0.9.26_7 ===> Building tcc-0.9.26_7 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for tcc-0.9.26_7 build of lang/tcc | tcc-0.9.26_7 ended at Fri Apr 5 00:32:35 BST 2024 build time: 00:00:18