Greetings! Robert Dodier <[email protected]> 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 [email protected] ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah
