From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Trunk bootstrap failure [Cygwin] Date: Thu, 08 Jul 2010 02:16:13 +0200 Message-ID: <4C3518CD.3030609@alice.it> References: <4C326C4F.2010604@alice.it> <4C32F295.7050608@alice.it> <4C344500.9010906@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1278548209 795 80.91.229.12 (8 Jul 2010 00:16:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Jul 2010 00:16:49 +0000 (UTC) Cc: emacs To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 08 02:16: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 1OWenD-0005zE-6r for ged-emacs-devel@m.gmane.org; Thu, 08 Jul 2010 02:16:43 +0200 Original-Received: from localhost ([127.0.0.1]:33453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWenC-000352-CX for ged-emacs-devel@m.gmane.org; Wed, 07 Jul 2010 20:16:42 -0400 Original-Received: from [140.186.70.92] (port=41012 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWen5-00034r-Lz for emacs-devel@gnu.org; Wed, 07 Jul 2010 20:16:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWen4-0002jl-Ju for emacs-devel@gnu.org; Wed, 07 Jul 2010 20:16:35 -0400 Original-Received: from smtp208.alice.it ([82.57.200.104]:48712) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWen1-0002ia-S2; Wed, 07 Jul 2010 20:16:32 -0400 Original-Received: from [82.55.236.53] (82.55.236.53) by smtp208.alice.it (8.5.124.08) id 4C1A2716015E95AC; Thu, 8 Jul 2010 02:16:29 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:126886 Archived-At: Il 07/07/2010 18.22, Dan Nicolaescu ha scritto: > > It looks like the start_of_text function is only used on AIX and > MSDOS, so you can get the same result by completely removing start_of_text, which makes the > #define TEXT_START > unnecessary. Indeed. Emacs (rev.100746) bootstraps also with these patches: ============== --- emacs.orig/configure 2010-07-02 11:27:38.000000000 +0200 +++ emacs/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. --- emacs.orig/src/sysdep.c 2010-07-08 00:48:35.202874000 +0200 +++ emacs/src/sysdep.c 2010-07-08 00:58:50.843750000 +0200 @@ -1523,16 +1523,16 @@ #if !(defined (__NetBSD__) && defined (__ELF__)) #ifndef HAVE_TEXT_START -char * -start_of_text (void) -{ -#ifdef TEXT_START - return ((char *) TEXT_START); -#else - extern int _start (); - return ((char *) _start); -#endif /* TEXT_START */ -} +/* char * */ +/* start_of_text (void) */ +/* { */ +/* #ifdef TEXT_START */ +/* return ((char *) TEXT_START); */ +/* #else */ +/* extern int _start (); */ +/* return ((char *) _start); */ +/* #endif /\* TEXT_START *\/ */ +/* } */ #endif /* not HAVE_TEXT_START */ #endif ============== Since 'start_of_text' is not used by Cygwin build, shouldn't 'ecrt0.c' be completely unnecessary? Ciao, Angelo.