From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#25401: tcc fails to build (test failure) Date: Tue, 10 Jan 2017 09:17:12 +0000 Message-ID: <87shor6zqf.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <87inppcizn.fsf@elephly.net> <87wpe4r4b2.fsf@gnu.org> <87bmvgarpl.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <87bmvfz5oh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQsZE-0005d9-Bb for bug-guix@gnu.org; Tue, 10 Jan 2017 04:18:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQsZ8-0003kk-IB for bug-guix@gnu.org; Tue, 10 Jan 2017 04:18:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:32994) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQsZ8-0003kc-EH for bug-guix@gnu.org; Tue, 10 Jan 2017 04:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cQsZ8-0001eV-3b for bug-guix@gnu.org; Tue, 10 Jan 2017 04:18:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87bmvfz5oh.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 25401@debbugs.gnu.org Ludovic Courtès writes: > ng0 skribis: > >> Ludovic Courtès writes: >> >>> Ricardo Wurmus 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. > > Neat, and it doesn’t have this problem I guess? I can neither confirm nor deny this, as I wasn't able to make it build so far, but logical some bugs are fixed in this upstream. > Could you give the URL of your repo again? https://pagure.io/guix-dev/c/756043f48e685aac1259b205193b374ee589bd91 git clone https://pagure.io/guix-dev.git and then the branch "tinycc". > Thanks, > Ludo’. > -- ♥Ⓐ ng0 -- https://www.inventati.org/patternsinthechaos/