[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25401: tcc fails to build (test failure)
From: |
ng0 |
Subject: |
bug#25401: tcc fails to build (test failure) |
Date: |
Mon, 09 Jan 2017 20:44:38 +0000 |
Ludovic Courtès <address@hidden> writes:
> Ricardo Wurmus <address@hidden> skribis:
>
>> The package “tcc” fails to build. The check phase fails:
>>
>> starting phase `check'
>> make -C tests test
>> make[1]: Entering directory
>> '/tmp/guix-build-tcc-0.9.26.drv-0/tcc-0.9.26/tests'
>> ------------ hello-exe ------------
>> ../tcc -B.. ../examples/ex1.c -o hello || (../tcc -vv; exit 1) && ./hello
>> ------------ hello-run ------------
>> ../tcc -B.. -run ../examples/ex1.c
>> Hello World
>> gcc -o libtcc_test libtcc_test.c ../libtcc.a -I.. -Wall -g -O2
>> -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
>> -DCONFIG_TCC_SYSINCLUDEPATHS="\"/gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/include:/gnu/store/jc898psn5yc9s328nn8fya3sc2daf037-linux-libre-headers-4.4.18/include:{B}/include\""
>>
>> -DCONFIG_TCC_LIBPATHS="\"/gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/lib\""
>>
>> -DCONFIG_TCC_CRTPREFIX="\"/gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/lib\""
>>
>> -DCONFIG_TCC_ELFINTERP="\"/gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/lib/ld-linux-x86-64.so.2\""
>> -DTCC_TARGET_X86_64 -lm -ldl
>> make[1]: *** [Makefile:63: hello-exe] Segmentation fault
>
> FWIW it started failing after the last ‘core-updates’ merge, which
> updated Binutils and glibc, among other things.
>
> We should check whether tinycc Git master has this problem.
>
> Ludo’.
I have tcc-next (git checkout) in a branch since forever, I'm
testing this now again.
I think I never made it to build completely, but this is
something which can be fixed, I try to see how much can be fixed
from my side.
--
♥Ⓐ ng0 -- https://www.inventati.org/patternsinthechaos/