From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kiyoshi KANAZAWA Newsgroups: gmane.lisp.guile.bugs Subject: bug#11083: guile-2.0.5 bug report Date: Mon, 2 Apr 2012 21:02:26 +0900 (JST) Message-ID: <915872.94830.qm@web100717.mail.kks.yahoo.co.jp> References: <127239.40106.qm@web100701.mail.kks.yahoo.co.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1333368184 11922 80.91.229.3 (2 Apr 2012 12:03:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2012 12:03:04 +0000 (UTC) Cc: 11083@debbugs.gnu.org To: Mark H Weaver Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Apr 02 14:03:02 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 1SEfyP-0007M3-VG for guile-bugs@m.gmane.org; Mon, 02 Apr 2012 14:03:02 +0200 Original-Received: from localhost ([::1]:52022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEfyP-0006Ss-9Y for guile-bugs@m.gmane.org; Mon, 02 Apr 2012 08:03:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEfyE-0006S7-OC for bug-guile@gnu.org; Mon, 02 Apr 2012 08:02:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SEfyB-00031J-Qz for bug-guile@gnu.org; Mon, 02 Apr 2012 08:02:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEfyB-000316-Bk for bug-guile@gnu.org; Mon, 02 Apr 2012 08:02:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SEfyQ-0006m9-HU for bug-guile@gnu.org; Mon, 02 Apr 2012 08:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kiyoshi KANAZAWA Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 02 Apr 2012 12:03: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.133336817226009 (code B ref 11083); Mon, 02 Apr 2012 12:03:02 +0000 Original-Received: (at 11083) by debbugs.gnu.org; 2 Apr 2012 12:02:52 +0000 Original-Received: from localhost ([127.0.0.1]:35524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SEfyF-0006lS-RD for submit@debbugs.gnu.org; Mon, 02 Apr 2012 08:02:52 -0400 Original-Received: from web100717.mail.kks.yahoo.co.jp ([183.79.100.21]:36297) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SEfy9-0006lE-KR for 11083@debbugs.gnu.org; Mon, 02 Apr 2012 08:02:50 -0400 Original-Received: (qmail 97065 invoked by uid 60001); 2 Apr 2012 12:02:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1333368146; bh=t7hgM7yj/vxgtCi+5F/3HcHZgc4j5kh0tukahp4xhOk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=oxQh8g4SKcZdvk4XNBzzyrKwsQRWkAsH95PnVEBc+dSnstyJGUJOzDRfmBngFXKgZ3mP1mEs8qnE1MNyxwr4VWg1H1yNCJScPZG60I0QH7/KXt4gBTS4N0mtfPXz/L+9FX3ggBrjjTriL/KJttVHQHPnJo0j4o7lmfWOzy/1RTE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Bg8RBlKyDTXHUUgB0iCaM3ZXpOX8IL0joZkJzM+NcBd5yobhQKdCPsyHkbyVN2ewFQpd/Q+GYw56S+qQiawUylx+Gusc7uCyKuZPWypd0Xu6YSRYr6jEwx4C4MmgwMrFuBSx8fmamuGpD7HhP51PJMxy4yqH/PCXyDKwaU2xQ8Q=; X-YMail-OSG: QzTiUQsVM1lx40yvPtrc.mcc..pYe2sfQOiPh4KPFCmcAj67Qtv8JW.A26qQhhsGQxts3V98M_AbR3P1gRIYQ71kQV5RvWNdUl9_M16wc92.M.CebbYL.Q0qYYHspv0DI9Qk4.P_.iWAbddw8uZ22hxH35BWjY.08UQA2TFlwzxHxBLZ2XFq5cLzCbHyeMLDAIdytNylaezXjPzResQ52oF4_saAaE20rgvB4igp67C0Pca9fGkie8v.axKLBxyBO5wPsvRpQzRqECq8d_ynjRCCOdMJsxIZ5MDYJ_53wLsg1b7j Original-Received: from [58.188.240.128] by web100717.mail.kks.yahoo.co.jp via HTTP; Mon, 02 Apr 2012 21:02:26 JST X-Mailer: YahooMailClassic/6.0.19_47 YahooMailWebService/0.8.111_19 In-Reply-To: <384525.20233.qm@web100708.mail.kks.yahoo.co.jp> 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:6273 Archived-At: Hi, Mark,=0A=0AI analysed the problems.=0A(1) Why can not link libguile-2.0= .so.22=0ALD_LIBRARY_PATH_64 is not set correctly.=0AI changed "LD_LIBRARY_= PATH" to "LD_LIBRARY_PATH_64" in all the files in guile-2.0.5, and found li= bguile-2.0.so.22 can be linked.=0A=0A(2) About Segmentation Fault=0AThis se= ems to be same to=0A.=0AI do not know why it occurs only with -m64 option.=0A(I ha= ve no problem with -m32).=0A=0ARegards,=0A=0A--- Kiyoshi =0A=0A--- On Fri, 2012/3/30, Kiyoshi KANAZAWA wrote:=0A=0A> Hi, Mark,=0A> =0A> Thank you for your kindness.=0A>= =0A> I'm discussing with a member of gc project these 5 days.=0A> He also = told me to configure with "--enable-threads=3Dposix" instead of -DGC_THREAD= S.=0A> =0A> And I'm also testing the latest gc-7.2 candidate and gc-7.3 (de= velopement) candidate.=0A> =0A> =0A> Now, I'm retrying to build guile-2.0.5= again.=0A> Make & make check pass with gcc-3.4.3 -m32, but make fail with = -m64.=0A> Message of make check is:as follows.=0A> (libguile-2.0.so.22 is "= ELF 64-bit LSB executable", so that it can be linked.)=0A> =0A> make=A0 all= -am=0A> make[3]: Entering directory `/tmp/guile-2.0.5/libguile'=0A> =A0 GEN= =A0 =A0 guile-procedures.texi=0A> ld.so.1: guile: fatal: libguile-2.0.so.22= : open failed: No such file or directory=0A> /bin/bash: line 1: 23126 Broke= n Pipe=A0 =A0 =A0 =A0 =A0 =A0=A0=A0cat alist.doc arbiters.doc array-handle.= doc array-map.doc arrays.doc async.doc backtrace.doc boolean.doc bitvectors= .doc bytevectors.doc chars.doc control.doc continuations.doc debug.doc depr= ecated.doc deprecation.doc dynl.doc dynwind.doc eq.doc error.doc eval.doc e= valext.doc expand.doc extensions.doc feature.doc filesys.doc fluids.doc for= eign.doc fports.doc gc-malloc.doc gc.doc gettext.doc generalized-arrays.doc= generalized-vectors.doc goops.doc gsubr.doc guardians.doc hash.doc hashtab= .doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc list.doc load.doc m= acros.doc mallocs.doc memoize.doc modules.doc numbers.doc objprop.doc optio= ns.doc pairs.doc ports.doc print.doc procprop.doc procs.doc promises.doc r6= rs-ports.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc scr= ipt.doc simpos.doc smob.doc sort.doc srcprop.doc srfi-1.doc srfi-4.doc srfi= -13.doc srfi-14.doc srfi-60.doc stackchk.doc=0A> stacks.doc stime.doc stri= ngs.doc strorder.doc strports.doc struct.doc symbols.doc threads.doc throw.= doc trees.doc uniform.doc values.doc variable.doc vectors.doc version.doc v= ports.doc weaks.doc dynl.doc posix.doc net_db.doc socket.doc regex-posix.do= c=0A> =A0 =A0=A0=A023127 Killed=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | GUILE_= AUTO_COMPILE=3D0 ../meta/uninstalled-env guild snarf-check-and-output-texi = > guile-procedures.texi=0A> make[3]: *** [guile-procedures.texi] Error 1=0A= > =0A> Regards,=0A> =0A> --- Kiyoshi =0A> =0A> = --- On Thu, 2012/3/29, Mark H Weaver wrote:=0A> =0A> > Kiy= oshi KANAZAWA writes:=0A> > > Thank you Mark,= =0A> > > Sending this again with Cc:=0A> > >=0A> > > (1) Now, make succeeds= with threads=0A> > > Version of libgc is 7.1, but I found some macro defin= e is required for threads on Solaris.=0A> > > After re-install gc-7.1 with = -DGC_SOLARIS_THREADS or -DGC_THREADS,=0A> > > make succeeds.=0A> > =0A> > T= his is not my area of expertise, but for lack of other suggestions, I=0A> >= have two ideas:=0A> > =0A> > 1. You could try recompiling libgc using POSI= X threads instead of=0A> > =A0=A0=A0Solaris threads, and then rebuilding Gu= ile from scratch, starting=0A> > =A0=A0=A0with configure, and linking again= st the new libgc.=0A> > =0A> > =A0=A0=A0Guile supports only POSIX threads, = and I wouldn't be surprised if=0A> > =A0=A0=A0there are problems associated= with linking Guile against a libgc that=0A> > =A0=A0=A0uses a different th= reading library with slightly different semantics.=0A> > =0A> > 2. You coul= d try a newer version of libgc: 7.2alpha6, from=0A> > =A0=A0=A0http://www.h= pl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2alpha6.tar.gz=0A> > =0A> >= =A0=A0=A0Despite the scary version number, Hans Boehm himself now recommen= ds=0A> > =A0=A0=A0this version because 7.1 is so old (see "Where to get the= collector"=0A> > =A0=A0=A0at http://www.hpl.hp.com/personal/Hans_Boehm/gc/= )=0A> > =0A> > =A0 =A0 Thanks,=0A> > =A0 =A0 =A0 Mark=0A> > =0A> > =0A> > = > (2) Segmentation Fault occur in make check=0A> > > Still encounterd FAILS= as follows:=0A> > > make=A0 check-TESTS=0A> > > make[5]: Entering director= y `/tmp/guile-2.0.5/test-suite/standalone'=0A> > > Assertion failed: SCM_I_= IS_THREAD (data.thread), file threads.c, line 1135=0A> > > /bin/bash: line = 5: 11634 Abort=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0srcdir=3D"." builddi= r=3D"." CHARSETALIASDIR=0A> > > =3D"/tmp/guile-2.0.5/lib" GUILE_AUTO_COMPIL= E=3D0 "../../meta/uninstalled-env" ${dir}$tst=0A> > > FAIL: test-system-cmd= s=0A> > >=A0=A0=A0:=0A> > > PASS: test-extensions=0A> > > /bin/bash: line 5= : 12409 Segmentation Fault=A0 =A0 =A0 srcdir=3D"." builddir=3D"." CHARSETAL= IASDIR=0A> > > =3D"/tmp/guile-2.0.5/lib" GUILE_AUTO_COMPILE=3D0 "../../meta= /uninstalled-env" ${dir}$tst=0A> > > FAIL: test-with-guile-module=0A> > > P= ASS: test-scm-with-guile=0A> > > /bin/bash: line 5: 12455 Segmentation Faul= t=A0 =A0 =A0 srcdir=3D"." builddir=3D"." CHARSETALIASDIR=0A> > > =3D"/tmp/g= uile-2.0.5/lib" GUILE_AUTO_COMPILE=3D0 "../../meta/uninstalled-env" ${dir}$= tst=0A> > > FAIL: test-scm-spawn-thread=0A> > > /bin/bash: line 5: 12479 Se= gmentation Fault=A0 =A0 =A0 srcdir=3D"." builddir=3D"." CHARSETALIASDIR=0A>= > > =3D"/tmp/guile-2.0.5/lib" GUILE_AUTO_COMPILE=3D0 "../../meta/uninstall= ed-env" ${dir}$tst=0A> > > FAIL: test-pthread-create=0A> > > SKIP: test-pth= read-create-secondary=0A> > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A> > > 4 of 27 t= ests failed=0A> > > (1 test was not run)=0A> > > Please report to bug-guile= @gnu.org=0A> > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A> >=0A>