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 22:24:10 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 1040509647 11371 80.91.224.249 (21 Dec 2002 22:27:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 21 Dec 2002 22:27:27 +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 18Ps4q-0002v3-00 for ; Sat, 21 Dec 2002 23:26:36 +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 18Ps3o-0003KX-02 for gnu-help-gnu-emacs@m.gmane.org; Sat, 21 Dec 2002 17:25: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!news3.calgary.shaw.ca.POSTED!not-for-mail X-Trace-PostClient-IP: 68.144.207.94 Original-Newsgroups: gnu.emacs.help Original-Lines: 27 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: news3.calgary.shaw.ca 1040509450 24.71.223.147 (Sat, 21 Dec 2002 15:24:10 MST) Original-NNTP-Posting-Date: Sat, 21 Dec 2002 15:24:10 MST Original-Xref: shelby.stanford.edu gnu.emacs.help:108410 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:4939 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4939 Hugo Wolf writes: > In article , Andrew Choi wrote: > > 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. > > Obvious to you maybe :) I'll look into this and see if I can figure > something out. Thanks for the hint. It really is, if you use gdb to check where temacs failed. The change to make is to add an additional comparison || strncmp (sectp->sectname, "__cfstring", 16) == 0 to the following comparison in unexmacosx.c (copy_data_segment). ... else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0 || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0 || strncmp (sectp->sectname, "__dyld", 16) == 0 || strncmp (sectp->sectname, "__const", 16) == 0) Would appreciate it if you can report the result to the list, for the benefit of those who are thinking about installing the new developer tools.