From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Charles Stanhope Newsgroups: gmane.lisp.guile.devel Subject: Re: Segfault while building on 64-bit Cygwin Date: Thu, 6 Feb 2020 20:56:44 -0800 Message-ID: References: <87zherlphs.fsf@pobox.com> <875zh6gk72.fsf_-_@gnu.org> <20200120172253.GA1112065@spikycactus.com> <87wo90kmw9.fsf@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="115393"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39118@debbugs.gnu.org, =?UTF-8?Q?Ludovic_Court=C3=A8s?= , John Cowan , guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Fri Feb 07 05:57:05 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1izvhP-000Trs-3G for guile-devel@m.gmane-mx.org; Fri, 07 Feb 2020 05:57:03 +0100 Original-Received: from localhost ([::1]:50098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izvhN-0000hu-PH for guile-devel@m.gmane-mx.org; Thu, 06 Feb 2020 23:57:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48654) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izvhC-0000hO-SE for guile-devel@gnu.org; Thu, 06 Feb 2020 23:56:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izvhB-0000uZ-QQ for guile-devel@gnu.org; Thu, 06 Feb 2020 23:56:50 -0500 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:51197) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1izvhB-0000c7-Kw for guile-devel@gnu.org; Thu, 06 Feb 2020 23:56:49 -0500 X-Originating-IP: 209.85.208.169 Original-Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (Authenticated sender: charles@stanho.pe) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 7785720004 for ; Fri, 7 Feb 2020 04:56:45 +0000 (UTC) Original-Received: by mail-lj1-f169.google.com with SMTP id r19so704633ljg.3 for ; Thu, 06 Feb 2020 20:56:45 -0800 (PST) X-Gm-Message-State: APjAAAWPSbRobRT1Xv+C/2IQJX6z2YV6bFJ7r6qofj5o0XwCP/7W2Z2n w77V1HWI2wGx4OPEIn7u6sfiHyhzw0LEokHb3/DS4g== X-Google-Smtp-Source: APXvYqw+j2zFsdGEHA2eaDqeVQ+9dNoiYAXbJGv8Oz4rAIm2RncQ+GczkacvAmxhg6AHm+H2WDvktfN3Uu4SPOW3oe8= X-Received: by 2002:a2e:9744:: with SMTP id f4mr4275946ljj.267.1581051404983; Thu, 06 Feb 2020 20:56:44 -0800 (PST) Original-Received: by 2002:ab3:6883:0:0:0:0:0 with HTTP; Thu, 6 Feb 2020 20:56:44 -0800 (PST) X-Originating-IP: [50.45.151.166] In-Reply-To: <87wo90kmw9.fsf@pobox.com> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.200 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20400 Archived-At: On 2/6/20, Andy Wingo wrote: > 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! I haven't been able to get guile to compile under Cygwin (just a compilation error I haven't had time to track down), but I was able to quickly try the above. I get: Testing: test-native-call_10 call_10.c:9: assertion failed: e == 4 /bin/sh: line 1: 7063 Aborted (core dumped) ./$test make: *** [Makefile:31: test-native] Error 134 Despite what it says about a core dump, I find no such thing. Just a file with the same name as the executable suffixed with ".stackdump". (I did attempt to configure the Cygwin dumper before running the tests.) Unless somebody suggests otherwise, I think the error message is more useful. -- Charles