From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Vong Newsgroups: gmane.lisp.guile.user Subject: Can Guile be bootstrapped from source without psyntax-pp.scm? Date: Thu, 06 Jul 2017 23:24:14 +0800 Message-ID: <87d19dr3kx.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1499354709 20999 195.159.176.226 (6 Jul 2017 15:25:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Jul 2017 15:25:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) To: guile-user@gnu.org, bootstrappable@freelists.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jul 06 17:25:03 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dT8eL-00054X-99 for guile-user@m.gmane.org; Thu, 06 Jul 2017 17:25:01 +0200 Original-Received: from localhost ([::1]:51981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dT8eQ-0005qN-Ke for guile-user@m.gmane.org; Thu, 06 Jul 2017 11:25:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dT8e2-0005ov-PW for guile-user@gnu.org; Thu, 06 Jul 2017 11:24:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dT8dz-0005yV-Jr for guile-user@gnu.org; Thu, 06 Jul 2017 11:24:42 -0400 Original-Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:32854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dT8dz-0005xG-Ds for guile-user@gnu.org; Thu, 06 Jul 2017 11:24:39 -0400 Original-Received: by mail-pf0-x242.google.com with SMTP id e199so714013pfh.0 for ; Thu, 06 Jul 2017 08:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=a2HPJafPg5H6heaKsORVbUZ0Tlki4/L0s0tIMh4B4Io=; b=JslM1/RAQdyRqWzbMvL3EvcX3u7aUXnJfaiK0nwQ5KtWlOyPcmClbs7HWZXq6MQU25 V2mg43MigLC5a/sBZ/PYk48OKIFLE+1OYEv1w1qZIS1kSG5TdtaexzK2GWGhkwum0COs 5yqOL4dD2kVE3WlkBsxvl9u89hyqEB9Zfn8RomP3fU7RCF6CuIZx8oTly98nLejmewAb 0zd45q7LpulVFv1iq1cEoME1EnjxsU8eePl7EhlgSQwNpKoHo3wKHEo4JJLz8OVwhYqQ gA3vUEk5eeqf82/Nw3nzNbNB9W9fqvC6vrd354nsTtvyL+hWmMVHbx+Ync0+n0gOiN6E 1U4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=a2HPJafPg5H6heaKsORVbUZ0Tlki4/L0s0tIMh4B4Io=; b=eV/x+24hk06OTeZ8WpLvf8x4zhQB+FvM6Wg778nz3ujk97cTM3dcgzxyzqzPs/3h0y XNhG0tvx3CFUulHdCP6eozdtK8fwUmssAXzur+sM0OEGpDSVHlCONND23rjZQIkTbMH5 L3XRalY3XsTNhD/ul9lcaAy4bTUmmKDRUdCqxxYA5RZsKxrHLo4uugXFWnjYhyJ4C7KG gR0EkoCSgLsq5k+vwMIe5rhD9Gzr82UaHQAHpaqQvD1p8aDFfmNFx3cWf6sw3LUthLnr 5Q5beDVj6L7CL33GIXgr5yYY64uHSIf4huSIgTscRxmDX6R5nRQD1/pKNGhZEnpaGJMK jyDQ== X-Gm-Message-State: AIVw113dnljO0Lb4bCGkWbbJHGFVcn2g7ywfcKYGfCt51aORRrQtM7vA ss2RupxtHCdE3Q== X-Received: by 10.84.132.74 with SMTP id 68mr8571643ple.179.1499354676847; Thu, 06 Jul 2017 08:24:36 -0700 (PDT) Original-Received: from debian (1-36-201-049.static.netvigator.com. [1.36.201.49]) by smtp.gmail.com with ESMTPSA id o84sm1044363pfj.109.2017.07.06.08.24.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Jul 2017 08:24:35 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::242 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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:13899 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, Recently, I've read the chapter on Macros in Guile's manual. The manual says that Guile's expander originated from that of Chez Scheme's and that version was portable to other schemes as well. So I search the Internet and find it[0]. The website states that the expander needs an expanded version of itself for bootstrapping, i.e. psyntax.ss needs psyntax.pp for bootstrapping. After playing for awhile, I realize the relationship of Guile's psyntax.scm and psyntax-pp.scm is exactly analogus. One needs an expanded version of psyntax.scm, i.e. psyntax-pp.scm for bootstrapping. Does this mean Guile is not bootstrappable from source only? I've tried to compile Guile 2.2.2 with psyntax-pp.scm removed and I get a segfault[1]. It seems the interpreter relies on psyntax-pp.scm to function properly. I don't know if I should bring this discussion to guix-devel. Free to do so if you think it is on topic. Cheers, Alex [0]: https://www.cs.indiana.edu/chezscheme/syntax-case/old-psyntax.html [1]: GEN guile-procedures.texi Uncaught exception: Backtrace: /bin/bash: line 1: 4113 Broken pipe cat alist.doc array-handle= .doc array-map.doc arrays.doc async.doc atomic.doc backtrace.doc boolean.do= c bitvectors.doc bytevectors.doc chars.doc control.doc continuations.doc de= bug.doc deprecated.doc deprecation.doc dynl.doc dynwind.doc eq.doc error.do= c eval.doc evalext.doc expand.doc extensions.doc fdes-finalizers.doc featur= e.doc filesys.doc fluids.doc foreign.doc fports.doc gc-malloc.doc gc.doc ge= ttext.doc generalized-arrays.doc generalized-vectors.doc goops.doc gsubr.do= c guardians.doc hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc = keywords.doc list.doc load.doc macros.doc mallocs.doc memoize.doc modules.d= oc numbers.doc objprop.doc options.doc pairs.doc ports.doc print.doc procpr= op.doc procs.doc promises.doc r6rs-ports.doc random.doc rdelim.doc read.doc= rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc srf= i-1.doc srfi-4.doc srfi-13.doc srfi-14.doc srfi-60.doc stackchk.doc stacks.= doc stime.doc strings.doc strorder.doc strports.doc struct.doc symbols.doc = syntax.doc threads.doc throw.doc trees.doc unicode.doc uniform.doc values.d= oc variable.doc vectors.doc version.doc vports.doc weak-set.doc weak-table.= doc weak-vector.doc dynl.doc posix.doc net_db.doc socket.doc regex-posix.doc 4114 Segmentation fault | GUILE_AUTO_COMPILE=3D0 ../meta/build-e= nv guild snarf-check-and-output-texi > guile-procedures.texi make[3]: *** [Makefile:3909: guile-procedures.texi] Error 1 make[3]: Leaving directory '/home/alexvong1995/scm/guile-2.2.2/libguile' make[2]: *** [Makefile:2299: all] Error 2 make[2]: Leaving directory '/home/alexvong1995/scm/guile-2.2.2/libguile' make[1]: *** [Makefile:1857: all-recursive] Error 1 make[1]: Leaving directory '/home/alexvong1995/scm/guile-2.2.2' make: *** [Makefile:1743: all] Error 2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEdZDkzSn0Cycogr9IxYq4eRf1Ea4FAlleVh4ACgkQxYq4eRf1 Ea5YkQ//QGazXQkJzn2vjWTGc5amfrDWpxyGxBbLREoyVkmea//ry8cc3Hegok06 GauW/71xFFW4Ny9iQAXmPeBbW0SRqBvgC2g6ZTD3WSbN/A0pRInmYFBmlaNKl7Qp RDDy8m0dnO7DSrRECUA1IMPGYsa+mKhbY5hwgOOaG5/rw/qzff5gq9RntzeRmZOV 5T5g2aM2VW9BHLghWB6uyUj8Y7ywmXWV+48L8VOQrvvXG3I+bn7lbg29w3mA2HEN /c3TPsMNQUqjr9lELivYZsPjnBHXPhRBAzBr6C6A3Oow1vskrucbcuUGo/VsLjlr JKg3iyZJjK9Fb0uksYzb1uWAiK9Z78LZeic1+tHdWplWMwOPLSle4FdCdd7MNFPr xfikPnX54LD7o3mFl10ArtwjJxSLGEpYx5+v3rG53gVCIGGrwY4e2SL7a9ekPGW5 nGEs42Yy2C1CXY7brFPViNj73qQmmJRbfWyJs78PWhgYKVAzAUOSooIQFuZ4itNB Ri8e+OC0zcBa0ryGrToSoSdKwde/oluW3BxfAL27VBL+FK6nttk7A+dwhSb2L2UA gADsah1goSZ+/ouYfJOr4vqzapoL8WUDXXcunH38cUW6eiFfljUTjfZWZRwbXUVc iNYHsWGVbV089N5HmC0MMWVtZsecH3w0N+C+jMgQE5gAoIZys7Y= =1hhY -----END PGP SIGNATURE----- --=-=-=--