From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mikael Krantz Newsgroups: gmane.emacs.devel Subject: Re: Mac OS X 10.2.2 - Need to Recompile Date: Fri, 15 Nov 2002 11:01:56 +0100 (CET) Sender: emacs-devel-admin@gnu.org Message-ID: References: <20021114202626.11156.14764.Mailman@monty-python.gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1037355825 17320 80.91.224.249 (15 Nov 2002 10:23:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 15 Nov 2002 10:23:45 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18CddY-0004VE-00 for ; Fri, 15 Nov 2002 11:23:44 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18CdqN-0002g7-00 for ; Fri, 15 Nov 2002 11:36:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18CdbO-0000nd-00; Fri, 15 Nov 2002 05:21:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18CdLB-0007NN-00 for emacs-devel@gnu.org; Fri, 15 Nov 2002 05:04:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18CdL6-0007K2-00 for emacs-devel@gnu.org; Fri, 15 Nov 2002 05:04:43 -0500 Original-Received: from smtp1.chello.se ([193.150.195.10]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18CdL5-0007Jl-00 for emacs-devel@gnu.org; Fri, 15 Nov 2002 05:04:39 -0500 Original-Received: from lorie.dominion ([213.200.149.8]) by smtp1.chello.se (InterMail vK.4.04.00.00 201-232-137 license 1626c9846e046e5eb21c6bb450d1abc1) with ESMTP id <20021115100334.BBUL6991.smtp1@lorie.dominion> for ; Fri, 15 Nov 2002 11:03:34 +0100 Original-Received: from localhost (mk@localhost) by lorie.dominion (8.11.6/8.11.0) with ESMTP id gAFA1uk02153 for ; Fri, 15 Nov 2002 11:01:56 +0100 Original-To: emacs-devel@gnu.org In-Reply-To: <20021114202626.11156.14764.Mailman@monty-python.gnu.org> Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9447 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9447 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