From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#25401: tcc fails to build (test failure) Date: Mon, 09 Jan 2017 20:44:38 +0000 Message-ID: <87bmvgarpl.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <87inppcizn.fsf@elephly.net> <87wpe4r4b2.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]:50758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQgoU-0002ly-2p for bug-guix@gnu.org; Mon, 09 Jan 2017 15:45:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQgoQ-00037l-2Z for bug-guix@gnu.org; Mon, 09 Jan 2017 15:45:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60952) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQgoP-00037f-V6 for bug-guix@gnu.org; Mon, 09 Jan 2017 15:45:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cQgoP-0005t8-Iz for bug-guix@gnu.org; Mon, 09 Jan 2017 15:45:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87wpe4r4b2.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: > 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. 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/