From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 26 02:25:36 2013 Received: (at submit) by debbugs.gnu.org; 26 Feb 2013 07:25:36 +0000 Received: from localhost ([127.0.0.1]:50428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAEuu-0001zG-ED for submit@debbugs.gnu.org; Tue, 26 Feb 2013 02:25:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53574) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAEut-0001zA-7i for submit@debbugs.gnu.org; Tue, 26 Feb 2013 02:25:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAEtC-0004YL-QD for submit@debbugs.gnu.org; Tue, 26 Feb 2013 02:23:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:56528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAEtC-0004YH-NO for submit@debbugs.gnu.org; Tue, 26 Feb 2013 02:23:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAEt8-0004AB-85 for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 02:23:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAEt7-0004X6-5g for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 02:23:46 -0500 Received: from mail-hampton.hostforweb.net ([216.246.13.138]:58125 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAEt7-0004Wm-0n for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 02:23:45 -0500 Received: from localhost.localdomain ([127.0.0.1]:50815 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1UAEt3-003Z9F-W8; Tue, 26 Feb 2013 01:23:42 -0600 Date: Tue, 26 Feb 2013 16:23:37 +0900 Message-ID: From: Katsumi Yamaoka To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130006 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:R9JAVnwChBONQZejOOfqtQ+wy5Y= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (------) In GNU Emacs 24.3.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars) of 2013-02-26 on localhost Bzr revision: 111880 monnier@iro.umontreal.ca-20130225232750-8wmx78e4uz1u7tfk Windowing system distributor `The Cygwin/X Project', version 11.0.11302000 Configured using: `configure --verbose --with-x-toolkit=lucid --without-imagemagick --without-dbus --without-gconf --without-gsettings' When dumping temacs it stops by the following error: vm-limit.o: In function `memory_warnings': src/vm-limit.c:239: undefined reference to `_data_start' Please demand to me if other info is required. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 26 07:44:43 2013 Received: (at 13818) by debbugs.gnu.org; 26 Feb 2013 12:44:43 +0000 Received: from localhost ([127.0.0.1]:50823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAJti-0001tW-8u for submit@debbugs.gnu.org; Tue, 26 Feb 2013 07:44:43 -0500 Received: from limestone5.mail.cornell.edu ([128.253.83.165]:50279) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAJtf-0001tM-S6 for 13818@debbugs.gnu.org; Tue, 26 Feb 2013 07:44:41 -0500 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu ([10.16.197.8]) by limestone5.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id r1QCgkVT013726; Tue, 26 Feb 2013 07:42:47 -0500 (EST) 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 r1QCgkbn002647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 26 Feb 2013 07:42:47 -0500 Message-ID: <512CADC5.7080309@cornell.edu> Date: Tue, 26 Feb 2013 07:42:45 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Katsumi Yamaoka Subject: Re: bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 13818 Cc: Paul Eggert , 13818@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (----) On 2/26/2013 2:23 AM, Katsumi Yamaoka wrote: > In GNU Emacs 24.3.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars) > of 2013-02-26 on localhost > Bzr revision: 111880 monnier@iro.umontreal.ca-20130225232750-8wmx78e4uz1u7tfk > Windowing system distributor `The Cygwin/X Project', version 11.0.11302000 > Configured using: > `configure --verbose --with-x-toolkit=lucid --without-imagemagick > --without-dbus --without-gconf --without-gsettings' > > When dumping temacs it stops by the following error: > > vm-limit.o: In function `memory_warnings': > src/vm-limit.c:239: undefined reference to `_data_start' data_start used to be defined in pre-crt0.c on Cygwin, but this file was removed. Paul, can you help? Ken From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 26 12:37:41 2013 Received: (at 13818) by debbugs.gnu.org; 26 Feb 2013 17:37:41 +0000 Received: from localhost ([127.0.0.1]:51557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAOTB-0001Gq-AD for submit@debbugs.gnu.org; Tue, 26 Feb 2013 12:37:41 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:51480) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAOT4-0001Ge-Cv for 13818@debbugs.gnu.org; Tue, 26 Feb 2013 12:37:35 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 9A0C2A60001; Tue, 26 Feb 2013 09:35:43 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jCTcMOxGhaqu; Tue, 26 Feb 2013 09:35:42 -0800 (PST) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id DD4FC39E8100; Tue, 26 Feb 2013 09:35:42 -0800 (PST) Message-ID: <512CF26E.6080006@cs.ucla.edu> Date: Tue, 26 Feb 2013 09:35:42 -0800 From: Paul Eggert User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 MIME-Version: 1.0 To: Katsumi Yamaoka Subject: Re: bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 References: <512CADC5.7080309@cornell.edu> In-Reply-To: <512CADC5.7080309@cornell.edu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 13818 Cc: 13818@debbugs.gnu.org, Ken Brown X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (----) On 02/26/13 04:42, Ken Brown wrote: > On 2/26/2013 2:23 AM, Katsumi Yamaoka wrote: >> In GNU Emacs 24.3.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars) >> of 2013-02-26 on localhost >> Bzr revision: 111880 monnier@iro.umontreal.ca-20130225232750-8wmx78e4uz1u7tfk >> Windowing system distributor `The Cygwin/X Project', version 11.0.11302000 >> Configured using: >> `configure --verbose --with-x-toolkit=lucid --without-imagemagick >> --without-dbus --without-gconf --without-gsettings' >> >> When dumping temacs it stops by the following error: >> >> vm-limit.o: In function `memory_warnings': >> src/vm-limit.c:239: undefined reference to `_data_start' Can you please give the full shell command that generated that line? I assume it's something like "gcc ... -o temacs ..." but would like the details. > data_start used to be defined in pre-crt0.c on Cygwin, > but this file was removed. data_start is now supposed to be defined in vm-limit.c, on hosts where the linker does not define it for you. Is there some significance to the leading underscore in that diagnostic? (Is "_" automatically prepended to external symbols on Cygwin?) What does config.log say, after it says "checking for data_start"? What is the value of HAVE_DATA_START in src/config.h? Also, please examine the output of "gcc -E ... vm-limit.c", where "..." contains the same flags as used for compiling vm-limit.c, to see how data_start was declared and defined in the preprocessor output. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 26 18:01:23 2013 Received: (at 13818) by debbugs.gnu.org; 26 Feb 2013 23:01:23 +0000 Received: from localhost ([127.0.0.1]:51853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UATWV-0000Pj-6N for submit@debbugs.gnu.org; Tue, 26 Feb 2013 18:01:23 -0500 Received: from mail-hampton.hostforweb.net ([216.246.13.138]:33993 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UATWR-0000PZ-0i for 13818@debbugs.gnu.org; Tue, 26 Feb 2013 18:01:21 -0500 Received: from localhost.localdomain ([127.0.0.1]:56787 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1UATUg-0016hg-86; Tue, 26 Feb 2013 16:59:30 -0600 Date: Wed, 27 Feb 2013 07:59:24 +0900 Message-ID: From: Katsumi Yamaoka To: Paul Eggert Subject: Re: bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 References: <512CADC5.7080309@cornell.edu> <512CF26E.6080006@cs.ucla.edu> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130006 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:mjiJMtof77+r5aIYXItppuAmFK4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 13818 Cc: 13818@debbugs.gnu.org, Ken Brown X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (-) Paul Eggert wrote: > On 02/26/13 04:42, Ken Brown wrote: >> On 2/26/2013 2:23 AM, Katsumi Yamaoka wrote: >>> In GNU Emacs 24.3.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars) >>> of 2013-02-26 on localhost >>> Bzr revision: 111880 monnier@iro.umontreal.ca-20130225232750-8wmx78e4uz= 1u7tfk >>> Windowing system distributor `The Cygwin/X Project', version 11.0.11302= 000 >>> Configured using: >>> `configure --verbose --with-x-toolkit=3Dlucid --without-imagemagick >>> --without-dbus --without-gconf --without-gsettings' >>> >>> When dumping temacs it stops by the following error: >>> >>> vm-limit.o: In function `memory_warnings': >>> src/vm-limit.c:239: undefined reference to `_data_start' > Can you please give the full shell command that > generated that line? I assume it's something like > "gcc ... -o temacs ..." but would like the details. Here it is: --8<---------------cut here---------------start------------->8--- gcc -std=3Dgnu99 -Demacs -I. -I/Work/emacs/src -I../lib -I/Work/emacs/src= /../lib -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/librsv= g-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gd= k-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng15 -I/usr/include/pi= xman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/incl= ude/freetype2 -MMD -MF deps/.d -MP -I/usr/include/p11-kit-1 -g= 3 -O2 \ -o temacs vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o wi= ndow.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o c= m.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xse= ttings.o xgselect.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffe= r.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o caseta= b.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o edi= tfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o = unexcw.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o = atimer.o doprnt.o intervals.o textprop.o composite.o xml.o inotify.o prof= iler.o sheap.o cygw32.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.= o fringe.o image.o terminfo.o gmalloc.o lastfile.o widget.o ../lib/lib= gnu.a ../lwlib/liblw.a -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lXaw3d= -lXmu -lXt -lSM -lICE -lXext -lX11 -lXrender -lXft -lXrender -lfontconfig = -lexpat -lfreetype -lz -lbz2 -lX11 -lxcb -lXau -lXdmcp -lrsvg-2 -lgio-2= .0 -lgdk_pixbuf-2.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lffi -lpixman-1 -l= fontconfig -lexpat -lfreetype -lbz2 -lpng15 -lm -lz -lxcb-shm -lxcb-render = -lXrender -lXext -lglib-2.0 -lintl -liconv -lpcre -lX11 -lxcb -lXau -lXdmcp= -lxml2 -lz -liconv -lm -lncurses -lelf -lfreetype -lz= -lbz2 -lfontconfig -lexpat -lfreetype -lz -lbz2 -L/usr/bin -lgnutl= s -lnettle -lhogweed -lgmp -ltasn1 -lp11-kit -lz -lpthread \ =20=20 vm-limit.o: In function `memory_warnings': /Work/emacs/src/vm-limit.c:239: undefined reference to `_data_start' collect2: ld returned 1 exit status Makefile:632: recipe for target `temacs.exe' failed --8<---------------cut here---------------end--------------->8--- >> data_start used to be defined in pre-crt0.c on Cygwin, >> but this file was removed. > data_start is now supposed to be defined in vm-limit.c, > on hosts where the linker does not define it for you. > Is there some significance to the leading underscore > in that diagnostic? (Is "_" automatically prepended > to external symbols on Cygwin?) > What does config.log say, after it says > "checking for data_start"? `configure options...` says: checking for data_start... yes (There's nothing about data_start in config.log .) > What is the value of HAVE_DATA_START in src/config.h? #define HAVE_DATA_START 1 > Also, please examine the output of "gcc -E ... vm-limit.c", > where "..." contains the same flags as used for compiling > vm-limit.c, to see how data_start was declared and defined > in the preprocessor output. Nothing is returned. What `make' does then is: gcc -std=3Dgnu99 -c -Demacs -I. -I/Work/emacs/src -I../lib -I/Work/emacs= /src/../lib -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/li= brsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/includ= e/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng15 -I/usr/includ= e/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/= include/freetype2 -MMD -MF deps/vm-limit.d -MP -I/usr/include/p11-k= it-1 -g3 -O2 vm-limit.c Letting `configure' label Cygwin as it doesn't have data_start might be one solution. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 26 18:15:13 2013 Received: (at 13818) by debbugs.gnu.org; 26 Feb 2013 23:15:13 +0000 Received: from localhost ([127.0.0.1]:51882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UATjs-0000jr-SF for submit@debbugs.gnu.org; Tue, 26 Feb 2013 18:15:13 -0500 Received: from limestone5.mail.cornell.edu ([128.253.83.165]:65094) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UATjq-0000ji-0A for 13818@debbugs.gnu.org; Tue, 26 Feb 2013 18:15:11 -0500 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu ([10.16.197.8]) by limestone5.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id r1QNDJ0e013050; Tue, 26 Feb 2013 18:13:19 -0500 (EST) Received: from [192.168.1.9] (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 r1QNDJSG017669 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 26 Feb 2013 18:13:19 -0500 Message-ID: <512D419B.9080703@cornell.edu> Date: Tue, 26 Feb 2013 18:13:31 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Paul Eggert Subject: Re: bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 References: <512CADC5.7080309@cornell.edu> <512CF26E.6080006@cs.ucla.edu> In-Reply-To: <512CF26E.6080006@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 13818 Cc: Katsumi Yamaoka , 13818@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (----) On 2/26/2013 12:35 PM, Paul Eggert wrote: > On 02/26/13 04:42, Ken Brown wrote: >> On 2/26/2013 2:23 AM, Katsumi Yamaoka wrote: >>> In GNU Emacs 24.3.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars) >>> of 2013-02-26 on localhost >>> Bzr revision: 111880 monnier@iro.umontreal.ca-20130225232750-8wmx78e4uz1u7tfk >>> Windowing system distributor `The Cygwin/X Project', version 11.0.11302000 >>> Configured using: >>> `configure --verbose --with-x-toolkit=lucid --without-imagemagick >>> --without-dbus --without-gconf --without-gsettings' >>> >>> When dumping temacs it stops by the following error: >>> >>> vm-limit.o: In function `memory_warnings': >>> src/vm-limit.c:239: undefined reference to `_data_start' I see that Katsumi just answered, but here are the answers on my system. > Can you please give the full shell command that > generated that line? I assume it's something like > "gcc ... -o temacs ..." but would like the details. gcc -std=gnu99 -Demacs -I. -I/home/kbrown/src/emacs/test/src -I../lib -I/home/kbrown/src/emacs/test/src/../lib -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGDK_DISABLE_DEPRECATION_WARNINGS -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype2 -fopenmp -I/usr/include/ImageMagick -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -MMD -MF deps/.d -MP -I/usr/include/p11-kit-1 -g3 -O2 \ -o temacs vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o xgselect.o gtkutil.o emacsgtkfixed.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexcw.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o inotify.o profiler.o sheap.o cygw32.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.o fringe.o image.o terminfo.o gmalloc.o lastfile.o ../lib/libgnu.a -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lgtk-3 -latk-bridge-2.0 -lgdk-3 -latk-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lgio-2.0 -lXfixes -lpangoft2-1.0 -lharfbuzz -lpango-1.0 -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 -lxcb-shm -lxcb-render -lXrender -lXext -lX11 -lxcb -lXau -lXdmcp -lpng15 -lm -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lSM -lICE -lX11 -lXrender -lXft -lXrender -lfontconfig -lexpat -lfreetype -lz -lbz2 -lX11 -lxcb -lXau -lXdmcp -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lffi -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 -lpng15 -lm -lz -lxcb-shm -lxcb-render -lXrender -lXext -lglib-2.0 -lintl -liconv -lpcre -lX11 -lxcb -lXau -lXdmcp -lMagickWand -lMagickCore -ldbus-1 -lpthread -lrt -lxml2 -lz -liconv -lm -lncurses -lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lgconf-2 -ldbus-1 -lpthread -lrt -lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre -lfreetype -lz -lbz2 -lfontconfig -lexpat -lfreetype -lz -lbz2 -L/usr/bin -lgnutls -lnettle -lhogweed -lgmp -ltasn1 -lp11-kit -lz -lpthread >> data_start used to be defined in pre-crt0.c on Cygwin, >> but this file was removed. > > data_start is now supposed to be defined in vm-limit.c, > on hosts where the linker does not define it for you. The problem seems to be that HAVE_DATA_START is defined to 1, but DATA_START is not defined. See below. > Is there some significance to the leading underscore > in that diagnostic? (Is "_" automatically prepended > to external symbols on Cygwin?) I think it's automatically prepended. > What does config.log say, after it says > "checking for data_start"? configure:10083: checking for data_start configure:10099: gcc -std=gnu99 -o conftest.exe -g3 -O2 conftest.c >&5 configure:10099: $? = 0 configure:10107: result: yes > What is the value of HAVE_DATA_START in src/config.h? 1 > Also, please examine the output of "gcc -E ... vm-limit.c", > where "..." contains the same flags as used for compiling > vm-limit.c, to see how data_start was declared and defined > in the preprocessor output. It's declared as extern char data_start[]; but never defined. Apparently DATA_START is not defined. How is that supposed to happen? Ken From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 27 03:04:19 2013 Received: (at 13818) by debbugs.gnu.org; 27 Feb 2013 08:04:19 +0000 Received: from localhost ([127.0.0.1]:52408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAbzu-0004fg-Fp for submit@debbugs.gnu.org; Wed, 27 Feb 2013 03:04:18 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:33145) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAbzr-0004fZ-Sk for 13818@debbugs.gnu.org; Wed, 27 Feb 2013 03:04:17 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 2B6E839E8106; Wed, 27 Feb 2013 00:02:26 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id myN2jX56fbzD; Wed, 27 Feb 2013 00:02:25 -0800 (PST) Received: from [192.168.1.9] (pool-71-189-154-249.lsanca.fios.verizon.net [71.189.154.249]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id AA8FC39E8100; Wed, 27 Feb 2013 00:02:25 -0800 (PST) Message-ID: <512DBD91.2090001@cs.ucla.edu> Date: Wed, 27 Feb 2013 00:02:25 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: Katsumi Yamaoka Subject: Re: bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 References: <512CADC5.7080309@cornell.edu> <512CF26E.6080006@cs.ucla.edu> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 13818 Cc: 13818@debbugs.gnu.org, Ken Brown X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (----) On 02/26/2013 02:59 PM, Katsumi Yamaoka wrote: > (There's nothing about data_start in config.log .) Odd. Ken Brown said there was something in his config.log. For now I'll assume his version. On 02/26/2013 03:13 PM, Ken Brown wrote: > The problem seems to be that HAVE_DATA_START is defined to 1, > but DATA_START is not defined. That should be OK. HAVE_DATA_START says that the external symbol data_start works. DATA_START is a macro, which can mean something else and which is to some extent independent of HAVE_DATA_START. (Yes, it's confusing...) > configure:10083: checking for data_start > configure:10099: gcc -std=gnu99 -o conftest.exe -g3 -O2 conftest.c >&5 > configure:10099: $? = 0 > configure:10107: result: yes 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; } 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? 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; } >> Also, please examine the output of "gcc -E ... vm-limit.c", >> where "..." contains the same flags as used for compiling >> vm-limit.c, to see how data_start was declared and defined >> in the preprocessor output. > > It's declared as > > extern char data_start[]; > > but never defined. That should be OK, since the test program linked. That is, the linker should automatically define data_start; the program shouldn't have to define it. But for some reason it's working in the test program but not for vm-limit.c, and we need to figure out why there's a discrepancy. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 27 03:35:55 2013 Received: (at 13818) by debbugs.gnu.org; 27 Feb 2013 08:35:55 +0000 Received: from localhost ([127.0.0.1]:52476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAcUU-0005Oq-EA for submit@debbugs.gnu.org; Wed, 27 Feb 2013 03:35:54 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:43752) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAcUS-0005Oj-4E for 13818@debbugs.gnu.org; Wed, 27 Feb 2013 03:35:53 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3ZG9Cs3XxYz4KKBl; Wed, 27 Feb 2013 09:34:01 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3ZG9Cs3MymzbbpB; Wed, 27 Feb 2013 09:34:01 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id CeC7DHxhp5KS; Wed, 27 Feb 2013 09:34:00 +0100 (CET) X-Auth-Info: +gKk9pAyeSP2JuLwMEePKk98+FezU6TCNr/+YlZd9MI= Received: from hawking.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 27 Feb 2013 09:34:00 +0100 (CET) From: Andreas Schwab To: Paul Eggert Subject: Re: bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 References: <512CADC5.7080309@cornell.edu> <512CF26E.6080006@cs.ucla.edu> <512DBD91.2090001@cs.ucla.edu> X-Yow: Why am I in this ROOM in DOWNTOWN PHILADELPHIA? Date: Wed, 27 Feb 2013 09:34:00 +0100 In-Reply-To: <512DBD91.2090001@cs.ucla.edu> (Paul Eggert's message of "Wed, 27 Feb 2013 00:02:25 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 13818 Cc: Katsumi Yamaoka , 13818@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (-) Paul Eggert writes: > extern char data_start[]; > char ch; > int > main () > { > return data_start == &ch; The compiler can deduce that data_start can never equal &ch. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 27 06:27:19 2013 Received: (at 13818) by debbugs.gnu.org; 27 Feb 2013 11:27:19 +0000 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 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. 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) 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 Message-ID: <512DED1B.3040703@cornell.edu> Date: Wed, 27 Feb 2013 06:25:15 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Paul Eggert Subject: Re: bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 References: <512CADC5.7080309@cornell.edu> <512CF26E.6080006@cs.ucla.edu> <512DBD91.2090001@cs.ucla.edu> In-Reply-To: <512DBD91.2090001@cs.ucla.edu> Content-Type: multipart/mixed; boundary="------------020105060301080206090006" X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 13818 Cc: Katsumi Yamaoka , 13818@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (----) 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-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 27 22:27:12 2013 Received: (at 13818-done) by debbugs.gnu.org; 28 Feb 2013 03:27:12 +0000 Received: from localhost ([127.0.0.1]:54635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAu9H-0007b2-6c for submit@debbugs.gnu.org; Wed, 27 Feb 2013 22:27:12 -0500 Received: from limestone3.mail.cornell.edu ([128.253.83.163]:49597) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAu9E-0007ar-JS for 13818-done@debbugs.gnu.org; Wed, 27 Feb 2013 22:27:09 -0500 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu ([10.16.197.8]) by limestone3.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id r1S3P2bt011082; Wed, 27 Feb 2013 22:25:03 -0500 (EST) Received: from [192.168.1.9] (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 r1S3P4YX023007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 27 Feb 2013 22:25:05 -0500 Message-ID: <512ECE1E.3080003@cornell.edu> Date: Wed, 27 Feb 2013 22:25:18 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Paul Eggert Subject: Re: bug#13818: 24.3.50; Bootstrap failed on Cygwin due to revno: 111870 References: <512CADC5.7080309@cornell.edu> <512CF26E.6080006@cs.ucla.edu> <512DBD91.2090001@cs.ucla.edu> <512DED1B.3040703@cornell.edu> In-Reply-To: <512DED1B.3040703@cornell.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 13818-done Cc: Katsumi Yamaoka , 13818-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (----) On 2/27/2013 6:25 AM, Ken Brown wrote: >> 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. I went ahead and committed this change as bzr revision 111889. I'm closing the bug. Ken From unknown Sun Jun 22 11:37:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 28 Mar 2013 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