From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: Trunk bootstrap failure [Cygwin] Date: Wed, 07 Jul 2010 08:11:07 -0400 Message-ID: <4C346EDB.5070801@cornell.edu> References: <4C326C4F.2010604@alice.it> <4C32F295.7050608@alice.it> <4C344500.9010906@alice.it> <8339vv8tsk.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1278504697 9405 80.91.229.12 (7 Jul 2010 12:11:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Jul 2010 12:11:37 +0000 (UTC) Cc: "dann@gnu.org" , "emacs-devel@gnu.org" , Angelo Graziosi To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 07 14:11:32 2010 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.69) (envelope-from ) id 1OWTTN-0007mW-Vx for ged-emacs-devel@m.gmane.org; Wed, 07 Jul 2010 14:11:30 +0200 Original-Received: from localhost ([127.0.0.1]:53380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWTTI-0001p0-JW for ged-emacs-devel@m.gmane.org; Wed, 07 Jul 2010 08:11:24 -0400 Original-Received: from [140.186.70.92] (port=59874 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWTTC-0001os-BC for emacs-devel@gnu.org; Wed, 07 Jul 2010 08:11:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWTTA-0008JS-Gw for emacs-devel@gnu.org; Wed, 07 Jul 2010 08:11:18 -0400 Original-Received: from granite1.mail.cornell.edu ([128.253.83.141]:51685 helo=authusersmtp.mail.cornell.edu) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWTTA-0008Hd-EL; Wed, 07 Jul 2010 08:11:16 -0400 Original-Received: from [198.18.175.20] (ip67-90-108-194.z108-90-67.customer.algx.net [67.90.108.194]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id o67CB2DY013423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Jul 2010 08:11:03 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: <8339vv8tsk.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 9 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:126869 Archived-At: On 7/7/2010 6:34 AM, Eli Zaretskii wrote: >> Date: Wed, 07 Jul 2010 11:12:32 +0200 >> From: Angelo Graziosi >> CC: emacs, Eli Zaretskii, >> Ken Brown >> >> --- configure.orig 2010-07-02 11:27:38.000000000 +0200 >> +++ configure 2010-07-06 10:45:21.656250000 +0200 >> @@ -5864,7 +5864,7 @@ >> case $opsys in >> cygwin ) >> LIB_MATH= >> - START_FILES='ecrt0.o' >> + START_FILES='pre-crt0.o' >> ;; >> darwin ) >> ## Adding -lm confuses the dynamic linker, so omit it. >> --- cygwin.h.orig 2010-06-06 11:34:28.000000000 +0200 >> +++ cygwin.h 2010-07-07 10:24:22.625000000 +0200 >> @@ -112,5 +112,7 @@ >> returns ENOSYS. A workaround is to set G_SLICE=always-malloc. */ >> #define G_SLICE_ALWAYS_MALLOC >> >> +#define TEXT_START 0x00400000 >> + >> /* arch-tag: 5ae7ba00-83b0-4ab3-806a-3e845779191b >> (do not change this comment) */ >> ============ >> >> ...and Emacs (rev. 100739) bootstraps fine... >> >> But, are those patches the best solution? Are we sure that in the future >> there will not pitfalls or drawbacks? >> >> Eli, Ken, have you comments and/or suggestions? > > Sorry, I don't know enough about the memory layout used by Cygwin and > about its startup code to speak intelligently about this. I'm afraid I don't have a clue either. Ken