From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: Re: 1.9.9 test failures on powerpc-apple-darwin8 Date: Sat, 20 Mar 2010 17:18:00 +0100 Message-ID: <87hbobt1af.fsf@gnu.org> References: <20100319163330.A88474@shannon.csl.cornell.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1269101912 22899 80.91.229.12 (20 Mar 2010 16:18:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 20 Mar 2010 16:18:32 +0000 (UTC) Cc: bug-guile@gnu.org To: David Fang Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Mar 20 17:18:25 2010 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nt1NR-0002oN-6u for guile-bugs@m.gmane.org; Sat, 20 Mar 2010 17:18:17 +0100 Original-Received: from localhost ([127.0.0.1]:45082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nt1NQ-0000sN-Jz for guile-bugs@m.gmane.org; Sat, 20 Mar 2010 12:18:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nt1NM-0000sB-1q for bug-guile@gnu.org; Sat, 20 Mar 2010 12:18:12 -0400 Original-Received: from [140.186.70.92] (port=46762 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nt1NJ-0000rH-LS for bug-guile@gnu.org; Sat, 20 Mar 2010 12:18:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nt1ND-0004MO-T8 for bug-guile@gnu.org; Sat, 20 Mar 2010 12:18:09 -0400 Original-Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:40827) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nt1ND-0004MG-MT for bug-guile@gnu.org; Sat, 20 Mar 2010 12:18:03 -0400 X-IronPort-AV: E=Sophos;i="4.51,279,1267398000"; d="scan'208";a="55623683" Original-Received: from reverse-83.fdn.fr (HELO nixey) ([80.67.176.83]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 20 Mar 2010 17:18:02 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 =?iso-8859-1?Q?Vent=F4se?= an 218 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <20100319163330.A88474@shannon.csl.cornell.edu> (David Fang's message of "Fri, 19 Mar 2010 16:44:00 -0400 (EDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4528 Archived-At: Hi David, Thanks for your report! David Fang writes: > ERROR: Bad return from expression (f-s8-) -1 -100 > FAIL: test-ffi Can you check whether this patch fixes it? http://git.sv.gnu.org/gitweb/?p=3Dguile.git;a=3Dcommitdiff;h=3Da2c6904911= 577b51c2486ad7115a4311524d4a96 I stumbled upon this bug with bindings for a C function with arguments (list '* size_t '*) where the first pointer got mangled before it was passed to the C function. We were =E2=80=9Clucky=E2=80=9D that none of the= tests in =E2=80=98test-ffi=E2=80=99 uncovered it. > FAIL: net-db.test: getaddrinfo: no name > FAIL: net-db.test: getaddrinfo: wrong service name We=E2=80=99ve seen similar problems on Darwin 9.2.2: http://lists.gnu.org/archive/html/bug-gnulib/2010-02/msg00061.html Could you please email =E2=80=98bug-gnulib@gnu.org=E2=80=99 with a referenc= e to this thread and additional data regarding the behavior of getaddrinfo(3) on this platform? (I don=E2=80=99t have access to this platform.) > Running regexp.test > ERROR: regexp.test: regexp-quote: regexp/extended: (char 254 #\=C3=83=C2= =BE > "=C3=83=C2=BE") -=20 > arguments: ((regular-expression-syntax "make-regexp" "empty > (sub)expression" #f ("=C3=83=C2=BE"))) > FAIL: regexp.test: regexp-quote: regexp/extended: (string "aX" 254 > #\=C3=83=C2=BE "a=C3=83=C2=BE" "a=C3=83=C2=BE") > FAIL: regexp.test: regexp-quote: regexp/extended: string of all chars I don=E2=80=99t remember seeing it before. What does this return on your machine: $ locale -a | grep 8859.*1 Thanks, Ludo=E2=80=99.