all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mikael Krantz <mk@algonet.se>
Subject: Re: Mac OS X 10.2.2 - Need to Recompile
Date: Fri, 15 Nov 2002 11:01:56 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.44.0211151002410.1693-100000@lorie.dominion> (raw)
In-Reply-To: <20021114202626.11156.14764.Mailman@monty-python.gnu.org>

On Thu, 14 Nov 2002, Steven Tamm wrote:
> For those who still have a bad binary, could you check to see if 
> setting the environment variable DYLD_FORCE_FLAT_NAMESPACE fixes 
> anything?  I have a sneaky suspicion it might; but it could also fail 
> due to redefinition of some terminfo variables BC, PC, and UP.

Well, it fixes something... at least now it breaks in another way (due to 
redefinition of BC it seems). 

More info:

I've tried to bootstrap from CVS (latest, 2002-11-01 and 2002-09-27) with
similar results:

make bootstrap fails with:
    ../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload 
    --eval '(setq generated-autoload-file "/Users/mk/emacs/lisp/loaddefs.el")' 
    -f batch-update-autoloads $wins
    Directories: /Users/mk/emacs/lisp /Users/mk/emacs/lisp/calc 
    /Users/mk/emacs/lisp/calendar /Users/mk/emacs/lisp/emacs-lisp 
    /Users/mk/emacs/lisp/emulation /Users/mk/emacs/lisp/eshell 
    /Users/mk/emacs/lisp/gnus /Users/mk/emacs/lisp/international 
    /Users/mk/emacs/lisp/language /Users/mk/emacs/lisp/mail 
    /Users/mk/emacs/lisp/net /Users/mk/emacs/lisp/obsolete 
    /Users/mk/emacs/lisp/play /Users/mk/emacs/lisp/progmodes 
    /Users/mk/emacs/lisp/term /Users/mk/emacs/lisp/textmodes 
    /Users/mk/emacs/lisp/toolbar
    make[1]: *** [autoloads] Error 139
    make: *** [bootstrap] Error 2

closer examination (gdb) yields that bootstrap-emacs segfaults when 
initializing dyld:
    (gdb) run 
    Starting program: /Users/mk/emacs/src/bootstrap-emacs 
    [Switching to process 7017 thread 0xb03]
    Reading symbols for shared libraries 
    ................................................. done

    Program received signal EXC_BAD_ACCESS, Could not access memory.
    0x8fe0d53c in __dyld_lookup_symbol ()
    (gdb) bt
    #0  0x8fe0d53c in __dyld_lookup_symbol ()
    #1  0x8fe0baac in __dyld_resolve_undefineds ()
    #2  0x8fe10614 in __dyld_link_in_need_modules ()
    #3  0x8fe014e4 in __dyld__dyld_init ()
    (gdb) 

If I define DYLD_FORCE_FLAT_NAMESPACE it fails with:
    bash-2.05$ env DYLD_FORCE_FLAT_NAMESPACE= src/bootstrap-emacs 
    dyld: src/bootstrap-emacs multiple definitions of symbol _BC
    src/bootstrap-emacs definition of _BC
    /usr/lib/libncurses.5.dylib(lib_termcap.o) definition of _BC
    Trace/BPT trap
As you suspected.

I'm using 10.2.2 with latest developer tools (gcc 3.1).

/Mikael Krantz

       reply	other threads:[~2002-11-15 10:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20021114202626.11156.14764.Mailman@monty-python.gnu.org>
2002-11-15 10:01 ` Mikael Krantz [this message]
2002-11-15 12:51   ` Mac OS X 10.2.2 - Need to Recompile Mikael Krantz
2002-11-13  0:06 Dan Brotsky
  -- strict thread matches above, loose matches on Subject: below --
2002-11-13  0:05 Dan Brotsky
     [not found] <20021112092211.24610.36860.Mailman@monty-python.gnu.org>
2002-11-12 14:39 ` Brad Miller
2002-11-12 16:16   ` Steven Tamm
2002-11-12 16:42   ` Andrew Choi
2002-11-12  3:34 Steven Tamm
2002-11-13 10:05 ` Thorbjørn Ravn Andersen
2002-11-13 11:33 ` Richard Stallman
2002-11-14  8:12   ` Steven Tamm
2002-11-15 13:46     ` Thorbjørn Ravn Andersen

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=Pine.LNX.4.44.0211151002410.1693-100000@lorie.dominion \
    --to=mk@algonet.se \
    /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.