From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: beuc@beuc.net Newsgroups: gmane.lisp.guile.user Subject: Re: libunistring test Date: Mon, 23 Jun 2014 18:48:19 +0200 Message-ID: <20140623164819.GA27656@mail.beuc.net> References: <20140618215428.GA21875@mail.beuc.net> <87ppi3ansm.fsf@gnu.org> <20140621200625.GB9974@mail.beuc.net> <874mzeeylh.fsf@gnu.org> <20140622154204.GA5065@mail.beuc.net> <87y4wonja4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MGYHOYXEY6WxJCY8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1403542906 12518 80.91.229.3 (23 Jun 2014 17:01:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2014 17:01:46 +0000 (UTC) Cc: guile-user@gnu.org To: Ludovic =?iso-8859-1?Q?Court=E8s?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jun 23 19:01:39 2014 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 1Wz7cg-0003I9-F0 for guile-user@m.gmane.org; Mon, 23 Jun 2014 19:01:38 +0200 Original-Received: from localhost ([::1]:55071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz7cf-0001gp-DE for guile-user@m.gmane.org; Mon, 23 Jun 2014 13:01:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz7Q3-0001Kg-HM for guile-user@gnu.org; Mon, 23 Jun 2014 12:48:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz7Pw-0000VS-8p for guile-user@gnu.org; Mon, 23 Jun 2014 12:48:35 -0400 Original-Received: from sd-44944.dedibox.fr ([88.191.177.205]:37628 helo=mail.beuc.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz7Pv-0000UV-Ty; Mon, 23 Jun 2014 12:48:28 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.beuc.net (Postfix) with ESMTP id B034865DA1; Mon, 23 Jun 2014 16:48:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.beuc.net Original-Received: from mail.beuc.net ([127.0.0.1]) by localhost (mail.beuc.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PfLz0ap5k8La; Mon, 23 Jun 2014 16:48:20 +0000 (UTC) Original-Received: by mail.beuc.net (Postfix, from userid 1000) id 0598E65DA9; Mon, 23 Jun 2014 16:48:19 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87y4wonja4.fsf@gnu.org> X-Operating-System: GNU/Linux User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.191.177.205 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:11303 Archived-At: --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Jun 23, 2014 at 10:04:51AM +0200, Ludovic Court=C3=A8s wrote: > beuc@beuc.net skribis: > > On Sat, Jun 21, 2014 at 11:34:18PM +0200, Ludovic Court=C3=A8s wrote: > >> beuc@beuc.net skribis: > >> > On Fri, Jun 20, 2014 at 12:16:41PM +0200, Ludovic Court=C3=A8s wro= te: > >> >> beuc@beuc.net skribis: > >> >> > First important note: I had to move "AC_CHECK_LIB(m, cos)" (whi= ch btw > >> >> > could be rewritten at LT_LIB_M()) before gl_INIT in configure.a= c, > >> >> > otherwise libunistring would fail to be detected. > >> >>=20 > >> >> Could you send the config.log of the failing thing? > >> > > >> > Selected bits: > >> > > >> > configure:14688: checking for libunistring > >> > configure:14710: arm-linux-androideabi-gcc -o conftest -g -O2 -I= /usr/src/ndk-standalone-12/sysroot/usr/include conftest.c /usr/src/ndk-s= tandalone-12/sysroot/usr/lib/libunistring.so -Wl,-rpath -Wl,/usr/src/ndk-= standalone-12/sysroot/usr/lib >&5 > >> > /usr/src/ndk-standalone-12/bin/../lib/gcc/arm-linux-androideabi/= 4.6/../../../../arm-linux-androideabi/bin/ld: /usr/src/ndk-standalone-12/= sysroot/usr/lib/libunistring.so: error: undefined reference to 'frexp' > >> > collect2: ld returned 1 exit status > >>=20 > >> It looks like a libunistring issue no? Namely, libunistring assumed > >> frexp to be available in libc, and it isn=E2=80=99t. > > > > Incidentally, do you know why the test is referencing the .so directl= y? >=20 > That comes from Gnulib=E2=80=99s AC_LIB_HAVE_LINKFLAGS, and I believe t= his > explanation is this comment (from lib-link.m4): >=20 > dnl Using DIR/libNAME.so during linking hardcodes DIR into the > dnl resulting binary. I mean I made a minimal project with gnulib's libunistring module, and it checks using '-lunistring'. I attach it. So there's a difference somewhere. --=20 Sylvain --MGYHOYXEY6WxJCY8 Content-Type: application/octet-stream Content-Disposition: attachment; filename="testunistring.tar.gz" Content-Transfer-Encoding: base64 H4sIAEFZqFMAA+0b/XfaRjI/81dsie+Cc0Z8Q5vUfSdA2HoWEieJOL40jwqxgC5C4vThj7b3 v9/MSoCwBCQ917227HuAmJmdmd2Znf3QbED9IHQsP/AsZ1Z68auUcrlcbbUa+FtpNcrw2yo3 Kk38vyovKtVao1pu1OutyotypV5tNl6Qxq+jznYJ/cDwCHmxpJ7vOg61d9Ddud6nieU9h0rP WYIt+49dN4BHY/mkMtDAe+xfbVVrK/vXyvUa2L9ZrdZfkPKTarGj/Mnt//Kr0thySv4895Jc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