bug#52140: [core-updates-frozen] tcc fails to build
tcc currently builds successfully. Closing. signature.asc Description: PGP signature
bug#52140: [core-updates-frozen] tcc fails to build
Hi, I've noticed tcc seems to be failing for me on the current master branch of guix (commit b2ae164b211f4da6a3cc5dcb97eeeff3c6c7ebed according to guix describe). I tried to see if I could debug the issue, but I've reached the limit of my knowledge. The issue occurs on line 168 of tcc_run.c. That function call that is executed seems to overwrite the memory of s1, which is a struct that includes a FILE*. Because that FILE* is changed, the later call to fclose(ppfp) on line 369 of tcc.c causes a segfault, because it no longer points to a valid FILE. I have no idea how to start debugging the function call at line 168 of tcc_run.c, since that is code that has actually been compiled by tcc, rather than tcc itself (though obviously code that is a part of the test suite). I hope we can get this working again. Thanks, Robby
bug#52140: [core-updates-frozen] tcc fails to build
The 'check' phase fails with: --8<---cut here---start->8--- test3 ../tcc -B.. -I../include -I.. -I.. -DCONFIG_TCC_SYSINCLUDEPATHS="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/include:/gnu/store/99a2njzz22dkzd8pz75fsi5nbgv9ww0x-linux-libre-headers-5.10.35/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib\"" -DCONFIG_TCC_ELFINTERP="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -run ../tcc.c -B.. -I../include -I.. -I.. -DCONFIG_TCC_SYSINCLUDEPATHS="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/include:/gnu/store/99a2njzz22dkzd8pz75fsi5nbgv9ww0x-linux-libre-headers-5.10.35/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib\"" -DCONFIG_TCC_ELFINTERP="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -run ../tcc.c -B.. -I../include -I.. -I.. -DCONFIG_TCC_SYSINCLUDEPATHS="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/include:/gnu/store/99a2njzz22dkzd8pz75fsi5nbgv9ww0x-linux-libre-headers-5.10.35/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib\"" -DCONFIG_TCC_CRTPREFIX="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib\"" -DCONFIG_TCC_ELFINTERP="\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -run ../tcc.c -B.. -I../include -I.. -I.. -run tcctest.c > test.out3 make[1]: *** [Makefile:103: test3] Error 139 make[1]: Leaving directory '/tmp/guix-build-tcc-0.9.27.drv-0/tcc-0.9.27/tests' make: *** [Makefile:347: test] Error 2 --8<---cut here---end--->8--- signature.asc Description: PGP signature