From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 Date: Wed, 27 Feb 2013 06:25:15 -0500 Message-ID: <512DED1B.3040703@cornell.edu> References: <512CADC5.7080309@cornell.edu> <512CF26E.6080006@cs.ucla.edu> <512DBD91.2090001@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020105060301080206090006" X-Trace: ger.gmane.org 1361964379 4201 80.91.229.3 (27 Feb 2013 11:26:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2013 11:26:19 +0000 (UTC) Cc: Katsumi Yamaoka , 13818@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 27 12:26:40 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UAf9j-00012S-6M for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Feb 2013 12:26:39 +0100 Original-Received: from localhost ([::1]:53543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAf9O-00070Q-6N for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Feb 2013 06:26:18 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAf9K-0006zs-KQ for bug-gnu-emacs@gnu.org; Wed, 27 Feb 2013 06:26:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAf9I-0005C5-VY for bug-gnu-emacs@gnu.org; Wed, 27 Feb 2013 06:26:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAf9I-0005C0-Ru for bug-gnu-emacs@gnu.org; Wed, 27 Feb 2013 06:26:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UAfB4-0000vk-Hc for bug-gnu-emacs@gnu.org; Wed, 27 Feb 2013 06:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Feb 2013 11:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13818 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13818-submit@debbugs.gnu.org id=B13818.13619644393520 (code B ref 13818); Wed, 27 Feb 2013 11:28:02 +0000 Original-Received: (at 13818) by debbugs.gnu.org; 27 Feb 2013 11:27:19 +0000 Original-Received: from localhost ([127.0.0.1]:52737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAfAM-0000ui-2M for submit@debbugs.gnu.org; Wed, 27 Feb 2013 06:27:19 -0500 Original-Received: from limestone8.mail.cornell.edu ([128.253.83.168]:39053) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAfAJ-0000uZ-Jv for 13818@debbugs.gnu.org; Wed, 27 Feb 2013 06:27:16 -0500 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limestone8.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id r1RBPJuV007739; Wed, 27 Feb 2013 06:25:23 -0500 (EST) Original-Received: from [192.168.1.6] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r1RBPI0p025591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 27 Feb 2013 06:25:19 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <512DBD91.2090001@cs.ucla.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71904 Archived-At: This is a multi-part message in MIME format. --------------020105060301080206090006 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/27/2013 3:02 AM, Paul Eggert wrote: > If I'm understanding things correctly, this means the > following little test program compiles and links OK. > Can you please check this? > > extern char data_start[]; > char ch; > int > main () > { > return data_start == &ch; > } It compiles and links OK. But maybe Andreas explained why. > If this compiles and links, we need to find out why > the similar usage in vm-limit.c does not link. > > Can you please compile the above program > with gcc -std=gnu99 -O2 -S and see what > the machine code looks like? Attached. > Also, suppose we change this test program to the following > instead -- does this test program compile and link? > > extern char data_start[]; > char ch; > int > main () > { > return data_start < &ch; > } No, this gives the "undefined reference to `_data_start'" error. Making that change in configure.ac fixes the problem. Ken --------------020105060301080206090006 Content-Type: text/plain; charset=windows-1252; name="test.s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test.s" CS5maWxlCSJ0ZXN0LmMiCgkuZGVmCV9fX21haW47CS5zY2wJMjsJLnR5cGUJMzI7CS5lbmRl ZgoJLnRleHQKCS5wMmFsaWduIDQsLDE1Ci5nbG9ibCBfbWFpbgoJLmRlZglfbWFpbjsJLnNj bAkyOwkudHlwZQkzMjsJLmVuZGVmCl9tYWluOgoJcHVzaGwJJWVicAoJbW92bAklZXNwLCAl ZWJwCglhbmRsCSQtMTYsICVlc3AKCWNhbGwJX19fbWFpbgoJeG9ybAklZWF4LCAlZWF4Cglt b3ZsCSVlYnAsICVlc3AKCXBvcGwJJWVicAoJcmV0CgkuY29tbQlfY2gsIDEsIDAK --------------020105060301080206090006--