From unknown Fri Jun 20 07:09:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6715 <6715@debbugs.gnu.org> To: bug#6715 <6715@debbugs.gnu.org> Subject: Status: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Reply-To: bug#6715 <6715@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:09:07 +0000 retitle 6715 24.0.50; [PATCH] Cygwin build should use pre-crt0.c reassign 6715 emacs submitter 6715 Ken Brown severity 6715 normal tag 6715 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 23 18:45:16 2010 Received: (at submit) by debbugs.gnu.org; 23 Jul 2010 22:45:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcQzU-00085F-1u for submit@debbugs.gnu.org; Fri, 23 Jul 2010 18:45:16 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcQzR-000858-LV for submit@debbugs.gnu.org; Fri, 23 Jul 2010 18:45:14 -0400 Received: from lists.gnu.org ([199.232.76.165]:56526) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OcQzQ-0003ag-5L for submit@debbugs.gnu.org; Fri, 23 Jul 2010 18:45:12 -0400 Received: from [140.186.70.92] (port=47941 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcQzO-0005t7-QK for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 18:45:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD,URIBL_BLACK autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcQzN-0003Kk-FS for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 18:45:10 -0400 Received: from granite1.mail.cornell.edu ([128.253.83.141]:43297 helo=authusersmtp.mail.cornell.edu) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcQzN-0003JE-Cv for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 18:45:09 -0400 Received: from [192.168.1.5] (cpe-67-249-196-94.twcny.res.rr.com [67.249.196.94]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id o6NMivPP023960 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 23 Jul 2010 18:44:58 -0400 (EDT) Message-ID: <4C4A1B69.2050100@cornell.edu> Date: Fri, 23 Jul 2010 18:44:57 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) The conclusion of http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00398.html was that the Cygwin build of Emacs should use pre-crt0.c instead of ecrt0.c. The following patch accomplishes this: --- configure.in.orig 2010-07-12 10:39:38.000000000 -0400 +++ configure.in 2010-07-23 17:01:00.468750000 -0400 @@ -1060,7 +1060,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. I'm sending this as a bug report so it doesn't get forgotten. Please apply it to the trunk. Thanks. Ken From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 23 21:23:45 2010 Received: (at 6715-done) by debbugs.gnu.org; 24 Jul 2010 01:23:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcTSq-0000ic-Tk for submit@debbugs.gnu.org; Fri, 23 Jul 2010 21:23:45 -0400 Received: from pantheon-po14.its.yale.edu ([130.132.50.23]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcTSp-0000iX-9i for 6715-done@debbugs.gnu.org; Fri, 23 Jul 2010 21:23:43 -0400 Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po14.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o6O1NRr7028351 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Jul 2010 21:23:27 -0400 Received: by furry (Postfix, from userid 1000) id 562C8C013; Fri, 23 Jul 2010 21:23:27 -0400 (EDT) From: Chong Yidong To: Ken Brown Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c References: <4C4A1B69.2050100@cornell.edu> Date: Fri, 23 Jul 2010 21:23:27 -0400 In-Reply-To: <4C4A1B69.2050100@cornell.edu> (Ken Brown's message of "Fri, 23 Jul 2010 18:44:57 -0400") Message-ID: <87vd85smeo.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 6715-done Cc: 6715-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) Ken Brown writes: > The conclusion of > > http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00398.html > > was that the Cygwin build of Emacs should use pre-crt0.c instead of > ecrt0.c. The following patch accomplishes this: > > I'm sending this as a bug report so it doesn't get forgotten. Please > apply it to the trunk. Applied, thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 23 21:56:45 2010 Received: (at 6715-done) by debbugs.gnu.org; 24 Jul 2010 01:56:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcTyn-0000w9-3U for submit@debbugs.gnu.org; Fri, 23 Jul 2010 21:56:45 -0400 Received: from granite1.mail.cornell.edu ([128.253.83.141] helo=authusersmtp.mail.cornell.edu) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcTyl-0000w4-FU for 6715-done@debbugs.gnu.org; Fri, 23 Jul 2010 21:56:44 -0400 Received: from [192.168.1.5] (cpe-67-249-196-94.twcny.res.rr.com [67.249.196.94]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id o6O1ufvH021078 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Jul 2010 21:56:41 -0400 (EDT) Message-ID: <4C4A4859.2010909@cornell.edu> Date: Fri, 23 Jul 2010 21:56:41 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Chong Yidong Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c References: <4C4A1B69.2050100@cornell.edu> <87vd85smeo.fsf@stupidchicken.com> In-Reply-To: <87vd85smeo.fsf@stupidchicken.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 6715-done Cc: "6715-done@debbugs.gnu.org" <6715-done@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) On 7/23/2010 9:23 PM, Chong Yidong wrote: > Ken Brown writes: > >> The conclusion of >> >> http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00398.html >> >> was that the Cygwin build of Emacs should use pre-crt0.c instead of >> ecrt0.c. The following patch accomplishes this: >> >> I'm sending this as a bug report so it doesn't get forgotten. Please >> apply it to the trunk. > > Applied, thanks. Thanks for the quick response. BTW, you don't have to annotate my contributions as tiny changes, even though most of them are. I took care of the copyright assignment paperwork last January. Ken From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 24 01:13:32 2010 Received: (at 6715) by debbugs.gnu.org; 24 Jul 2010 05:13:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcX3E-0002FW-G6 for submit@debbugs.gnu.org; Sat, 24 Jul 2010 01:13:32 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcX3C-0002FR-4U for 6715@debbugs.gnu.org; Sat, 24 Jul 2010 01:13:30 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcX3A-0005O4-TO; Sat, 24 Jul 2010 01:13:29 -0400 To: Ken Brown Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c References: <4C4A1B69.2050100@cornell.edu> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Sat, 24 Jul 2010 01:13:28 -0400 In-Reply-To: <4C4A1B69.2050100@cornell.edu> (Ken Brown's message of "Fri\, 23 Jul 2010 18\:44\:57 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 6715 Cc: 6715@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) Ken Brown writes: > The conclusion of > > http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00398.html > > was that the Cygwin build of Emacs should use pre-crt0.c instead of > ecrt0.c. The following patch accomplishes this: BTW, it would be good if you could look at configure.in and see if the line: cygwin) LINKER="\$(CC)" ;; [Just trying to remove special cases from the build system to simplify it...] > > --- configure.in.orig 2010-07-12 10:39:38.000000000 -0400 > +++ configure.in 2010-07-23 17:01:00.468750000 -0400 > @@ -1060,7 +1060,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. > > I'm sending this as a bug report so it doesn't get forgotten. Please > apply it to the trunk. > > Thanks. > > Ken From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 24 08:22:45 2010 Received: (at 6715) by debbugs.gnu.org; 24 Jul 2010 12:22:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocdka-0005qZ-9K for submit@debbugs.gnu.org; Sat, 24 Jul 2010 08:22:44 -0400 Received: from granite1.mail.cornell.edu ([128.253.83.141] helo=authusersmtp.mail.cornell.edu) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcdkX-0005qU-Hd for 6715@debbugs.gnu.org; Sat, 24 Jul 2010 08:22:42 -0400 Received: from [192.168.1.5] (cpe-67-249-196-94.twcny.res.rr.com [67.249.196.94]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id o6OCMeoW013639 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Jul 2010 08:22:41 -0400 (EDT) Message-ID: <4C4ADB10.4030204@cornell.edu> Date: Sat, 24 Jul 2010 08:22:40 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Dan Nicolaescu Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c References: <4C4A1B69.2050100@cornell.edu> In-Reply-To: Content-Type: multipart/mixed; boundary="------------020304000607050203000802" X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: 6715 Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) This is a multi-part message in MIME format. --------------020304000607050203000802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 7/24/2010 1:13 AM, Dan Nicolaescu wrote: > BTW, it would be good if you could look at configure.in and see if the > line: > > cygwin) LINKER="\$(CC)" ;; > > [Just trying to remove special cases from the build system to simplify it...] There's no need for cygwin to be a special case here. Fixing this also makes the cygwin case irrelevant in the code that sets LIB_GCC a little further down in configure.in. Please apply the attached patch. Thanks. Ken --------------020304000607050203000802 Content-Type: text/plain; name="cygwin_cleanup.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cygwin_cleanup.patch" --- configure.in.orig 2010-07-23 21:46:35.000000000 -0400 +++ configure.in 2010-07-24 07:54:29.328125000 -0400 @@ -3326,9 +3326,7 @@ ORDINARY_LINK= case "$opsys" in ## gnu: GNU needs its own crt0. - aix4-2|darwin|gnu|usg5-4|irix6-5|sol2*|unixware) ORDINARY_LINK=yes ;; - - cygwin) LINKER="\$(CC)" ;; + aix4-2|cygwin|darwin|gnu|usg5-4|irix6-5|sol2*|unixware) ORDINARY_LINK=yes ;; ## On post 1.3 releases of NetBSD, gcc -nostdlib also clears the ## library search parth, i.e. it won't search /usr/lib for libc and @@ -3381,8 +3379,7 @@ if test "x$GCC" = "xyes" && test "x$ORDINARY_LINK" != "xyes"; then case "$opsys" in - ## cygwin: don't link against static libgcc. - cygwin|freebsd|netbsd|openbsd) LIB_GCC= ;; + freebsd|netbsd|openbsd) LIB_GCC= ;; gnu-*) ## armin76@gentoo.org reported that the lgcc_s flag is necessary to --------------020304000607050203000802-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 24 14:48:45 2010 Received: (at 6715) by debbugs.gnu.org; 24 Jul 2010 18:48:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocjm8-0000Bm-VF for submit@debbugs.gnu.org; Sat, 24 Jul 2010 14:48:45 -0400 Received: from granite1.mail.cornell.edu ([128.253.83.141] helo=authusersmtp.mail.cornell.edu) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocjm5-0000Bg-Ss for 6715@debbugs.gnu.org; Sat, 24 Jul 2010 14:48:42 -0400 Received: from [192.168.1.5] (cpe-67-249-196-94.twcny.res.rr.com [67.249.196.94]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id o6OImfZb007607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Jul 2010 14:48:42 -0400 (EDT) Message-ID: <4C4B358A.6070009@cornell.edu> Date: Sat, 24 Jul 2010 14:48:42 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Dan Nicolaescu Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c References: <4C4A1B69.2050100@cornell.edu> <4C4ADB10.4030204@cornell.edu> In-Reply-To: <4C4ADB10.4030204@cornell.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 6715 Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.4 (-----) On 7/24/2010 8:22 AM, Ken Brown wrote: > On 7/24/2010 1:13 AM, Dan Nicolaescu wrote: >> BTW, it would be good if you could look at configure.in and see if the >> line: >> >> cygwin) LINKER="\$(CC)" ;; >> >> [Just trying to remove special cases from the build system to simplify it...] > > There's no need for cygwin to be a special case here. Fixing this also > makes the cygwin case irrelevant in the code that sets LIB_GCC a little > further down in configure.in. Please apply the attached patch. Never mind. I was just given access to the repository, and I applied the patch myself. I didn't regenerate configure. I wasn't sure if I should do that or not. Since this is my first commit, I would appreciate it if one of the experienced people would check that I did it right. Thanks. Ken From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 24 16:26:24 2010 Received: (at 6715) by debbugs.gnu.org; 24 Jul 2010 20:26:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OclIe-0000vZ-FS for submit@debbugs.gnu.org; Sat, 24 Jul 2010 16:26:24 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OclIc-0000vU-81 for 6715@debbugs.gnu.org; Sat, 24 Jul 2010 16:26:23 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L6200900WF9F500@a-mtaout20.012.net.il> for 6715@debbugs.gnu.org; Sat, 24 Jul 2010 23:26:22 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.61.30]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L62004KXWRRI0F0@a-mtaout20.012.net.il>; Sat, 24 Jul 2010 23:26:22 +0300 (IDT) Date: Sat, 24 Jul 2010 23:26:14 +0300 From: Eli Zaretskii Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c In-reply-to: <4C4B358A.6070009@cornell.edu> X-012-Sender: halo1@inter.net.il To: Ken Brown Message-id: <83pqyc8w49.fsf@gnu.org> References: <4C4A1B69.2050100@cornell.edu> <4C4ADB10.4030204@cornell.edu> <4C4B358A.6070009@cornell.edu> X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 6715 Cc: dann@gnu.org, 6715@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.6 (-) > Date: Sat, 24 Jul 2010 14:48:42 -0400 > From: Ken Brown > Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> > > I didn't regenerate configure. I wasn't sure if I should do that or > not. Yes, you should. But please make sure you do that with the same version of Autoconf that was used to generate the current one. Also, when src/config.in is affected as well (not in this case, I think), it, too, should be regenerated. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 24 17:33:13 2010 Received: (at 6715) by debbugs.gnu.org; 24 Jul 2010 21:33:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcmLI-0001PD-TM for submit@debbugs.gnu.org; Sat, 24 Jul 2010 17:33:13 -0400 Received: from granite1.mail.cornell.edu ([128.253.83.141] helo=authusersmtp.mail.cornell.edu) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcmLG-0001P8-IP for 6715@debbugs.gnu.org; Sat, 24 Jul 2010 17:33:11 -0400 Received: from [192.168.1.5] (cpe-67-249-196-94.twcny.res.rr.com [67.249.196.94]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id o6OLXARN001004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Jul 2010 17:33:11 -0400 (EDT) Message-ID: <4C4B5C17.2060407@cornell.edu> Date: Sat, 24 Jul 2010 17:33:11 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c References: <4C4A1B69.2050100@cornell.edu> <4C4ADB10.4030204@cornell.edu> <4C4B358A.6070009@cornell.edu> <83pqyc8w49.fsf@gnu.org> In-Reply-To: <83pqyc8w49.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 6715 Cc: "dann@gnu.org" , "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) On 7/24/2010 4:26 PM, Eli Zaretskii wrote: >> Date: Sat, 24 Jul 2010 14:48:42 -0400 >> From: Ken Brown >> Cc: "6715@debbugs.gnu.org"<6715@debbugs.gnu.org> >> >> I didn't regenerate configure. I wasn't sure if I should do that or >> not. > > Yes, you should. But please make sure you do that with the same > version of Autoconf that was used to generate the current one. The current one was generated with Autoconf 2.66, but the latest version I have access to is 2.65. Any suggestions? Ken From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 24 17:34:24 2010 Received: (at 6715) by debbugs.gnu.org; 24 Jul 2010 21:34:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcmMR-0001Pv-50 for submit@debbugs.gnu.org; Sat, 24 Jul 2010 17:34:23 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcmMO-0001Pq-Tg for 6715@debbugs.gnu.org; Sat, 24 Jul 2010 17:34:21 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcmMP-0005MO-TJ; Sat, 24 Jul 2010 17:34:21 -0400 To: Ken Brown Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c References: <4C4A1B69.2050100@cornell.edu> <4C4ADB10.4030204@cornell.edu> <4C4B358A.6070009@cornell.edu> From: Dan Nicolaescu Date: Sat, 24 Jul 2010 17:34:21 -0400 In-Reply-To: <4C4B358A.6070009@cornell.edu> (Ken Brown's message of "Sat\, 24 Jul 2010 14\:48\:42 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6715 Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Ken Brown writes: > On 7/24/2010 8:22 AM, Ken Brown wrote: >> On 7/24/2010 1:13 AM, Dan Nicolaescu wrote: >>> BTW, it would be good if you could look at configure.in and see if the >>> line: >>> >>> cygwin) LINKER="\$(CC)" ;; >>> >>> [Just trying to remove special cases from the build system to simplify it...] >> >> There's no need for cygwin to be a special case here. Fixing this also >> makes the cygwin case irrelevant in the code that sets LIB_GCC a little >> further down in configure.in. Please apply the attached patch. > > Never mind. I was just given access to the repository, and I applied > the patch myself. I didn't regenerate configure. I wasn't sure if I > should do that or not. Please do, use autoconf-2.65 and look at the diff for configure, only the few lines that you touched should change. There's no need for a ChangeLog entry for regenerating configure, > Since this is my first commit, I would appreciate it if one of the > experienced people would check that I did it right. The patch looks fine. Thanks! Here's some other cygwin related cleanups: - remove this: #ifdef CYGWIN #define BSD4_2 #endif and instead add defined(CYGWIN) in the right place in the only user: vm-limit.c - in configure.in the setting for lastfile.o cygwin is the only platform that uses different linking order. If the "normal" linking order works on cygwin too, it would simplify the build a bit. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 25 10:38:09 2010 Received: (at 6715) by debbugs.gnu.org; 25 Jul 2010 14:38:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Od2LA-0000mP-Td for submit@debbugs.gnu.org; Sun, 25 Jul 2010 10:38:09 -0400 Received: from granite1.mail.cornell.edu ([128.253.83.141] helo=authusersmtp.mail.cornell.edu) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Od2L8-0000m3-KN for 6715@debbugs.gnu.org; Sun, 25 Jul 2010 10:38:07 -0400 Received: from [192.168.1.5] (cpe-67-249-196-94.twcny.res.rr.com [67.249.196.94]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id o6PEc8SK017534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Jul 2010 10:38:08 -0400 (EDT) Message-ID: <4C4C4C52.9050801@cornell.edu> Date: Sun, 25 Jul 2010 10:38:10 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Dan Nicolaescu Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c References: <4C4A1B69.2050100@cornell.edu> <4C4ADB10.4030204@cornell.edu> <4C4B358A.6070009@cornell.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 6715 Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.6 (-----) On 7/24/2010 5:34 PM, Dan Nicolaescu wrote: > Here's some other cygwin related cleanups: > > - remove this: > > #ifdef CYGWIN > #define BSD4_2 > #endif > > and instead add defined(CYGWIN) in the right place in the only user: vm-limit.c Done. > > - in configure.in the setting for lastfile.o > cygwin is the only platform that uses different linking order. > If the "normal" linking order works on cygwin too, it would simplify the build a bit. No, the "normal" linking order doesn't work on cygwin; bootstrap-emacs.exe gets built, but it hangs when trying to byte compile the .el files. What about turning the question around? Would the linking order that works on cygwin also work on other platforms? Or is it safer to just leave this alone? Ken From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 25 16:39:16 2010 Received: (at 6715) by debbugs.gnu.org; 25 Jul 2010 20:39:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Od7ye-0003Mm-GR for submit@debbugs.gnu.org; Sun, 25 Jul 2010 16:39:16 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Od7yc-0003Mg-SV for 6715@debbugs.gnu.org; Sun, 25 Jul 2010 16:39:15 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Od7yf-0005Yo-WE; Sun, 25 Jul 2010 16:39:18 -0400 To: Ken Brown Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c References: <4C4A1B69.2050100@cornell.edu> <4C4ADB10.4030204@cornell.edu> <4C4B358A.6070009@cornell.edu> <4C4C4C52.9050801@cornell.edu> From: Dan Nicolaescu Date: Sun, 25 Jul 2010 16:39:17 -0400 In-Reply-To: <4C4C4C52.9050801@cornell.edu> (Ken Brown's message of "Sun\, 25 Jul 2010 10\:38\:10 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6715 Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Ken Brown writes: > On 7/24/2010 5:34 PM, Dan Nicolaescu wrote: >> Here's some other cygwin related cleanups: >> >> - remove this: >> >> #ifdef CYGWIN >> #define BSD4_2 >> #endif >> >> and instead add defined(CYGWIN) in the right place in the only user: vm-limit.c > > Done. Thanks. > >> >> - in configure.in the setting for lastfile.o >> cygwin is the only platform that uses different linking order. >> If the "normal" linking order works on cygwin too, it would simplify the build a bit. > > No, the "normal" linking order doesn't work on cygwin; > bootstrap-emacs.exe gets built, but it hangs when trying to byte > compile the .el files. What about turning the question around? Would > the linking order that works on cygwin also work on other platforms? It would have to be tested on all platforms, and that's not trivial. > Or is it safer to just leave this alone? Most likeley. From unknown Fri Jun 20 07:09:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 23 Aug 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator