From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: 2.9.5 build segfault on Ubuntu 18.04 [WAS: Nyacc and guile-nearly-3.0 (progress report)] Date: Tue, 3 Dec 2019 17:43:31 +0100 Message-ID: <20191203164331.GC12598@tuxteam.de> References: <20191202094041.GA10353@tuxteam.de> <20191202125507.GA14913@tuxteam.de> <94784430-a9ad-bb11-f481-ef2426a6dfca@gmail.com> <6218f387-2e14-fce2-921b-91351cbca68e@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bu8it7iiRSEf40bY" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="220122"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: guile-user@gnu.org, guile-devel@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Dec 03 18:39:51 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1icC9O-000v6C-T6 for guile-user@m.gmane.org; Tue, 03 Dec 2019 18:39:51 +0100 Original-Received: from localhost ([::1]:56648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icC9M-0000Jh-Gf for guile-user@m.gmane.org; Tue, 03 Dec 2019 12:39:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40302) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icBH3-0005Fy-R4 for guile-user@gnu.org; Tue, 03 Dec 2019 11:43:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icBGy-00053H-1n for guile-user@gnu.org; Tue, 03 Dec 2019 11:43:39 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:35314) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1icBGx-0004oc-89; Tue, 03 Dec 2019 11:43:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date; bh=qikouPrtaOOuk23TviY3OxsfIcPGYhY1Ly0s1RusM1w=; b=kCQT68qMK1fcn42HY9sljLzRuyNyn2t6ZJ6EmfW1kl0bIJOexrIZl/GdEErXCoCEJl2ljSZCRx2C9T1fd8i1dqRK4rsr1ns+oSoXblp2C+iua4eRcSkWwRZIKuxeWmTFPh+qrd8mulyUeHzmepOrpqFU61fT/eHfJYk3Zb15o6EGBsYrHvhby45GFx0kaAvEGrsdz9cTCD39bwM6Dc1DFMXx9xoath2D0nyUSH60SCQt1TAxdi4BvMPSo3BouQVwXkEqDdO/n7keG5XoiFuDBRgCPoTxjDwbN2FNHALbIz6nPRA1N1bXxANPEWunqh2RC29840HF3jXyE9aT3vyhEg==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1icBGt-0004OL-HU; Tue, 03 Dec 2019 17:43:31 +0100 Content-Disposition: inline In-Reply-To: <6218f387-2e14-fce2-921b-91351cbca68e@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.lisp.guile.user:15932 gmane.lisp.guile.devel:20178 Archived-At: --Bu8it7iiRSEf40bY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 02, 2019 at 05:09:42PM -0800, Matt Wette wrote: >=20 > On 12/2/19 6:28 AM, Matt Wette wrote: > >I'm building 2.9.5 now but running into errors (ubuntu 18.04): > >/bin/bash: line 6: 14657 Segmentation fault=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (core dumped) > >GUILE_AUTO_COMPILE=3D0 ../meta/build-env guild compile > >--target=3D"x86_64-pc-linux-gnu" -O1 -Oresolve-primitives -L > >"/home/mwette/proj/guile/guile-2.9.5/module" -L > >"/home/mwette/proj/guile/guile-2.9.5/guile-readline" -o > >"system/vm/linker.go" "../module/system/vm/linker.scm" > So, as a random check, I first verified that I could reproduce the > above error at the command line.=C2=A0 I did. >=20 > Then I removed "-Oresolve-primitives" and it compiled without > error.=C2=A0=C2=A0 Any help? OK -- compiles successfully now. I realize in hindsight that my answers sometimes went (only) to guile-devel, so I re-quote that one where I "solved" configury: > OK, solved this one -- will try to follow up with the rest. >=20 > I just had to set GUILE_PROGS in etc/configure.ac besides GUILE_PKG, > like so: >=20 > GUILE_PKG([3.0]) > GUILE_PROGS([2.9.5]) >=20 > Configure now does "something". Next steps later. So far, so good. Now it compiles "cleanly" (but there's no -Oresolve-primit= ives option in sight in all of the compile; no idea why). A cursory test (with the example from the man page) shows signs of life. Yay! Thanks -- tom=C3=A1s --Bu8it7iiRSEf40bY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl3mkLMACgkQBcgs9XrR2kYLjQCfa5ImQF+Sqs4uKnMjw/VJTDyh ZbwAn32w5Etq+HQbVir9BHlKoZ3Z083Q =7+Nu -----END PGP SIGNATURE----- --Bu8it7iiRSEf40bY--