From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vasiliy Newsgroups: gmane.lisp.guile.bugs Subject: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture Date: Sat, 6 Jul 2013 11:01:46 +0200 Message-ID: References: <87wqp5asca.fsf@tines.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1373101331 28738 80.91.229.3 (6 Jul 2013 09:02:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Jul 2013 09:02:11 +0000 (UTC) To: Mark H Weaver , 14789@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Jul 06 11:02:11 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 1UvONf-0005js-NG for guile-bugs@m.gmane.org; Sat, 06 Jul 2013 11:02:11 +0200 Original-Received: from localhost ([::1]:58003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvONf-0007Ha-Cx for guile-bugs@m.gmane.org; Sat, 06 Jul 2013 05:02:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvONZ-0007GL-Ew for bug-guile@gnu.org; Sat, 06 Jul 2013 05:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvONW-0004uY-R7 for bug-guile@gnu.org; Sat, 06 Jul 2013 05:02:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvONW-0004uR-NY for bug-guile@gnu.org; Sat, 06 Jul 2013 05:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UvONV-0001YM-Nj for bug-guile@gnu.org; Sat, 06 Jul 2013 05:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vasiliy Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 06 Jul 2013 09:02:01 +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.13731013185959 (code B ref 14789); Sat, 06 Jul 2013 09:02:01 +0000 Original-Received: (at 14789) by debbugs.gnu.org; 6 Jul 2013 09:01:58 +0000 Original-Received: from localhost ([127.0.0.1]:33617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvONQ-0001Y2-SY for submit@debbugs.gnu.org; Sat, 06 Jul 2013 05:01:57 -0400 Original-Received: from mail-ie0-f180.google.com ([209.85.223.180]:33401) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvONM-0001XV-O4 for 14789@debbugs.gnu.org; Sat, 06 Jul 2013 05:01:53 -0400 Original-Received: by mail-ie0-f180.google.com with SMTP id f4so6788986iea.39 for <14789@debbugs.gnu.org>; Sat, 06 Jul 2013 02:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=mHGhOvNtIYT1o6+f/OnQN4MSC+qHAdkZf63cYo/XnUI=; b=A6vcZrJ8/bEbegC/Vfc/FsVkyepz0VKfbLnF/vnAJTfcKoFJ12tNhKp0SFG0CXxp4J CNsrKwqqsXbjDF2UA1+0GcGw+awm2AbUWNtfqwuM90j2IXxCQXDK4UOjKNHVlCHWOaZr AFPF/dgbwDGNJUMZhdTDmxGiBTeT9Tmpl6+8TjjUWzFzpQoLQLO2yZwSsIdfkq1wJ+bc Ro7O20ALreQefqdVfAKOiBZaK090tMe+arU0yEc1h0lfgwbiTustt5PIOdAVGLqfWRwl kKLducscy9kl8PAfe8mq0qddQZsaYOHhx5YSTvFq8Jid32IOJ+bv2Ch4ZJGgRYi5SQHF YXrA== X-Received: by 10.42.131.73 with SMTP id y9mr4833508ics.22.1373101306861; Sat, 06 Jul 2013 02:01:46 -0700 (PDT) Original-Received: by 10.42.136.71 with HTTP; Sat, 6 Jul 2013 02:01:46 -0700 (PDT) In-Reply-To: <87wqp5asca.fsf@tines.lan> X-Google-Sender-Auth: gnyp4Ru1J48jTYJ1R7xFzn6kZR0 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:7199 Archived-At: Hi, It's just to highlight I've got that error of: fail: scm_from_double (1) == +nan.0 FAIL: test-conversion.exe while compiling with: CFLAGS="-mtune=native -march=native -Ofast -fomit-frame-pointer" Guile passes the above test when recompiled with: CFLAGS ="-mtune=native -march=native -O2" There's, however, still an error with 'test-ffi', and there's no automatic invocation of 'numbers.test'. Would be there any support for -Ofast in future? Just one point more here: the latest autogen when compiled --with-guile=2.2 refers to 'scm_subr_table' not present in mainstream Guile. I got it wrapped by adding the row 'scm_t_subr_entry *scm_subr_table;' to 'agen5/ag.c'. What that the right way it should be done or could such a procedure be added back to Guile? There're the latest tests: PASS: test-system-cmds PASS: test-bad-identifiers PASS: test-require-extension PASS: test-guile-snarf PASS: test-import-order PASS: test-command-line-encoding PASS: test-command-line-encoding2 PASS: test-language PASS: test-num2integral.exe PASS: test-round.exe PASS: test-asmobs Backtrace: In ice-9/boot-9.scm: 163: 11 [catch #t # ...] In unknown file: ?: 10 [apply-smob/1 #] In ice-9/boot-9.scm: 65: 9 [call-with-prompt # # ...] In ice-9/eval.scm: 427: 8 [eval # #] In ice-9/boot-9.scm: 2623: 7 [save-module-excursion #] 4123: 6 [#] 1979: 5 [%start-stack load-stack ...] 1984: 4 [#] In unknown file: ?: 3 [primitive-load "/usr/src/64bit/release/guile/guile-2.1.0-57/src/guile-2.1.0/test-suite/standalone/test-ffi"] In ice-9/eval.scm: 448: 2 [eval # ()] 385: 1 [eval # ()] In unknown file: ?: 0 [dynamic-func "strerror" #] ERROR: In procedure dynamic-func: ERROR: In procedure dynamic-pointer: Symbol not found: strerror FAIL: test-ffi PASS: test-list.exe PASS: test-unwind.exe PASS: test-conversion.exe PASS: test-loose-ends.exe PASS: test-fast-slot-ref PASS: test-mb-regexp PASS: test-use-srfi PASS: test-scm-c-read.exe PASS: test-scm-take-locale-symbol.exe PASS: test-scm-take-u8vector.exe PASS: test-scm-to-latin1-string.exe PASS: test-scm-values.exe PASS: test-scm-c-bind-keyword-arguments.exe PASS: test-extensions PASS: test-with-guile-module.exe PASS: test-scm-with-guile.exe PASS: test-scm-spawn-thread.exe PASS: test-pthread-create.exe SKIP: test-pthread-create-secondary.exe PASS: test-smob-mark.exe ================================== 1 of 31 tests failed (1 test was not run) Please report to bug-guile@gnu.org ================================== On Fri, Jul 5, 2013 at 6:23 PM, Mark H Weaver wrote: > 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