From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: guile 2.0.9 build on mingw Date: Sun, 16 Jun 2013 20:59:07 +0200 Message-ID: <87fvwhzxtw.fsf@gnu.org> References: <83sj1hv2ml.fsf@gnu.org> <874ndx9y7h.fsf@pobox.com> <83ip2bt4qk.fsf@gnu.org> <8761xqhyyt.fsf@gnu.org> <83li6mt18y.fsf@gnu.org> <83wqq3mcq9.fsf@gnu.org> <87k3m3kor5.fsf@gnu.org> <83ehcalysu.fsf@gnu.org> <87sj0pvl4a.fsf@tines.lan> <837gi1n3v5.fsf@gnu.org> <87k3m1vg8b.fsf@tines.lan> <83txl4lhby.fsf@gnu.org> <838v2fky99.fsf@gnu.org> <83k3lyw2wp.fsf@gnu.org> <87ehc214w4.fsf@gnu.org> <83vc5et5uk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371409467 1357 80.91.229.3 (16 Jun 2013 19:04:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Jun 2013 19:04:27 +0000 (UTC) Cc: guile-user@gnu.org To: Eli Zaretskii Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jun 16 21:04:26 2013 Return-path: Envelope-to: guile-user@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 1UoIFW-0001WS-7W for guile-user@m.gmane.org; Sun, 16 Jun 2013 21:04:26 +0200 Original-Received: from localhost ([::1]:45633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoIFV-0002ip-Jp for guile-user@m.gmane.org; Sun, 16 Jun 2013 15:04:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoIFM-0002ik-GV for guile-user@gnu.org; Sun, 16 Jun 2013 15:04:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoIFK-0005H6-PM for guile-user@gnu.org; Sun, 16 Jun 2013 15:04:16 -0400 Original-Received: from hera.aquilenet.fr ([141.255.128.1]:41563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoIFJ-0005Ge-5O; Sun, 16 Jun 2013 15:04:13 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7B959DA6; Sun, 16 Jun 2013 20:59:08 +0200 (CEST) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vi254aFPSk1v; Sun, 16 Jun 2013 20:59:08 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id E063E20F; Sun, 16 Jun 2013 20:59:07 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 Prairial an 221 de la =?utf-8?Q?R=C3=A9volution?= 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: <83vc5et5uk.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 Jun 2013 18:47:47 +0300") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 141.255.128.1 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10454 Archived-At: Eli Zaretskii skribis: >> From: ludo@gnu.org (Ludovic Court=C3=A8s) >> Cc: mhw@netris.org, guile-user@gnu.org >> Date: Sun, 16 Jun 2013 16:55:55 +0200 >>=20 >> > The tests in foreign.test failed because they need to be able to call >> > C functions in Guile itself. According to libtool documentation, this >> > requires to link with -export-dynamic, so this is needed: >> > >> > --- libguile/Makefile.am~ 2013-04-03 15:11:28.000000000 +0300 >> > +++ libguile/Makefile.am 2013-06-13 13:34:27.545323200 +0300 >> > @@ -113,7 +113,7 @@ >> > guile_SOURCES =3D guile.c >> > guile_CFLAGS =3D $(GUILE_CFLAGS) $(AM_CFLAGS) >> > guile_LDADD =3D libguile-@GUILE_EFFECTIVE_VERSION@.la >> > -guile_LDFLAGS =3D $(GUILE_CFLAGS) >> > +guile_LDFLAGS =3D $(GUILE_CFLAGS) -export-dynamic >> >=20=20 >> > libguile_@GUILE_EFFECTIVE_VERSION@_la_CFLAGS =3D $(GUILE_CFLAGS) $(AM= _CFLAGS) >>=20 >> Rather than exporting more symbols just for the sake of those test >> cases, I changed the test suite to skip those test cases when =E2=80=98q= sort=E2=80=99 is >> not visible: > > This isn't only about 'qsort', it's also about another test (whose > name I cannot remember at the moment). Oh, in coverage.test. Fixed. > Anyway, doesn't Guile expect to be able to call its own functions via > dynamic-link? No. Thanks, Ludo=E2=80=99.