From unknown Sat Aug 09 13:25:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jul 2010 22:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 6715@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.127992511631080 (code B ref -1); Fri, 23 Jul 2010 22:46:02 +0000 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 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-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 unknown Sat Aug 09 13:25:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ken Brown Subject: bug#6715: closed (Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c) Message-ID: References: <87vd85smeo.fsf@stupidchicken.com> <4C4A1B69.2050100@cornell.edu> X-Gnu-PR-Message: they-closed 6715 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 6715@debbugs.gnu.org Date: Sat, 24 Jul 2010 01:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1279934642-2778-1" This is a multi-part message in MIME format... ------------=_1279934642-2778-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6715@debbugs.gnu.org. --=20 6715: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6715 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1279934642-2778-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1279934642-2778-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1279934642-2778-1-- From unknown Sat Aug 09 13:25:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jul 2010 05:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ken Brown Cc: 6715@debbugs.gnu.org Received: via spool by 6715-submit@debbugs.gnu.org id=B6715.12799484138653 (code B ref 6715); Sat, 24 Jul 2010 05:14:02 +0000 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 References: <4C4A1B69.2050100@cornell.edu> From: Dan Nicolaescu 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-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 unknown Sat Aug 09 13:25:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jul 2010 12:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Dan Nicolaescu Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> Received: via spool by 6715-submit@debbugs.gnu.org id=B6715.127997416522482 (code B ref 6715); Sat, 24 Jul 2010 12:23:02 +0000 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 References: <4C4A1B69.2050100@cornell.edu> In-Reply-To: Content-Type: multipart/mixed; boundary="------------020304000607050203000802" X-Spam-Score: -4.4 (----) 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 unknown Sat Aug 09 13:25:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jul 2010 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Dan Nicolaescu Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> Received: via spool by 6715-submit@debbugs.gnu.org id=B6715.1279997326734 (code B ref 6715); Sat, 24 Jul 2010 18:49:02 +0000 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 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-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 unknown Sat Aug 09 13:25:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jul 2010 20:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ken Brown Cc: dann@gnu.org, 6715@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 6715-submit@debbugs.gnu.org id=B6715.12800031843572 (code B ref 6715); Sat, 24 Jul 2010 20:27:02 +0000 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 In-reply-to: <4C4B358A.6070009@cornell.edu> X-012-Sender: halo1@inter.net.il 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-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: -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 unknown Sat Aug 09 13:25:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jul 2010 21:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: "dann@gnu.org" , "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> Received: via spool by 6715-submit@debbugs.gnu.org id=B6715.12800071935410 (code B ref 6715); Sat, 24 Jul 2010 21:34:02 +0000 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 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-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 unknown Sat Aug 09 13:25:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jul 2010 21:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ken Brown Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> Received: via spool by 6715-submit@debbugs.gnu.org id=B6715.12800072645454 (code B ref 6715); Sat, 24 Jul 2010 21:35:01 +0000 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 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-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 unknown Sat Aug 09 13:25:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jul 2010 14:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Dan Nicolaescu Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> Received: via spool by 6715-submit@debbugs.gnu.org id=B6715.12800686893004 (code B ref 6715); Sun, 25 Jul 2010 14:39:02 +0000 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 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-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 unknown Sat Aug 09 13:25:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jul 2010 20:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ken Brown Cc: "6715@debbugs.gnu.org" <6715@debbugs.gnu.org> Received: via spool by 6715-submit@debbugs.gnu.org id=B6715.128009035612947 (code B ref 6715); Sun, 25 Jul 2010 20:40:03 +0000 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 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-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.