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: Thu, 4 Jul 2013 15:56:11 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1372956637 26484 80.91.229.3 (4 Jul 2013 16:50:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Jul 2013 16:50:37 +0000 (UTC) To: 14789@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jul 04 18:50: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 1Uumjr-0001JL-Fh for guile-bugs@m.gmane.org; Thu, 04 Jul 2013 18:50:35 +0200 Original-Received: from localhost ([::1]:51398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uumjr-0001jw-5A for guile-bugs@m.gmane.org; Thu, 04 Jul 2013 12:50:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uumcb-0003TX-MY for bug-guile@gnu.org; Thu, 04 Jul 2013 12:43:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UumcY-0006Ho-W0 for bug-guile@gnu.org; Thu, 04 Jul 2013 12:43:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UumcY-0006Hg-Sq for bug-guile@gnu.org; Thu, 04 Jul 2013 12:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UumcX-0008PS-Uf for bug-guile@gnu.org; Thu, 04 Jul 2013 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vasiliy Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 04 Jul 2013 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14789 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137295613332212 (code B ref -1); Thu, 04 Jul 2013 16:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jul 2013 16:42:13 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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== X-Received: by 10.50.171.163 with SMTP id av3mr2539331igc.33.1372946172041; Thu, 04 Jul 2013 06:56:12 -0700 (PDT) Original-Received: by 10.42.136.71 with HTTP; Thu, 4 Jul 2013 06:56:11 -0700 (PDT) X-Google-Sender-Auth: Vfizw-qR2sT3S32afq2b6rsiEH0 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-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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Thu, 04 Jul 2013 12:50:32 -0400 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:7195 Archived-At: 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