From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Choi Newsgroups: gmane.emacs.help Subject: Re: carbon emacs won't build with Dec 2002 dev tools? Date: Sat, 21 Dec 2002 21:02:02 GMT Organization: Shaw Residential Internet Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040504803 32567 80.91.224.249 (21 Dec 2002 21:06:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 21 Dec 2002 21:06:43 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Pqog-0008RI-00 for ; Sat, 21 Dec 2002 22:05:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18PqoO-00031V-02 for gnu-help-gnu-emacs@m.gmane.org; Sat, 21 Dec 2002 16:05:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news1.calgary.shaw.ca.POSTED!not-for-mail X-Trace-PostClient-IP: 68.144.207.94 Original-Newsgroups: gnu.emacs.help Original-Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-NNTP-Posting-Host: 24.71.223.147 Original-X-Complaints-To: abuse@shaw.ca Original-X-Trace: news1.calgary.shaw.ca 1040504522 24.71.223.147 (Sat, 21 Dec 2002 14:02:02 MST) Original-NNTP-Posting-Date: Sat, 21 Dec 2002 14:02:02 MST Original-Xref: shelby.stanford.edu gnu.emacs.help:108408 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4937 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4937 Hugo Wolf writes: > I just updated the emacs cvs sources and installed the latst Developer > Tools from Apple. I can no longer build emacs with carbon support. > It seems to be failing in a link step (see below). > > It could be that something else in my environment is causing this, in > particular some updated fink components. Can anyone running a more > generic 10.2.3 with the December 2002 Developer Tools confirm this > problem, or conversely confirm that it builds ok? > > [...] > > # cmd cmdsize name address size > 0 LC_SEGMENT 56 __PAGEZERO 0 0x1000 > 1 LC_SEGMENT 532 __TEXT 0x1000 0x152000 > __text 0x37ac 0x138584 > __picsymbol_stub 0x13bd30 0x378c > __symbol_stub 0x13f4bc 0 > __cstring 0x13f4bc 0x12b9c > __literal8 0x152058 0x108 > __literal4 0x152160 0xc > __const 0x15216c 0x96 > 2 LC_SEGMENT 532 __DATA 0x153000 0x124000 > __data 0x153000 0xe8278 > __la_symbol_ptr 0x23b278 0x62c > __nl_symbol_ptr 0x23b8a4 0x84c > __dyld 0x23c0f0 0x1c > __cfstring 0x23c10c 0x10 ^^^^^^^^^^ > __common 0x23c120 0xabec > __bss 0x246d10 0x30130 > > [...] > unexec: unrecognized section name in __DATA segment > make[1]: *** [bootstrap-emacs] Error 1 > make: *** [bootstrap] Error 2 An obvious thing to try to modify unexmacosx.c to treat the section `__cfstring' like other sections not requiring relocation, such as `__la_symbol_ptr' and others. This will work most likely, because from its name, that section probably contains only strings. Otherwise just don't upgrade to the new version of the Developer Tools yet.