From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel,gmane.emacs.bugs Subject: Re: bug#4038: emacs 23 fails to bootstrap itself on Cygwin Date: Tue, 04 Aug 2009 16:56:05 -0400 Message-ID: <4A78A065.1010303@cornell.edu> References: <4A788D4B.3040104@gmail.com> 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: ger.gmane.org 1249419405 16245 80.91.229.12 (4 Aug 2009 20:56:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 20:56:45 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, Emacs To: Terrence Brannon , 4038@emacsbugs.donarmstrong.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 04 22:56:38 2009 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.50) id 1MYR3l-0004gE-8a for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 22:56:37 +0200 Original-Received: from localhost ([127.0.0.1]:58544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYR3k-0008Jx-R1 for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 16:56:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYR3f-0008Je-FU for emacs-devel@gnu.org; Tue, 04 Aug 2009 16:56:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYR3a-0008J9-JQ for emacs-devel@gnu.org; Tue, 04 Aug 2009 16:56:30 -0400 Original-Received: from [199.232.76.173] (port=40500 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYR3a-0008J6-EN; Tue, 04 Aug 2009 16:56:26 -0400 Original-Received: from granite1.mail.cornell.edu ([128.253.83.141]:34538 helo=authusersmtp.mail.cornell.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MYR3Z-0004d5-UK; Tue, 04 Aug 2009 16:56:26 -0400 Original-Received: from [192.168.1.5] (cpe-67-241-20-9.twcny.res.rr.com [67.241.20.9]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id n74KuD9N009065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Aug 2009 16:56:13 -0400 (EDT) User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: <4A788D4B.3040104@gmail.com> X-detected-operating-system: by monty-python.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:113685 gmane.emacs.bugs:29872 Archived-At: On 8/4/2009 3:34 PM, Terrence Brannon wrote: > I tried to build emacs 23 on Cygwin via: > > ./configure --with-gif=no --with-tiff=no && make > > but here is what happened at the end: > [...] > gcc -Wl,--image-base,0x20000000 -o temacs ecrt0.o dispnew.o frame.o [...] > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: I've built cygwin's emacs 23.1 package (http://cygwin.com/ml/cygwin-apps/2009-08/msg00002.html). You could take a look at the source to see what I did and try to adapt that to your needs. Two things jump out at me from your output. First, you should use gcc-4 rather than gcc-3; cygwin builds of emacs with gcc-3 are known to be unstable. Second, I applied a patch to get rid of '-Wl,--image-base,0x20000000', which has also been known to cause problems. By the way, this may be a good time to remind the emacs developers that I sent some patches a while ago: http://lists.gnu.org/archive/html/emacs-devel/2009-06/msg00041.html http://lists.gnu.org/archive/html/emacs-devel/2009-06/msg00330.html Could you consider applying these now that 23.1 has been released? Thanks. Ken