From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 13528@debbugs.gnu.org
Subject: bug#13528: "find_emacs_zone_regions: too many regions" --with-wide-int on PPC 7447A Mac OS X 10.5.8
Date: Tue, 22 Jan 2013 23:29:05 +0100 [thread overview]
Message-ID: <20D89A68-7416-46E1-974F-48C891937B2A@Freenet.DE> (raw)
In-Reply-To: <50FEFAC3.5020802@cs.ucla.edu>
Am 22.01.2013 um 21:46 schrieb Paul Eggert:
> Thanks, does the following fix things for you, and if so, how many
> regions does Emacs report when dumping?
I did not try that patch yet – because I was compiling GNU Emacs from
the same code basis as yesterday, now without the bootstrap option.
And it builds with -Os, and if fails when building the bootstrap
targets with -Os!
I saved all *compilation* buffers. Comparing "make bootstrap with -Os"
with "make with -Os" leads, when I leave away the initial bootstrap
paraphernalia, to these "major differences:
make bootstrap:
make[2]: Leaving directory `.../emacs-24.3.50/lib'
cd lib-src && make all -w \
CC='gcc -std=gnu99' CFLAGS='-g -ggdb3 -H -pipe -fPIC -fno-common -
Os -mcpu=7450 -mtune=G4' CPPFLAGS='-I/sw/include' \
LDFLAGS='-L/sw/lib -v -Wl,-v -Wl,-dead_strip_dylibs -Wl,-
bind_at_load -Wl,-t -L/usr/X11/lib' MAKE='make'
make[2]: Leaving directory `.../emacs-24.3.50/lib-src'
boot=bootstrap-emacs; \
if [ ! -x "src/$boot" ]; then \
cd src; make all -w \
CC='gcc -std=gnu99' CFLAGS='-g -ggdb3 -H -pipe -fPIC -fno-
common -Os -mcpu=7450 -mtune=G4' CPPFLAGS='-I/sw/include' \
LDFLAGS='-L/sw/lib -v -Wl,-v -Wl,-dead_strip_dylibs -Wl,-
bind_at_load -Wl,-t -L/usr/X11/lib' MAKE='make'
BOOTSTRAPEMACS="$boot"; \
fi;
make:
make[1]: Leaving directory `.../emacs-24.3.50/lib'
cd lib-src && make all \
CC='gcc -std=gnu99' CFLAGS='-g -ggdb3 -H -pipe -fPIC -fno-common -
Os -mcpu=7450 -mtune=G4' CPPFLAGS='-I/sw/include' \
LDFLAGS='-L/sw/lib -v -Wl,-v -Wl,-dead_strip_dylibs -Wl,-
bind_at_load -Wl,-t -L/usr/X11/lib' MAKE='make'
make[1]: Leaving directory `.../emacs-24.3.50/lib-src'
boot=bootstrap-emacs; \
if [ ! -x "src/$boot" ]; then \
cd src; make all \
CC='gcc -std=gnu99' CFLAGS='-g -ggdb3 -H -pipe -fPIC -fno-
common -Os -mcpu=7450 -mtune=G4' CPPFLAGS='-I/sw/include' \
LDFLAGS='-L/sw/lib -v -Wl,-v -Wl,-dead_strip_dylibs -Wl,-
bind_at_load -Wl,-t -L/usr/X11/lib' MAKE='make'
BOOTSTRAPEMACS="$boot"; \
fi;
which certainly is not significant. But then there are some during the
dumping step:
make bootstrap:
34 LC_LOAD_DYLIB 52
0x14fc080 (sz: 0x2cf1/ 0x3f0a)
0x1400000 (sz: 0x6b5e4/ 0xfc080)
0x27f8000 (sz: 0x6d58/ 0x7f80)
0x2000000 (sz: 0x6d5600/0x7f8000)
0x17f8000 (sz: 0x3fff/ 0x5000)
make:
34 LC_LOAD_DYLIB 52
0x14fc080 (sz: 0x2558/ 0x3f0a)
0x1400000 (sz: 0x2e950/ 0xfc080)
0x27f8000 (sz: 0x63b8/ 0x7f80)
0x2000000 (sz: 0x639917/0x7f8000)
0x13f3000 (sz: 0x3fff/ 0x5000)
This is just a snapshot from the start, more and subtle differences
follow like for example (same "line numbers"):
0x17b0000 (sz: 0x3fff/ 0x5000)
0x17a9000 (sz: 0x63c7/ 0x7000)
0x17a2000 (sz: 0x63bb/ 0x7000)
0x179d000 (sz: 0x3fff/ 0x5000)
vs.
0x17d4000 (sz: 0x3fff/ 0x5000)
0x13d2000 (sz: 0x3fff/ 0x5000)
0x17cd000 (sz: 0x63bb/ 0x7000)
0x13cd000 (sz: 0x3fff/ 0x5000)
Before I'll try the patch I'll make bootstrap with -O0 so see whether
this works – unless you recommend something different.
BTW, how do I count these regions? On Mac OS X this count is not
directly reported and I have no idea how determine the number.
My tries today were 'make clean', configure ..., make.
--
Greetings
Pete
"A TRUE Klingon warrior does not comment his code."
next prev parent reply other threads:[~2013-01-22 22:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-21 22:19 bug#13528: 24.3.50; "find_emacs_zone_regions: too many regions" --with-wide-int on PPC 7447A Mac OS X 10.5.8 Peter Dyballa
2013-01-22 20:46 ` bug#13528: " Paul Eggert
2013-01-22 22:29 ` Peter Dyballa [this message]
2013-01-22 22:37 ` Paul Eggert
2013-01-22 23:11 ` Peter Dyballa
2013-01-24 21:01 ` Peter Dyballa
2013-01-25 16:45 ` Peter Dyballa
2013-02-08 16:25 ` Paul Eggert
2013-01-22 23:35 ` Peter Dyballa
2013-01-23 1:57 ` Paul Eggert
2013-01-23 10:40 ` Peter Dyballa
2013-01-23 23:37 ` Peter Dyballa
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=20D89A68-7416-46E1-974F-48C891937B2A@Freenet.DE \
--to=peter_dyballa@freenet.de \
--cc=13528@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
/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).