We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce the behavior:
$ nix build -L .#tinycc tcc> Running phase: unpackPhase tcc> unpacking source archive /nix/store/fjx04wlq88xvv2yvixw2h1nwjin5hyfc-source tcc> source root is source tcc> Running phase: patchPhase tcc> patching script interpreter paths in texi2pod.pl tcc> texi2pod.pl: interpreter directive changed from "#! /usr/bin/perl -w" to "/nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/bin/perl -w" tcc> Running phase: updateAutotoolsGnuConfigScriptsPhase tcc> Running phase: configurePhase tcc> patching script interpreter paths in ./configure tcc> ./configure: interpreter directive changed from "#!/bin/sh" to "/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/sh" tcc> configure flags: --disable-static --prefix=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15 --bindir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/bin --sbindir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/sbin --includedir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/include --oldincludedir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/include --mandir=/nix/store/ymhqfiyqhimnrmzwyqjb1fvq79gz71rx-tcc-0.9.27-unstable-2022-07-15-man/share/man --infodir=/nix/store/gxc1kgz644aanrlv2dhha7ma4r8hw2wz-tcc-0.9.27-unstable-2022-07-15-info/share/info --docdir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/share/doc/tcc --libdir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/lib --libexecdir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/libexec --localedir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/share/locale --cc=\$CC --ar=\$AR --crtprefix=/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib --sysincludepaths=/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:\{B\}/include --libpaths=/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib --enable-cross --elfinterp=/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2 tcc> configure: WARNING: unrecognized option --sbindir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/sbin tcc> configure: WARNING: unrecognized option --oldincludedir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/include tcc> configure: WARNING: unrecognized option --libexecdir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/libexec tcc> configure: WARNING: unrecognized option --localedir=/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/share/locale tcc> Binary directory /nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/bin tcc> TinyCC directory /nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/lib/tcc tcc> Library directory /nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/lib tcc> Include directory /nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/include tcc> Manual directory /nix/store/ymhqfiyqhimnrmzwyqjb1fvq79gz71rx-tcc-0.9.27-unstable-2022-07-15-man/share/man tcc> Info directory /nix/store/gxc1kgz644aanrlv2dhha7ma4r8hw2wz-tcc-0.9.27-unstable-2022-07-15-info/share/info tcc> Doc directory /nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/share/doc/tcc tcc> Source path /build/source tcc> C compiler gcc (14.2) tcc> Target OS Linux tcc> CPU x86_64 tcc> Config static=no cross tcc> Creating config.mak and config.h tcc> Running phase: buildPhase tcc> build flags: SHELL=/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash tcc> gcc -o tcc.o -c tcc.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o libtcc.o -c libtcc.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. -fPIC tcc> gcc -DC2STR conftest.c -o c2str.exe && ./c2str.exe include/tccdefs.h tccdefs_.h tcc> gcc -o tccpp.o -c tccpp.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. -fPIC tcc> gcc -o tccgen.o -c tccgen.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. -fPIC tcc> gcc -o tccdbg.o -c tccdbg.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. -fPIC tcc> gcc -o tccelf.o -c tccelf.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. -fPIC tcc> gcc -o tccasm.o -c tccasm.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. -fPIC tcc> gcc -o tccrun.o -c tccrun.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. -fPIC tcc> gcc -o x86_64-gen.o -c x86_64-gen.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. -fPIC tcc> gcc -o x86_64-link.o -c x86_64-link.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. -fPIC tcc> gcc -o i386-asm.o -c i386-asm.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. -fPIC tcc> gcc -shared -Wl,-soname,libtcc.so -o libtcc.so libtcc.o tccpp.o tccgen.o tccdbg.o tccelf.o tccasm.o tccrun.o x86_64-gen.o x86_64-link.o i386-asm.o -s -fPIC tcc> gcc -o tcc tcc.o libtcc.so -lm -lpthread -ldl -s -Wl,-rpath,"/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/lib" tcc> make[1]: Entering directory '/build/source/lib' tcc> ../tcc -c libtcc1.c -o libtcc1.o -B.. -I.. tcc> ../tcc -c alloca.S -o alloca.o -B.. -I.. tcc> ../tcc -c alloca-bt.S -o alloca-bt.o -B.. -I.. tcc> ../tcc -c tcov.c -o tcov.o -B.. -I.. tcc> ../tcc -c stdatomic.c -o stdatomic.o -B.. -I.. tcc> ../tcc -c va_list.c -o va_list.o -B.. -I.. tcc> ../tcc -c dsohandle.c -o dsohandle.o -B.. -I.. tcc> ../tcc -ar rcs ../libtcc1.a libtcc1.o alloca.o alloca-bt.o tcov.o stdatomic.o va_list.o dsohandle.o tcc> ../tcc -c bt-exe.c -o ../bt-exe.o -B.. -I.. tcc> ../tcc -c bt-log.c -o ../bt-log.o -B.. -I.. tcc> ../tcc -c bcheck.c -o ../bcheck.o -B.. -I.. -g tcc> make[1]: Leaving directory '/build/source/lib' tcc> perl ./texi2pod.pl tcc-doc.texi tcc-doc.pod tcc> pod2man --section=1 --center="Tiny C Compiler" --release="0.9.27-unstable-2022-07-15" tcc-doc.pod >tcc.1 && rm -f tcc-doc.pod tcc> makeinfo --no-split --html --number-sections -o tcc-doc.html tcc-doc.texi tcc> makeinfo tcc-doc.texi || true tcc> gcc -o i386-tcc.o -c tcc.c -DTCC_TARGET_I386 -DTCC_LIBTCC1="\"i386-libtcc1.a\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o i386-tcc i386-tcc.o -lm -lpthread -ldl -s tcc> make[1]: Entering directory '/build/source/lib' tcc> ../i386-tcc -c libtcc1.c -o i386-libtcc1.o -B.. -I.. tcc> ../i386-tcc -c alloca.S -o i386-alloca.o -B.. -I.. tcc> ../i386-tcc -c alloca-bt.S -o i386-alloca-bt.o -B.. -I.. tcc> ../i386-tcc -c stdatomic.c -o i386-stdatomic.o -B.. -I.. tcc> ../i386-tcc -c dsohandle.c -o i386-dsohandle.o -B.. -I.. tcc> ../i386-tcc -ar rcs ../i386-libtcc1.a i386-libtcc1.o i386-alloca.o i386-alloca-bt.o i386-stdatomic.o i386-dsohandle.o tcc> make[1]: Leaving directory '/build/source/lib' tcc> gcc -o x86_64-tcc.o -c tcc.c -DCONFIG_TCC_SYSINCLUDEPATHS="\"/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib\"" -DCONFIG_TCC_ELFINTERP="\"/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -DTCC_LIBTCC1="\"x86_64-libtcc1.a\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o x86_64-tcc x86_64-tcc.o -lm -lpthread -ldl -s tcc> make[1]: Entering directory '/build/source/lib' tcc> ../x86_64-tcc -c libtcc1.c -o x86_64-libtcc1.o -B.. -I.. tcc> ../x86_64-tcc -c alloca.S -o x86_64-alloca.o -B.. -I.. tcc> ../x86_64-tcc -c alloca-bt.S -o x86_64-alloca-bt.o -B.. -I.. tcc> ../x86_64-tcc -c stdatomic.c -o x86_64-stdatomic.o -B.. -I.. tcc> ../x86_64-tcc -c va_list.c -o x86_64-va_list.o -B.. -I.. tcc> ../x86_64-tcc -c dsohandle.c -o x86_64-dsohandle.o -B.. -I.. tcc> ../x86_64-tcc -ar rcs ../x86_64-libtcc1.a x86_64-libtcc1.o x86_64-alloca.o x86_64-alloca-bt.o x86_64-stdatomic.o x86_64-va_list.o x86_64-dsohandle.o tcc> make[1]: Leaving directory '/build/source/lib' tcc> gcc -o i386-win32-tcc.o -c tcc.c -DTCC_TARGET_I386 -DTCC_TARGET_PE -DTCC_LIBTCC1="\"i386-win32-libtcc1.a\"" -DCONFIG_TCCDIR="\"/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/lib/tcc/win32\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o i386-win32-tcc i386-win32-tcc.o -lm -lpthread -ldl -s tcc> make[1]: Entering directory '/build/source/lib' tcc> ../i386-win32-tcc -c libtcc1.c -o i386-win32-libtcc1.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -c alloca.S -o i386-win32-alloca.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -c alloca-bt.S -o i386-win32-alloca-bt.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -c stdatomic.c -o i386-win32-stdatomic.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -c ../win32/lib/chkstk.S -o i386-win32-chkstk.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -c ../win32/lib/crt1.c -o i386-win32-crt1.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -c ../win32/lib/crt1w.c -o i386-win32-crt1w.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -c ../win32/lib/wincrt1.c -o i386-win32-wincrt1.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -c ../win32/lib/wincrt1w.c -o i386-win32-wincrt1w.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -c ../win32/lib/dllcrt1.c -o i386-win32-dllcrt1.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -c ../win32/lib/dllmain.c -o i386-win32-dllmain.o -B../win32 -I../include -I.. tcc> ../i386-win32-tcc -ar rcs ../i386-win32-libtcc1.a i386-win32-libtcc1.o i386-win32-alloca.o i386-win32-alloca-bt.o i386-win32-stdatomic.o i386-win32-chkstk.o i386-win32-crt1.o i386-win32-crt1w.o i386-win32-wincrt1.o i386-win32-wincrt1w.o i386-win32-dllcrt1.o i386-win32-dllmain.o tcc> make[1]: Leaving directory '/build/source/lib' tcc> gcc -o x86_64-win32-tcc.o -c tcc.c -DTCC_TARGET_X86_64 -DTCC_TARGET_PE -DTCC_LIBTCC1="\"x86_64-win32-libtcc1.a\"" -DCONFIG_TCCDIR="\"/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/lib/tcc/win32\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o x86_64-win32-tcc x86_64-win32-tcc.o -lm -lpthread -ldl -s tcc> make[1]: Entering directory '/build/source/lib' tcc> ../x86_64-win32-tcc -c libtcc1.c -o x86_64-win32-libtcc1.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -c alloca.S -o x86_64-win32-alloca.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -c alloca-bt.S -o x86_64-win32-alloca-bt.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -c stdatomic.c -o x86_64-win32-stdatomic.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -c ../win32/lib/chkstk.S -o x86_64-win32-chkstk.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -c ../win32/lib/crt1.c -o x86_64-win32-crt1.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -c ../win32/lib/crt1w.c -o x86_64-win32-crt1w.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -c ../win32/lib/wincrt1.c -o x86_64-win32-wincrt1.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -c ../win32/lib/wincrt1w.c -o x86_64-win32-wincrt1w.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -c ../win32/lib/dllcrt1.c -o x86_64-win32-dllcrt1.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -c ../win32/lib/dllmain.c -o x86_64-win32-dllmain.o -B../win32 -I../include -I.. tcc> ../x86_64-win32-tcc -ar rcs ../x86_64-win32-libtcc1.a x86_64-win32-libtcc1.o x86_64-win32-alloca.o x86_64-win32-alloca-bt.o x86_64-win32-stdatomic.o x86_64-win32-chkstk.o x86_64-win32-crt1.o x86_64-win32-crt1w.o x86_64-win32-wincrt1.o x86_64-win32-wincrt1w.o x86_64-win32-dllcrt1.o x86_64-win32-dllmain.o tcc> make[1]: Leaving directory '/build/source/lib' tcc> gcc -o x86_64-osx-tcc.o -c tcc.c -DTCC_TARGET_X86_64 -DTCC_TARGET_MACHO -DTCC_LIBTCC1="\"x86_64-osx-libtcc1.a\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o x86_64-osx-tcc x86_64-osx-tcc.o -lm -lpthread -ldl -s tcc> make[1]: Entering directory '/build/source/lib' tcc> ../x86_64-osx-tcc -c libtcc1.c -o x86_64-osx-libtcc1.o -B.. -I.. tcc> ../x86_64-osx-tcc -c alloca.S -o x86_64-osx-alloca.o -B.. -I.. tcc> ../x86_64-osx-tcc -c alloca-bt.S -o x86_64-osx-alloca-bt.o -B.. -I.. tcc> ../x86_64-osx-tcc -c stdatomic.c -o x86_64-osx-stdatomic.o -B.. -I.. tcc> ../x86_64-osx-tcc -c va_list.c -o x86_64-osx-va_list.o -B.. -I.. tcc> ../x86_64-osx-tcc -ar rcs ../x86_64-osx-libtcc1.a x86_64-osx-libtcc1.o x86_64-osx-alloca.o x86_64-osx-alloca-bt.o x86_64-osx-stdatomic.o x86_64-osx-va_list.o tcc> make[1]: Leaving directory '/build/source/lib' tcc> gcc -o arm-tcc.o -c tcc.c -DTCC_TARGET_ARM -DTCC_ARM_VFP -DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DTCC_LIBTCC1="\"arm-libtcc1.a\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o arm-tcc arm-tcc.o -lm -lpthread -ldl -s tcc> make[1]: Entering directory '/build/source/lib' tcc> ../arm-tcc -c libtcc1.c -o arm-libtcc1.o -B.. -I.. tcc> ../arm-tcc -c armeabi.c -o arm-armeabi.o -B.. -I.. tcc> ../arm-tcc -c alloca.S -o arm-alloca.o -B.. -I.. tcc> ../arm-tcc -c armflush.c -o arm-armflush.o -B.. -I.. tcc> ../arm-tcc -c fetch_and_add.S -o arm-fetch_and_add.o -B.. -I.. tcc> ../arm-tcc -c dsohandle.c -o arm-dsohandle.o -B.. -I.. tcc> ../arm-tcc -ar rcs ../arm-libtcc1.a arm-libtcc1.o arm-armeabi.o arm-alloca.o arm-armflush.o arm-fetch_and_add.o arm-dsohandle.o tcc> make[1]: Leaving directory '/build/source/lib' tcc> gcc -o arm64-tcc.o -c tcc.c -DTCC_TARGET_ARM64 -DTCC_LIBTCC1="\"arm64-libtcc1.a\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o arm64-tcc arm64-tcc.o -lm -lpthread -ldl -s tcc> make[1]: Entering directory '/build/source/lib' tcc> ../arm64-tcc -c lib-arm64.c -o arm64-lib-arm64.o -B.. -I.. tcc> ../arm64-tcc -c fetch_and_add.S -o arm64-fetch_and_add.o -B.. -I.. tcc> ../arm64-tcc -c dsohandle.c -o arm64-dsohandle.o -B.. -I.. tcc> ../arm64-tcc -ar rcs ../arm64-libtcc1.a arm64-lib-arm64.o arm64-fetch_and_add.o arm64-dsohandle.o tcc> make[1]: Leaving directory '/build/source/lib' tcc> gcc -o arm-wince-tcc.o -c tcc.c -DTCC_TARGET_ARM -DTCC_ARM_VFP -DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DTCC_TARGET_PE -DTCC_LIBTCC1="\"arm-wince-libtcc1.a\"" -DCONFIG_TCCDIR="\"/nix/store/xq963qp9awsp8f5aykds6gj2vxcjlz13-tcc-0.9.27-unstable-2022-07-15/lib/tcc/win32\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o arm-wince-tcc arm-wince-tcc.o -lm -lpthread -ldl -s tcc> make[1]: Entering directory '/build/source/lib' tcc> ../arm-wince-tcc -c libtcc1.c -o arm-wince-libtcc1.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -c armeabi.c -o arm-wince-armeabi.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -c alloca.S -o arm-wince-alloca.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -c armflush.c -o arm-wince-armflush.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -c fetch_and_add.S -o arm-wince-fetch_and_add.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -c ../win32/lib/crt1.c -o arm-wince-crt1.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -c ../win32/lib/crt1w.c -o arm-wince-crt1w.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -c ../win32/lib/wincrt1.c -o arm-wince-wincrt1.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -c ../win32/lib/wincrt1w.c -o arm-wince-wincrt1w.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -c ../win32/lib/dllcrt1.c -o arm-wince-dllcrt1.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -c ../win32/lib/dllmain.c -o arm-wince-dllmain.o -B../win32 -I../include -I.. tcc> ../arm-wince-tcc -ar rcs ../arm-wince-libtcc1.a arm-wince-libtcc1.o arm-wince-armeabi.o arm-wince-alloca.o arm-wince-armflush.o arm-wince-fetch_and_add.o arm-wince-crt1.o arm-wince-crt1w.o arm-wince-wincrt1.o arm-wince-wincrt1w.o arm-wince-dllcrt1.o arm-wince-dllmain.o tcc> make[1]: Leaving directory '/build/source/lib' tcc> gcc -o riscv64-tcc.o -c tcc.c -DTCC_TARGET_RISCV64 -DTCC_LIBTCC1="\"riscv64-libtcc1.a\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o riscv64-tcc riscv64-tcc.o -lm -lpthread -ldl -s tcc> make[1]: Entering directory '/build/source/lib' tcc> ../riscv64-tcc -c lib-arm64.c -o riscv64-lib-arm64.o -B.. -I.. tcc> ../riscv64-tcc -c fetch_and_add.S -o riscv64-fetch_and_add.o -B.. -I.. tcc> ../riscv64-tcc -c dsohandle.c -o riscv64-dsohandle.o -B.. -I.. tcc> ../riscv64-tcc -ar rcs ../riscv64-libtcc1.a riscv64-lib-arm64.o riscv64-fetch_and_add.o riscv64-dsohandle.o tcc> make[1]: Leaving directory '/build/source/lib' tcc> gcc -o arm64-osx-tcc.o -c tcc.c -DTCC_TARGET_ARM64 -DTCC_TARGET_MACHO -DTCC_LIBTCC1="\"arm64-osx-libtcc1.a\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o arm64-osx-tcc arm64-osx-tcc.o -lm -lpthread -ldl -s tcc> make[1]: Entering directory '/build/source/lib' tcc> ../arm64-osx-tcc -c lib-arm64.c -o arm64-osx-lib-arm64.o -B.. -I.. tcc> ../arm64-osx-tcc -c fetch_and_add.S -o arm64-osx-fetch_and_add.o -B.. -I.. tcc> ../arm64-osx-tcc -c va_list.c -o arm64-osx-va_list.o -B.. -I.. tcc> ../arm64-osx-tcc -ar rcs ../arm64-osx-libtcc1.a arm64-osx-lib-arm64.o arm64-osx-fetch_and_add.o arm64-osx-va_list.o tcc> make[1]: Leaving directory '/build/source/lib' tcc> gcc -o c67-tcc.o -c tcc.c -DTCC_TARGET_C67 -w -DTCC_LIBTCC1="\"c67-libtcc1.a\"" -Wall -O2 -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-format-truncation -Wno-stringop-truncation -I. tcc> gcc -o c67-tcc c67-tcc.o -lm -lpthread -ldl -s tcc> buildPhase completed in 1 minutes 5 seconds tcc> Running phase: checkPhase tcc> check flags: SHELL=/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash VERBOSE=y test tcc> make[1]: Entering directory '/build/source/tests' tcc> ------------ hello-exe ------------ tcc> Hello World tcc> ------------ hello-run ------------ tcc> Hello World tcc> ------------ libtest ------------ tcc> Hello World! tcc> fib(32) = 2178309 tcc> add(32, 64) = 96 tcc> ------------ libtest_mt ------------ tcc> running fib with mixed calls tcc> 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946 tcc> (9 ms) tcc> running fib in threads tcc> 1 2 3 5 13 21 8 34 377 89 144 55 987 233 610 1597 2584 4181 6765 10946 tcc> (9 ms) tcc> running tcc.c in threads to run fib tcc> 1 5 2 3 8 13 21 34 55 89 144 233 377 610 987 2584 1597 4181 6765 10946 tcc> (776 ms) tcc> compiling tcc.c 10 times tcc> 1 2 3 4 5 6 7 8 9 10 tcc> (306 ms) tcc> tcctest.c: In function 'op': tcc> tcctest.c:339:5: error: type of 'a' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> 339 | int op(a,b) tcc> | ^~ tcc> tcctest.c:339:5: error: type of 'b' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> tcctest.c: In function 'ret': tcc> tcctest.c:344:5: error: type of 'a' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> 344 | int ret(a) tcc> | ^~~ tcc> tcctest.c: In function 'f1': tcc> tcctest.c:702:6: error: type of 'g' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> 702 | void f1(g) tcc> | ^~ tcc> tcctest.c: At top level: tcc> tcctest.c:1479:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> 1479 | kr_func1(a, b) tcc> | ^~~~~~~~ tcc> tcctest.c: In function 'kr_func1': tcc> tcctest.c:1479:1: error: type of 'a' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> tcctest.c:1479:1: error: type of 'b' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> tcctest.c: In function 'kr_func2': tcc> tcctest.c:1484:5: error: type of 'a' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> 1484 | int kr_func2(a, b) tcc> | ^~~~~~~~ tcc> tcctest.c:1484:5: error: type of 'b' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> tcctest.c: At top level: tcc> tcctest.c:1489:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> 1489 | kr_test() tcc> | ^~~~~~~ tcc> tcctest.c: In function 'c99_bool_test': tcc> tcctest.c:2024:12: error: type defaults to 'int' in type name [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] tcc> 2024 | sizeof((volatile)a ? b : b2)); tcc> | ^~~~~~ tcc> make[2]: *** [Makefile:109: test.ref] Error 1 tcc> make[1]: *** [Makefile:83: all] Error 2 tcc> make[1]: Leaving directory '/build/source/tests' tcc> make: *** [Makefile:429: test] Error 2 error: builder for '/nix/store/p3g94ylpq5ipx6s8zjwccm9w0vyqnz98-tcc-0.9.27-unstable-2022-07-15.drv' failed with exit code 2; last 25 log lines: > | ^~ > tcctest.c: At top level: > tcctest.c:1479:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] > 1479 | kr_func1(a, b) > | ^~~~~~~~ > tcctest.c: In function 'kr_func1': > tcctest.c:1479:1: error: type of 'a' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] > tcctest.c:1479:1: error: type of 'b' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] > tcctest.c: In function 'kr_func2': > tcctest.c:1484:5: error: type of 'a' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] > 1484 | int kr_func2(a, b) > | ^~~~~~~~ > tcctest.c:1484:5: error: type of 'b' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] > tcctest.c: At top level: > tcctest.c:1489:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] > 1489 | kr_test() > | ^~~~~~~ > tcctest.c: In function 'c99_bool_test': > tcctest.c:2024:12: error: type defaults to 'int' in type name [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] > 2024 | sizeof((volatile)a ? b : b2)); > | ^~~~~~ > make[2]: *** [Makefile:109: test.ref] Error 1 > make[1]: *** [Makefile:83: all] Error 2 > make[1]: Leaving directory '/build/source/tests' > make: *** [Makefile:429: test] Error 2 For full logs, run 'nix log /nix/store/p3g94ylpq5ipx6s8zjwccm9w0vyqnz98-tcc-0.9.27-unstable-2022-07-15.drv'.
Tested on commit a9ffce6 (master)
"x86_64-linux"
Linux 6.6.66, NixOS, 24.11 (Vicuna), 24.11.20241220.1c6e20d
yes
nix-env (Nix) 2.24.10
/nix/store/b8l3ndracmly9kyylawrnk32lsrjfy3j-source
@joachifm @AndersonTorres
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered:
hm, some functions probs just need some int declarations: https://gcc.gnu.org/gcc-14/porting_to.html#c
Sorry, something went wrong.
but they turn off the error though...
nixpkgs/pkgs/development/compilers/tinycc/default.nix
Lines 93 to 98 in 88195a9
is there any way to change what compiler is used for the tests?
No branches or pull requests
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Build Log
Additional context
Tested on commit a9ffce6 (master)
Metadata
"x86_64-linux"
Linux 6.6.66, NixOS, 24.11 (Vicuna), 24.11.20241220.1c6e20d
yes
yes
nix-env (Nix) 2.24.10
/nix/store/b8l3ndracmly9kyylawrnk32lsrjfy3j-source
Notify maintainers
@joachifm
@AndersonTorres
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: