unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Robby Zambito <contact@robbyzambito.me>
To: 52140@debbugs.gnu.org
Subject: bug#52140: [core-updates-frozen] tcc fails to build
Date: Thu, 16 Dec 2021 23:26:37 -0500	[thread overview]
Message-ID: <20211217042637.jfk433lhwgznmbyv@robby-Ryzen-RX-PC.localdomain> (raw)
In-Reply-To: <8735nhamm4.fsf@kitej>

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




  reply	other threads:[~2021-12-17  4:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-27 10:56 bug#52140: [core-updates-frozen] tcc fails to build Guillaume Le Vaillant
2021-12-17  4:26 ` Robby Zambito [this message]
2022-09-05 12:33 ` Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211217042637.jfk433lhwgznmbyv@robby-Ryzen-RX-PC.localdomain \
    --to=contact@robbyzambito.me \
    --cc=52140@debbugs.gnu.org \
    --cc=8735nhamm4.fsf@kitej \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).