<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1615</id>
	<title>Nabble - Gnu - GCL</title>
	<updated>2009-12-19T14:32:37Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---GCL-f1615.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---GCL-f1615.html" />
	<subtitle type="html">Gnu GCL is an implementation of Common Lisp. Gnu - GCL home is &lt;a href=&quot;http://www.gnu.org/software/gcl/gcl.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26859206</id>
	<title>Re: GCL and the fork system call</title>
	<published>2009-12-19T14:32:37Z</published>
	<updated>2009-12-19T14:32:37Z</updated>
	<author>
		<name>Gabriel Dos Reis-2</name>
	</author>
	<content type="html">Camm Maguire &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26859206&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;| Greetings!
&lt;br&gt;| 
&lt;br&gt;| Gabriel Dos Reis &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26859206&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdr@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; Hi Camm --
&lt;br&gt;| &amp;gt;
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp;It is &amp;quot;safe&amp;quot; for a C function linked into GCL image to call fork()?
&lt;br&gt;| &amp;gt;
&lt;br&gt;| &amp;gt; Thanks,
&lt;br&gt;| &amp;gt;
&lt;br&gt;| 
&lt;br&gt;| In general, yes. &amp;nbsp;This is used already in several places, esp. &amp;nbsp;cvs
&lt;br&gt;| head.
&lt;br&gt;| 
&lt;br&gt;| Please keep in mind that fork usually uses copy on write pages, so
&lt;br&gt;| that if you gc in the child, you will page out and copy basically the
&lt;br&gt;| entire heap.
&lt;br&gt;&lt;br&gt;OK, many thanks for th info.
&lt;br&gt;&lt;br&gt;-- Gaby
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26859206&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GCL-and-the-fork-system-call-tp26849472p26859206.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26856312</id>
	<title>Re: GCL and the fork system call</title>
	<published>2009-12-19T08:15:46Z</published>
	<updated>2009-12-19T08:15:46Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">Greetings!
&lt;br&gt;&lt;br&gt;Gabriel Dos Reis &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26856312&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdr@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi Camm --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;It is &amp;quot;safe&amp;quot; for a C function linked into GCL image to call fork()?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;In general, yes. &amp;nbsp;This is used already in several places, esp. &amp;nbsp;cvs
&lt;br&gt;head.
&lt;br&gt;&lt;br&gt;Please keep in mind that fork usually uses copy on write pages, so
&lt;br&gt;that if you gc in the child, you will page out and copy basically the
&lt;br&gt;entire heap.
&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -- Gaby
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Gcl-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26856312&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26856312&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26856312&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GCL-and-the-fork-system-call-tp26849472p26856312.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26849472</id>
	<title>GCL and the fork system call</title>
	<published>2009-12-18T12:43:03Z</published>
	<updated>2009-12-18T12:43:03Z</updated>
	<author>
		<name>Gabriel Dos Reis</name>
	</author>
	<content type="html">Hi Camm --
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;It is &amp;quot;safe&amp;quot; for a C function linked into GCL image to call fork()?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;-- Gaby
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26849472&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GCL-and-the-fork-system-call-tp26849472p26849472.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26832587</id>
	<title>Ownership (or assignment) of GCL test code</title>
	<published>2009-12-17T10:18:06Z</published>
	<updated>2009-12-17T10:18:06Z</updated>
	<author>
		<name>Aidan Kehoe</name>
	</author>
	<content type="html">&lt;br&gt;Hi there --
&lt;br&gt;&lt;br&gt;I’m doing some XEmacs work, and I’d like to use the GCL test code, e.g.
&lt;br&gt;here: &lt;a href=&quot;http://mid.gmane.org/19190.54586.784516.19228@parhasard.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mid.gmane.org/19190.54586.784516.19228@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;There’s no informationa about who owns the copyright of GCL, and there’s no
&lt;br&gt;copyright notice in the particular file with the tests I’d like to use. Do
&lt;br&gt;you happen to have this information? If not, where can I get it?
&lt;br&gt;&lt;br&gt;Best, 
&lt;br&gt;&lt;br&gt;Aidan Kehoe
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;“Apart from the nine-banded armadillo, man is the only natural host of
&lt;br&gt;Mycobacterium leprae, although it can be grown in the footpads of mice.”
&lt;br&gt;&amp;nbsp; -- Kumar &amp; Clark, Clinical Medicine, summarising improbable leprosy research
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26832587&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ownership-%28or-assignment%29-of-GCL-test-code-tp26832587p26832587.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26796252</id>
	<title>Re: Bug in mpz_get_d</title>
	<published>2009-12-15T06:49:39Z</published>
	<updated>2009-12-15T06:49:39Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">Paul Zimmermann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26796252&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Paul.Zimmermann@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Please stop writing verbose message with kilobytes of irrelevant copied
&lt;br&gt;&amp;gt;&amp;gt; text. &amp;nbsp;This is a bugs mailing list and not a dicussion forum. &amp;nbsp;After
&lt;br&gt;&amp;gt;&amp;gt; many long messages, we have yet to see evidence that there is any bug in
&lt;br&gt;&amp;gt;&amp;gt; GMP, just evidence of poor reading of documentation, and possibly poor
&lt;br&gt;&amp;gt;&amp;gt; understanding of IEEE 754.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Please accept my apologies. &amp;nbsp;You are correct. &amp;nbsp;I did read and
&lt;br&gt;understand the documentation. &amp;nbsp;I did not correctly understand the
&lt;br&gt;implications of the rounding algorithm.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; here is a tentative to close that issue.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Summary: for input a = 2^1000-1 = 10715086071862673...375, mpz_get_d(a) gives
&lt;br&gt;&amp;gt; 1.0715086071862672E301, whereas Camm Maguire expected 1.0715086071862673E301.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Explanation:
&lt;br&gt;&amp;gt; 1) as said in the documentation, mpz_get_d truncates its input, thus 2^1000-1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;is truncated to d = 2^1000-2^947, which is the largest 53-bit floating-point
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;number less or equal to a. We have d = 10715086071862672[0]...048.
&lt;br&gt;&amp;gt; 2) when printed to 17 figures, d is rounded to nearest, which gives
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;1.0715086071862672E301.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (Remember that double-precision floating-point numbers are stored in binary.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thus I see no bug.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;You are right. &amp;nbsp;Again, my apologies. &amp;nbsp;I did not see at first blush how
&lt;br&gt;rounding toward zero in one base could result in an error of more than
&lt;br&gt;one least significant digit in another base, but it is clearly true.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Take care, and thanks for your work on GMP.
&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26796252&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26796252&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-mpz_get_d-tp26750868p26796252.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788539</id>
	<title>Re: Apology (was: Bug in mpz_get_d)</title>
	<published>2009-12-14T18:41:58Z</published>
	<updated>2009-12-14T18:41:58Z</updated>
	<author>
		<name>Enrique Perez-Terron</name>
	</author>
	<content type="html">On Mon, 2009-12-14 at 15:11 +0100, Torbjorn Granlund wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Please explain what you get and what you expect. &amp;nbsp;*One* example of
&lt;br&gt;&amp;gt; incorrect+correct data is what we need.
&lt;br&gt;&lt;br&gt;I aplolgise that I did not check the list of recipients more carefully.
&lt;br&gt;I meant to follow up to the Gcl-devel list, and was not aware that
&lt;br&gt;the parent post already had added gmp-bugs to the recipients. &amp;nbsp;Reporting
&lt;br&gt;a bug to Gmp was mentioned as an option later in the thread, and I am
&lt;br&gt;confused to find that the original poster had already done so.
&lt;br&gt;&lt;br&gt;&amp;gt; Enrique Perez-Terron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788539&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;enrio@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; If stability is desired, mpfr is the one to use. GMP does not aim at
&lt;br&gt;&amp;gt; &amp;nbsp; stability, as far as I understand.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You misunderstand. &amp;nbsp;GMP very much aims at stability.
&lt;br&gt;&lt;br&gt;You are right. &amp;nbsp;Mpfr adds the option to specify the rounding policy.
&lt;br&gt;That does not mean that Gmp's rounding is unpredictable. &amp;nbsp;My thinking
&lt;br&gt;and my choice of words were inexact.
&lt;br&gt;&lt;br&gt;Gmp seems to round toward zero, rather than to nearest. &amp;nbsp;I appreciate
&lt;br&gt;that users of a package like Gmp normally should set the required
&lt;br&gt;precision to suits their needs with a reasonable margin, and not get
&lt;br&gt;hurt if the rounding is another than the canonical one.
&lt;br&gt;&lt;br&gt;Different application areas require different rounding policies, and
&lt;br&gt;rounding to zero is not unreasonable, especially if it is faster.
&lt;br&gt;&lt;br&gt;Now lisp is an application area independent tool, and it has this
&lt;br&gt;(float) command that converts to a hardware-supported floating point
&lt;br&gt;type. &amp;nbsp;I suppose rounding to nearest is the least surprising to users of
&lt;br&gt;such general software. I suppose there is some cost to this rounding,
&lt;br&gt;but suspect this natural trade-off tips in favor of agreeing with the
&lt;br&gt;canonical rounding.
&lt;br&gt;&lt;br&gt;For the benefit of the CC-ed list readers, I add some explanatory
&lt;br&gt;remarks.
&lt;br&gt;&lt;br&gt;In the test data used by the OP, the value of &amp;quot;a&amp;quot; happens to be
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;a == 2^1000 &amp;nbsp;- 1.
&lt;br&gt;&lt;br&gt;In a binary representation, this is a 1000-bit field with all ones.
&lt;br&gt;Adding one to this number produces a 1001-bit field with a leading one
&lt;br&gt;and a thousand zeros. One can expect rounding policy transitions to
&lt;br&gt;happen here.
&lt;br&gt;&lt;br&gt;The &amp;quot;standard&amp;quot; floating-point format splits a 64-bit field in three
&lt;br&gt;areas (s,e,m) of 1, 11, and 52 bits respectively. &amp;nbsp;If these fields are
&lt;br&gt;thought as containing unsigned integers s,e,m, the value of the number
&lt;br&gt;represented is normally
&lt;br&gt;&lt;br&gt;&amp;nbsp; (-1)^s &amp;nbsp;* &amp;nbsp;2^(e - 1023) * ( 1 + m/2^52 ).
&lt;br&gt;&lt;br&gt;This gives a choice between representing &amp;quot;a&amp;quot; as
&lt;br&gt;&lt;br&gt;&amp;nbsp; 2^1000 &amp;nbsp; &amp;nbsp; (with an &amp;quot;m&amp;quot; part that is all zeros)
&lt;br&gt;&lt;br&gt;or
&lt;br&gt;&lt;br&gt;&amp;nbsp; 2^1000 - 2^947 &amp;nbsp; &amp;nbsp;(with an &amp;quot;m&amp;quot; part that is all ones)
&lt;br&gt;&lt;br&gt;It appears that Gmp truncates the '1's in the binary representation of
&lt;br&gt;&amp;quot;a&amp;quot; that do not fit in the &amp;quot;m&amp;quot; field. This is rounding toward zero, and
&lt;br&gt;chooses the second alternative above.
&lt;br&gt;&lt;br&gt;The leading 20 digits of the number 2^1000 - 2^947 in a decimal
&lt;br&gt;representation are
&lt;br&gt;&lt;br&gt;&amp;nbsp; 1071 5086 0718 6267 2019
&lt;br&gt;&lt;br&gt;The leading 20 digits of the number 2^1000 in a decimal representation
&lt;br&gt;are
&lt;br&gt;&lt;br&gt;&amp;nbsp; 1071 5086 0718 6267 3209
&lt;br&gt;&lt;br&gt;These are the digits that show in the printout from the OP's post and
&lt;br&gt;from my little test program. This explains the differences in the
&lt;br&gt;outputs as effects of rounding.
&lt;br&gt;&lt;br&gt;The Mpfr library has an additional parameter to its functions, that
&lt;br&gt;specifies the desired rounding policy. In the test program I used
&lt;br&gt;rounding to nearest and got for 2^1000 - 1, 2^1000 rather than 2^1000 -
&lt;br&gt;2^947.
&lt;br&gt;&lt;br&gt;-Enrique
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788539&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-mpz_get_d-tp26750868p26788539.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788315</id>
	<title>Re: Bug in mpz_get_d</title>
	<published>2009-12-14T18:08:39Z</published>
	<updated>2009-12-14T18:08:39Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">Greetings!
&lt;br&gt;&lt;br&gt;Torbjorn Granlund &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788315&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tg@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; Enrique Perez-Terron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788315&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;enrio@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; If stability is desired, mpfr is the one to use. GMP does not aim at
&lt;br&gt;&amp;gt; &amp;nbsp; stability, as far as I understand.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You misunderstand. &amp;nbsp;GMP very much aims at stability.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Whew! &amp;nbsp;Thanks!
&lt;br&gt;&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Torbjörn
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788315&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788315&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-mpz_get_d-tp26750868p26788315.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788312</id>
	<title>Re: Bug in mpz_get_d</title>
	<published>2009-12-14T18:08:22Z</published>
	<updated>2009-12-14T18:08:22Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">Greetings!
&lt;br&gt;&lt;br&gt;Enrique Perez-Terron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788312&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;enrio@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, 2009-12-14 at 04:23 +0100, Enrique Perez-Terron wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Fri, 2009-12-11 at 15:12 -0500, Camm Maguire wrote:
&lt;br&gt;&amp;gt; [snip]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;(float a)
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 1.0715086071862672E301
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;(float (1+ a))
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 1.0715086071862673E301
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But there is just one bit of difference:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 7e6fffffffffffff
&lt;br&gt;&amp;gt; 7e70000000000000
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Yes, but all integers input should begin with the last bit pattern,
&lt;br&gt;no? &amp;nbsp;All are greater than ....73.
&lt;br&gt;&lt;br&gt;&amp;gt; (double, high address byte printed first on x86)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If stability is desired, mpfr is the one to use. GMP does not aim at
&lt;br&gt;&amp;gt; stability, as far as I understand. mpfr is specifically &amp;quot;sold&amp;quot; as GMP
&lt;br&gt;&amp;gt; with correct rounding, even if it has grown beyond that.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;????
&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;&lt;br&gt;&amp;gt; -Enrique
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788312&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788312&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-mpz_get_d-tp26750868p26788312.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788289</id>
	<title>Re: Bug in mpz_get_d</title>
	<published>2009-12-14T18:06:40Z</published>
	<updated>2009-12-14T18:06:40Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">Greetings, and thanks for your reply!
&lt;br&gt;&lt;br&gt;Enrique Perez-Terron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788289&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;enrio@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 2009-12-11 at 15:12 -0500, Camm Maguire wrote:
&lt;br&gt;&amp;gt;&amp;gt; Greetings! &amp;nbsp;Workaround?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;(setq a (numerator **))
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069375
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;(float a)
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 1.0715086071862672E301
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;(float (1+ a))
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 1.0715086071862673E301
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;(float (1- a))
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 1.0715086071862672E301
&lt;/div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This is the problem. &amp;nbsp;Even rounding toward 0 at
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; all times this should be ....673 from the digit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string above. &amp;nbsp;This is presuming that rounding
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; toward zero in any base should not produce a number 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lower by more than one least significant digit in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; any other base. &amp;nbsp;(true?)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Testing GMP and MPFR directly
&lt;br&gt;&amp;gt; $ ./test-gmp 
&lt;br&gt;&amp;gt; Using GMP and mpf_get_d:
&lt;br&gt;&amp;gt; ================
&lt;br&gt;&amp;gt; num = 10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069375
&lt;br&gt;&amp;gt; 1.071508607186267202E+301 &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1 + num = 10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069376
&lt;br&gt;&amp;gt; 1.0715086071862673209E+301 &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1 - num = -10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069374
&lt;br&gt;&amp;gt; -1.071508607186267202E+301 &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;(in lisp (1- a) = a - 1, so the sign issue is correct here).
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Using MPFR:
&lt;br&gt;&amp;gt; ==================
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Num = 1.0715086071862673209E+301 &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1 + num = 1.0715086071862673209E+301 &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1 - num = -1.0715086071862673209E+301 &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't know why float(1-a) turned positive. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It is easy to miss that there is one correct and two wrong digit
&lt;br&gt;&amp;gt; strings, not the other way around.
&lt;br&gt;&amp;gt; Numbers ending in 7202 are the wrong ones, correct ending is 73209.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;This was my thought -- do you agree that the mpz_get_d algorithm should
&lt;br&gt;produce at least 73?
&lt;br&gt;&lt;br&gt;I have a temporary ugly workaround which calls mpz_get_str, and sscanf
&lt;br&gt;for big integers, which is working for now, but clearly less than
&lt;br&gt;optimal. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Gcl already links with mpfr, no?
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Alas, no. &amp;nbsp;We just use mpz. &amp;nbsp;For now at least.
&lt;br&gt;&lt;br&gt;Many thanks for the below!!!
&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Below is the C code. Compile with -lmpfr -lgmp.
&lt;br&gt;&amp;gt; -Enrique
&lt;br&gt;&amp;gt; ------------------------8&amp;lt;-----------------------------
&lt;br&gt;&amp;gt; #include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;gmp.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;mpfr.h&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; char *mynum = &amp;quot;10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069375&amp;quot;;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; main ()
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;Using GMP and mpf_get_d:\n================\n&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_t num;
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_init_set_str(num, mynum, 10);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;num = &amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_out_str(stdout, 10, num);
&lt;br&gt;&amp;gt; &amp;nbsp; putchar('\n'); 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; mpf_t myfloat;
&lt;br&gt;&amp;gt; &amp;nbsp; mpf_init(myfloat);
&lt;br&gt;&amp;gt; &amp;nbsp; mpf_set_z(myfloat, num);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;%-29.20lG\n\n&amp;quot;, mpf_get_d(myfloat));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_t other;
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_init_set_str(other, &amp;quot;1&amp;quot;, 10);
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_add(other, other, num);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;1 + num = &amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_out_str(stdout, 10, other);
&lt;br&gt;&amp;gt; &amp;nbsp; putchar('\n'); 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; mpf_set_z(myfloat, other);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;%-29.20lG\n\n&amp;quot;, mpf_get_d(myfloat));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_set_ui(other, 1);
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_sub(other, other, num);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;1 - num = &amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_out_str(stdout, 10, other);
&lt;br&gt;&amp;gt; &amp;nbsp; putchar('\n'); 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; mpf_set_z(myfloat, other);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;%-29.20lG\n&amp;quot;, mpf_get_d(myfloat));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;\n\nUsing MPFR:\n==================\n\n&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; mpfr_t mpfr;
&lt;br&gt;&amp;gt; &amp;nbsp; mpfr_init(mpfr);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;Num = &amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; mpfr_set_z(mpfr, num, GMP_RNDN);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;%-29.20lG\n\n&amp;quot;, mpfr_get_d(mpfr, GMP_RNDN));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_set_ui(other, 1);
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_add(other, other, num);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;1 + num = &amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; mpfr_set_z(mpfr, other, GMP_RNDN);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;%-29.20lG\n\n&amp;quot;, mpfr_get_d(mpfr, GMP_RNDN));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_set_ui(other, 1);
&lt;br&gt;&amp;gt; &amp;nbsp; mpz_sub(other, other, num);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;1 - num = &amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; mpfr_set_z(mpfr, other, GMP_RNDN);
&lt;br&gt;&amp;gt; &amp;nbsp; printf(&amp;quot;%-29.20lG\n&amp;quot;, mpfr_get_d(mpfr, GMP_RNDN));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788289&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788289&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-mpz_get_d-tp26750868p26788289.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26778370</id>
	<title>Re: Bug in mpz_get_d</title>
	<published>2009-12-14T06:11:26Z</published>
	<updated>2009-12-14T06:11:26Z</updated>
	<author>
		<name>Torbjorn Granlund-6</name>
	</author>
	<content type="html">Enrique Perez-Terron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26778370&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;enrio@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;nbsp; If stability is desired, mpfr is the one to use. GMP does not aim at
&lt;br&gt;&amp;nbsp; stability, as far as I understand.
&lt;br&gt;&lt;br&gt;You misunderstand. &amp;nbsp;GMP very much aims at stability.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Torbjörn
&lt;br&gt;_______________________________________________
&lt;br&gt;gmp-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26778370&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gmp-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://gmplib.org/mailman/listinfo/gmp-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gmplib.org/mailman/listinfo/gmp-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-mpz_get_d-tp26750868p26778370.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26777740</id>
	<title>[CfP] ELS 2010</title>
	<published>2009-12-14T05:26:37Z</published>
	<updated>2009-12-14T05:26:37Z</updated>
	<author>
		<name>Pascal Costanza</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3rd European Lisp Symposium
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;===========================
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.european-lisp-symposium.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.european-lisp-symposium.org&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;May 6-7, 2010, Fundacao Calouste Gulbenkian, Lisbon, Portugal
&lt;br&gt;&lt;br&gt;Important Dates 
&lt;br&gt;~~~~~~~~~~~~~~~~
&lt;br&gt;&amp;nbsp; + Submission Deadline: *January 29, 2010*
&lt;br&gt;&amp;nbsp; + Author Notification: March 1, 2010
&lt;br&gt;&amp;nbsp; + Final Paper Due: March 26, 2010
&lt;br&gt;&amp;nbsp; + Symposium: *May 6-7, 2010*
&lt;br&gt;&lt;br&gt;&amp;nbsp; We hope, as in previous years, to invite authors of accepted
&lt;br&gt;&amp;nbsp; research contributions to submit an extended version of their papers
&lt;br&gt;&amp;nbsp; to a special issue of the Journal of Universal Computer Science
&lt;br&gt;&amp;nbsp; (J.UCS).
&lt;br&gt;&lt;br&gt;Scope 
&lt;br&gt;~~~~~~
&lt;br&gt;&amp;nbsp; The purpose of the European Lisp Symposium is to provide a forum
&lt;br&gt;&amp;nbsp; for the discussion and dissemination of all aspects of design,
&lt;br&gt;&amp;nbsp; implementation and application of any of the Lisp dialects. &amp;nbsp;We
&lt;br&gt;&amp;nbsp; encourage everyone interested in Lisp to participate.
&lt;br&gt;&lt;br&gt;&amp;nbsp; The European Lisp Symposium 2010 invites high quality papers about
&lt;br&gt;&amp;nbsp; novel research results, insights and lessons learned from practical
&lt;br&gt;&amp;nbsp; applications, and educational perspectives, all involving Lisp
&lt;br&gt;&amp;nbsp; dialects, including Common Lisp, Scheme, Emacs Lisp, AutoLisp,
&lt;br&gt;&amp;nbsp; ISLISP, Dylan, Clojure, and so on.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Topics include, but are not limited to:
&lt;br&gt;&amp;nbsp; + Language design and implementation
&lt;br&gt;&amp;nbsp; + Language integration, interoperation and deployment
&lt;br&gt;&amp;nbsp; + Development methodologies, support and environments
&lt;br&gt;&amp;nbsp; + Reflection, protocols and meta-level architectures
&lt;br&gt;&amp;nbsp; + Lisp in Education
&lt;br&gt;&amp;nbsp; + Parallel, distributed and scientific computing
&lt;br&gt;&amp;nbsp; + Large and ultra-large-scale systems
&lt;br&gt;&amp;nbsp; + Hardware, virtual machine and embedded applications
&lt;br&gt;&amp;nbsp; + Domain-oriented programming
&lt;br&gt;&amp;nbsp; + Lisp pearls
&lt;br&gt;&amp;nbsp; + Experience reports and case studies
&lt;br&gt;&lt;br&gt;&amp;nbsp; We invite submissions (through EasyChair) in two categories:
&lt;br&gt;&amp;nbsp; original contributions and tutorials.
&lt;br&gt;&lt;br&gt;&amp;nbsp; * Original contributions should neither have been published
&lt;br&gt;&amp;nbsp; &amp;nbsp; previously nor be under review in any other refereed events or
&lt;br&gt;&amp;nbsp; &amp;nbsp; publication. &amp;nbsp;Research papers should describe work that advances
&lt;br&gt;&amp;nbsp; &amp;nbsp; the current state of the art, or presents old results from a new
&lt;br&gt;&amp;nbsp; &amp;nbsp; perspective. &amp;nbsp;Experience papers should be of broad interest and
&lt;br&gt;&amp;nbsp; &amp;nbsp; should describe insights gained from substantive practical
&lt;br&gt;&amp;nbsp; &amp;nbsp; applications. &amp;nbsp;The programme committee will evaluate each
&lt;br&gt;&amp;nbsp; &amp;nbsp; contributed paper based on its relevance, significance, clarity,
&lt;br&gt;&amp;nbsp; &amp;nbsp; and originality.
&lt;br&gt;&lt;br&gt;&amp;nbsp; * Tutorial submissions should be extended abstracts of up to four
&lt;br&gt;&amp;nbsp; &amp;nbsp; pages for in-depth presentations about topics of special interest
&lt;br&gt;&amp;nbsp; &amp;nbsp; for at least 90 minutes and up to 180 minutes. &amp;nbsp;The programme
&lt;br&gt;&amp;nbsp; &amp;nbsp; committee will evaluate tutorial proposals based on the likely
&lt;br&gt;&amp;nbsp; &amp;nbsp; interest in the topic matter, the clarity of the presentation in
&lt;br&gt;&amp;nbsp; &amp;nbsp; the extended abstract, and the scope for interactive
&lt;br&gt;&amp;nbsp; &amp;nbsp; participation.
&lt;br&gt;&lt;br&gt;&amp;nbsp; The tutorials will run during the symposium on May 6, 2010.
&lt;br&gt;&lt;br&gt;Programme Chair 
&lt;br&gt;~~~~~~~~~~~~~~~~
&lt;br&gt;&amp;nbsp; Christophe Rhodes, Goldsmiths, University of London, UK
&lt;br&gt;&lt;br&gt;Local Chair 
&lt;br&gt;~~~~~~~~~~~~
&lt;br&gt;&amp;nbsp; Antonio Leitao, Technical University of Lisbon, Portugal
&lt;br&gt;&lt;br&gt;Programme Committee 
&lt;br&gt;~~~~~~~~~~~~~~~~~~~~
&lt;br&gt;&amp;nbsp; + Marco Antoniotti, Universita Milano Bicocca, Italy
&lt;br&gt;&amp;nbsp; + Giuseppe Attardi, Universita di Pisa, Italy 
&lt;br&gt;&amp;nbsp; + Pascal Costanza, Vrije Universiteit Brussel, Belgium
&lt;br&gt;&amp;nbsp; + Irene Anne Durand, Universite Bordeaux I, France
&lt;br&gt;&amp;nbsp; + Marc Feeley, Universite de Montreal, Canada
&lt;br&gt;&amp;nbsp; + Ron Garret, Amalgamated Widgets Unlimited, USA
&lt;br&gt;&amp;nbsp; + Gregor Kiczales, University of British Columbia, Canada
&lt;br&gt;&amp;nbsp; + Nick Levine, Ravenbrook Ltd, UK
&lt;br&gt;&amp;nbsp; + Scott McKay, ITA Software, Inc., USA
&lt;br&gt;&amp;nbsp; + Peter Norvig, Google Inc., USA
&lt;br&gt;&amp;nbsp; + Kent Pitman, PTC, USA
&lt;br&gt;&amp;nbsp; + Christian Queinnec, Universite Pierre et Marie Curie, France
&lt;br&gt;&amp;nbsp; + Robert Strandh, Universite Bordeaux I, France
&lt;br&gt;&amp;nbsp; + Didier Verna, EPITA Research and Development Laboratory, France
&lt;br&gt;&amp;nbsp; + Barry Wilkes, Citi, UK
&lt;br&gt;&amp;nbsp; + Taiichi Yuasa, Kyoto University, Japan
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Pascal Costanza, mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777740&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pc@...&lt;/a&gt;, &lt;a href=&quot;http://p-cos.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p-cos.net&lt;/a&gt;&lt;br&gt;Vrije Universiteit Brussel
&lt;br&gt;Software Languages Lab
&lt;br&gt;Pleinlaan 2, B-1050 Brussel, Belgium
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777740&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-CfP--ELS-2010-tp26777740p26777740.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26775223</id>
	<title>Re: Bug in mpz_get_d</title>
	<published>2009-12-14T01:41:58Z</published>
	<updated>2009-12-14T01:41:58Z</updated>
	<author>
		<name>Enrique Perez-Terron</name>
	</author>
	<content type="html">On Mon, 2009-12-14 at 04:23 +0100, Enrique Perez-Terron wrote:
&lt;br&gt;&amp;gt; On Fri, 2009-12-11 at 15:12 -0500, Camm Maguire wrote:
&lt;br&gt;[snip]
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;(float a)
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 1.0715086071862672E301
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;(float (1+ a))
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 1.0715086071862673E301
&lt;br&gt;&lt;br&gt;But there is just one bit of difference:
&lt;br&gt;&lt;br&gt;7e6fffffffffffff
&lt;br&gt;7e70000000000000
&lt;br&gt;&lt;br&gt;(double, high address byte printed first on x86)
&lt;br&gt;&lt;br&gt;If stability is desired, mpfr is the one to use. GMP does not aim at
&lt;br&gt;stability, as far as I understand. mpfr is specifically &amp;quot;sold&amp;quot; as GMP
&lt;br&gt;with correct rounding, even if it has grown beyond that.
&lt;br&gt;&lt;br&gt;-Enrique
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26775223&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-mpz_get_d-tp26750868p26775223.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26772497</id>
	<title>Re: Bug in mpz_get_d</title>
	<published>2009-12-13T19:23:03Z</published>
	<updated>2009-12-13T19:23:03Z</updated>
	<author>
		<name>Enrique Perez-Terron</name>
	</author>
	<content type="html">On Fri, 2009-12-11 at 15:12 -0500, Camm Maguire wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Greetings! &amp;nbsp;Workaround?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;(setq a (numerator **))
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069375
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;(float a)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1.0715086071862672E301
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;(float (1+ a))
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1.0715086071862673E301
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;(float (1- a))
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1.0715086071862672E301
&lt;/div&gt;&lt;br&gt;Testing GMP and MPFR directly
&lt;br&gt;$ ./test-gmp 
&lt;br&gt;Using GMP and mpf_get_d:
&lt;br&gt;================
&lt;br&gt;num = 10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069375
&lt;br&gt;1.071508607186267202E+301 &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;1 + num = 10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069376
&lt;br&gt;1.0715086071862673209E+301 &amp;nbsp; 
&lt;br&gt;&lt;br&gt;1 - num = -10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069374
&lt;br&gt;-1.071508607186267202E+301 &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Using MPFR:
&lt;br&gt;==================
&lt;br&gt;&lt;br&gt;Num = 1.0715086071862673209E+301 &amp;nbsp; 
&lt;br&gt;&lt;br&gt;1 + num = 1.0715086071862673209E+301 &amp;nbsp; 
&lt;br&gt;&lt;br&gt;1 - num = -1.0715086071862673209E+301 &amp;nbsp;
&lt;br&gt;&lt;br&gt;I don't know why float(1-a) turned positive. 
&lt;br&gt;&lt;br&gt;It is easy to miss that there is one correct and two wrong digit
&lt;br&gt;strings, not the other way around.
&lt;br&gt;Numbers ending in 7202 are the wrong ones, correct ending is 73209.
&lt;br&gt;&lt;br&gt;Gcl already links with mpfr, no?
&lt;br&gt;&lt;br&gt;Below is the C code. Compile with -lmpfr -lgmp.
&lt;br&gt;-Enrique
&lt;br&gt;------------------------8&amp;lt;-----------------------------
&lt;br&gt;#include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;#include &amp;lt;gmp.h&amp;gt;
&lt;br&gt;#include &amp;lt;mpfr.h&amp;gt;
&lt;br&gt;&lt;br&gt;char *mynum = &amp;quot;10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069375&amp;quot;;
&lt;br&gt;&lt;br&gt;main ()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; printf(&amp;quot;Using GMP and mpf_get_d:\n================\n&amp;quot;);
&lt;br&gt;&amp;nbsp; mpz_t num;
&lt;br&gt;&amp;nbsp; mpz_init_set_str(num, mynum, 10);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;num = &amp;quot;);
&lt;br&gt;&amp;nbsp; mpz_out_str(stdout, 10, num);
&lt;br&gt;&amp;nbsp; putchar('\n'); 
&lt;br&gt;&lt;br&gt;&amp;nbsp; mpf_t myfloat;
&lt;br&gt;&amp;nbsp; mpf_init(myfloat);
&lt;br&gt;&amp;nbsp; mpf_set_z(myfloat, num);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;%-29.20lG\n\n&amp;quot;, mpf_get_d(myfloat));
&lt;br&gt;&lt;br&gt;&amp;nbsp; mpz_t other;
&lt;br&gt;&amp;nbsp; mpz_init_set_str(other, &amp;quot;1&amp;quot;, 10);
&lt;br&gt;&amp;nbsp; mpz_add(other, other, num);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;1 + num = &amp;quot;);
&lt;br&gt;&amp;nbsp; mpz_out_str(stdout, 10, other);
&lt;br&gt;&amp;nbsp; putchar('\n'); 
&lt;br&gt;&lt;br&gt;&amp;nbsp; mpf_set_z(myfloat, other);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;%-29.20lG\n\n&amp;quot;, mpf_get_d(myfloat));
&lt;br&gt;&lt;br&gt;&amp;nbsp; mpz_set_ui(other, 1);
&lt;br&gt;&amp;nbsp; mpz_sub(other, other, num);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;1 - num = &amp;quot;);
&lt;br&gt;&amp;nbsp; mpz_out_str(stdout, 10, other);
&lt;br&gt;&amp;nbsp; putchar('\n'); 
&lt;br&gt;&lt;br&gt;&amp;nbsp; mpf_set_z(myfloat, other);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;%-29.20lG\n&amp;quot;, mpf_get_d(myfloat));
&lt;br&gt;&lt;br&gt;&amp;nbsp; printf(&amp;quot;\n\nUsing MPFR:\n==================\n\n&amp;quot;);
&lt;br&gt;&amp;nbsp; mpfr_t mpfr;
&lt;br&gt;&amp;nbsp; mpfr_init(mpfr);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;Num = &amp;quot;);
&lt;br&gt;&amp;nbsp; mpfr_set_z(mpfr, num, GMP_RNDN);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;%-29.20lG\n\n&amp;quot;, mpfr_get_d(mpfr, GMP_RNDN));
&lt;br&gt;&lt;br&gt;&amp;nbsp; mpz_set_ui(other, 1);
&lt;br&gt;&amp;nbsp; mpz_add(other, other, num);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;1 + num = &amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; mpfr_set_z(mpfr, other, GMP_RNDN);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;%-29.20lG\n\n&amp;quot;, mpfr_get_d(mpfr, GMP_RNDN));
&lt;br&gt;&lt;br&gt;&amp;nbsp; mpz_set_ui(other, 1);
&lt;br&gt;&amp;nbsp; mpz_sub(other, other, num);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;1 - num = &amp;quot;);
&lt;br&gt;&amp;nbsp; mpfr_set_z(mpfr, other, GMP_RNDN);
&lt;br&gt;&amp;nbsp; printf(&amp;quot;%-29.20lG\n&amp;quot;, mpfr_get_d(mpfr, GMP_RNDN));
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26772497&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-mpz_get_d-tp26750868p26772497.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26763095</id>
	<title>Re: strict aliasing</title>
	<published>2009-12-12T18:26:16Z</published>
	<updated>2009-12-12T18:26:16Z</updated>
	<author>
		<name>Gabriel Dos Reis</name>
	</author>
	<content type="html">On Fri, Dec 11, 2009 at 3:19 PM, Camm Maguire &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26763095&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Greetings!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Leo Butler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26763095&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;l.butler@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Fri, 11 Dec 2009, Camm Maguire wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt; Greetings! OK just fixd the GCL bugs, which result in some of the
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt; maxima bugs, and am ready for upload.
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt; There are new gcc warnings, which I always like to clear up.  Perhaps
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt; you might help by figuring out the currently blessed way of writing
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt; the following:
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt; #define GET_FAULT_ADDR(sig,code,sv,a) \
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;     ((void *)(((struct sigcontext *)(&amp;code))-&amp;gt;cr2))
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt; #endif
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt; sgbc.c: In function 'memprotect_handler':
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt; sgbc.c:1620: warning: dereferencing pointer 'code.636' does break strict-aliasing rules
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt; sgbc.c:1620: note: initialized from here
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Camm, if I understand strict-aliasing [*] then the problem is that your macro is casting a
&lt;br&gt;&amp;gt;&amp;gt; (void *) while on line 1620, faddr is a (char *).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If you change your macro to cast a (char *), then this should fix this problem. Again,
&lt;br&gt;&amp;gt;&amp;gt; from the above article, (char *) may refer to an alias of any object, so this should
&lt;br&gt;&amp;gt;&amp;gt; not introduce any additional breakages of the strict aliasing rules.
&lt;/div&gt;&lt;br&gt;There is no issue with aliasing if you access a memory storage as
&lt;br&gt;'char *' -- the C sandard explicitly says it is OK.
&lt;br&gt;&lt;br&gt;-- Gaby
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26763095&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/strict-aliasing-tp26751613p26763095.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26768373</id>
	<title>mpz_get_d</title>
	<published>2009-12-12T12:53:18Z</published>
	<updated>2009-12-12T12:53:18Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26768373&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gmp-bugs-owner@...&lt;/a&gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Camm Maguire &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26768373&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Greetings! &amp;nbsp;It was so intended. &amp;nbsp;Is this not the right forum? &amp;nbsp;If the
&lt;br&gt;&amp;gt; &amp;nbsp; objection is due to the GCL interface, I can repost the precise call
&lt;br&gt;&amp;gt; &amp;nbsp; to mpz_get_d from within gdb if needed. &amp;nbsp;It is a straight pass
&lt;br&gt;&amp;gt; &amp;nbsp; through. 
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; If you want to report a GMP bug, we need a GMP test case. &amp;nbsp;Please see
&lt;br&gt;&amp;gt; the manual section on how to report bugs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Greetings! &amp;nbsp;OK, before I do, is mpz_get_d supposed to return identical
&lt;br&gt;doubles for integers that are equal within the precision of the
&lt;br&gt;mantissa, or is this not guaranteed by the implementation? &amp;nbsp;If the
&lt;br&gt;latter, I'll just find some work around.
&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26768373&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26768373&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-%28nowhere%29--Request-to-mailing-list-gmp-bugs-rejected-tp26751511p26768373.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26751613</id>
	<title>strict aliasing</title>
	<published>2009-12-11T13:19:39Z</published>
	<updated>2009-12-11T13:19:39Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">Greetings!
&lt;br&gt;&lt;br&gt;Leo Butler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26751613&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;l.butler@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 11 Dec 2009, Camm Maguire wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt; Greetings! OK just fixd the GCL bugs, which result in some of the
&lt;br&gt;&amp;gt; &amp;lt; maxima bugs, and am ready for upload.
&lt;br&gt;&amp;gt; &amp;lt; 
&lt;br&gt;&amp;gt; &amp;lt; There are new gcc warnings, which I always like to clear up. &amp;nbsp;Perhaps
&lt;br&gt;&amp;gt; &amp;lt; you might help by figuring out the currently blessed way of writing
&lt;br&gt;&amp;gt; &amp;lt; the following:
&lt;br&gt;&amp;gt; &amp;lt; 
&lt;br&gt;&amp;gt; &amp;lt; #define GET_FAULT_ADDR(sig,code,sv,a) \
&lt;br&gt;&amp;gt; &amp;lt; &amp;nbsp; &amp;nbsp; ((void *)(((struct sigcontext *)(&amp;code))-&amp;gt;cr2))
&lt;br&gt;&amp;gt; &amp;lt; #endif
&lt;br&gt;&amp;gt; &amp;lt; 
&lt;br&gt;&amp;gt; &amp;lt; sgbc.c: In function 'memprotect_handler':
&lt;br&gt;&amp;gt; &amp;lt; sgbc.c:1620: warning: dereferencing pointer 'code.636' does break strict-aliasing rules
&lt;br&gt;&amp;gt; &amp;lt; sgbc.c:1620: note: initialized from here
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Camm, if I understand strict-aliasing [*] then the problem is that your macro is casting a 
&lt;br&gt;&amp;gt; (void *) while on line 1620, faddr is a (char *). 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you change your macro to cast a (char *), then this should fix this problem. Again,
&lt;br&gt;&amp;gt; from the above article, (char *) may refer to an alias of any object, so this should
&lt;br&gt;&amp;gt; not introduce any additional breakages of the strict aliasing rules.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Alas, this does not work:
&lt;br&gt;&lt;br&gt;camm@localhost:~/debian/gcl/gcl-2.6.8pre/o$ rm gbc.o; make gbc.o
&lt;br&gt;gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer &amp;nbsp;-I/home/camm/debian/gcl/gcl-2.6.8pre/o -I../h -I../gcl-tk gbc.c &amp;nbsp;
&lt;br&gt;In file included from gbc.c:1508:
&lt;br&gt;sgbc.c: In function 'memprotect_handler':
&lt;br&gt;sgbc.c:1620: warning: dereferencing pointer 'code.636' does break strict-aliasing rules
&lt;br&gt;sgbc.c:1620: note: initialized from here
&lt;br&gt;sgbc.c: In function 'memprotect_handler_test':
&lt;br&gt;sgbc.c:1098: warning: dereferencing pointer 'code.547' does break strict-aliasing rules
&lt;br&gt;sgbc.c:1098: note: initialized from here
&lt;br&gt;camm@localhost:~/debian/gcl/gcl-2.6.8pre/o$ cpp -I../h gbc.c |grep code
&lt;br&gt;&amp;nbsp; faddr=((char *)(((struct sigcontext *)(&amp;code))-&amp;gt;cr2));
&lt;br&gt;&lt;br&gt;The problem apparently lies with the sigcontext.
&lt;br&gt;&lt;br&gt;&amp;gt; Are your fixes available from CVS, and if so, where?
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Yes, cvs -d :pserver:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26751613&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anonymous@...&lt;/a&gt;:/sources/gcl -r
&lt;br&gt;Version_2_6_8pre co -d gcl-2.6.8pre gcl
&lt;br&gt;&lt;br&gt;BTW, I have a maxima 5.20 build which I might upload now. &amp;nbsp;GCL is
&lt;br&gt;uploaded. &amp;nbsp;There are a few issues -- two test failures due to a double
&lt;br&gt;conversion error in GMP. &amp;nbsp;See &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26751613&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gcl-devel@...&lt;/a&gt; archives if interested
&lt;br&gt;or if have workaround suggestions.
&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26751613&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26751613&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/strict-aliasing-tp26751613p26751613.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26751511</id>
	<title>[(nowhere)] Request to mailing list gmp-bugs rejected</title>
	<published>2009-12-11T13:10:51Z</published>
	<updated>2009-12-11T13:10:51Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">following reason for rejecting your request:
&lt;br&gt;&lt;br&gt;&amp;quot;One copy is enough.
&lt;br&gt;&lt;br&gt;Surely this is not intended as a bug report for GMP?&amp;quot;
&lt;br&gt;&lt;br&gt;Any questions or comments should be directed to the list administrator
&lt;br&gt;at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26751511&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gmp-bugs-owner@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Greetings! &amp;nbsp;It was so intended. &amp;nbsp;Is this not the right forum? &amp;nbsp;If the
&lt;br&gt;objection is due to the GCL interface, I can repost the precise call
&lt;br&gt;to mpz_get_d from within gdb if needed. &amp;nbsp;It is a straight pass
&lt;br&gt;through. 
&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26751511&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26751511&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-%28nowhere%29--Request-to-mailing-list-gmp-bugs-rejected-tp26751511p26751511.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26750868</id>
	<title>Bug in mpz_get_d</title>
	<published>2009-12-11T12:12:59Z</published>
	<updated>2009-12-11T12:12:59Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">Greetings! &amp;nbsp;Workaround?
&lt;br&gt;&lt;br&gt;&amp;gt;(setq a (numerator **))
&lt;br&gt;&lt;br&gt;10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069375
&lt;br&gt;&lt;br&gt;&amp;gt;(float a)
&lt;br&gt;&lt;br&gt;1.0715086071862672E301
&lt;br&gt;&lt;br&gt;&amp;gt;(float (1+ a))
&lt;br&gt;&lt;br&gt;1.0715086071862673E301
&lt;br&gt;&lt;br&gt;&amp;gt;(float (1- a))
&lt;br&gt;&lt;br&gt;1.0715086071862672E301
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26750868&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;_______________________________________________
&lt;br&gt;gmp-bugs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26750868&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gmp-bugs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://gmplib.org/mailman/listinfo/gmp-bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gmplib.org/mailman/listinfo/gmp-bugs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-mpz_get_d-tp26750868p26750868.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26704428</id>
	<title>gcl (lisp) won't compile (is this the right place for newby problems?)</title>
	<published>2009-12-08T19:01:03Z</published>
	<updated>2009-12-08T19:01:03Z</updated>
	<author>
		<name>625DR</name>
	</author>
	<content type="html">If this is the wrong place to ask for support, could you tell me where to ask, and sorry for bothering you.
&lt;br&gt;&lt;br&gt;I've installed GCL-2.6.6-ANSI on Windows Vista from binaries, and the interpreter works, but compiling doesn't. This is copied from the console:
&lt;br&gt;&lt;br&gt;C:\Lisp&amp;gt;gcl -batch -load hello1.lisp
&lt;br&gt;'gcl' is not recognized as an internal or external command,
&lt;br&gt;operable program or batch file.
&lt;br&gt;&lt;br&gt;I've had a look in the Windows Environment Variables and can't see any reference to lisp.
&lt;br&gt;MinGW is installed and should be OK, as gcc compiles C alright.
&lt;br&gt;&lt;br&gt;Would appreciate any help. 
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gcl-%28lisp%29-won%27t-compile-%28is-this-the-right-place-for-newby-problems-%29-tp26704428p26704428.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26580783</id>
	<title>PLT patch for GNU ld &gt;= 2.19</title>
	<published>2009-11-30T11:27:57Z</published>
	<updated>2009-11-30T11:27:57Z</updated>
	<author>
		<name>Jerry James-3</name>
	</author>
	<content type="html">I recently received this bug report:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=542004&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.redhat.com/show_bug.cgi?id=542004&lt;/a&gt;&lt;br&gt;&lt;br&gt;The patch included in that bug report is to be applied on top of the
&lt;br&gt;PLT patch I sent earlier. &amp;nbsp;I'll attach a patch to this message that
&lt;br&gt;applies directly to current 2.6.8-pre.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-- 
&lt;br&gt;Jerry James
&lt;br&gt;&lt;a href=&quot;http://www.jamezone.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jamezone.org/&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580783&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;gcl-2.6.8-plt.patch&lt;/strong&gt; (2K) &lt;a href=&quot;http://old.nabble.com/attachment/26580783/0/gcl-2.6.8-plt.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PLT-patch-for-GNU-ld-%3E%3D-2.19-tp26580783p26580783.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25877399</id>
	<title>Re: Re: [TeXmacs] A rewrite of tm_axiom.c (attached)</title>
	<published>2009-10-13T10:35:19Z</published>
	<updated>2009-10-13T10:35:19Z</updated>
	<author>
		<name>Enrique Perez-Terron</name>
	</author>
	<content type="html">On Mon, 2009-10-12 at 19:56 -0500, Gabriel Dos Reis wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Enrique Perez-Terron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25877399&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;enrio@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; | I have just downloaded open-axiom-1.3.0.tar.bz2, and attempted to build
&lt;br&gt;&amp;gt; | it using the standard installed gcl from Fedora 11.
&lt;br&gt;&amp;gt; | 
&lt;br&gt;&amp;gt; | I think the builders of Fedora-11 downloaded a CVS snapshot of gcl on
&lt;br&gt;&amp;gt; | some date... Yes, here it is, in their gcl.spec:
&lt;br&gt;&amp;gt; | 
&lt;br&gt;&amp;gt; | # The source for this package was pulled from upstream's CVS repository. &amp;nbsp;Use
&lt;br&gt;&amp;gt; | # the following commands to generate the tarball:
&lt;br&gt;&amp;gt; | # &amp;nbsp; cvs -d:pserver:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25877399&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anonymous@...&lt;/a&gt;:/sources/gcl export \
&lt;br&gt;&amp;gt; | # &amp;nbsp; &amp;nbsp; -r Version_2_6_8pre -D 2009-03-04 -d gcl-2.6.8 gcl
&lt;br&gt;&amp;gt; | # &amp;nbsp; tar -cjvf gcl-2.6.8.tar.bz2 gcl-2.6.8
&lt;br&gt;&amp;gt; | 
&lt;br&gt;&amp;gt; | But the code quoted below is not different in the cvs snapshot I myself
&lt;br&gt;&amp;gt; | downloaded (without version and date restricting options) on 2009-10-07.
&lt;br&gt;&amp;gt; | (There are differences in other parts of plt.c and fasdump.c.)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Dear Enrique,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; something wasn't clear to me from your description:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;(1) can you build OpenAxiom with the standard installed GCL on
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fedora 11?
&lt;/div&gt;&lt;br&gt;No. Jerry James has sent two patches relative to the Fedora-11 gcl, that
&lt;br&gt;I will now try out.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;(2) can you build OpenAxiom with your own version?
&lt;br&gt;&lt;br&gt;I'm working on that.
&lt;br&gt;&lt;br&gt;Regards, Enrique
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25877399&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--TeXmacs--A-rewrite-of-tm_axiom.c-%28attached%29-tp25865125p25877399.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25877080</id>
	<title>Re: Ellipsis patch</title>
	<published>2009-10-13T10:03:58Z</published>
	<updated>2009-10-13T10:03:58Z</updated>
	<author>
		<name>Gabriel Dos Reis-2</name>
	</author>
	<content type="html">Jerry James &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25877080&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;loganjerry@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;| I can't remember if I sent this one before or not. &amp;nbsp;GCC complains
&lt;br&gt;| about undefined behavior when a varargs function's last non-varargs
&lt;br&gt;| parameter is declared to have storage class register. &amp;nbsp;Since varargs
&lt;br&gt;| works by taking the address of that parameter, and register is a
&lt;br&gt;| promise to never take the address of a variable, the two conflict.
&lt;br&gt;| This patch fixes the issue.
&lt;br&gt;&lt;br&gt;They look OK to me.
&lt;br&gt;&lt;br&gt;-- Gaby
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25877080&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ellipsis-patch-tp25876416p25877080.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25876416</id>
	<title>Ellipsis patch</title>
	<published>2009-10-13T09:36:13Z</published>
	<updated>2009-10-13T09:36:13Z</updated>
	<author>
		<name>Jerry James-3</name>
	</author>
	<content type="html">I can't remember if I sent this one before or not. &amp;nbsp;GCC complains
&lt;br&gt;about undefined behavior when a varargs function's last non-varargs
&lt;br&gt;parameter is declared to have storage class register. &amp;nbsp;Since varargs
&lt;br&gt;works by taking the address of that parameter, and register is a
&lt;br&gt;promise to never take the address of a variable, the two conflict.
&lt;br&gt;This patch fixes the issue.
&lt;br&gt;&lt;br&gt;diff -dur gcl-2.6.8.ORIG/o/bind.c gcl-2.6.8/o/bind.c
&lt;br&gt;--- gcl-2.6.8.ORIG/o/bind.c	2006-06-21 14:03:05.000000000 -0600
&lt;br&gt;+++ gcl-2.6.8/o/bind.c	2009-08-11 14:11:56.982474159 -0600
&lt;br&gt;@@ -708,7 +708,7 @@
&lt;br&gt;&amp;nbsp;#define	NOT_KEYWORD	1
&lt;br&gt;&lt;br&gt;&amp;nbsp;void
&lt;br&gt;-parse_key(object *base, bool rest, bool allow_other_keys, register int n, ...)
&lt;br&gt;+parse_key(object *base, bool rest, bool allow_other_keys, int n, ...)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;object temporary;
&lt;br&gt;&amp;nbsp;	va_list ap;
&lt;br&gt;diff -dur gcl-2.6.8.ORIG/o/external_funs.h gcl-2.6.8/o/external_funs.h
&lt;br&gt;--- gcl-2.6.8.ORIG/o/external_funs.h	2003-08-29 14:41:59.000000000 -0600
&lt;br&gt;+++ gcl-2.6.8/o/external_funs.h	2009-08-11 14:17:35.000473249 -0600
&lt;br&gt;@@ -167,8 +167,8 @@
&lt;br&gt;&amp;nbsp;extern object find_special GPR((object body, struct bind_temp *start,
&lt;br&gt;struct bind_temp *end));;
&lt;br&gt;&amp;nbsp;extern object let_bind GPR((object body, struct bind_temp *start,
&lt;br&gt;struct bind_temp *end));;
&lt;br&gt;&amp;nbsp;extern object letA_bind GPR((object body, struct bind_temp *start,
&lt;br&gt;struct bind_temp *end));;
&lt;br&gt;-extern int parse_key GPR((object *base, bool rest, bool
&lt;br&gt;allow_other_keys, register int n, int __builtin_va_alist));;
&lt;br&gt;-extern int check_other_key GPR((object l, int n, int __builtin_va_alist));;
&lt;br&gt;+extern int parse_key GPR((object *base, bool rest, bool
&lt;br&gt;allow_other_keys, int n, ...));;
&lt;br&gt;+extern int check_other_key GPR((object l, int n, ...));;
&lt;br&gt;&amp;nbsp;extern int parse_key_new GPR((int n, object *base, struct key *keys, ...));;
&lt;br&gt;&amp;nbsp;extern int parse_key_rest GPR((object rest, int n, object *base,
&lt;br&gt;struct key *keys, ...));;
&lt;br&gt;&amp;nbsp;extern int set_key_struct GPR((struct key *ks, object data));;
&lt;br&gt;@@ -380,7 +380,6 @@
&lt;br&gt;&amp;nbsp;extern int not_a_variable GPR((int obj));;
&lt;br&gt;&amp;nbsp;extern int illegal_index GPR((object x, object i));;
&lt;br&gt;&amp;nbsp;extern int Lerror GPR((void));;
&lt;br&gt;-extern object LVerror GPR((int __builtin_va_alist));;
&lt;br&gt;&amp;nbsp;extern int Lcerror GPR((void));;
&lt;br&gt;&amp;nbsp;extern int vfun_wrong_number_of_args GPR((object x));;
&lt;br&gt;&amp;nbsp;extern int init_error GPR((void));;
&lt;br&gt;@@ -415,9 +414,6 @@
&lt;br&gt;&amp;nbsp;extern object ifuncall2 GPR((object fun, object arg1, object arg2));;
&lt;br&gt;&amp;nbsp;extern object ifuncall3 GPR((object fun, object arg1, object arg2,
&lt;br&gt;object arg3));;
&lt;br&gt;&amp;nbsp;extern int funcall_with_catcher GPR((object fname, object fun));;
&lt;br&gt;-extern object fcalln_cclosure GPR((...));;
&lt;br&gt;-extern object fcalln_general GPR((...));;
&lt;br&gt;-extern object fcalln_vfun GPR((va_list vl));;
&lt;br&gt;-extern object fcalln GPR((int __builtin_va_alist));;
&lt;br&gt;-extern object funcall_cfun GPR((funcvoid fn, int n, int
&lt;br&gt;__builtin_va_alist));;
&lt;br&gt;+extern object fcalln GPR((object first, ...));;
&lt;br&gt;+extern object funcall_cfun GPR((funcvoid fn, int n, ...));;
&lt;br&gt;&amp;nbsp;extern int init_eval GPR((void));;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jerry James
&lt;br&gt;&lt;a href=&quot;http://www.jamezone.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jamezone.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25876416&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ellipsis-patch-tp25876416p25876416.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25876363</id>
	<title>PLT patch</title>
	<published>2009-10-13T09:34:03Z</published>
	<updated>2009-10-13T09:34:03Z</updated>
	<author>
		<name>Jerry James-3</name>
	</author>
	<content type="html">This is the patch I used to resolve the recent issue with .iplt
&lt;br&gt;sections and compilation of open-axiom:
&lt;br&gt;&lt;br&gt;diff -dur gcl-2.6.8.ORIG/o/makefile gcl-2.6.8/o/makefile
&lt;br&gt;--- gcl-2.6.8.ORIG/o/makefile	2009-08-11 15:11:17.769474923 -0600
&lt;br&gt;+++ gcl-2.6.8/o/makefile	2009-08-11 15:11:46.167645473 -0600
&lt;br&gt;@@ -149,7 +149,7 @@
&lt;br&gt;&amp;nbsp;	$(CC) -c $(CFLAGS) $(DEFS) $*.c $(AUX_INFO)
&lt;br&gt;&lt;br&gt;&amp;nbsp;plt.h: plttest.o
&lt;br&gt;-	nm $&amp;lt; | $(AWK) '/ U / {if ($$NF!=2) next;a=$$2;if (k) sub(&amp;quot;^_&amp;quot;,&amp;quot;&amp;quot;,a);\
&lt;br&gt;+	nm $&amp;lt; | $(AWK) '/ U / {if (NF!=2) next;a=$$2;if (k) sub(&amp;quot;^_&amp;quot;,&amp;quot;&amp;quot;,a);\
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print a}' \
&lt;br&gt;&amp;nbsp;			k=$(LEADING_UNDERSCORE) |\
&lt;br&gt;&amp;nbsp;			sort | \
&lt;br&gt;diff -dur gcl-2.6.8.ORIG/o/plt.c gcl-2.6.8/o/plt.c
&lt;br&gt;--- gcl-2.6.8.ORIG/o/plt.c	2008-08-03 09:16:22.000000000 -0600
&lt;br&gt;+++ gcl-2.6.8/o/plt.c	2009-08-11 15:12:26.627506327 -0600
&lt;br&gt;@@ -135,7 +135,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;for (i=j=0,li=Cnil;fgets(b,sizeof(b),f);) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (!memchr(b,10,sizeof(b)-1))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FEerror(&amp;quot;plt buffer too small&amp;quot;, 0);
&lt;br&gt;- &amp;nbsp; &amp;nbsp;if (memcmp(b,&amp;quot; .plt&amp;quot;,4) &amp;&amp; !i)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if ((memcmp(b,&amp;quot; .plt&amp;quot;,5) || memcmp(b,&amp;quot; .iplt&amp;quot;,6)) &amp;&amp; !i)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;continue;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (*b=='\r' || *b=='\n') {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i=0;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jerry James
&lt;br&gt;&lt;a href=&quot;http://www.jamezone.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jamezone.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25876363&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PLT-patch-tp25876363p25876363.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25876300</id>
	<title>Re: Re: [TeXmacs] A rewrite of tm_axiom.c (attached)</title>
	<published>2009-10-13T09:30:37Z</published>
	<updated>2009-10-13T09:30:37Z</updated>
	<author>
		<name>Jerry James-3</name>
	</author>
	<content type="html">On Mon, Oct 12, 2009 at 9:38 PM, Jerry James &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25876300&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;loganjerry@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; The *(.iplt) line didn't use to be present.  I found .iplt lines being
&lt;br&gt;&amp;gt; generated when I last built on Fedora Rawhide (soon to be F-12), and
&lt;br&gt;&amp;gt; fixed the problem there.  I didn't realize it had shown up in F-11 as
&lt;br&gt;&amp;gt; well.  I'll roll a new F-11 package with the iplt fix in it tomorrow.
&lt;br&gt;&lt;br&gt;The new package will appear in the updates-testing repository after
&lt;br&gt;the next compose. &amp;nbsp;Here are direct links for the impatient:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koji.fedoraproject.org/koji/buildinfo?buildID=136447&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koji.fedoraproject.org/koji/buildinfo?buildID=136447&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please let me know whether this build resolves the problem. &amp;nbsp;Regards,
&lt;br&gt;-- 
&lt;br&gt;Jerry James
&lt;br&gt;&lt;a href=&quot;http://www.jamezone.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jamezone.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25876300&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--TeXmacs--A-rewrite-of-tm_axiom.c-%28attached%29-tp25865125p25876300.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25866757</id>
	<title>Re: Re: [TeXmacs] A rewrite of tm_axiom.c (attached)</title>
	<published>2009-10-12T20:44:26Z</published>
	<updated>2009-10-12T20:44:26Z</updated>
	<author>
		<name>Jerry James-3</name>
	</author>
	<content type="html">On Mon, Oct 12, 2009 at 9:38 PM, Jerry James &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25866757&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;loganjerry@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I am the Fedora maintainer of gcl.  I welcome input on how the gcl
&lt;br&gt;&amp;gt; package should be configured and built.
&lt;br&gt;&lt;br&gt;Et cetera. &amp;nbsp;I got bounce messages back from open-axiom-devel and
&lt;br&gt;texmacs-users, both of which appear to be closed lists. &amp;nbsp;If you want
&lt;br&gt;the discussion to continue cross-posted on those lists, it looks like
&lt;br&gt;you'll have to forward my messages there yourself.
&lt;br&gt;-- 
&lt;br&gt;Jerry James
&lt;br&gt;&lt;a href=&quot;http://www.jamezone.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jamezone.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25866757&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--TeXmacs--A-rewrite-of-tm_axiom.c-%28attached%29-tp25865125p25866757.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25866722</id>
	<title>Re: Re: [TeXmacs] A rewrite of tm_axiom.c (attached)</title>
	<published>2009-10-12T20:38:08Z</published>
	<updated>2009-10-12T20:38:08Z</updated>
	<author>
		<name>Jerry James-3</name>
	</author>
	<content type="html">On Mon, Oct 12, 2009 at 5:57 PM, Enrique Perez-Terron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25866722&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;enrio@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I have just downloaded open-axiom-1.3.0.tar.bz2, and attempted to build
&lt;br&gt;&amp;gt; it using the standard installed gcl from Fedora 11.
&lt;br&gt;&lt;br&gt;I am the Fedora maintainer of gcl. &amp;nbsp;I welcome input on how the gcl
&lt;br&gt;package should be configured and built.
&lt;br&gt;&lt;br&gt;&amp;gt; Obviously the program expects the input to have an empty line separating
&lt;br&gt;&amp;gt; distinct parts. Maybe some tool has been changed. Maybe there used to be
&lt;br&gt;&amp;gt; an empty line just before the &amp;quot;*(.iplt)&amp;quot; line, or may be two lines
&lt;br&gt;&amp;gt; containing .iplt have been added in a recent version of the tools that
&lt;br&gt;&amp;gt; generate the map file. I have
&lt;br&gt;&lt;br&gt;The *(.iplt) line didn't use to be present. &amp;nbsp;I found .iplt lines being
&lt;br&gt;generated when I last built on Fedora Rawhide (soon to be F-12), and
&lt;br&gt;fixed the problem there. &amp;nbsp;I didn't realize it had shown up in F-11 as
&lt;br&gt;well. &amp;nbsp;I'll roll a new F-11 package with the iplt fix in it tomorrow.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; GCL (GNU Common Lisp)  April 1994  131072 pages
&lt;br&gt;&amp;gt;&amp;gt; Building symbol table for /home/enrique/src/build-oa/src/lisp/raw_lisp ..
&lt;br&gt;&amp;gt;&amp;gt; loading /usr/lib/gcl-2.6.8/unixport/../lsp/gcl_export.lsp
&lt;br&gt;&amp;gt;&amp;gt; Initializing gcl_defmacro.o
&lt;br&gt;&amp;gt;&amp;gt; Can't open file ~s
&lt;br&gt;&amp;gt;&amp;gt; Lisp initialization failed.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;lisp&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; AxiomCore&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I found the following line in the source of gcl, in file o/fasdump.c:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; if (in == Cnil)
&lt;br&gt;&amp;gt;&amp;gt;        FEerror(&amp;quot;Can't open file ~s&amp;quot;,1,d);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I wonder if the string &amp;quot;~s&amp;quot; should have been &amp;quot;%s&amp;quot; ...
&lt;/div&gt;&lt;br&gt;No, that function takes Lisp formatting strings. &amp;nbsp;See o/error.c. &amp;nbsp;I
&lt;br&gt;don't know why it didn't expand the ~s.
&lt;br&gt;-- 
&lt;br&gt;Jerry James
&lt;br&gt;&lt;a href=&quot;http://www.jamezone.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jamezone.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25866722&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--TeXmacs--A-rewrite-of-tm_axiom.c-%28attached%29-tp25865125p25866722.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25865594</id>
	<title>Re: Re: [TeXmacs] A rewrite of tm_axiom.c (attached)</title>
	<published>2009-10-12T17:56:38Z</published>
	<updated>2009-10-12T17:56:38Z</updated>
	<author>
		<name>Gabriel Dos Reis-2</name>
	</author>
	<content type="html">Enrique Perez-Terron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25865594&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;enrio@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;| I have just downloaded open-axiom-1.3.0.tar.bz2, and attempted to build
&lt;br&gt;| it using the standard installed gcl from Fedora 11.
&lt;br&gt;| 
&lt;br&gt;| I think the builders of Fedora-11 downloaded a CVS snapshot of gcl on
&lt;br&gt;| some date... Yes, here it is, in their gcl.spec:
&lt;br&gt;| 
&lt;br&gt;| # The source for this package was pulled from upstream's CVS repository. &amp;nbsp;Use
&lt;br&gt;| # the following commands to generate the tarball:
&lt;br&gt;| # &amp;nbsp; cvs -d:pserver:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25865594&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anonymous@...&lt;/a&gt;:/sources/gcl export \
&lt;br&gt;| # &amp;nbsp; &amp;nbsp; -r Version_2_6_8pre -D 2009-03-04 -d gcl-2.6.8 gcl
&lt;br&gt;| # &amp;nbsp; tar -cjvf gcl-2.6.8.tar.bz2 gcl-2.6.8
&lt;br&gt;| 
&lt;br&gt;| But the code quoted below is not different in the cvs snapshot I myself
&lt;br&gt;| downloaded (without version and date restricting options) on 2009-10-07.
&lt;br&gt;| (There are differences in other parts of plt.c and fasdump.c.)
&lt;br&gt;&lt;br&gt;Dear Enrique,
&lt;br&gt;&lt;br&gt;&amp;nbsp; something wasn't clear to me from your description:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(1) can you build OpenAxiom with the standard installed GCL on
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fedora 11?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(2) can you build OpenAxiom with your own version?
&lt;br&gt;&lt;br&gt;Many thanks for our feedback.
&lt;br&gt;&lt;br&gt;-- Gaby
&lt;br&gt;&lt;br&gt;| 
&lt;br&gt;| I am building on Fedora 11, with SELinux disabled:
&lt;br&gt;| 
&lt;br&gt;| $ sudo getenforce
&lt;br&gt;| Disabled
&lt;br&gt;| 
&lt;br&gt;| Also relevant:
&lt;br&gt;| 
&lt;br&gt;| $ ld --version
&lt;br&gt;| GNU ld version 2.19.51.0.14-1.fc11 20090722
&lt;br&gt;| ...
&lt;br&gt;| $ gcc --version
&lt;br&gt;| gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)
&lt;br&gt;| 
&lt;br&gt;| $ gcl --version
&lt;br&gt;| GCL (GNU Common Lisp) &amp;nbsp;2.6.8 ANSI &amp;nbsp; &amp;nbsp;Apr 27 2009 12:50:17
&lt;br&gt;| ...
&lt;br&gt;| 
&lt;br&gt;| Just in case: (compare the build date)
&lt;br&gt;| 
&lt;br&gt;| $ rpm -qi gcl
&lt;br&gt;| Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: gcl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Relocations: (not relocatable)
&lt;br&gt;| Version &amp;nbsp; &amp;nbsp; : 2.6.8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Vendor: Fedora Project
&lt;br&gt;| Release &amp;nbsp; &amp;nbsp; : 0.3.20090303cvs.fc11 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Build Date: Mon 27 Apr 2009 06:54:29 PM CEST
&lt;br&gt;| ...
&lt;br&gt;| 
&lt;br&gt;| 
&lt;br&gt;| (The text below was written for a different mailing list, but I decided
&lt;br&gt;| to send to more appropriate lists when I saw what I have written. Bear
&lt;br&gt;| with the excessive details.)
&lt;br&gt;| 
&lt;br&gt;| During the build of open-axiom, the following command:
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; echo '(let* ((sys-cc compiler::*cc*) ' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp;(sys-ld compiler::*ld*) ' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp;(compiler::*cc* (concatenate (quote string) ' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;../../libtool --mode=compile &amp;quot; &amp;nbsp; &amp;nbsp;' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sys-cc)) &amp;nbsp; &amp;nbsp; &amp;nbsp; ' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp;(compiler::*ld* (concatenate (quote string) ' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;../../libtool --mode=link &amp;quot; &amp;nbsp; &amp;nbsp;' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sys-ld))) &amp;nbsp; &amp;nbsp; &amp;nbsp; ' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'(compiler::link (quote (&amp;quot;core.o&amp;quot;)) &amp;quot;lisp&amp;quot; ' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' (format nil &amp;quot;(progn (let ((*load-path* (cons ~S *load-path*))'\
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' (si::*load-types* ~S)))' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' (when (fboundp (quote si::sgc-on))' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' (si::sgc-on nil))' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' (setq si::*top-level-hook* (read-from-string \&amp;quot;|AxiomCore|::|topLevel|\&amp;quot;)))&amp;quot;' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' si::*system-directory* (quote (list &amp;quot;.lsp&amp;quot;)))' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp;&amp;quot;./../../src/lib/bsdsignal.o ./../../src/lib/cfuns-c.o ./../../src/lib/sockio-c.o -lutil &amp;nbsp; -lm&amp;quot;))' \
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | ./base-lisp
&lt;br&gt;| 
&lt;br&gt;| fails with the following output:
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; GCL (GNU Common Lisp) &amp;nbsp;2.6.8 ANSI &amp;nbsp; &amp;nbsp;Apr 27 2009 12:50:17
&lt;br&gt;| &amp;gt; Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
&lt;br&gt;| &amp;gt; Binary License: &amp;nbsp;GPL due to GPL'ed components: (XGCL READLINE BFD UNEXEC)
&lt;br&gt;| &amp;gt; Modifications of this banner must retain notice of a compatible license
&lt;br&gt;| &amp;gt; Dedicated to the memory of W. Schelter
&lt;br&gt;| &amp;gt; 
&lt;br&gt;| &amp;gt; Use (help) to get some basic information on how to use GCL.
&lt;br&gt;| &amp;gt; Temporary directory for compiler files set to /tmp/
&lt;br&gt;| &amp;gt; 
&lt;br&gt;| &amp;gt; AxiomCore&amp;gt;libtool: compile: &amp;nbsp;gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -DVOL=volatile -fsigned-char -pipe -I/usr/lib/gcl-2.6.8/unixport/../h -O2 -fno-strict-aliasing -c ./user-init.c -w &amp;nbsp;-fPIC -DPIC -o ./.libs/user-init.o
&lt;br&gt;| &amp;gt; libtool: compile: &amp;nbsp;gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -DVOL=volatile -fsigned-char -pipe -I/usr/lib/gcl-2.6.8/unixport/../h -O2 -fno-strict-aliasing -c ./user-init.c -w -o ./user-init.o &amp;gt;/dev/null 2&amp;gt;&amp;1
&lt;br&gt;| &amp;gt; libtool: link: gcc -o ./raw_lisp ./user-init.o core.o -Wl,-Map ./raw_lisp_map ./../../src/lib/bsdsignal.o ./../../src/lib/cfuns-c.o ./../../src/lib/sockio-c.o &amp;nbsp;-L/usr/lib/gcl-2.6.8/unixport/ -lansi_gcl -lSM -lICE -lXmu -lXt -lXext -lXaw -lX11 -lgmp -lbfd -liberty -lreadline -lncurses -lc -lgclp -lutil -lm
&lt;br&gt;| &amp;gt; GCL (GNU Common Lisp) &amp;nbsp;April 1994 &amp;nbsp;131072 pages
&lt;br&gt;| &amp;gt; Cannot read address
&lt;br&gt;| &amp;gt; Lisp initialization failed.
&lt;br&gt;| &amp;gt; 
&lt;br&gt;| &amp;gt; &amp;quot;lisp&amp;quot;
&lt;br&gt;| &amp;gt; 
&lt;br&gt;| &amp;gt; AxiomCore&amp;gt;
&lt;br&gt;| 
&lt;br&gt;| I am building using the Fedora-11 native gcl. The command &amp;quot;./base-lisp&amp;quot;
&lt;br&gt;| appears to be a version of gcl that has been dumped with some extra
&lt;br&gt;| functions and a modified prompt &amp;quot;AxiomCore&amp;quot;, a few lines earlier in the
&lt;br&gt;| build.
&lt;br&gt;| 
&lt;br&gt;| I had the same error a few days ago, and I looked at the gcl source to
&lt;br&gt;| find the error message &amp;quot;Cannot read address&amp;quot;. I found it in
&lt;br&gt;| gcl-2.6.8/o/plt.c, and it appears that the function parse_plt() *must*
&lt;br&gt;| fail with exactly this message given the input file
&lt;br&gt;| src/lisp/raw_lisp_map (from the open-axiom build tree). 
&lt;br&gt;| 
&lt;br&gt;| The input file contains:
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; Archive member included because of file (symbol)
&lt;br&gt;| &amp;gt; 
&lt;br&gt;| &amp;gt; /usr/lib/gcl-2.6.8/unixport//libansi_gcl.a(alloc.o)
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ./../../src/lib/cfuns-c.o (free)
&lt;br&gt;| &amp;gt; /usr/lib/gcl-2.6.8/unixport//libansi_gcl.a(cmpaux.o)
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ./user-init.o (gcl_init_or_load1)
&lt;br&gt;| 
&lt;br&gt;| ( ... lots of stuff, then )
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; .plt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x000000000804ebd4 &amp;nbsp; &amp;nbsp; 0x27b0
&lt;br&gt;| &amp;gt; &amp;nbsp;*(.plt)
&lt;br&gt;| &amp;gt; &amp;nbsp;.plt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ebd4 &amp;nbsp; &amp;nbsp; 0x27b0 /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../crt1.o
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ebe4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fileno@@GLIBC_2.0
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ebf4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;getpagesize@@GLIBC_2.0
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ec04 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XWidthOfScreen
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ec14 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fputs@@GLIBC_2.0
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ec24 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;abort@@GLIBC_2.0
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ec34 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;__errno_location@@GLIBC_2.0
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ec44 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XXorRegion
&lt;br&gt;| 
&lt;br&gt;| ( ... many similar lines ... )
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051314 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;getgid@@GLIBC_2.0
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051324 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XSetScreenSaver
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051334 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XChangeWindowAttributes
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051344 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;__gmpz_add_ui
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051354 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XSetArcMode
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051364 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XParseGeometry
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051374 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;geteuid@@GLIBC_2.0
&lt;br&gt;| &amp;gt; &amp;nbsp;*(.iplt)
&lt;br&gt;| &amp;gt; &amp;nbsp;.iplt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0000000000000000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0 /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../crt1.o
&lt;br&gt;| &amp;gt; 
&lt;br&gt;| &amp;gt; .text &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051390 &amp;nbsp; 0x33d9dc
&lt;br&gt;| &amp;gt; &amp;nbsp;*(.text .stub .text.* .gnu.linkonce.t.*)
&lt;br&gt;| &amp;gt; &amp;nbsp;.text &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0000000008051390 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x24 /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../crt1.o
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051390 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_start
&lt;br&gt;| &amp;gt; &amp;nbsp;.text &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x00000000080513b4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0 /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../crti.o
&lt;br&gt;| &amp;gt; &amp;nbsp;*fill* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x00000000080513b4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xc 90909090
&lt;br&gt;| 
&lt;br&gt;| ( ... etc.)
&lt;br&gt;| 
&lt;br&gt;| The code:
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; &amp;nbsp; for (i=j=0,li=Cnil;fgets(b,sizeof(b),f);) {
&lt;br&gt;| 
&lt;br&gt;| (initialize variable &amp;quot;i&amp;quot; to zero; then repeat reading lines from file
&lt;br&gt;| &amp;quot;f&amp;quot; into buffer &amp;quot;b&amp;quot;, and for each line ...)
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; if (!memchr(b,10,sizeof(b)-1))
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; FEerror(&amp;quot;plt buffer too small&amp;quot;, 0);
&lt;br&gt;| 
&lt;br&gt;| (fail with an error message if no newline character (code 10) is found
&lt;br&gt;| in the buffer (i.e. the input line was too long to fit), ...)
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; if (memcmp(b,&amp;quot; .plt&amp;quot;,4) &amp;&amp; !i)
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;| 
&lt;br&gt;| (&amp;quot;continue&amp;quot; - ie. read the next input line - unless a) &amp;quot;b&amp;quot; begins with
&lt;br&gt;| &amp;quot; .pl&amp;quot;, or b) &amp;quot;i&amp;quot; is non-zero. &amp;quot;i&amp;quot; works like a switch, set it to 1 to
&lt;br&gt;| activate the code below for input lines not having &amp;quot; .pl&amp;quot;...) 
&lt;br&gt;| (--notice the strange digit 4 when the string literal has 5 characters
&lt;br&gt;| including the leading space. A minor bug? --)
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; if (*b=='\r' || *b=='\n') {
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; i=0;
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;| 
&lt;br&gt;| (turn the switch off again when processing an empty line ... )
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; else
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!i) {
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i=1;
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;| 
&lt;br&gt;| ( If the switch is off, turn it on, but go back up and get the next
&lt;br&gt;| input line before doing anything more. This &amp;nbsp;prevents the code below
&lt;br&gt;| from acting on the line that begins with &amp;quot; .pl&amp;quot;.)
&lt;br&gt;| 
&lt;br&gt;| We can only get past this point when the switch is on. The extraction
&lt;br&gt;| happens with 
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; if (sscanf(b,&amp;quot;%lx%n&amp;quot;,&amp;u,&amp;n)!=1)
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; FEerror(&amp;quot;Cannot read address&amp;quot;, 0);
&lt;br&gt;| 
&lt;br&gt;| which must fail when we reach the line that has &amp;quot;*(.iplt)&amp;quot; at the
&lt;br&gt;| start. &amp;nbsp;
&lt;br&gt;| 
&lt;br&gt;| I tell all this because the web is full of messages about the problems
&lt;br&gt;| with Fedora and SELinux, but I have SELinux disabled, and this does not
&lt;br&gt;| look like a compiler bug or a compiler over-optimization.
&lt;br&gt;| 
&lt;br&gt;| Obviously the program expects the input to have an empty line separating
&lt;br&gt;| distinct parts. Maybe some tool has been changed. Maybe there used to be
&lt;br&gt;| an empty line just before the &amp;quot;*(.iplt)&amp;quot; line, or may be two lines
&lt;br&gt;| containing .iplt have been added in a recent version of the tools that
&lt;br&gt;| generate the map file. I have 
&lt;br&gt;| 
&lt;br&gt;| OK, I &amp;quot;fixed&amp;quot; it, by placing a shell script &amp;quot;ld&amp;quot; in /usr/local/bin,
&lt;br&gt;| which is ahead of /usr/bin in my path:
&lt;br&gt;| 
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; #!/bin/sh
&lt;br&gt;| &amp;gt; 
&lt;br&gt;| &amp;gt; set -x
&lt;br&gt;| &amp;gt; 
&lt;br&gt;| &amp;gt; case &amp;quot;$*&amp;quot; in
&lt;br&gt;| &amp;gt; (*&amp;quot;-Map ./raw_lisp_map&amp;quot;*)
&lt;br&gt;| &amp;gt; 	/usr/bin/ld &amp;quot;$@&amp;quot;
&lt;br&gt;| &amp;gt; 	mv ./raw_lisp_map ./raw_lisp_map.old
&lt;br&gt;| &amp;gt; 	grep -v '\.iplt' ./raw_lisp_map.old &amp;gt; ./raw_lisp_map
&lt;br&gt;| &amp;gt; 	;;
&lt;br&gt;| &amp;gt; (*)
&lt;br&gt;| &amp;gt; 	exec /usr/bin/ld &amp;quot;$@&amp;quot;
&lt;br&gt;| &amp;gt; 	;;
&lt;br&gt;| &amp;gt; esac
&lt;br&gt;| 
&lt;br&gt;| but I immediately ran into the next problem:
&lt;br&gt;| 
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; GCL (GNU Common Lisp) &amp;nbsp;April 1994 &amp;nbsp;131072 pages
&lt;br&gt;| &amp;gt; Building symbol table for /home/enrique/src/build-oa/src/lisp/raw_lisp ..
&lt;br&gt;| &amp;gt; loading /usr/lib/gcl-2.6.8/unixport/../lsp/gcl_export.lsp
&lt;br&gt;| &amp;gt; Initializing gcl_defmacro.o
&lt;br&gt;| &amp;gt; Can't open file ~s
&lt;br&gt;| &amp;gt; Lisp initialization failed.
&lt;br&gt;| &amp;gt; 
&lt;br&gt;| &amp;gt; &amp;quot;lisp&amp;quot;
&lt;br&gt;| &amp;gt; 
&lt;br&gt;| &amp;gt; AxiomCore&amp;gt;
&lt;br&gt;| 
&lt;br&gt;| I found the following line in the source of gcl, in file o/fasdump.c:
&lt;br&gt;| 
&lt;br&gt;| &amp;gt; if (in == Cnil)
&lt;br&gt;| &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FEerror(&amp;quot;Can't open file ~s&amp;quot;,1,d);
&lt;br&gt;| 
&lt;br&gt;| I wonder if the string &amp;quot;~s&amp;quot; should have been &amp;quot;%s&amp;quot; ...
&lt;br&gt;| 
&lt;br&gt;| By the way, some days ago I build my CVS snapshot of gcl; this was only
&lt;br&gt;| possible after adding -fno-strict-aliases to TCFLAGS in ./configure
&lt;br&gt;| 
&lt;br&gt;| Enrique
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Dr. Gabriel Dos Reis (&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25865594&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gdr@...&lt;/a&gt;), Assistant Professor
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.cs.tamu.edu/people/faculty/gdr&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cs.tamu.edu/people/faculty/gdr&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Department of Computer Science &amp; Engineering; TAMU
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 301, Bright Building -- College Station, TX 77843-3112
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25865594&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--TeXmacs--A-rewrite-of-tm_axiom.c-%28attached%29-tp25865125p25865594.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25865125</id>
	<title>Re: [TeXmacs] A rewrite of tm_axiom.c (attached)</title>
	<published>2009-10-12T16:57:25Z</published>
	<updated>2009-10-12T16:57:25Z</updated>
	<author>
		<name>Enrique Perez-Terron</name>
	</author>
	<content type="html">I have just downloaded open-axiom-1.3.0.tar.bz2, and attempted to build
&lt;br&gt;it using the standard installed gcl from Fedora 11.
&lt;br&gt;&lt;br&gt;I think the builders of Fedora-11 downloaded a CVS snapshot of gcl on
&lt;br&gt;some date... Yes, here it is, in their gcl.spec:
&lt;br&gt;&lt;br&gt;# The source for this package was pulled from upstream's CVS repository. &amp;nbsp;Use
&lt;br&gt;# the following commands to generate the tarball:
&lt;br&gt;# &amp;nbsp; cvs -d:pserver:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25865125&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anonymous@...&lt;/a&gt;:/sources/gcl export \
&lt;br&gt;# &amp;nbsp; &amp;nbsp; -r Version_2_6_8pre -D 2009-03-04 -d gcl-2.6.8 gcl
&lt;br&gt;# &amp;nbsp; tar -cjvf gcl-2.6.8.tar.bz2 gcl-2.6.8
&lt;br&gt;&lt;br&gt;But the code quoted below is not different in the cvs snapshot I myself
&lt;br&gt;downloaded (without version and date restricting options) on 2009-10-07.
&lt;br&gt;(There are differences in other parts of plt.c and fasdump.c.)
&lt;br&gt;&lt;br&gt;I am building on Fedora 11, with SELinux disabled:
&lt;br&gt;&lt;br&gt;$ sudo getenforce
&lt;br&gt;Disabled
&lt;br&gt;&lt;br&gt;Also relevant:
&lt;br&gt;&lt;br&gt;$ ld --version
&lt;br&gt;GNU ld version 2.19.51.0.14-1.fc11 20090722
&lt;br&gt;...
&lt;br&gt;$ gcc --version
&lt;br&gt;gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)
&lt;br&gt;&lt;br&gt;$ gcl --version
&lt;br&gt;GCL (GNU Common Lisp) &amp;nbsp;2.6.8 ANSI &amp;nbsp; &amp;nbsp;Apr 27 2009 12:50:17
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;Just in case: (compare the build date)
&lt;br&gt;&lt;br&gt;$ rpm -qi gcl
&lt;br&gt;Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: gcl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Relocations: (not relocatable)
&lt;br&gt;Version &amp;nbsp; &amp;nbsp; : 2.6.8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Vendor: Fedora Project
&lt;br&gt;Release &amp;nbsp; &amp;nbsp; : 0.3.20090303cvs.fc11 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Build Date: Mon 27 Apr 2009 06:54:29 PM CEST
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&lt;br&gt;(The text below was written for a different mailing list, but I decided
&lt;br&gt;to send to more appropriate lists when I saw what I have written. Bear
&lt;br&gt;with the excessive details.)
&lt;br&gt;&lt;br&gt;During the build of open-axiom, the following command:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; echo '(let* ((sys-cc compiler::*cc*) ' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp;(sys-ld compiler::*ld*) ' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp;(compiler::*cc* (concatenate (quote string) ' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;../../libtool --mode=compile &amp;quot; &amp;nbsp; &amp;nbsp;' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sys-cc)) &amp;nbsp; &amp;nbsp; &amp;nbsp; ' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp;(compiler::*ld* (concatenate (quote string) ' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;../../libtool --mode=link &amp;quot; &amp;nbsp; &amp;nbsp;' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sys-ld))) &amp;nbsp; &amp;nbsp; &amp;nbsp; ' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'(compiler::link (quote (&amp;quot;core.o&amp;quot;)) &amp;quot;lisp&amp;quot; ' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' (format nil &amp;quot;(progn (let ((*load-path* (cons ~S *load-path*))'\
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' (si::*load-types* ~S)))' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' (when (fboundp (quote si::sgc-on))' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' (si::sgc-on nil))' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' (setq si::*top-level-hook* (read-from-string \&amp;quot;|AxiomCore|::|topLevel|\&amp;quot;)))&amp;quot;' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' si::*system-directory* (quote (list &amp;quot;.lsp&amp;quot;)))' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' &amp;nbsp;&amp;quot;./../../src/lib/bsdsignal.o ./../../src/lib/cfuns-c.o ./../../src/lib/sockio-c.o -lutil &amp;nbsp; -lm&amp;quot;))' \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | ./base-lisp
&lt;/div&gt;&lt;br&gt;fails with the following output:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; GCL (GNU Common Lisp) &amp;nbsp;2.6.8 ANSI &amp;nbsp; &amp;nbsp;Apr 27 2009 12:50:17
&lt;br&gt;&amp;gt; Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
&lt;br&gt;&amp;gt; Binary License: &amp;nbsp;GPL due to GPL'ed components: (XGCL READLINE BFD UNEXEC)
&lt;br&gt;&amp;gt; Modifications of this banner must retain notice of a compatible license
&lt;br&gt;&amp;gt; Dedicated to the memory of W. Schelter
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Use (help) to get some basic information on how to use GCL.
&lt;br&gt;&amp;gt; Temporary directory for compiler files set to /tmp/
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; AxiomCore&amp;gt;libtool: compile: &amp;nbsp;gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -DVOL=volatile -fsigned-char -pipe -I/usr/lib/gcl-2.6.8/unixport/../h -O2 -fno-strict-aliasing -c ./user-init.c -w &amp;nbsp;-fPIC -DPIC -o ./.libs/user-init.o
&lt;br&gt;&amp;gt; libtool: compile: &amp;nbsp;gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -DVOL=volatile -fsigned-char -pipe -I/usr/lib/gcl-2.6.8/unixport/../h -O2 -fno-strict-aliasing -c ./user-init.c -w -o ./user-init.o &amp;gt;/dev/null 2&amp;gt;&amp;1
&lt;br&gt;&amp;gt; libtool: link: gcc -o ./raw_lisp ./user-init.o core.o -Wl,-Map ./raw_lisp_map ./../../src/lib/bsdsignal.o ./../../src/lib/cfuns-c.o ./../../src/lib/sockio-c.o &amp;nbsp;-L/usr/lib/gcl-2.6.8/unixport/ -lansi_gcl -lSM -lICE -lXmu -lXt -lXext -lXaw -lX11 -lgmp -lbfd -liberty -lreadline -lncurses -lc -lgclp -lutil -lm
&lt;br&gt;&amp;gt; GCL (GNU Common Lisp) &amp;nbsp;April 1994 &amp;nbsp;131072 pages
&lt;br&gt;&amp;gt; Cannot read address
&lt;br&gt;&amp;gt; Lisp initialization failed.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;lisp&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; AxiomCore&amp;gt;
&lt;/div&gt;&lt;br&gt;I am building using the Fedora-11 native gcl. The command &amp;quot;./base-lisp&amp;quot;
&lt;br&gt;appears to be a version of gcl that has been dumped with some extra
&lt;br&gt;functions and a modified prompt &amp;quot;AxiomCore&amp;quot;, a few lines earlier in the
&lt;br&gt;build.
&lt;br&gt;&lt;br&gt;I had the same error a few days ago, and I looked at the gcl source to
&lt;br&gt;find the error message &amp;quot;Cannot read address&amp;quot;. I found it in
&lt;br&gt;gcl-2.6.8/o/plt.c, and it appears that the function parse_plt() *must*
&lt;br&gt;fail with exactly this message given the input file
&lt;br&gt;src/lisp/raw_lisp_map (from the open-axiom build tree). 
&lt;br&gt;&lt;br&gt;The input file contains:
&lt;br&gt;&lt;br&gt;&amp;gt; Archive member included because of file (symbol)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /usr/lib/gcl-2.6.8/unixport//libansi_gcl.a(alloc.o)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ./../../src/lib/cfuns-c.o (free)
&lt;br&gt;&amp;gt; /usr/lib/gcl-2.6.8/unixport//libansi_gcl.a(cmpaux.o)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ./user-init.o (gcl_init_or_load1)
&lt;br&gt;&lt;br&gt;( ... lots of stuff, then )
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; .plt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x000000000804ebd4 &amp;nbsp; &amp;nbsp; 0x27b0
&lt;br&gt;&amp;gt; &amp;nbsp;*(.plt)
&lt;br&gt;&amp;gt; &amp;nbsp;.plt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ebd4 &amp;nbsp; &amp;nbsp; 0x27b0 /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../crt1.o
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ebe4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fileno@@GLIBC_2.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ebf4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;getpagesize@@GLIBC_2.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ec04 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XWidthOfScreen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ec14 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fputs@@GLIBC_2.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ec24 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;abort@@GLIBC_2.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ec34 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;__errno_location@@GLIBC_2.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x000000000804ec44 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XXorRegion
&lt;/div&gt;&lt;br&gt;( ... many similar lines ... )
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051314 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;getgid@@GLIBC_2.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051324 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XSetScreenSaver
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051334 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XChangeWindowAttributes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051344 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;__gmpz_add_ui
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051354 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XSetArcMode
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051364 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XParseGeometry
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051374 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;geteuid@@GLIBC_2.0
&lt;br&gt;&amp;gt; &amp;nbsp;*(.iplt)
&lt;br&gt;&amp;gt; &amp;nbsp;.iplt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0000000000000000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0 /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../crt1.o
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; .text &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051390 &amp;nbsp; 0x33d9dc
&lt;br&gt;&amp;gt; &amp;nbsp;*(.text .stub .text.* .gnu.linkonce.t.*)
&lt;br&gt;&amp;gt; &amp;nbsp;.text &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0000000008051390 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x24 /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../crt1.o
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0000000008051390 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_start
&lt;br&gt;&amp;gt; &amp;nbsp;.text &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x00000000080513b4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0 /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../crti.o
&lt;br&gt;&amp;gt; &amp;nbsp;*fill* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x00000000080513b4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xc 90909090
&lt;/div&gt;&lt;br&gt;( ... etc.)
&lt;br&gt;&lt;br&gt;The code:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; for (i=j=0,li=Cnil;fgets(b,sizeof(b),f);) {
&lt;br&gt;&lt;br&gt;(initialize variable &amp;quot;i&amp;quot; to zero; then repeat reading lines from file
&lt;br&gt;&amp;quot;f&amp;quot; into buffer &amp;quot;b&amp;quot;, and for each line ...)
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if (!memchr(b,10,sizeof(b)-1))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; FEerror(&amp;quot;plt buffer too small&amp;quot;, 0);
&lt;br&gt;&lt;br&gt;(fail with an error message if no newline character (code 10) is found
&lt;br&gt;in the buffer (i.e. the input line was too long to fit), ...)
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if (memcmp(b,&amp;quot; .plt&amp;quot;,4) &amp;&amp; !i)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&lt;br&gt;(&amp;quot;continue&amp;quot; - ie. read the next input line - unless a) &amp;quot;b&amp;quot; begins with
&lt;br&gt;&amp;quot; .pl&amp;quot;, or b) &amp;quot;i&amp;quot; is non-zero. &amp;quot;i&amp;quot; works like a switch, set it to 1 to
&lt;br&gt;activate the code below for input lines not having &amp;quot; .pl&amp;quot;...) 
&lt;br&gt;(--notice the strange digit 4 when the string literal has 5 characters
&lt;br&gt;including the leading space. A minor bug? --)
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if (*b=='\r' || *b=='\n') {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; i=0;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&lt;br&gt;(turn the switch off again when processing an empty line ... )
&lt;br&gt;&lt;br&gt;&amp;gt; else
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!i) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i=1;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;( If the switch is off, turn it on, but go back up and get the next
&lt;br&gt;input line before doing anything more. This &amp;nbsp;prevents the code below
&lt;br&gt;from acting on the line that begins with &amp;quot; .pl&amp;quot;.)
&lt;br&gt;&lt;br&gt;We can only get past this point when the switch is on. The extraction
&lt;br&gt;happens with 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if (sscanf(b,&amp;quot;%lx%n&amp;quot;,&amp;u,&amp;n)!=1)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; FEerror(&amp;quot;Cannot read address&amp;quot;, 0);
&lt;br&gt;&lt;br&gt;which must fail when we reach the line that has &amp;quot;*(.iplt)&amp;quot; at the
&lt;br&gt;start. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I tell all this because the web is full of messages about the problems
&lt;br&gt;with Fedora and SELinux, but I have SELinux disabled, and this does not
&lt;br&gt;look like a compiler bug or a compiler over-optimization.
&lt;br&gt;&lt;br&gt;Obviously the program expects the input to have an empty line separating
&lt;br&gt;distinct parts. Maybe some tool has been changed. Maybe there used to be
&lt;br&gt;an empty line just before the &amp;quot;*(.iplt)&amp;quot; line, or may be two lines
&lt;br&gt;containing .iplt have been added in a recent version of the tools that
&lt;br&gt;generate the map file. I have 
&lt;br&gt;&lt;br&gt;OK, I &amp;quot;fixed&amp;quot; it, by placing a shell script &amp;quot;ld&amp;quot; in /usr/local/bin,
&lt;br&gt;which is ahead of /usr/bin in my path:
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; #!/bin/sh
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; set -x
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; case &amp;quot;$*&amp;quot; in
&lt;br&gt;&amp;gt; (*&amp;quot;-Map ./raw_lisp_map&amp;quot;*)
&lt;br&gt;&amp;gt; 	/usr/bin/ld &amp;quot;$@&amp;quot;
&lt;br&gt;&amp;gt; 	mv ./raw_lisp_map ./raw_lisp_map.old
&lt;br&gt;&amp;gt; 	grep -v '\.iplt' ./raw_lisp_map.old &amp;gt; ./raw_lisp_map
&lt;br&gt;&amp;gt; 	;;
&lt;br&gt;&amp;gt; (*)
&lt;br&gt;&amp;gt; 	exec /usr/bin/ld &amp;quot;$@&amp;quot;
&lt;br&gt;&amp;gt; 	;;
&lt;br&gt;&amp;gt; esac
&lt;/div&gt;&lt;br&gt;but I immediately ran into the next problem:
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; GCL (GNU Common Lisp) &amp;nbsp;April 1994 &amp;nbsp;131072 pages
&lt;br&gt;&amp;gt; Building symbol table for /home/enrique/src/build-oa/src/lisp/raw_lisp ..
&lt;br&gt;&amp;gt; loading /usr/lib/gcl-2.6.8/unixport/../lsp/gcl_export.lsp
&lt;br&gt;&amp;gt; Initializing gcl_defmacro.o
&lt;br&gt;&amp;gt; Can't open file ~s
&lt;br&gt;&amp;gt; Lisp initialization failed.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;lisp&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; AxiomCore&amp;gt;
&lt;/div&gt;&lt;br&gt;I found the following line in the source of gcl, in file o/fasdump.c:
&lt;br&gt;&lt;br&gt;&amp;gt; if (in == Cnil)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FEerror(&amp;quot;Can't open file ~s&amp;quot;,1,d);
&lt;br&gt;&lt;br&gt;I wonder if the string &amp;quot;~s&amp;quot; should have been &amp;quot;%s&amp;quot; ...
&lt;br&gt;&lt;br&gt;By the way, some days ago I build my CVS snapshot of gcl; this was only
&lt;br&gt;possible after adding -fno-strict-aliases to TCFLAGS in ./configure
&lt;br&gt;&lt;br&gt;Enrique
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25865125&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--TeXmacs--A-rewrite-of-tm_axiom.c-%28attached%29-tp25865125p25865125.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25437921</id>
	<title>Free memory from the garbage collector</title>
	<published>2009-09-14T08:18:15Z</published>
	<updated>2009-09-14T08:18:15Z</updated>
	<author>
		<name>Javier Sancho</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I'm developing a Lisp extension for making games with SDL and OpenGL
&lt;br&gt;and I want to manage memory transparently for the programmer.
&lt;br&gt;&lt;br&gt;Memory is allocated from C functions calling malloc or other simillar
&lt;br&gt;functions and lisp variables store the memory address. The idea is to
&lt;br&gt;free memory from unused variables when garbage collector is invoked.
&lt;br&gt;&lt;br&gt;I've read extensively GCL documentation and I haven't found any
&lt;br&gt;reference for doing something similar.
&lt;br&gt;&lt;br&gt;Can anyone help me? Thanks.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Javier Sancho Fernández - &lt;a href=&quot;http://www.jsancho.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jsancho.org/&lt;/a&gt;&lt;br&gt;Associate Member of the Free Software Foundation - &lt;a href=&quot;http://www.fsf.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.fsf.org/&lt;/a&gt;&lt;br&gt;Socio de Aditel - &lt;a href=&quot;http://www.aditel.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.aditel.org/&lt;/a&gt;&lt;br&gt;Contra el DRM - &lt;a href=&quot;http://www.defectivebydesign.org/what_is_drm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.defectivebydesign.org/what_is_drm&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25437921&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Free-memory-from-the-garbage-collector-tp25437921p25437921.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25144759</id>
	<title>Re: Fedora Sparc build problem</title>
	<published>2009-08-25T17:38:06Z</published>
	<updated>2009-08-25T17:38:06Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">Greetings! &amp;nbsp;OK I'm back, and my ssh key is:
&lt;br&gt;&lt;br&gt;=============================================================================
&lt;br&gt;ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAtseLLbrS7utxoresgHYJtfUCLckotAcc6SfOqjg1MVrV77GNSuNfR+6iX7ahLDnbNtGzauDJM+8/H0hx2dM0+UMy92betwF+2TYjHfSucsoWhb2kSNUwIFiq714NdSa1vdcEEV/jLQ2v4fDCMew9X2NnzAxovCTSEcRCmMEenaU= camm@wisdom
&lt;br&gt;=============================================================================
&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;&lt;br&gt;Jerry James &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25144759&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;loganjerry@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Aug 16, 2009 at 8:29 AM, Camm Maguire&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25144759&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Greetings!  I'm away from home for another week, but I just wanted t
&lt;br&gt;&amp;gt;&amp;gt; add this quickly -- I think the error handler was called recursively
&lt;br&gt;&amp;gt;&amp;gt; from your output.  Please make sure you are looking at the topmost
&lt;br&gt;&amp;gt;&amp;gt; call to the error handler.  Also -- if remote access to this machine
&lt;br&gt;&amp;gt;&amp;gt; can be arranged, I'd be happy to take a look if you'd like.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would be very happy if you could take a look. &amp;nbsp;I'll see if remote
&lt;br&gt;&amp;gt; access for you can be arranged. &amp;nbsp;Thanks!
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Jerry James
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.jamezone.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jamezone.org/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25144759&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25144759&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-Sparc-build-problem-tp24941849p25144759.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25144765</id>
	<title>Re: virtual memory</title>
	<published>2009-08-25T17:36:39Z</published>
	<updated>2009-08-25T17:36:39Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">Greetings, and thanks for your report!
&lt;br&gt;&lt;br&gt;I'm always interested in this. &amp;nbsp;Were the maxima versions the same? &amp;nbsp;If
&lt;br&gt;not, what were the maxima versions? &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;quot;Andrey G. Grozin&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25144765&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;A.G.Grozin@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello *,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; An older version of gcl-2.6.8-pre in Gentoo (it was taken from Debian,
&lt;br&gt;&amp;gt; don't remember the exact number of the Debian patch) was the fastest
&lt;br&gt;&amp;gt; in running the maxima tests. Recently, I've compiled gcl-2.6.8-pre
&lt;br&gt;&amp;gt; from cvs, and now I cannot complete these tests at all: maxima is
&lt;br&gt;&amp;gt; swapping like mad, and makes very little progress. It seems that it
&lt;br&gt;&amp;gt; uses much more virtual memory than the main memory of my computer
&lt;br&gt;&amp;gt; (which is not large, just 1/4 Gb).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there any gcl build parameter which I can tune to reduce the amount
&lt;br&gt;&amp;gt; of virtual memory used by gcl? What has changed in this respect in a
&lt;br&gt;&amp;gt; not too distant past? (this may mean a year ago or something, I don't
&lt;br&gt;&amp;gt; know more exactly).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Andrey
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Gcl-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25144765&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25144765&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25144765&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Release-notes-tp22337793p25144765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25055309</id>
	<title>virtual memory</title>
	<published>2009-08-19T19:46:04Z</published>
	<updated>2009-08-19T19:46:04Z</updated>
	<author>
		<name>Andrey G. Grozin</name>
	</author>
	<content type="html">Hello *,
&lt;br&gt;&lt;br&gt;An older version of gcl-2.6.8-pre in Gentoo (it was taken from Debian, 
&lt;br&gt;don't remember the exact number of the Debian patch) was the fastest in 
&lt;br&gt;running the maxima tests. Recently, I've compiled gcl-2.6.8-pre from cvs, 
&lt;br&gt;and now I cannot complete these tests at all: maxima is swapping like mad, 
&lt;br&gt;and makes very little progress. It seems that it uses much more virtual 
&lt;br&gt;memory than the main memory of my computer (which is not large, just 1/4 
&lt;br&gt;Gb).
&lt;br&gt;&lt;br&gt;Is there any gcl build parameter which I can tune to reduce the amount of 
&lt;br&gt;virtual memory used by gcl? What has changed in this respect in a not too 
&lt;br&gt;distant past? (this may mean a year ago or something, I don't know more 
&lt;br&gt;exactly).
&lt;br&gt;&lt;br&gt;Andrey
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25055309&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Release-notes-tp22337793p25055309.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25011034</id>
	<title>Re: Fedora Sparc build problem</title>
	<published>2009-08-17T10:36:49Z</published>
	<updated>2009-08-17T10:36:49Z</updated>
	<author>
		<name>Jerry James-3</name>
	</author>
	<content type="html">On Sun, Aug 16, 2009 at 8:29 AM, Camm Maguire&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25011034&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Greetings!  I'm away from home for another week, but I just wanted t
&lt;br&gt;&amp;gt; add this quickly -- I think the error handler was called recursively
&lt;br&gt;&amp;gt; from your output.  Please make sure you are looking at the topmost
&lt;br&gt;&amp;gt; call to the error handler.  Also -- if remote access to this machine
&lt;br&gt;&amp;gt; can be arranged, I'd be happy to take a look if you'd like.
&lt;br&gt;&lt;br&gt;I would be very happy if you could take a look. &amp;nbsp;I'll see if remote
&lt;br&gt;access for you can be arranged. &amp;nbsp;Thanks!
&lt;br&gt;-- 
&lt;br&gt;Jerry James
&lt;br&gt;&lt;a href=&quot;http://www.jamezone.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jamezone.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25011034&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-Sparc-build-problem-tp24941849p25011034.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24994074</id>
	<title>Re: Fedora Sparc build problem</title>
	<published>2009-08-16T07:29:05Z</published>
	<updated>2009-08-16T07:29:05Z</updated>
	<author>
		<name>Camm Maguire-2</name>
	</author>
	<content type="html">Greetings! &amp;nbsp;I'm away from home for another week, but I just wanted t
&lt;br&gt;add this quickly -- I think the error handler was called recursively
&lt;br&gt;from your output. &amp;nbsp;Please make sure you are looking at the topmost
&lt;br&gt;call to the error handler. &amp;nbsp;Also -- if remote access to this machine
&lt;br&gt;can be arranged, I'd be happy to take a look if you'd like.
&lt;br&gt;&lt;br&gt;Take care,
&lt;br&gt;&lt;br&gt;Jerry James &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24994074&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;loganjerry@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; With the PLT patch I sent recently, the build for Fedora Linux on
&lt;br&gt;&amp;gt; Sparc gets off the ground. &amp;nbsp;However, it doesn't complete. &amp;nbsp;Here is the
&lt;br&gt;&amp;gt; last (relevant) bit of the build log:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; /builddir/build/BUILD/gcl-2.6.8/unixport/raw_pre_gcl
&lt;br&gt;&amp;gt; /builddir/build/BUILD/gcl-2.6.8/unixport/ -libdir
&lt;br&gt;&amp;gt; /builddir/build/BUILD/gcl-2.6.8/ &amp;lt; foo
&lt;br&gt;&amp;gt; GCL (GNU Common Lisp) &amp;nbsp;April 1994 &amp;nbsp;131072 pages
&lt;br&gt;&amp;gt; Building symbol table for
&lt;br&gt;&amp;gt; /builddir/build/BUILD/gcl-2.6.8/unixport/raw_pre_gcl ..
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_export.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_defmacro.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_evalmacros.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_top.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_module.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_autoload.lsp
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; #&amp;lt;&amp;quot;COMPILER&amp;quot; package&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; #&amp;lt;&amp;quot;SLOOP&amp;quot; package&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; #&amp;lt;&amp;quot;SERROR&amp;quot; package&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; #&amp;lt;&amp;quot;ANSI-LOOP&amp;quot; package&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; #&amp;lt;&amp;quot;DEFPACKAGE&amp;quot; package&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; #&amp;lt;&amp;quot;TK&amp;quot; package&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; #&amp;lt;&amp;quot;SYSTEM&amp;quot; package&amp;gt;
&lt;br&gt;&amp;gt; SYSTEM&amp;gt;
&lt;br&gt;&amp;gt; *COMMAND-ARGS*
&lt;br&gt;&amp;gt; SYSTEM&amp;gt;loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_listlib.lsp
&lt;br&gt;&amp;gt; Warning: NTHCDR is being redefined.
&lt;br&gt;&amp;gt; Warning: NTH is being redefined.
&lt;br&gt;&amp;gt; Warning: FIRST is being redefined.
&lt;br&gt;&amp;gt; Warning: SECOND is being redefined.
&lt;br&gt;&amp;gt; Warning: THIRD is being redefined.
&lt;br&gt;&amp;gt; Warning: FOURTH is being redefined.
&lt;br&gt;&amp;gt; Warning: FIFTH is being redefined.
&lt;br&gt;&amp;gt; Warning: SIXTH is being redefined.
&lt;br&gt;&amp;gt; Warning: SEVENTH is being redefined.
&lt;br&gt;&amp;gt; Warning: EIGHTH is being redefined.
&lt;br&gt;&amp;gt; Warning: NINTH is being redefined.
&lt;br&gt;&amp;gt; Warning: TENTH is being redefined.loading
&lt;br&gt;&amp;gt; /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_predlib.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_setf.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_arraylib.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_assert.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_defstruct.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_describe.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_iolib.lsp
&lt;br&gt;&amp;gt; Warning: WRITE-BYTE is being redefined.
&lt;br&gt;&amp;gt; Warning: READ-BYTE is being redefined.loading
&lt;br&gt;&amp;gt; /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_mislib.lsp
&lt;br&gt;&amp;gt; Warning: LISP-IMPLEMENTATION-VERSION is being redefined.loading
&lt;br&gt;&amp;gt; /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_numlib.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_packlib.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_seq.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_seqlib.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_trace.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_sloop.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_serror.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_destructuring_bind.lsp
&lt;br&gt;&amp;gt; loading /builddir/build/BUILD/gcl-2.6.8/unixport/../lsp/gcl_loop.lsp
&lt;br&gt;&amp;gt; Error handler called recursively (:ERROR
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NIL
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SERROR::MAKE-ERROR-CONDITION
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;Bad make_structure args for type ~a&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SERROR::ERROR-CONDITION)
&lt;br&gt;&amp;gt; Error: Bad make_structure args for type ERROR-CONDITION
&lt;br&gt;&amp;gt; Error signalled by SERROR::MAKE-ERROR-CONDITION.
&lt;br&gt;&amp;gt; Broken at COND. &amp;nbsp;Type :H for Help.
&lt;br&gt;&amp;gt; ANSI-LOOP&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; #&amp;lt;&amp;quot;USER&amp;quot; package&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I ran it in GDB, with a breakpoint set on FEerror. &amp;nbsp;The backtrace is
&lt;br&gt;&amp;gt; 51 frames long. &amp;nbsp;I'll just give the last half:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; #0 &amp;nbsp;FEerror (s=0x206e28 &amp;quot;Bad make_structure args for type ~a&amp;quot;, num=1)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; at error.c:268
&lt;br&gt;&amp;gt; #1 &amp;nbsp;0x000000000012fc78 in siLmake_structure () at structure.c:194
&lt;br&gt;&amp;gt; #2 &amp;nbsp;0x00000000001586b4 in eval (form=&amp;lt;value optimized out&amp;gt;) at eval.c:1090
&lt;br&gt;&amp;gt; #3 &amp;nbsp;0x0000000000155e14 in funcall (fun=&amp;lt;value optimized out&amp;gt;) at eval.c:327
&lt;br&gt;&amp;gt; #4 &amp;nbsp;0x0000000000158614 in eval (form=&amp;lt;value optimized out&amp;gt;) at eval.c:1092
&lt;br&gt;&amp;gt; #5 &amp;nbsp;0x000000000011b5e0 in Fprogn (body=0xfb1ea8) at prog.c:248
&lt;br&gt;&amp;gt; #6 &amp;nbsp;0x000000000017cf38 in Fflet (args=0x774808) at let.c:234
&lt;br&gt;&amp;gt; #7 &amp;nbsp;0x00000000001581fc in eval (form=0xfaec60) at eval.c:1037
&lt;br&gt;&amp;gt; #8 &amp;nbsp;0x0000000000155e60 in funcall (fun=&amp;lt;value optimized out&amp;gt;) at eval.c:327
&lt;br&gt;&amp;gt; #9 &amp;nbsp;0x0000000000158614 in eval (form=&amp;lt;value optimized out&amp;gt;) at eval.c:1092
&lt;br&gt;&amp;gt; #10 0x0000000000149484 in let_bind (body=&amp;lt;value optimized out&amp;gt;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; start=0x7904a8, end=0x7904c8) at bind.c:679
&lt;br&gt;&amp;gt; #11 0x000000000017dacc in Flet (form=0x1042a98) at let.c:78
&lt;br&gt;&amp;gt; #12 0x00000000001581fc in eval (form=0x1041080) at eval.c:1037
&lt;br&gt;&amp;gt; #13 0x0000000000155e14 in funcall (fun=&amp;lt;value optimized out&amp;gt;) at eval.c:327
&lt;br&gt;&amp;gt; #14 0x0000000000158614 in eval (form=&amp;lt;value optimized out&amp;gt;) at eval.c:1092
&lt;br&gt;&amp;gt; #15 0x000000000015896c in Ieval (form=0x1045c68) at eval.c:928
&lt;br&gt;&amp;gt; #16 0x00000000001469b4 in Fsetq (form=0x10459e0) at assignment.c:100
&lt;br&gt;&amp;gt; #17 0x00000000001581fc in eval (form=0x10459c8) at eval.c:1037
&lt;br&gt;&amp;gt; #18 0x000000000011b5e0 in Fprogn (body=0x1045968) at prog.c:248
&lt;br&gt;&amp;gt; #19 0x00000000001581fc in eval (form=0x1045938) at eval.c:1037
&lt;br&gt;&amp;gt; #20 0x000000000015875c in ieval (x=0x1045cb0) at eval.c:1278
&lt;br&gt;&amp;gt; #21 0x0000000000161438 in load (s=&amp;lt;value optimized out&amp;gt;) at file.d:1517
&lt;br&gt;&amp;gt; #22 0x0000000000138e8c in gcl_init_system (no_init=0xbbdd88)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; at sys_pre_gcl.c:102
&lt;br&gt;&amp;gt; #23 0x0000000000104e3c in siLinit_system () at main.c:845
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The code in frame #1 called FEerror here:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; if (type_of(name)!=t_structure &amp;nbsp;||
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; (def=S_DATA(name))-&amp;gt;length != --narg)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; FEerror(&amp;quot;Bad make_structure args for type ~a&amp;quot;,1,
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;base[0]);
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; At this point, type_of(name) == t_structure. &amp;nbsp;However, narg is 9, but
&lt;br&gt;&amp;gt; S_DATA(name)-&amp;gt;length is 0.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't know this code well enough to know how to track down the
&lt;br&gt;&amp;gt; problem. &amp;nbsp;Can anyone give me some tips on what I should look for?
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Jerry James
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.jamezone.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jamezone.org/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Gcl-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24994074&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Camm Maguire			 &amp;nbsp; &amp;nbsp; 		 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24994074&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;camm@...&lt;/a&gt;
&lt;br&gt;==========================================================================
&lt;br&gt;&amp;quot;The earth is but one country, and mankind its citizens.&amp;quot; &amp;nbsp;-- &amp;nbsp;Baha'u'llah
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gcl-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24994074&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gcl-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/gcl-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/gcl-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GCL---Dev-f1616.html&quot; embed=&quot;fixTarget[1616]&quot; target=&quot;_top&quot; &gt;Gnu - GCL - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fedora-Sparc-build-problem-tp24941849p24994074.html" />
</entry>

</feed>
