Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] maxima-ecl: heap error on i686
@ 2022-01-05  5:22 tornaria
  2022-01-06  0:55 ` tornaria
  2022-01-11 15:55 ` [ISSUE] [CLOSED] " leahneukirchen
  0 siblings, 2 replies; 3+ messages in thread
From: tornaria @ 2022-01-05  5:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]

New issue by tornaria on void-packages repository

https://github.com/void-linux/void-packages/issues/34861

Description:
```
$ maxima -l ecll
;;; Loading #P"/usr/lib32/ecl-21.2.1/sb-bsd-sockets.fas"
;;; Loading #P"/usr/lib32/ecl-21.2.1/sockets.fas"
Maxima 5.45.1 https://maxima.sourceforge.io
using Lisp ECL 21.2.1
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) :lisp (ext:set-limit 'ext:heap-size 0)

0
(%i1) a : 10^(10^5) $ b : a^600 $ c : a^600 $
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
Aborted
```
The first line sets `heap-size` to `0` meaning "no limit" (according to https://common-lisp.net/project/ecl/static/manual/Memory-Management.html#ext_003astorage_002dexhausted).

The same using maxima as compiled by sage works. The main difference between the two is that void's template sets `nopie=yes` , and a quick experiment seems to indicate that compiling pie will fix the issue.

The `nopie=yes` was set by https://github.com/void-linux/void-packages/commit/21173c2ce02bc9588b2de678ed1838882a8d0f1a#diff-5183fc265b891109d6a8ee8c7d93cd88d15c063c44ba280ffc981e3098dcf636 but there is no explanation of the reason.  @leahneukirchen do you remember?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-11 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05  5:22 [ISSUE] maxima-ecl: heap error on i686 tornaria
2022-01-06  0:55 ` tornaria
2022-01-11 15:55 ` [ISSUE] [CLOSED] " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).