From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 04 12:42:13 2013 Received: (at submit) by debbugs.gnu.org; 4 Jul 2013 16:42:13 +0000 Received: from localhost ([127.0.0.1]:57600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uumbk-0008NQ-Jo for submit@debbugs.gnu.org; Thu, 04 Jul 2013 12:42:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45522) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uuk1b-0002O6-B7 for submit@debbugs.gnu.org; Thu, 04 Jul 2013 09:56:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uuk1P-0001Ki-MT for submit@debbugs.gnu.org; Thu, 04 Jul 2013 09:56:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uuk1P-0001Ke-Il for submit@debbugs.gnu.org; Thu, 04 Jul 2013 09:56:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uuk1F-0004oO-Qd for bug-guile@gnu.org; Thu, 04 Jul 2013 09:56:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uuk17-0001C0-AS for bug-guile@gnu.org; Thu, 04 Jul 2013 09:56:21 -0400 Received: from mail-ie0-x22d.google.com ([2607:f8b0:4001:c03::22d]:60530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uuk17-0001Bq-6W for bug-guile@gnu.org; Thu, 04 Jul 2013 09:56:13 -0400 Received: by mail-ie0-f173.google.com with SMTP id k13so3178352iea.4 for ; Thu, 04 Jul 2013 06:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=dQLMmHpB5nQHtAkAinHUa8xc5hYqZ5wY8xzFyHPxjX4=; b=ySgUqwtwT385KsjPM+v7Dt8Rdakiqeeg3d6PYwaiLqF5gDlTIH3f2uxhHxGiRN83E1 aV3h0f7xnalL4axkB11lXhwQUX5Tn+FAUtKjd6ha/0dgsXBWRsS/P9wtzPaRcuFbeUdk EJP6kTgAuVN16Pcbrt5+yELp0SAUSPbuptc0fyCytDtLpMZa8de3SYf7od9ciDpVjL8+ f6X9b+o1w6oNvKv2G4gxQxxDzUDuLkhWQ2oSLcamuCXE0pMUdb6CnLqIq/TDiRWzDilg crxtDmeWaQ+eoLbWbA8zjIhymkVxV7ZAW6VnJzHn2ww4crPj3ynnP4+b4IR6A8iXXfNS ZOlg== MIME-Version: 1.0 X-Received: by 10.50.171.163 with SMTP id av3mr2539331igc.33.1372946172041; Thu, 04 Jul 2013 06:56:12 -0700 (PDT) Received: by 10.42.136.71 with HTTP; Thu, 4 Jul 2013 06:56:11 -0700 (PDT) Date: Thu, 4 Jul 2013 15:56:11 +0200 X-Google-Sender-Auth: Vfizw-qR2sT3S32afq2b6rsiEH0 Message-ID: Subject: BUG: Modules compile as ELF's on PE/PE+ architecture From: Vasiliy To: bug-guile@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 04 Jul 2013 12:42:10 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Dear Guile Team, 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? BZW, the compiler has passed almost all 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 fail: scm_from_double (1) == +nan.0 FAIL: 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 ================================== 2 of 31 tests failed (1 test was not run) Please report to bug-guile@gnu.org ================================== My CFLAGS were '-mtune=native -march=native -Ofast -fomit-frame-pointer' Kind regards, Vasiliy From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 05 12:24:02 2013 Received: (at 14789) by debbugs.gnu.org; 5 Jul 2013 16:24:02 +0000 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 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 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 From: Mark H Weaver To: Vasiliy Subject: Re: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture References: Date: Fri, 05 Jul 2013 12:23:33 -0400 In-Reply-To: (Vasiliy's message of "Thu, 4 Jul 2013 15:56:11 +0200") Message-ID: <87wqp5asca.fsf@tines.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14789 Cc: 14789@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 05 12:40:10 2013 Received: (at control) by debbugs.gnu.org; 5 Jul 2013 16:40:10 +0000 Received: from localhost ([127.0.0.1]:60555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uv93J-0004yG-KG for submit@debbugs.gnu.org; Fri, 05 Jul 2013 12:40:10 -0400 Received: from world.peace.net ([96.39.62.75]:46324 ident=hope8) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uv93A-0004x8-Oy for control@debbugs.gnu.org; Fri, 05 Jul 2013 12:40:01 -0400 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 1Uv935-0000Mm-8t; Fri, 05 Jul 2013 12:39:55 -0400 From: Mark H Weaver To: control@debbugs.gnu.org Date: Fri, 05 Jul 2013 12:39:35 -0400 Message-ID: <87obaharlk.fsf@tines.lan> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 14789 Test failures under Cygwin (Guile master) thanks [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 14789 Test failures under Cygwin (Guile master) thanks [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject retitle 14789 Test failures under Cygwin (Guile master) thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 06 05:01:58 2013 Received: (at 14789) by debbugs.gnu.org; 6 Jul 2013 09:01:58 +0000 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 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 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== MIME-Version: 1.0 X-Received: by 10.42.131.73 with SMTP id y9mr4833508ics.22.1373101306861; Sat, 06 Jul 2013 02:01:46 -0700 (PDT) Received: by 10.42.136.71 with HTTP; Sat, 6 Jul 2013 02:01:46 -0700 (PDT) In-Reply-To: <87wqp5asca.fsf@tines.lan> References: <87wqp5asca.fsf@tines.lan> Date: Sat, 6 Jul 2013 11:01:46 +0200 X-Google-Sender-Auth: gnyp4Ru1J48jTYJ1R7xFzn6kZR0 Message-ID: Subject: Re: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture From: Vasiliy To: Mark H Weaver , 14789@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14789 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 06 15:10:29 2013 Received: (at 14789) by debbugs.gnu.org; 6 Jul 2013 19:10:29 +0000 Received: from localhost ([127.0.0.1]:35332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvXsL-0002Sv-8G for submit@debbugs.gnu.org; Sat, 06 Jul 2013 15:10:29 -0400 Received: from world.peace.net ([96.39.62.75]:42689 ident=hope7) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvXsJ-0002Sn-2n for 14789@debbugs.gnu.org; Sat, 06 Jul 2013 15:10:27 -0400 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 1UvXsA-0002iQ-3n; Sat, 06 Jul 2013 15:10:18 -0400 From: Mark H Weaver To: Vasiliy Subject: Re: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture References: <87wqp5asca.fsf@tines.lan> Date: Sat, 06 Jul 2013 15:09:53 -0400 In-Reply-To: (Vasiliy's message of "Sat, 6 Jul 2013 11:01:46 +0200") Message-ID: <877gh3a4ji.fsf@tines.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14789 Cc: 14789@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Vasiliy writes: > 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" I now see the problem. -Ofast implies -ffast-math, which implies -funsafe-math-optimizations, -ffinite-math-only, etc. Specifically, this enabled the compiler to optimize (guile_Inf / guile_Inf) to 1.0, which foiled Guile's attempt to create a NaN object. >From the GCC manual (Optimize Options): `-Ofast' Disregard strict standards compliance. `-Ofast' enables all `-O3' optimizations. It also enables optimizations that are not valid for all standard compliant programs. It turns on `-ffast-math' and the Fortran-specific `-fno-protect-parens' and `-fstack-arrays'. My recommendation would be to avoid -Ofast, not just in Guile but in general. It is likely to create subtle problems in a lot of software. Things like language interpreters in particular tend to push the boundaries of standards compliance, and are likely to be broken in subtle ways by -Ofast. It's reasonable and sometimes useful to use -Ofast in isolated modules containing hot code, but only in modules whose -Ofast safety has been investigated by someone who understands the associated compiler optimizations, and is familiar with the kinds of breakage that can occur. > There's, however, still an error with 'test-ffi', and there's no > automatic invocation of 'numbers.test'. Strange. Did you run "make check" in the top-level build directory? If that doesn't work, maybe try: "./check-guile numbers.test" > Would be there any support for -Ofast in future? I doubt that we would officially support it. It's possible that the bugs introduced by -Ofast will not affect you, I don't know. At the very least, you are likely to get incorrect answers from the numerics library in some cases. There might be more serious problems as well. Some of these problems might be discovered by our test suite, which you don't seem to be running most of. Others might remain undetected. > Just one point more here: the latest autogen when compiled > --with-guile=2.2 refers to 'scm_subr_table' not present in mainstream > Guile. This indicates that you compiled against Guile 1.8's headers. You'll need to arrange to have Guile 2.2's headers come first in the search path. I guess the --with-libguile option to autogen's configure is what you need. Regards, Mark From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 06 16:11:52 2013 Received: (at 14789) by debbugs.gnu.org; 6 Jul 2013 20:11:52 +0000 Received: from localhost ([127.0.0.1]:35399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvYpj-0004Go-7a for submit@debbugs.gnu.org; Sat, 06 Jul 2013 16:11:52 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:39409) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvYpg-0004GX-4a for 14789@debbugs.gnu.org; Sat, 06 Jul 2013 16:11:49 -0400 Received: by mail-ie0-f177.google.com with SMTP id aq17so7465532iec.36 for <14789@debbugs.gnu.org>; Sat, 06 Jul 2013 13:11:42 -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:cc:content-type :content-transfer-encoding; bh=2GoegoY/JdnXXYxK0WKw4G4TfzFcVhTuZ0bhsWeMEw0=; b=KwB7VBsZwMJJXQlmtvxYxs4afS035ndKOafKfNwqJ3KSahk7CEzp5SSifdftffqMYC MPCX1om5+nSfKIGV44Jw/cBq4nHUbQHB4fLohuqFTwM39FL5d3Pt9lWYhe3byF42VIZM C7c2N1sKl3jN357MHtrydH8TF+lpzEegftEPaLR4xct/I3GiiWdSxz8dEIG3oOEqBf3M dMKZPG8zyOE0mDFNa1Ewixi+pvawl+4wjGGjzRjQFzfmUYYmoQnVAtJAbyjh6f6K0kT7 5J/EZA+W9mm6SlyD54CJknisYXkUE6bQdPPvAmtrrhexsKk7ENaTjtYXtqTYBgKZ56tf JZnA== MIME-Version: 1.0 X-Received: by 10.50.171.163 with SMTP id av3mr6038370igc.33.1373141502282; Sat, 06 Jul 2013 13:11:42 -0700 (PDT) Received: by 10.42.136.71 with HTTP; Sat, 6 Jul 2013 13:11:42 -0700 (PDT) In-Reply-To: <877gh3a4ji.fsf@tines.lan> References: <87wqp5asca.fsf@tines.lan> <877gh3a4ji.fsf@tines.lan> Date: Sat, 6 Jul 2013 22:11:42 +0200 X-Google-Sender-Auth: Y3IUtR54fPLrsxbtoL-OrGjll1o Message-ID: Subject: Re: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture From: Vasiliy To: Mark H Weaver Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14789 Cc: 14789@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, Mark, Sorry for my previous double-posting to the guile-devel maillist; just at that time I didn't have a reply from guile-bugs'. I've run ./check-guile numbers.test, yes, it hasn't been invoked my "make check" from the top-level build directory. For the latest Guile compiled with CFLAGS=3D"-mtune=3Dnative -march=3Dnative -O2" I've got the following: $ ./check-guile numbers.test Testing /usr/src/64bit/release/guile/guile-2.1.0-57/build/meta/guile ... numbers.test with GUILE_LOAD_PATH=3D/usr/src/64bit/release/guile/guile-2.1.0-57/src/guil= e-2.1.0/test-suite Running numbers.test FAIL: numbers.test: inexact->exact: smallest inexact: pos - arguments: (expected-value 1/2024022533073106183524953467189173070495566497641421183569013580274303395= 679953468919603837014371244951870778643168119113898087373857934768670133999= 407385099215174242765663613644669077420932163412397676784727450685620074834= 246926986181033556491595563408100565123587695523334146152305025321863275086= 46006263307707741093494784 actual-value 0) FAIL: numbers.test: inexact->exact: smallest inexact: neg - arguments: (expected-value -1/202402253307310618352495346718917307049556649764142118356901358027430339= 567995346891960383701437124495187077864316811911389808737385793476867013399= 940738509921517424276566361364466907742093216341239767678472745068562007483= 424692698618103355649159556340810056512358769552333414615230502532186327508= 646006263307707741093494784 actual-value 0) FAIL: numbers.test: inexact->exact: smallest inexact * 2: pos - arguments: (expected-value 1/1012011266536553091762476733594586535247783248820710591784506790137151697= 839976734459801918507185622475935389321584059556949043686928967384335066999= 703692549607587121382831806822334538710466081706198838392363725342810037417= 123463493090516778245797781704050282561793847761667073076152512660931637543= 23003131653853870546747392 actual-value 0) FAIL: numbers.test: inexact->exact: smallest inexact * 2: neg - arguments: (expected-value -1/101201126653655309176247673359458653524778324882071059178450679013715169= 783997673445980191850718562247593538932158405955694904368692896738433506699= 970369254960758712138283180682233453871046608170619883839236372534281003741= 712346349309051677824579778170405028256179384776166707307615251266093163754= 323003131653853870546747392 actual-value 0) FAIL: numbers.test: inexact->exact: smallest inexact * 3: pos - arguments: (expected-value 3/2024022533073106183524953467189173070495566497641421183569013580274303395= 679953468919603837014371244951870778643168119113898087373857934768670133999= 407385099215174242765663613644669077420932163412397676784727450685620074834= 246926986181033556491595563408100565123587695523334146152305025321863275086= 46006263307707741093494784 actual-value 0) FAIL: numbers.test: inexact->exact: smallest inexact * 3: neg - arguments: (expected-value -3/202402253307310618352495346718917307049556649764142118356901358027430339= 567995346891960383701437124495187077864316811911389808737385793476867013399= 940738509921517424276566361364466907742093216341239767678472745068562007483= 424692698618103355649159556340810056512358769552333414615230502532186327508= 646006263307707741093494784 actual-value 0) Totals for this test run: passes: 28367 failures: 6 unexpected passes: 0 expected failures: 0 unresolved test cases: 0 untested test cases: 0 unsupported test cases: 0 errors: 0 Regards, Vasiliy On Sat, Jul 6, 2013 at 9:09 PM, Mark H Weaver wrote: > Vasiliy writes: > >> It's just to highlight I've got that error of: >> fail: scm_from_double (1) =3D=3D +nan.0 >> FAIL: test-conversion.exe >> >> while compiling with: >> CFLAGS=3D"-mtune=3Dnative -march=3Dnative -Ofast -fomit-frame-pointer" > > I now see the problem. -Ofast implies -ffast-math, which implies > -funsafe-math-optimizations, -ffinite-math-only, etc. Specifically, > this enabled the compiler to optimize (guile_Inf / guile_Inf) to 1.0, > which foiled Guile's attempt to create a NaN object. > > From the GCC manual (Optimize Options): > > `-Ofast' > Disregard strict standards compliance. `-Ofast' enables all `-O3' > optimizations. It also enables optimizations that are not valid > for all standard compliant programs. It turns on `-ffast-math' > and the Fortran-specific `-fno-protect-parens' and > `-fstack-arrays'. > > My recommendation would be to avoid -Ofast, not just in Guile but in > general. It is likely to create subtle problems in a lot of software. > > Things like language interpreters in particular tend to push the > boundaries of standards compliance, and are likely to be broken in > subtle ways by -Ofast. > > It's reasonable and sometimes useful to use -Ofast in isolated modules > containing hot code, but only in modules whose -Ofast safety has been > investigated by someone who understands the associated compiler > optimizations, and is familiar with the kinds of breakage that can > occur. > >> There's, however, still an error with 'test-ffi', and there's no >> automatic invocation of 'numbers.test'. > > Strange. Did you run "make check" in the top-level build directory? > > If that doesn't work, maybe try: "./check-guile numbers.test" > >> Would be there any support for -Ofast in future? > > I doubt that we would officially support it. It's possible that the > bugs introduced by -Ofast will not affect you, I don't know. At the > very least, you are likely to get incorrect answers from the numerics > library in some cases. There might be more serious problems as well. > Some of these problems might be discovered by our test suite, which you > don't seem to be running most of. Others might remain undetected. > >> Just one point more here: the latest autogen when compiled >> --with-guile=3D2.2 refers to 'scm_subr_table' not present in mainstream >> Guile. > > This indicates that you compiled against Guile 1.8's headers. You'll > need to arrange to have Guile 2.2's headers come first in the search > path. I guess the --with-libguile option to autogen's configure is what > you need. > > Regards, > Mark From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 07 05:47:05 2013 Received: (at 14789) by debbugs.gnu.org; 7 Jul 2013 09:47:05 +0000 Received: from localhost ([127.0.0.1]:36294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvlYe-0005uH-Q7 for submit@debbugs.gnu.org; Sun, 07 Jul 2013 05:47:05 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:62143) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvlYb-0005te-QQ for 14789@debbugs.gnu.org; Sun, 07 Jul 2013 05:47:02 -0400 Received: by mail-ie0-f169.google.com with SMTP id 10so8289559ied.0 for <14789@debbugs.gnu.org>; Sun, 07 Jul 2013 02:46:56 -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:cc:content-type; bh=UxlM+49hvh8iDtp2VPPdtPqi2TY928El2j6N9eeg6w8=; b=g8hxK7HxeXzy2KGigKRDINx9/hMKkwPTgsa+aSCuF06ekXfR3P9DfM8i1XybjEMF3W PcSGBcLoRPAP5XHJwp9E+lNYfgAwpAHU+aO56jmFw160c608H6W8OBl0fQKx939iqwak BLSEuNUuWth7DxTZiPODw+F6EBBnTRH4nZRtmf8rNyulmccbH5gwqrJg1J2DAnu7arJ9 VnPLD9y1fgdjyu1AesNqe8jTvX8IpoMCbRVCQpUuJ80SrhTEW5s4VNJqKhEsObqivsR5 7i0ohI0XkVXzLkF338Lb97Ouh83mdKfPo3tcZZjNvy5oXxlkB8UWtr0WRW35Ct75n7SM bFUw== MIME-Version: 1.0 X-Received: by 10.42.41.210 with SMTP id q18mr5916123ice.13.1373190415893; Sun, 07 Jul 2013 02:46:55 -0700 (PDT) Received: by 10.42.136.71 with HTTP; Sun, 7 Jul 2013 02:46:55 -0700 (PDT) In-Reply-To: References: <87wqp5asca.fsf@tines.lan> <877gh3a4ji.fsf@tines.lan> Date: Sun, 7 Jul 2013 11:46:55 +0200 X-Google-Sender-Auth: fSiF4Zo5MhT9sD7-bCRNSf3xF9U Message-ID: Subject: Re: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture From: Vasiliy To: Mark H Weaver Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14789 Cc: 14789@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) BTW, Guile says one can use 'strerror_r' instead of 'strerror' which is available in Cygwin but there're no checks for 'strerror_r' and no guidance was given how to introduce that. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 11:33:58 2013 Received: (at 14789) by debbugs.gnu.org; 11 Jul 2013 15:33:58 +0000 Received: from localhost ([127.0.0.1]:48005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxIsX-000179-O1 for submit@debbugs.gnu.org; Thu, 11 Jul 2013 11:33:57 -0400 Received: from mail-ie0-f176.google.com ([209.85.223.176]:61632) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxIsW-00016r-8j for 14789@debbugs.gnu.org; Thu, 11 Jul 2013 11:33:56 -0400 Received: by mail-ie0-f176.google.com with SMTP id ar20so18039863iec.21 for <14789@debbugs.gnu.org>; Thu, 11 Jul 2013 08:33:50 -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:cc:content-type; bh=IQSHSdekYbJJ4O3aASU4wfLAsHi/1YNyYMLHyyLi6Q0=; b=QQq5q1XMMJSSko2K6gxbOYTQhbxucj5hiGBMKNnrsyXCCnLDog/vnYVhuyGYBDJ9xY P357Q5C2GRaqGg2Rm6wo3KeIEwIKDQ/yLxkcP+rDw218VA2+/fiwOftT9gu/l5DccudK BVjQHbMXCXiivHdRN28AJVsARZQvxdiaKS2wPMaBVD1yGQM+UG2CXPzQq+4kSbPicR7C 5BBi+4uBFG9LAA3Pjy0beK62WPdhvullyLCvbhdGGbKSKN2C0h0rj5OvcmntI47JPdkr ISPC+bSwLOJcn6oafZknhwsJr49a0LvLML2H7sb6XzRogiarhwjWcDt5aUABeyU9JHdD XyOg== MIME-Version: 1.0 X-Received: by 10.50.1.33 with SMTP id 1mr13580998igj.33.1373556830362; Thu, 11 Jul 2013 08:33:50 -0700 (PDT) Received: by 10.42.136.71 with HTTP; Thu, 11 Jul 2013 08:33:50 -0700 (PDT) In-Reply-To: References: <87wqp5asca.fsf@tines.lan> <877gh3a4ji.fsf@tines.lan> Date: Thu, 11 Jul 2013 17:33:50 +0200 X-Google-Sender-Auth: uEqeUOpPF9YRLmyPJkI1xpP3vNw Message-ID: Subject: Fwd: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture From: Vasiliy To: Mark H Weaver Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14789 Cc: 14789@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) It's just my previous question: "How to replace 'strerror' with strerror_r, or better, to add it to the table of symbols Guile could operate with?" Regards, Vasiliy ---------- Forwarded message ---------- From: Vasiliy Date: Sun, Jul 7, 2013 at 11:46 AM Subject: Re: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture To: Mark H Weaver Cc: 14789 BTW, Guile says one can use 'strerror_r' instead of 'strerror' which is available in Cygwin but there're no checks for 'strerror_r' and no guidance was given how to introduce that. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 06:14:52 2013 Received: (at 14789) by debbugs.gnu.org; 12 Jul 2013 10:14:52 +0000 Received: from localhost ([127.0.0.1]:49672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxaNH-0000Mk-WA for submit@debbugs.gnu.org; Fri, 12 Jul 2013 06:14:52 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:50457) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxaNF-0000MN-JO for 14789@debbugs.gnu.org; Fri, 12 Jul 2013 06:14:49 -0400 Received: by mail-ie0-f177.google.com with SMTP id aq17so20147953iec.36 for <14789@debbugs.gnu.org>; Fri, 12 Jul 2013 03:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=sEo8M5ObBcsj2aZypPe2DlLRpWxn0rMXr2ZtRkSPGnk=; b=HKWN8A50Oo4KgQTL/XqAulW0XLnpdbCgLYs4NvKnXb9+QSF+6+nhX5gzExSdIN1K8y ezOYcLwJsAf81+piNFhkclt4YBBgTud0vcIzLa54QY05eYt4lADxM1Ugy8KIX7oOEiN9 Z/2aeMeGRNcwMPHstTUD82NdUXGWDJQpqI66qpL6xiwNctqFTPJeL6nUPJI/S6V7W1IH wWURMQYwOSSz4qgon317vI+9g8jLQan26sUX0JeNZr119Aj/13DWnXnJ9swlrwxw+KkR jyf37cudqkLLXv9+Uak1cTPfg85rsV7G1sxFCnzwQE/HkXaxrhhTfLvIXihtx50z5inl HTRQ== MIME-Version: 1.0 X-Received: by 10.50.1.33 with SMTP id 1mr709469igj.33.1373624083908; Fri, 12 Jul 2013 03:14:43 -0700 (PDT) Received: by 10.42.136.71 with HTTP; Fri, 12 Jul 2013 03:14:43 -0700 (PDT) Date: Fri, 12 Jul 2013 12:14:43 +0200 X-Google-Sender-Auth: godWeaOJ2DyKZwyHK-VramYX0x4 Message-ID: Subject: Re: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture From: Vasiliy To: Mark H Weaver Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14789 Cc: 14789@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Whatever compile options I use on the latest sources they have the following issue: Making all in module make[2]: Entering directory '/usr/src/64bit/release/guile/guile-2.1.0-57/build/module' GUILEC ice-9/eval.go Backtrace: In unknown file: ?: 17 [apply-smob/1 # #t ...] ?: 16 [apply-smob/1 #] ?: 15 [apply-smob/1 #] ?: 14 [primitive-eval ((@ # %) (begin # # #))] ?: 13 [apply-smob/1 #] ?: 12 [apply-smob/1 #] ?: 11 [apply-smob/1 #] ?: 10 [apply-smob/1 #] ?: 9 [apply-smob/1 #] ?: 8 [apply-smob/1 #] ?: 7 [apply-smob/1 #] ?: 6 [apply-smob/1 #] ?: 5 [apply-smob/1 #] ?: 4 [apply-smob/1 #] ?: 3 [apply-smob/1 #] ?: 2 [struct-vtable #f] ?: 1 [apply-smob/1 # wrong-type-arg ...] ?: 0 [apply-smob/1 #] ERROR: Makefile:2163: recipe for target 'ice-9/eval.go' failed From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 11:42:50 2013 Received: (at 14789) by debbugs.gnu.org; 12 Jul 2013 15:42:50 +0000 Received: from localhost ([127.0.0.1]:50663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxfUg-00055T-Fc for submit@debbugs.gnu.org; Fri, 12 Jul 2013 11:42:50 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:43637) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxfUe-00055B-Cl for 14789@debbugs.gnu.org; Fri, 12 Jul 2013 11:42:49 -0400 Received: by mail-ie0-f169.google.com with SMTP id 10so21407940ied.28 for <14789@debbugs.gnu.org>; Fri, 12 Jul 2013 08:42:42 -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:cc:content-type; bh=o/kvPK80hJY6Ed4v+FFwV6vxy0FR/3oP1uktLF7IqoA=; b=GvESEXiOLy3+LrVqAtSuxhUCSACPMVnIo3I/W+HFS6/ykFwRjVu1cUxuBwBMjJMJvV zpquHhTTvgMEocbO5fv+qWdTmFYSrcllon15VYR7H20mKdX0PfUGrw2gMDkOgbhWjlf6 FJ4rrEtGCZQ0JdqfBKC8lB5P0htlBliL6oVH5cCKN037Qxf+XmT7I5UIepBcE1/bdqGp cyqOfnmdzkzba3lDPXZj1/rAiUBYP/xRh4wwCs2tsmRDGMaJ5T+tCE5pJlVO915Sttxv XbYzKsD2wsu36Bsryb8mBm2b9tCXopOcjKZEa3Zq1sjsZ+RADm7QWBGj8xZOKcloHLR3 Apuw== MIME-Version: 1.0 X-Received: by 10.42.41.210 with SMTP id q18mr161720ice.13.1373643762393; Fri, 12 Jul 2013 08:42:42 -0700 (PDT) Received: by 10.42.136.71 with HTTP; Fri, 12 Jul 2013 08:42:42 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Jul 2013 17:42:42 +0200 X-Google-Sender-Auth: _BvHCV5l76wJXz783AqJnY-ow0c Message-ID: Subject: Re: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture From: Vasiliy To: Mark H Weaver Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14789 Cc: 14789@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I've just checked the patches, and after c32b7c4cef1c63a677a1c447a0386e90ab2ecd42 the code behavior has changed. Compare AFTER: Making all in module make[2]: Entering directory '/usr/src/64bit/release/guile/guile-2.1.0-57/build/module' GUILEC ice-9/eval.go Backtrace: In unknown file: ?: 16 [apply-smob/1 # #t ...] ?: 15 [apply-smob/1 #] ?: 14 [apply-smob/1 #] ?: 13 [primitive-eval ((@ # %) (begin # # #))] ?: 12 [apply-smob/1 #] ?: 11 [apply-smob/1 #] ?: 10 [apply-smob/1 #] ?: 9 [apply-smob/1 #] ?: 8 [apply-smob/1 #] ?: 7 [apply-smob/1 #] ?: 6 [apply-smob/1 #] ?: 5 [apply-smob/1 #] ?: 4 [apply-smob/1 #] ?: 3 [apply-smob/1 #] ?: 2 [apply-smob/1 #] ?: 1 [apply-smob/1 # wrong-number-of-args ...] ?: 0 [apply-smob/1 #] ERROR: Makefile:2163: recipe for target 'ice-9/eval.go' failed BEFORE: make[2]: Entering directory '/usr/src/64bit/release/guile/guile-2.1.0-57/build/module' GUILEC ice-9/eval.go Backtrace: In unknown file: ?: 6 [apply-smob/1 # #t ...] ?: 5 [apply-smob/1 #] ?: 4 [apply-smob/1 #] ?: 3 [primitive-eval ((@ # %) (begin # # #))] ?: 2 [apply-smob/1 #] ?: 1 [apply-smob/1 #] ?: 0 [apply-smob/1 #] ERROR: Makefile:2163: recipe for target 'ice-9/eval.go' failed From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 02:54:07 2016 Received: (at 14789-done) by debbugs.gnu.org; 21 Jun 2016 06:54:07 +0000 Received: from localhost ([127.0.0.1]:48439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFFZX-0000GF-Il for submit@debbugs.gnu.org; Tue, 21 Jun 2016 02:54:07 -0400 Received: from pb-sasl2.pobox.com ([64.147.108.67]:61923 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFFZW-0000G7-30 for 14789-done@debbugs.gnu.org; Tue, 21 Jun 2016 02:54:06 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id A649B205E9; Tue, 21 Jun 2016 02:54:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=VXw6NwlNZt97od9iPzYf3zZOgf0=; b=wZSKD+ +tg5387zsY6+i6Xat6CM66/u6rDXd72ZRDTX0mNWslXeKpI1EjuibQPS3U7+iWJz XzYqfBxzL3qVIO+lCqnsxCgP2rjKpNTjc1Y7mPqPEmJsqgTwcPZ9DwNaqQxAPG8s P7aYyAh3Zqi52FlQrGgrVngD1drdsGNANp2Mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=u4JQpBCnt6ct397HlMCFU/r/Keg4WGtW h4wiIDF+3MgHDxyGnr8Qut0zqqjt1kAnde0fWcbzgZq7IPjhRxjhGsDH2YccbRE2 cN7QlgwHmRdVEv6EYuG9Bbtr+yH9b8JPrU4XvQ1HNFjFpf4qymf0dMXgdV8xqJYh HdUEfc/8Oho= Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 9EE3C205E8; Tue, 21 Jun 2016 02:54:05 -0400 (EDT) Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id B5A4B205E7; Tue, 21 Jun 2016 02:54:04 -0400 (EDT) From: Andy Wingo To: Vasiliy Subject: Re: bug#14789: BUG: Modules compile as ELF's on PE/PE+ architecture References: Date: Tue, 21 Jun 2016 08:53:53 +0200 In-Reply-To: (Vasiliy's message of "Fri, 12 Jul 2013 17:42:42 +0200") Message-ID: <87h9cn58xq.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: F19A8F34-377C-11E6-A9AD-28A6F1301B6D-02397024!pb-sasl2.pobox.com X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 14789-done Cc: Mark H Weaver , 14789-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi, Thanks fro trying the development branch. Sorry that it was in a non-working state when you were using it. In the meantime, we are getting close to a 2.2 release finally, so please do report any issues you have with 2.1.3 as new bugs. I'm archiving this report as there is nothing to do. Andy On Fri 12 Jul 2013 17:42, Vasiliy writes: > I've just checked the patches, and after > c32b7c4cef1c63a677a1c447a0386e90ab2ecd42 the code behavior has > changed. Compare > > AFTER: > Making all in module > make[2]: Entering directory > '/usr/src/64bit/release/guile/guile-2.1.0-57/build/module' > GUILEC ice-9/eval.go > Backtrace: > In unknown file: > ?: 16 [apply-smob/1 # #t ...] > ?: 15 [apply-smob/1 #] > ?: 14 [apply-smob/1 #] > ?: 13 [primitive-eval ((@ # %) (begin # # #))] > ?: 12 [apply-smob/1 #] > ?: 11 [apply-smob/1 #] > ?: 10 [apply-smob/1 #] > ?: 9 [apply-smob/1 #] > ?: 8 [apply-smob/1 #] > ?: 7 [apply-smob/1 #] > ?: 6 [apply-smob/1 #] > ?: 5 [apply-smob/1 #] > ?: 4 [apply-smob/1 #] > ?: 3 [apply-smob/1 #] > ?: 2 [apply-smob/1 #] > ?: 1 [apply-smob/1 # > wrong-number-of-args ...] > ?: 0 [apply-smob/1 #] > > ERROR: Makefile:2163: recipe for target 'ice-9/eval.go' failed > > BEFORE: > make[2]: Entering directory > '/usr/src/64bit/release/guile/guile-2.1.0-57/build/module' > GUILEC ice-9/eval.go > Backtrace: > In unknown file: > ?: 6 [apply-smob/1 # #t ...] > ?: 5 [apply-smob/1 #] > ?: 4 [apply-smob/1 #] > ?: 3 [primitive-eval ((@ # %) (begin # # #))] > ?: 2 [apply-smob/1 #] > ?: 1 [apply-smob/1 #] > ?: 0 [apply-smob/1 #] > > ERROR: Makefile:2163: recipe for target 'ice-9/eval.go' failed From unknown Fri Sep 05 11:51:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 19 Jul 2016 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator