From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Trunk bootstrap failure [Cygwin] Date: Wed, 07 Jul 2010 13:34:19 +0300 Message-ID: <8339vv8tsk.fsf@gnu.org> References: <4C326C4F.2010604@alice.it> <4C32F295.7050608@alice.it> <4C344500.9010906@alice.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1278499011 22203 80.91.229.12 (7 Jul 2010 10:36:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Jul 2010 10:36:51 +0000 (UTC) Cc: dann@gnu.org, kbrow1i@gmail.com, emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 07 12:36:48 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 1OWRzk-0001Gv-Av for ged-emacs-devel@m.gmane.org; Wed, 07 Jul 2010 12:36:48 +0200 Original-Received: from localhost ([127.0.0.1]:38973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWRzj-0005ld-Rp for ged-emacs-devel@m.gmane.org; Wed, 07 Jul 2010 06:36:47 -0400 Original-Received: from [140.186.70.92] (port=45087 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWRzc-0005lX-VH for emacs-devel@gnu.org; Wed, 07 Jul 2010 06:36:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWRzb-0006ee-NO for emacs-devel@gnu.org; Wed, 07 Jul 2010 06:36:40 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:53372) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWRza-0006eF-3I; Wed, 07 Jul 2010 06:36:38 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L5600G00O2RTB00@a-mtaout23.012.net.il>; Wed, 07 Jul 2010 13:36:21 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.120.144]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5600E5BO4K2690@a-mtaout23.012.net.il>; Wed, 07 Jul 2010 13:36:21 +0300 (IDT) In-reply-to: <4C344500.9010906@alice.it> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:126868 Archived-At: > 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.