all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nozomu Ando <nand@mac.com>
Cc: nakaji@takamatsu-nct.ac.jp
Subject: Re: Cannot bootstrap on NetBSD/cobalt
Date: Wed, 08 Mar 2006 13:00:15 +0900	[thread overview]
Message-ID: <86irqppovk.fsf@panel.jk.homeunix.org> (raw)
In-Reply-To: <86k6b6wq88.fsf@panel.jk.homeunix.org> (Nozomu Ando's message of "Tue, 07 Mar 2006 18:36:55 +0900")

Nozomu Ando <nand@mac.com> 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	other threads:[~2006-03-08  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06  8:18 Cannot bootstrap on NetBSD/cobalt Kenichi Handa
2006-03-07  9:36 ` Nozomu Ando
2006-03-08  4:00   ` Nozomu Ando [this message]
2006-03-16 12:13     ` Nozomu Ando
2006-03-22  3:03       ` Nozomu Ando
2006-03-25 16:33       ` Nozomu Ando

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86irqppovk.fsf@panel.jk.homeunix.org \
    --to=nand@mac.com \
    --cc=nakaji@takamatsu-nct.ac.jp \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.