From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#11083: guile-2.0.5 bug report Date: Sat, 24 Mar 2012 18:20:37 -0400 Message-ID: <87haxdmyiy.fsf@netris.org> References: <127239.40106.qm@web100701.mail.kks.yahoo.co.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1332627849 10436 80.91.229.3 (24 Mar 2012 22:24:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2012 22:24:09 +0000 (UTC) Cc: 11083@debbugs.gnu.org To: Kiyoshi KANAZAWA Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Mar 24 23:24:08 2012 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 1SBZNX-0005lK-Nk for guile-bugs@m.gmane.org; Sat, 24 Mar 2012 23:24:07 +0100 Original-Received: from localhost ([::1]:35979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBZNW-0003te-Qr for guile-bugs@m.gmane.org; Sat, 24 Mar 2012 18:24:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBZNU-0003tW-Jq for bug-guile@gnu.org; Sat, 24 Mar 2012 18:24:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBZNS-0001pk-Rn for bug-guile@gnu.org; Sat, 24 Mar 2012 18:24:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBZNS-0001pc-Oa for bug-guile@gnu.org; Sat, 24 Mar 2012 18:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SBZrS-000452-Dw for bug-guile@gnu.org; Sat, 24 Mar 2012 18:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 24 Mar 2012 22:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11083 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 11083-submit@debbugs.gnu.org id=B11083.133262967715644 (code B ref 11083); Sat, 24 Mar 2012 22:55:02 +0000 Original-Received: (at 11083) by debbugs.gnu.org; 24 Mar 2012 22:54:37 +0000 Original-Received: from localhost ([127.0.0.1]:37279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SBZr2-00044G-PI for submit@debbugs.gnu.org; Sat, 24 Mar 2012 18:54:37 -0400 Original-Received: from world.peace.net ([96.39.62.75]:46863) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SBZqm-00043t-Gh for 11083@debbugs.gnu.org; Sat, 24 Mar 2012 18:54:35 -0400 Original-Received: from c-98-216-245-176.hsd1.ma.comcast.net ([98.216.245.176] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1SBZMd-000657-G2; Sat, 24 Mar 2012 18:23:12 -0400 In-Reply-To: <127239.40106.qm@web100701.mail.kks.yahoo.co.jp> (Kiyoshi KANAZAWA's message of "Sat, 24 Mar 2012 11:48:01 +0900 (JST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:6265 Archived-At: Kiyoshi KANAZAWA writes: > I'm trying to install guile-2.0.5 on Solaris 10 x86-64 system. > I have some problems. > > (1) make fails with threads > make fails with configure CC="gcc -I/usr/local/GNU/include -L/usr/local/GNU/lib" --prefix=/usr/local/GNU > make stops with messages as: > make[3]: Entering directory `/tmp/guile-2.0.5/libguile' > CCLD guile > Undefined first referenced > symbol in file > GC_unregister_my_thread ./.libs/libguile-2.0.so > GC_register_my_thread ./.libs/libguile-2.0.so > GC_pthread_create ./.libs/libguile-2.0.so > GC_pthread_detach ./.libs/libguile-2.0.so > ld: fatal: symbol referencing errors. No output written to .libs/guile > collect2: ld returned 1 exit status > > libgc.a, libgc.la, libgc.so, libgc.so.1, libgc.so.1.0.3 can be found on /usr/local/GNU/lib. What version of libgc is installed? Was it built with POSIX thread support? On my GNU/Linux system, libgc's configure script output the following lines: checking for thread model used by GCC... posix checking for pthread_self in -lpthread... yes Do you see anything like that in your libgc configure output? > (2) make passes with --without-threads but Segmentation Fault occur in make check > make succeeds with configure --without-threads CC="gcc -I/usr/local/GNU/include -L/usr/local/GNU/lib" --prefix=/usr/local/GNU > But, make check failes as: > Testing /tmp/guile-2.0.5/meta/guile ... > with GUILE_LOAD_PATH=/tmp/guile-2.0.5/test-suite > /bin/bash: line 5: 29264 Segmentation Fault CHARSETALIASDIR="/tmp/guile-2.0.5/lib" > ${dir}$tst > FAIL: check-guile Hmm, I'm not sure what's happening here. I wonder if it's related to the locale bug (see below). > (3) guile does not go correctly if LANG is not C > Installed guile ignoring the result of make check, and ran guile --version with some LANG environment. This is a known bug, fixed in 5de0053178b4acc793ae62838175e5f3ab56c603. The fix will be in Guile 2.0.6. To work around this problem, use only locale identifiers with an explicit character set, such as "ja_JP.eucJP". The bug only affects locale identifiers without the character set suffix. Thanks, Mark