unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Mike Gran <spk121@yahoo.com>
Cc: 39118@debbugs.gnu.org, "Ludovic Courtès" <ludo@gnu.org>,
	guile-devel@gnu.org
Subject: bug#39118: Segfault while building on 64-bit Cygwin
Date: Thu, 06 Feb 2020 11:53:10 +0100	[thread overview]
Message-ID: <87wo90kmw9.fsf__12301.8755040661$1580986454$gmane$org@pobox.com> (raw)
In-Reply-To: <20200120172253.GA1112065@spikycactus.com> (Mike Gran's message of "Mon, 20 Jan 2020 09:22:53 -0800")

On Mon 20 Jan 2020 18:22, Mike Gran <spk121@yahoo.com> writes:

> On Mon, Jan 20, 2020 at 11:38:35AM -0500, John Cowan wrote:
>> Yes, gladly, but I don't know how to get one in this context.  Do I need to
>> add some flags to the Makefile, and if so, where?  (It's a twisty maze of
>> passages, all different.) . Note that this *is* a build with JIT enabled;
>> when I disable it using the env variable, there are no errors and 3.0.0
>> works fine.
>> 
>> Also, it may take some time, as I have to rebuild my Windows system.
>
> I also tried building Guile 3.0.0 on Cygwin 3.1.x.  The failure comes from
> trying to parse compiled .go files.
>
> The last time that I had this sort of problem, it was because the
> O_BINARY flag was dropped or missing when writing .go files, leading
> to CR+LF characters in the compiled files.  And I diagnosed it by
> byte-comparing Linux-compiled .go files with Cygwin-compiled .go
> files, and by looking for CR+LF combinations in the compiled .go
> files.
>
> I don't know if that is what is happening here, but, I'll check that
> next time I have a chance.

Given that John said that compilation went fine with
GUILE_JIT_THRESHOLD=-1, I think perhaps this problem may have been fixed
in the past.  My suspicions are that this issue is an ABI issue with
lightening that could perhaps be reproduced by:

  git co https://gitlab.com/wingo/lightening
  cd lightening
  make -C tests test-native

Of course any additional confirmation is useful and welcome!

Cheers,

Andy





  reply	other threads:[~2020-02-06 10:53 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87zherlphs.fsf@pobox.com>
2020-01-13 17:26 ` GNU Guile 2.9.9 Released [beta] John Cowan
2020-01-13 23:09   ` bug#39118: " John Cowan
2020-01-20 16:35   ` bug#39118: Segfault while building on 64-bit Cygwin Ludovic Courtès
2020-01-20 16:38     ` John Cowan
     [not found]     ` <CAD2gp_ReS1DCZmsakcNK-FegZB_fhzOknDf_d0QdyDJVJS6X_A@mail.gmail.com>
2020-01-20 17:22       ` Mike Gran via Bug reports for GUILE, GNU's Ubiquitous Extension Language
2020-02-06 10:53         ` Andy Wingo [this message]
     [not found]         ` <87wo90kmw9.fsf@pobox.com>
2020-02-07  4:56           ` Charles Stanhope
     [not found]           ` <CAPydmiP42upuz1S=aP+hZk+tD5EJm00b4Gox1+LzEoJXVmRO=w@mail.gmail.com>
2020-02-14 17:46             ` Charles Stanhope
     [not found]             ` <CAPydmiN7eFD5r-v44hwdFM=1J24okQO8XjHqJ3bXQ2N1OkRVhA@mail.gmail.com>
2020-02-16 23:23               ` Mike Gran via Bug reports for GUILE, GNU's Ubiquitous Extension Language
2020-02-16 23:23               ` Mike Gran via Bug reports for GUILE, GNU's Ubiquitous Extension Language
     [not found]               ` <20200216232334.GA2448000@spikycactus.com>
2020-02-16 23:24                 ` John Cowan
2020-02-17  1:08                 ` Charles Stanhope
     [not found]                 ` <CAPydmiNnZ7qBbUgNJ_aKhfDORSBcHn8PbQABikL=sbP357tD=Q@mail.gmail.com>
2020-02-17 19:27                   ` Charles Stanhope
     [not found]                   ` <CAPydmiP44TawQf4SWLp1j4OsN-3e_VdDDx4i_R1w83hYQVGhyw@mail.gmail.com>
2020-02-17 21:05                     ` Andy Wingo
2020-01-21  9:01       ` Ludovic Courtès
     [not found]       ` <87sgk9faih.fsf@gnu.org>
2020-01-21 18:40         ` szgyg
2020-01-21 21:37         ` John Cowan
     [not found]         ` <20200121184011.GA1659@dtk>
2020-01-21 21:53           ` John Cowan
     [not found]         ` <CAD2gp_Ts8VfLUaQ+kC=g+f_5mv0jzLZpN_-U9dvi6Y4jy0-cLw@mail.gmail.com>
2020-01-23 20:35           ` Ludovic Courtès
     [not found]           ` <871rrpoqql.fsf@gnu.org>
2020-01-24 14:36             ` John Cowan
     [not found]             ` <CAD2gp_RkOYj6E6b9PjHerctAJN6NPYznQ4qi8NSXL0edKEM9dw@mail.gmail.com>
2020-01-25 13:51               ` Ludovic Courtès
     [not found]               ` <87wo9fbq60.fsf@gnu.org>
2020-01-25 15:54                 ` John Cowan
     [not found]                 ` <CAD2gp_Q3Ua+kRW5OV1jXM1D-H7UhKQp-TSd0RQjue7U=1ua62Q@mail.gmail.com>
2020-01-31 14:23                   ` John Cowan
2020-02-03 22:11                     ` szgyg
2020-02-05 21:11                       ` John Cowan
     [not found]                       ` <CAD2gp_Rcv81x4uKKTuokNbAWOkz-j77Hjet-oOzci1UFcgVDWg@mail.gmail.com>
2020-02-05 22:42                         ` szgyg
2020-01-24 15:26   ` dsmich

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://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to='87wo90kmw9.fsf__12301.8755040661$1580986454$gmane$org@pobox.com' \
    --to=wingo@pobox.com \
    --cc=39118@debbugs.gnu.org \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    --cc=spk121@yahoo.com \
    /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.
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).