From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mark Aufflick" Newsgroups: gmane.emacs.devel Subject: Re: trunk build failure on Solaris 2.6 Date: Mon, 5 Nov 2007 22:12:02 +1100 Message-ID: <1242f34a0711050312v4d37a833rfa7e162a7b98f1f@mail.gmail.com> References: <87y7dz4tsx.fsf@stupidchicken.com> <87myuenavw.fsf@stupidchicken.com> <200710192032.l9JKW1MI003082@oogie-boogie.ics.uci.edu> <87y7dyvnt2.fsf@stupidchicken.com> <87ejfp7m33.fsf@stupidchicken.com> <87ve8zurzc.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194261140 31787 80.91.229.12 (5 Nov 2007 11:12:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2007 11:12:20 +0000 (UTC) Cc: YAMAMOTO Mitsuharu , emacs-devel@gnu.org To: "Chong Yidong" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 05 12:12:22 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IozsS-0004Cu-PS for ged-emacs-devel@m.gmane.org; Mon, 05 Nov 2007 12:12:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IozsH-0006d9-SM for ged-emacs-devel@m.gmane.org; Mon, 05 Nov 2007 06:12:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IozsE-0006co-Ei for emacs-devel@gnu.org; Mon, 05 Nov 2007 06:12:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IozsD-0006cc-7A for emacs-devel@gnu.org; Mon, 05 Nov 2007 06:12:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IozsD-0006cZ-4i for emacs-devel@gnu.org; Mon, 05 Nov 2007 06:12:05 -0500 Original-Received: from wx-out-0506.google.com ([66.249.82.224]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IozsD-0001ra-6E for emacs-devel@gnu.org; Mon, 05 Nov 2007 06:12:05 -0500 Original-Received: by wx-out-0506.google.com with SMTP id s7so1895502wxc for ; Mon, 05 Nov 2007 03:12:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=RiJmiTxJpnryHeJw/9PB1Sar2gPQjztEwMn88MTlsTE=; b=AtWUc7xV5nq86+j/ZMZcxOlJaq6oJXsj32wSmnV7puHQBxJRevaNh5ZJl+hyq8h08upOJKrn237AN2/AGT6TB1PpHEFmhU2R3qSv3ZjcR3wYn3GZlOSgiDV7nvK7Jhd++F0cSAteI+D0Ondh+Fw8d3zzddM+2j5/CsuObHp+E54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=GyKvIT+cyMc3T25Hs2CkdAhUVSnTqyyfjyVKZPC+o1qW7DT40l2YhmdLh1yO/ZbkHhe9uDfGNXWAI0Sar+YZwzexiVX8v0M6KxDPbI/EUbHlWGfuEAqA2FYPxpYP0T2itMw+urDZww8U2n4eirTjL6hE1uIBy9M1jYTUXqzTakI= Original-Received: by 10.90.90.16 with SMTP id n16mr3341089agb.1194261122445; Mon, 05 Nov 2007 03:12:02 -0800 (PST) Original-Received: by 10.90.26.11 with HTTP; Mon, 5 Nov 2007 03:12:02 -0800 (PST) In-Reply-To: <87ve8zurzc.fsf@stupidchicken.com> Content-Disposition: inline X-Google-Sender-Auth: ea6f9c71b72aa812 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82564 Archived-At: I tried all sorts of combinations of #undefs in src/s/darwin.h and reconfiguring but the correct combination of build options never eventuated. As Yamamoto-san did, I simply manually reversed the following changeset to src/process.c: http://cvs.savannah.gnu.org/viewvc/emacs/src/process.c?root=emacs&r1=1.520&r2=1.521 I also had to comment out the assertion on line 454 of unexmacosx.c: /* assert (filesize <= ranges->size); */ Not sure how much outside the range the dump was, but subsequently the make bootstrap continued. I am on ppc and I hazarded that the risc binary dumps would be substantially bigger than those on ix86. Predictably though, you can't get away with hacks like that and my emacs-bootstrap binary fails to launch, dieing with the error: bootstrap-emacs: Cannot allocate memory more troubleshooting to be done! Mark. On 10/23/07, Chong Yidong wrote: > YAMAMOTO Mitsuharu writes: > > > The intention of the `res_init' call before getaddrinfo is, as > > mentioned in configure.in, to detect /etc/resolv.conf changes by > > initializing some internal states of the resolver routine executed in > > the Emacs process. But on Mac OS X, and possibly also on some other > > platforms, the actual resolution is performed by an external process, > > and thus the Emacs process is not responsible to detect the > > /etc/resolv.conf changes. On such platforms, the `res_init' call does > > not make sense whether or not the configure script detects the > > existence of that symbol. > > In that case, could you add mac makefile (I believe this is s/darwin.h > but am not sure) undefining LIBRESOLV? > -- Mark Aufflick contact info at http://mark.aufflick.com/about/contact