* GNU Emacs vs. newer GNU ld
@ 2003-06-16 12:00 Masao Uebayashi
0 siblings, 0 replies; only message in thread
From: Masao Uebayashi @ 2003-06-16 12:00 UTC (permalink / raw)
Synopsis:
GNU Emacs dumps core unless -nw.
Environment:
NetBSD 1.6Q or later, with older Pkgsrc tree.
(But this problem probably happens on any other OSes.)
How to repeat:
Build GNU Emacs with X support using the newest GNU Binutils.
Invoke it as "emacs". It dies.
How to fix:
Pass the "-nocombreloc" option to ld.
Description:
Hello.
Pkgsrc (http://www.pkgsrc.org/) had a problem that Emacs died when
it's built with the newest GNU ld (2.13.2.1). We noticed that this is
caused by an ld's new feature that:
it combines "reloc" sections into a single .rel.dyn section
(presumably to speed up dynamic loading). Secondly, rather
than using a copy reloc in the .bss section for
widgetClassRec, it uses a reloc in the .data section for this
reference (ditto).
(http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=20660)
Now we have a fix as a local diff, but this can be fixed in the
original. (XEmacs already has the fix.)
I'll try to post a proper diff later, which is good enough for you to
incorporate, if no one will do. But I'm not so familar with GNU
Autoconf, and am not sure if I can do soon. I'll appreciate if you
fix the problem appropriately.
Thank you very much.
Masao
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-16 12:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-16 12:00 GNU Emacs vs. newer GNU ld Masao Uebayashi
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).