[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac OS X 10.2.2 - Need to Recompile
From: |
Mikael Krantz |
Subject: |
Re: Mac OS X 10.2.2 - Need to Recompile |
Date: |
Fri, 15 Nov 2002 11:01:56 +0100 (CET) |
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
- Re: Mac OS X 10.2.2 - Need to Recompile, (continued)
- Re: Mac OS X 10.2.2 - Need to Recompile, Thorbjørn Ravn Andersen, 2002/11/13
- Re: Mac OS X 10.2.2 - Need to Recompile, Richard Stallman, 2002/11/13
- Re: Mac OS X 10.2.2 - Need to Recompile, Brad Miller, 2002/11/12
- Re: Mac OS X 10.2.2 - Need to Recompile, Dan Brotsky, 2002/11/12
- Re: Mac OS X 10.2.2 - Need to Recompile, Dan Brotsky, 2002/11/12
- Re: Mac OS X 10.2.2 - Need to Recompile,
Mikael Krantz <=