[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `print' does not print
From: |
Eli Zaretskii |
Subject: |
Re: `print' does not print |
Date: |
Mon, 25 Mar 2002 16:35:04 +0200 (IST) |
On Mon, 25 Mar 2002, Ralf Fassel wrote:
> I then had a look what had actually changed in unexelf.c, and with the
> following diff applied to unexelf.c I can make it work again
> (i.e. disabling the SGI-specials introduced for the .got section):
>
> *** unexelf.c.21.2 Mon Jan 28 17:33:22 2002
> --- unexelf.c Mon Mar 25 14:40:55 2002
> ***************
> *** 1033,1038 ****
> --- 1033,1039 ----
> ".lit4")
> || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
> ".lit8")
> + #if 0
> #if __sgi
> /* According to David Kaelbling <drk@bobo.hudson.sgi.com>,
> the SGI-specific section below is required to avoid core
So it is possible that the change which does the damage is the one about
.got sections, not the fact that file I/O is used instead of mmap. Could
you try unexelf.c from v21.2 with the .got sections and see if that makes
Emacs 21.1 unable to print?
David, can you help us here and explain why those additions were
necessary? Perhaps the new unexelf.c in Emacs 21.2 makes them redundant?
To fill you in, this thread (which you can find on gnu.emacs.bug) was
about "emacs -batch" being unable to print to stdout when compiled with
GCC. Ralf's debugging indicates that this happens because fwrite somehow
fails to allocate the buffer for the FILE object (this is in part a
speculation, since we don't have access to library sources).
Also, do you have any clue why does the problem happen with GCC, but not
with the native compiler?
TIA
- Re: `print' does not print, (continued)
- Re: `print' does not print, Stefan Monnier, 2002/03/22
- Re: `print' does not print, Richard Stallman, 2002/03/23
- Re: `print' does not print, Ralf Fassel, 2002/03/24
- Re: `print' does not print, Eli Zaretskii, 2002/03/24
- Re: `print' does not print, Ralf Fassel, 2002/03/24
- Re: `print' does not print, Eli Zaretskii, 2002/03/25
- Re: `print' does not print, Ralf Fassel, 2002/03/25
- Re: `print' does not print,
Eli Zaretskii <=
- Re: `print' does not print, David Kaelbling, 2002/03/25
- Re: `print' does not print, Eli Zaretskii, 2002/03/25
- Re: `print' does not print, David Kaelbling, 2002/03/25
- Re: `print' does not print, Eli Zaretskii, 2002/03/26
- Re: `print' does not print, David Kaelbling, 2002/03/26
- Re: `print' does not print, Eli Zaretskii, 2002/03/26
- Re: `print' does not print, Ralf Fassel, 2002/03/26
- Re: `print' does not print, Ralf Fassel, 2002/03/25
- Re: `print' does not print, David Kaelbling, 2002/03/25
- Re: `print' does not print, Eli Zaretskii, 2002/03/25