[Ecls-list] Small change to patch-current-exp

Juan Jose Garcia-Ripoll worm at arrakis.es
Mon Jan 19 07:34:01 UTC 2004

On Monday 19 January 2004 13:54, Prut Flut wrote:
> Hello,
> I tried building ecl (current) today on alpha-netbsd1.6.1 and
> I had to change one line in patch-current-exp to get the C-files
> to compile:
> --- src/c/num_log.d     Mon Jan 19 13:48:05 2004
> +++ num_log.d   Mon Jan 19 13:47:35 2004
> @@ -17,7 +17,7 @@
>  #include "ecl.h"
>  #include <stdlib.h>
>  #include "internal.h"
> -#include "mp.h"

This is a typo. This header is only needed if one uses the low level macro
MPZ_SIZE_IN_BASE2() from the GMP package, but I finally opted to use the
function mpz_sizeinbase(), which is the only documented interface.

As for the Alpha port, there is somewhere a broken integer<->pointer conversion,
that is breaking the whole system. Debugging in FreeBSD/Alpha I already saw
places where NULL pointers get in the fields of lisp data. Unfortunately, for
a long time I could not access the Compile Farm of SourceForge and was not able
to test my changes in the 64-bit platform. Too bad, because I seem to have
broken something in the mean time, or simply revealed a memory leak.

It is also disappointing that the Boehm-Weiser garbage collector no longer builds
on the latest MacOS. We will have to wait until version 6.3 is released.



P.S.: The CVS server is off-line for one day. This, and other important fixes
of the CLOS subsystem, will be incorporated tomorrow.

More information about the ecl-devel mailing list