From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.bugs Subject: bug#25912: 2.1.7 segfaults on cygwin Date: Fri, 3 Mar 2017 14:32:05 +0000 (UTC) Message-ID: <78221352.340980.1488551525340@mail.yahoo.com> References: <78221352.340980.1488551525340.ref@mail.yahoo.com> Reply-To: Mike Gran NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1488551659 10733 195.159.176.226 (3 Mar 2017 14:34:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2017 14:34:19 +0000 (UTC) To: "25912@debbugs.gnu.org" <25912@debbugs.gnu.org> Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Mar 03 15:34:15 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjoHY-0001xK-Vg for guile-bugs@m.gmane.org; Fri, 03 Mar 2017 15:34:09 +0100 Original-Received: from localhost ([::1]:58441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjoHf-0005vl-6e for guile-bugs@m.gmane.org; Fri, 03 Mar 2017 09:34:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjoHW-0005tC-Rx for bug-guile@gnu.org; Fri, 03 Mar 2017 09:34:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjoHS-0005dO-Ra for bug-guile@gnu.org; Fri, 03 Mar 2017 09:34:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjoHS-0005dK-Mp for bug-guile@gnu.org; Fri, 03 Mar 2017 09:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cjoHS-0006oz-HN for bug-guile@gnu.org; Fri, 03 Mar 2017 09:34:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <20170301102709.GB4544@debbie.mshome.net> Resent-From: Mike Gran Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 03 Mar 2017 14:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25912 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 25912-submit@debbugs.gnu.org id=B25912.148855159126165 (code B ref 25912); Fri, 03 Mar 2017 14:34:02 +0000 Original-Received: (at 25912) by debbugs.gnu.org; 3 Mar 2017 14:33:11 +0000 Original-Received: from localhost ([127.0.0.1]:37582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjoGd-0006nx-0g for submit@debbugs.gnu.org; Fri, 03 Mar 2017 09:33:11 -0500 Original-Received: from sonic308-16.consmr.mail.ne1.yahoo.com ([66.163.187.39]:47159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjoGc-0006nk-8k for 25912@debbugs.gnu.org; Fri, 03 Mar 2017 09:33:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1488551583; bh=AzuIVSo+FDBYZ6eUvkit3+vKujndT3MR6EoX/NufOuA=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=pHR59tVDARS/VYYxqviOyChBA6kQKXTWhsQmqR1m4P3FFM0eYxqmzzBaGP1Dq+uVLG1sNepdCu9GMl9pUS6yLMl3apw+U4MULSK2fvxRbtvw8dHC8gy8pFvTotMOIgfrBvp9sx817NjowJjOIQFHLkF4p6oLalQED+WK5Tj64QTRumKB1n39YKPDd5E8tpOwf279eGVXyEC3RiiB/jyDL22ji9ZfDMJVLXjdhyhWEQLxXUDGcYttOVvI+cQJ9XGWBFumX6mNjplbvbYJgF+TxHbyiOc/Al3hCkXZ342Mu49aEbh7dWJMb/IjVhxeeZSU+nRnrANHbS1Y8SNBbDixxg== X-YMail-OSG: EmJ0d.YVRDvYSypLUft0cI8AX.dlBffOFI.x5KtXLA-- Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Fri, 3 Mar 2017 14:33:03 +0000 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8649 Archived-At: Hi- I also can replicate the Cygwin problem as originally described. After wingo's comment on the mmap path vs the non-mmap path, I tried to use the non-mmap path by removing HAVE_SYS_MMAN_H from the config.h. The non-mmap path doesn't build. The errors are in map_file_contents() in loader.c Making the obvious patches to map_file_contents() does seem to allow the Cygwin build to continue. The helper functions sniff_elf_alignment and copy_and_align_elf_data are no longer included in master and had to be pulled from an older rev. Regards, Mike