[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maxima-discuss] Compiling pregexp.lisp fails with GCL?
From: |
Camm Maguire |
Subject: |
Re: [Maxima-discuss] Compiling pregexp.lisp fails with GCL? |
Date: |
Sat, 06 Aug 2022 19:06:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Greetings!
Robert Dodier <robert.dodier@gmail.com> writes:
> I was able to successfully rebuild GCL (Version_2_6_13pre119) on a
> system w/ GCC 9.
>
Great! (But not gcc-4?)
> That GCL successfully compiles the current Git version of Maxima,
> although it runs into a few errors in the main part of the test suite,
> and then a large number of errors in the share tests. The share errors
> seem to stem from only one or a few root causes, so it might be not
> too difficult to fix them or work around them.
>
> One kind of error is shown by:
>
> f(x) :=x;
> compile(f);
> => Maxima encountered a Lisp error:
>
> Condition in MACSYMA-TOP-LEVEL [or a callee]: INTERNAL-SIMPLE-ERROR:
> The assertion v && (unsigned long)(v+sz)<MAX_CODE_ADDRESS on line 1029
> of alloc.c in function alloc_code_space failed: Success
>
export GCL_MEM_MULTIPLE=0.1
and retry please.
A somewhat more robust approach is to
(progn (setq si::*code-block-reserve* (make-array 50000000 :element-type
'character :static t)) nil)
right before saving your image.
On amd64 (alone) gcc code cannot be loaded over 2Gb, regardless of
compiler settings it seems, and this cannot be addressed with a veneer
in the linker.
More later....
Take care,
--
Camm Maguire camm@maguirefamily.org
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- Re: [Maxima-discuss] Compiling pregexp.lisp fails with GCL?, Camm Maguire, 2022/08/04
- Re: [Maxima-discuss] Compiling pregexp.lisp fails with GCL?, Robert Dodier, 2022/08/04
- Message not available
- Re: [Maxima-discuss] Compiling pregexp.lisp fails with GCL?, Camm Maguire, 2022/08/05
- Re: [Maxima-discuss] Compiling pregexp.lisp fails with GCL?, Robert Dodier, 2022/08/05
- Re: [Maxima-discuss] Compiling pregexp.lisp fails with GCL?,
Camm Maguire <=
- Re: [Maxima-discuss] Compiling pregexp.lisp fails with GCL?, Camm Maguire, 2022/08/07
- successive forward slashes in path, was: Compiling pregexp.lisp fails with GCL?, Robert Dodier, 2022/08/08
- Re: successive forward slashes in path, was: Compiling pregexp.lisp fails with GCL?, Robert Dodier, 2022/08/08
- Message not available
- Re: [Maxima-discuss] Compiling pregexp.lisp fails with GCL?, Camm Maguire, 2022/08/07
- Re: [Maxima-discuss] Compiling pregexp.lisp fails with GCL?, Robert Dodier, 2022/08/07