From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Darrington Newsgroups: gmane.lisp.guile.bugs Subject: bug#19233: Errors building guile on Armv7 Date: Sun, 7 Dec 2014 09:24:20 +0100 Message-ID: <20141207082420.GA32405@jocasta.intra> References: <20141130112836.GA32628@jocasta.intra> <87ppbw3ucl.fsf@yeeloong.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" X-Trace: ger.gmane.org 1417940721 17263 80.91.229.3 (7 Dec 2014 08:25:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2014 08:25:21 +0000 (UTC) Cc: 19233@debbugs.gnu.org To: Mark H Weaver Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Dec 07 09:25:16 2014 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 1XxX9X-0004Vq-1E for guile-bugs@m.gmane.org; Sun, 07 Dec 2014 09:25:15 +0100 Original-Received: from localhost ([::1]:57314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxX9W-0007vH-81 for guile-bugs@m.gmane.org; Sun, 07 Dec 2014 03:25:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxX9O-0007sN-Tc for bug-guile@gnu.org; Sun, 07 Dec 2014 03:25:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxX9K-00053y-S1 for bug-guile@gnu.org; Sun, 07 Dec 2014 03:25:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxX9K-00053h-Nj for bug-guile@gnu.org; Sun, 07 Dec 2014 03:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XxX9K-0004Fp-GV for bug-guile@gnu.org; Sun, 07 Dec 2014 03:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Darrington Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 07 Dec 2014 08:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19233 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 19233-submit@debbugs.gnu.org id=B19233.141794066916301 (code B ref 19233); Sun, 07 Dec 2014 08:25:02 +0000 Original-Received: (at 19233) by debbugs.gnu.org; 7 Dec 2014 08:24:29 +0000 Original-Received: from localhost ([127.0.0.1]:55998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XxX8m-0004Eq-II for submit@debbugs.gnu.org; Sun, 07 Dec 2014 03:24:28 -0500 Original-Received: from de.cellform.com ([88.217.224.109]:54288 helo=jocasta.intra) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XxX8h-0004Ea-BQ for 19233@debbugs.gnu.org; Sun, 07 Dec 2014 03:24:26 -0500 Original-Received: from jocasta.intra (localhost [127.0.0.1]) by jocasta.intra (8.14.4/8.14.4/Debian-4) with ESMTP id sB78OLZN032528 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 7 Dec 2014 09:24:21 +0100 Original-Received: (from john@localhost) by jocasta.intra (8.14.4/8.14.4/Submit) id sB78OK4n032527; Sun, 7 Dec 2014 09:24:20 +0100 Content-Disposition: inline In-Reply-To: <87ppbw3ucl.fsf@yeeloong.lan> User-Agent: Mutt/1.5.21 (2010-09-15) 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-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:7668 Archived-At: --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 07, 2014 at 12:24:42AM -0500, Mark H Weaver wrote: John Darrington writes: =20 > I downloaded the snapshot from http://hydra.nixos.org/build/17611516 > > and ran into the following problems: > > My system does not have a libc with threading, so I configured guile= and > dependencies with --without-threads (or --disable-threads as appropr= iate). > > > I get the following error: > > > Throw without catch before boot: > > Error while printing exception: =20 [...] =20 > gdb suggests that the problem is that iconv fails and sets the error > message: "Cannot find thread-local variables on this target" =20 That error comes from GDB while trying to access 'errno', which is a thread-local variable. We still don't know the value of 'errno'. =20 As a temporary hack, you could replace the call to 'scm_encoding_error' at strings.c:2106 with a call to 'printf' that prints out the value of 'errno'. =20 I guess that both iconv and gdb are somewhat broken on your system. =20 You are right. I was linking to the wrong libiconv I think however, that your suggested work-around or something similar could= do with pushing to the master: There is a circular dependency here: If iconv_open= fails, guile tries to report the error using scm_locale_string which itself calls iconv_= open ... J' --=20 PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --liOOAslEiF7prFVr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlSEDrQACgkQimdxnC3oJ7MIeACeMtYa8L1pYnNJs0uTmZqcqmlH FNMAn1pF93rn+TJR2UKBwfdDvmZnvh9M =uDGq -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--