From unknown Fri Jun 20 07:22:08 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#52140 <52140@debbugs.gnu.org> To: bug#52140 <52140@debbugs.gnu.org> Subject: Status: [core-updates-frozen] tcc fails to build Reply-To: bug#52140 <52140@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:22:08 +0000 retitle 52140 [core-updates-frozen] tcc fails to build reassign 52140 guix submitter 52140 Guillaume Le Vaillant severity 52140 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 27 06:01:34 2021 Received: (at submit) by debbugs.gnu.org; 27 Nov 2021 11:01:34 +0000 Received: from localhost ([127.0.0.1]:33026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqvSY-0005wR-8M for submit@debbugs.gnu.org; Sat, 27 Nov 2021 06:01:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:44914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqvSW-0005wJ-D4 for submit@debbugs.gnu.org; Sat, 27 Nov 2021 06:01:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqvSW-00082T-59 for bug-guix@gnu.org; Sat, 27 Nov 2021 06:01:32 -0500 Received: from mout01.posteo.de ([185.67.36.65]:41371) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqvST-0002J4-7n for bug-guix@gnu.org; Sat, 27 Nov 2021 06:01:31 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 0E3A1240028 for ; Sat, 27 Nov 2021 12:01:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1638010885; bh=T/qs2X/syhG6G9ozUX+RX8BAXeEbfAM0ny2dG7XdNM4=; h=From:To:Subject:Date:From; b=ZXqJNOVIIINPiY1uTxuFhnw3Lzu5ZOpMVr/B5H3bnLZBrjVwc/uhP0X644QDUleEg 7STvqV6qpcpi1q0NSP1pMZdHTBivpcUHWg1BcJNOC7neuf3mOrfvJPVkbW6moXm74S xaodT+EmJQH5fuqJ9+KHnv7pcE645xVKxab8lyKOmXtOk7SsChRAgUw1DS4MDNwH0V a/kNeyat2dVVxEOo613kemstbHYYtiYiijPOUvbo9yBt8r33EmeKjTgW83sUD7ritw r9t8I7kC98pEUabTsXNd3DyApMyAFoTt/MyS/1FcOs4EabOAexanuKbZVP4Uy27B9t epS6pD3o2bKBA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4J1TFJ279yz9rxN for ; Sat, 27 Nov 2021 12:01:24 +0100 (CET) From: Guillaume Le Vaillant To: bug-guix@gnu.org Subject: [core-updates-frozen] tcc fails to build Date: Sat, 27 Nov 2021 10:56:32 +0000 Message-ID: <8735nhamm4.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.65; envelope-from=glv@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The 'check' phase fails with: =2D-8<---------------cut here---------------start------------->8--- =2D----------- test3 ------------ ../tcc -B.. -I../include -I.. -I.. -DCONFIG_TCC_SYSINCLUDEPATHS=3D"\"/gnu/s= tore/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/include:/gnu/store/99a2njz= z22dkzd8pz75fsi5nbgv9ww0x-linux-libre-headers-5.10.35/include:{B}/include\"= " -DCONFIG_TCC_LIBPATHS=3D"\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-gl= ibc-2.33/lib\"" -DCONFIG_TCC_CRTPREFIX=3D"\"/gnu/store/2fk1gz2s7ppdicynscra= 9b19byrrr866-glibc-2.33/lib\"" -DCONFIG_TCC_ELFINTERP=3D"\"/gnu/store/2fk1g= z2s7ppdicynscra9b19byrrr866-glibc-2.33/lib/ld-linux-x86-64.so.2\"" -DTCC_TA= RGET_X86_64 -run ../tcc.c -B.. -I../include -I.. -I.. -DCONFIG_TCC_SYSINCLU= DEPATHS=3D"\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/include= :/gnu/store/99a2njzz22dkzd8pz75fsi5nbgv9ww0x-linux-libre-headers-5.10.35/in= clude:{B}/include\"" -DCONFIG_TCC_LIBPATHS=3D"\"/gnu/store/2fk1gz2s7ppdicyn= scra9b19byrrr866-glibc-2.33/lib\"" -DCONFIG_TCC_CRTPREFIX=3D"\"/gnu/store/2= fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib\"" -DCONFIG_TCC_ELFINTERP=3D= "\"/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.. -D= CONFIG_TCC_SYSINCLUDEPATHS=3D"\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866= -glibc-2.33/include:/gnu/store/99a2njzz22dkzd8pz75fsi5nbgv9ww0x-linux-libre= -headers-5.10.35/include:{B}/include\"" -DCONFIG_TCC_LIBPATHS=3D"\"/gnu/sto= re/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib\"" -DCONFIG_TCC_CRTPREFI= X=3D"\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33/lib\"" -DCONF= IG_TCC_ELFINTERP=3D"\"/gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.3= 3/lib/ld-linux-x86-64.so.2\"" -DTCC_TARGET_X86_64 -run ../tcc.c -B.. -I../i= nclude -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/tes= ts' make: *** [Makefile:347: test] Error 2 =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYaIQAw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8z6wEAlY0eSb1Ws9BC+PNQiFbjm9f5beR8xSEl/3ZT +TkWvtcBAKFkDzimKUuKmq7fOrG2wvg3o9y8xkZmvnIEdbcBcNfH =u38Z -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 16 23:26:56 2021 Received: (at 52140) by debbugs.gnu.org; 17 Dec 2021 04:26:56 +0000 Received: from localhost ([127.0.0.1]:37559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my4pc-0000Z8-8P for submit@debbugs.gnu.org; Thu, 16 Dec 2021 23:26:56 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:44583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my4pa-0000Yl-B0 for 52140@debbugs.gnu.org; Thu, 16 Dec 2021 23:26:55 -0500 Received: (Authenticated sender: contact@robbyzambito.me) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 57819C0007; Fri, 17 Dec 2021 04:26:45 +0000 (UTC) Date: Thu, 16 Dec 2021 23:26:37 -0500 From: Robby Zambito To: 52140@debbugs.gnu.org Subject: RE: [core-updates-frozen] tcc fails to build Message-ID: <20211217042637.jfk433lhwgznmbyv@robby-Ryzen-RX-PC.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52140 Cc: glv@posteo.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: 8735nhamm4.fsf@kitej Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 05 08:35:04 2022 Received: (at 52140-close) by debbugs.gnu.org; 5 Sep 2022 12:35:04 +0000 Received: from localhost ([127.0.0.1]:46738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVBJg-0007cX-AT for submit@debbugs.gnu.org; Mon, 05 Sep 2022 08:35:04 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVBJe-0007bw-EM for 52140-close@debbugs.gnu.org; Mon, 05 Sep 2022 08:35:03 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6C1BF240103 for <52140-close@debbugs.gnu.org>; Mon, 5 Sep 2022 14:34:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1662381296; bh=0Bd9UBHQcHGanVs1QtaGq05CdTV9nh5y+2PXdGVN2XE=; h=From:To:Subject:Date:From; b=r72hPEP3MOlXGm07mN5LGBxZ6SPN9buBr471EbMle39ClEb//oS+htpKSp+P91U36 70iSL/HMrviVv5J/Lr99HNhjVAyEYV6+YOx/bp69rgFUIpvsr3epGYGuceg+TfTGoD qb+2LtKdpgtf96wFpdeMKkre7wTUWV6s9tHOgdvPkFJwhEDQh2U05SVhUc9amH7sE6 t1sZNXn+H3Y1AFOcAAM16qZxouR0kUJKdRpl1OvW8fPWnyj9tGHwqtQ0gUnxiFEsyK FFY+m4O4lM6/UzHzgmHEZ5Qzx/k2Q9Hbzm4VmjrVUUz24eISvqmYvDrzr1L42RodBW l8YJZtjQefX3w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MLnz12KKZz6tn4 for <52140-close@debbugs.gnu.org>; Mon, 5 Sep 2022 14:34:52 +0200 (CEST) References: <8735nhamm4.fsf@kitej> From: Guillaume Le Vaillant To: 52140-close@debbugs.gnu.org Subject: Re: bug#52140: [core-updates-frozen] tcc fails to build Date: Mon, 05 Sep 2022 12:33:16 +0000 In-reply-to: <8735nhamm4.fsf@kitej> Message-ID: <87pmga9ez7.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52140-close X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain tcc currently builds successfully. Closing. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYxXs7A8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j9RkAD8DpyLDqfJfr0UybJZ4GwwPXiuVqtunzRN+K56 gpwozLcA/jHjQxCoVms0eRmTvZBn3vgZWcG3Vuhr+KNAbNJMxVui =OYzn -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:22:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 04 Oct 2022 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator