From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture Date: Fri, 05 Jul 2013 12:23:33 -0400 Message-ID: <87wqp5asca.fsf@tines.lan> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373041539 27803 80.91.229.3 (5 Jul 2013 16:25:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2013 16:25:39 +0000 (UTC) Cc: 14789@debbugs.gnu.org To: Vasiliy Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jul 05 18:25:38 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uv8pE-0002AC-On for guile-bugs@m.gmane.org; Fri, 05 Jul 2013 18:25:36 +0200 Original-Received: from localhost ([::1]:38675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv8pE-0000dH-C3 for guile-bugs@m.gmane.org; Fri, 05 Jul 2013 12:25:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv8ok-000855-Sx for bug-guile@gnu.org; Fri, 05 Jul 2013 12:25:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uv8oi-0002cG-E4 for bug-guile@gnu.org; Fri, 05 Jul 2013 12:25:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv8oi-0002bp-9F for bug-guile@gnu.org; Fri, 05 Jul 2013 12:25:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Uv8og-0004NP-Fb for bug-guile@gnu.org; Fri, 05 Jul 2013 12:25:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 05 Jul 2013 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14789 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 14789-submit@debbugs.gnu.org id=B14789.137304144216707 (code B ref 14789); Fri, 05 Jul 2013 16:25:02 +0000 Original-Received: (at 14789) by debbugs.gnu.org; 5 Jul 2013 16:24:02 +0000 Original-Received: from localhost ([127.0.0.1]:60519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uv8nh-0004L7-Q6 for submit@debbugs.gnu.org; Fri, 05 Jul 2013 12:24:02 -0400 Original-Received: from world.peace.net ([96.39.62.75]:46308 ident=hope3) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uv8ne-0004Kx-0u for 14789@debbugs.gnu.org; Fri, 05 Jul 2013 12:23:58 -0400 Original-Received: from 209-6-120-240.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com ([209.6.120.240] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Uv8nW-0000JO-TA; Fri, 05 Jul 2013 12:23:51 -0400 In-Reply-To: (Vasiliy's message of "Thu, 4 Jul 2013 15:56:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7197 Archived-At: retitle 14789 Test failures under Cygwin (Guile master) thanks Hi, Vasiliy writes: > I have just tried to compile Guile from the git sources under Cygwin > (64-bit), and all the modules got compied by GUILEC as ELF > executables, not as PE/PE+'s as I would expect it, what was also quite > (unfortunate) surprising. Any ideas, what could be wrong? This is intentional. Guile 2.2 will use ELF as the format for .go files, regardless of platform. > ERROR: In procedure dynamic-func: > ERROR: In procedure dynamic-pointer: Symbol not found: strerror > FAIL: test-ffi This is a portability problem in our test suite, and doesn't indicate a problem with Guile itself. Still, it would be good to fix it at some point. > fail: scm_from_double (1) == +nan.0 > FAIL: test-conversion.exe This is a _real_ bug, either in Guile or in Cygwin itself. That "1" should have been NaN. One possibility is that Cygwin's 'fprintf' doesn't handle NaN's properly. Another more troubling possibility is that the code in test-suite/standalone/test-conversion.c:ieee_init, also found in libguile/numbers.c:guile_ieee_init, is not working properly under Cygwin. This could be a serious problem for numerics. Were there any failures in 'numbers.test'? Thanks, Mark