emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot bootstrap on NetBSD/cobalt


From: Nozomu Ando
Subject: Re: Cannot bootstrap on NetBSD/cobalt
Date: Wed, 08 Mar 2006 13:00:15 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Nozomu Ando <address@hidden> writes:
> Even when building with this patch, we cannot execute emacs with X11
> dynamic link libraries. (crash in XtCreateWidget at startup,
> as reported by NAKAJI-san in 
> http://www.m17n.org/mlarchive/mule-ja/200603/msg00035.html)
>
> But it seems OK for me when linked with X11 static libraries.


I think I found a problem.

On NetBSD-3.99.15/i386 (whose emacs with X11 works fine),
objdump -h temacs shows:

temacs:     file format elf32-i386
        : (snip)
  5 .rel.data     00000010  0804c598  0804c598  00004598  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .rel.got      00000040  0804c5a8  0804c5a8  000045a8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  7 .rel.bss      00000080  0804c5e8  0804c5e8  000045e8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  8 .rel.plt      00000e80  0804c668  0804c668  00004668  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
        : (snip)

However, on NetBSD-3.99.15/hpcmips (whose emacs with X11 crashes at
startup), objdump -h temacs shows:

temacs:     file format elf32-tradlittlemips
        : (snip)
  7 .rel.dyn      00000318  004328c0  004328c0  000328c0  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
        : (snip)

(FYI: ld version is 2.16.1)

It seems that ld for elf32-tradlittlemips igonores "-z nocombreloc"
option or there are some restrictions of binutils around MIPS elf.

And unexelf.c cannot unexec correctly without "-z nocombreloc" with
X11 dynamic-link libraries, because "undo relocations" at
unexelf.c:1221 does not work.


Is there any MIPS elf platform whose emacs works fine with X11
dynamic-link library?  What is the difference with NetBSD?

Best regards,
---
Nozomu Ando




reply via email to

[Prev in Thread] Current Thread [Next in Thread]