From: Eli Zaretskii <eliz@gnu.org>
To: Andrea Corallo <akrl@sdf.org>
Cc: larsi@gnus.org, jrm@ftfl.ca, emacs-devel@gnu.org, emacs@FreeBSD.org
Subject: Re: --with-native-compilation build failure on 32-bit systems
Date: Thu, 18 Aug 2022 18:57:18 +0300 [thread overview]
Message-ID: <83fshtfstd.fsf@gnu.org> (raw)
In-Reply-To: <xjfa681hahc.fsf@ma.sdf.org> (message from Andrea Corallo on Thu, 18 Aug 2022 14:50:23 +0000)
> From: Andrea Corallo <akrl@sdf.org>
> Cc: larsi@gnus.org, jrm@ftfl.ca, emacs-devel@gnu.org, emacs@FreeBSD.org
> Date: Thu, 18 Aug 2022 14:50:23 +0000
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: Andrea Corallo <akrl@sdf.org>
> >> Cc: larsi@gnus.org, jrm@ftfl.ca, emacs-devel@gnu.org, emacs@FreeBSD.org
> >> Date: Thu, 18 Aug 2022 14:09:45 +0000
> >>
> >> Eli Zaretskii <eliz@gnu.org> writes:
> >>
> >> >> From: Andrea Corallo <akrl@sdf.org>
> >> >> Cc: larsi@gnus.org, jrm@ftfl.ca, emacs-devel@gnu.org, emacs@FreeBSD.org
> >> >> Date: Thu, 18 Aug 2022 11:08:32 +0000
> >> >>
> >> >> On 64bit I get:
> >> >>
> >> >> emacs:0:Pure Lisp storage overflow (approx. 3366891 bytes needed)
> >> >>
> >> >> On 32:
> >> >>
> >> >> emacs:0:Pure Lisp storage overflow (approx. 2549794 bytes needed)
> >> >
> >> > That's soooo strange! If I start Emacs under GDB and print the value
> >> > of PURESIZE, I get 6000000 bytes in a 64-bit build and 4480000 bytes
> >> > in a 32-bit build --with-wide-int. What values do you see?
> >> >
> >> > Maybe the problem happens only in --without-x builds?
> >>
> >> I get 2000000 on the 32bit build and 3333333 on 64 bit. Both are indeed
> >> --without-x. According a to comment in puresize.h this has an effect.
> >
> > What is the value of SYSTEM_PURESIZE_EXTRA in both cases?
>
> Zero in both cases.
I'm confused. puresize.h says
#define BASE_PURESIZE (2750000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
[...]
#define PURESIZE (BASE_PURESIZE * PURESIZE_RATIO * PURESIZE_CHECKING_RATIO)
So even if PURESIZE_RATIO and PURESIZE_CHECKING_RATIO are both 1, how
come you get 2000000 in the 32-bit build, when SYSTEM_PURESIZE_EXTRA
is zero? I must be missing something.
next prev parent reply other threads:[~2022-08-18 15:57 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-05 2:12 --with-native-compilation build failure on 32-bit systems Joseph Mingrone
2022-08-05 11:58 ` Lars Ingebrigtsen
2022-08-05 13:30 ` Andrea Corallo
2022-08-05 14:40 ` Andrea Corallo
2022-08-05 15:16 ` Lynn Winebarger
2022-08-08 7:44 ` Andrea Corallo
2022-08-08 10:22 ` Lynn Winebarger
2022-08-08 13:14 ` Andrea Corallo
2022-08-08 13:55 ` Lynn Winebarger
2022-08-08 14:13 ` Andrea Corallo
2022-08-09 9:11 ` Andrea Corallo
2022-08-09 9:21 ` Andrea Corallo
2022-08-09 9:48 ` Po Lu
2022-08-09 10:03 ` Andrea Corallo
2022-08-09 10:10 ` Po Lu
2022-08-09 10:20 ` Lynn Winebarger
2022-08-09 11:16 ` Eli Zaretskii
2022-08-17 19:59 ` Andrea Corallo
2022-08-17 21:01 ` Andrea Corallo
2022-08-18 5:30 ` Eli Zaretskii
2022-08-18 8:06 ` Andrea Corallo
2022-08-18 8:15 ` Eli Zaretskii
2022-08-18 9:08 ` Andrea Corallo
2022-08-18 8:31 ` Po Lu
2022-08-18 11:48 ` Joseph Mingrone
2022-08-18 13:40 ` Stefan Monnier
2022-08-18 13:47 ` Lynn Winebarger
2022-08-18 14:49 ` Andrea Corallo
2022-08-18 5:17 ` Eli Zaretskii
2022-08-18 7:59 ` Andrea Corallo
2022-08-18 8:14 ` Eli Zaretskii
2022-08-18 9:06 ` Andrea Corallo
2022-08-18 9:45 ` Eli Zaretskii
2022-08-18 9:57 ` Andrea Corallo
2022-08-18 10:31 ` Eli Zaretskii
2022-08-18 11:08 ` Andrea Corallo
2022-08-18 13:08 ` Eli Zaretskii
2022-08-18 14:09 ` Andrea Corallo
2022-08-18 14:22 ` Eli Zaretskii
2022-08-18 14:50 ` Andrea Corallo
2022-08-18 15:57 ` Eli Zaretskii [this message]
2022-08-18 16:42 ` Andrea Corallo
2022-08-18 17:11 ` Eli Zaretskii
2022-08-18 19:35 ` Andrea Corallo
2022-08-19 5:49 ` Eli Zaretskii
2022-08-19 8:11 ` Andrea Corallo
2022-08-09 15:32 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83fshtfstd.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=akrl@sdf.org \
--cc=emacs-devel@gnu.org \
--cc=emacs@FreeBSD.org \
--cc=jrm@ftfl.ca \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).