From unknown Fri Aug 15 15:33:11 2025 X-Loop: don@donarmstrong.com Subject: bug#953: pre-crt0.o error for build in separate directory Reply-To: Glenn Morris , 953@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 10 Sep 2008 04:35:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 953 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122102094316365 (code B ref -1); Wed, 10 Sep 2008 04:35:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.0 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_PACKAGE,RCVD_IN_DNSWL_LOW,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Sep 2008 04:29:03 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8A4T01r016359 for ; Tue, 9 Sep 2008 21:29:01 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdHK7-0007AT-FK for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:28:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdHK6-00078U-0t for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:28:59 -0400 Received: from [199.232.76.173] (port=57604 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdHK5-00078R-PO for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:28:57 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:48481) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KdHK5-0007FY-H8 for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:28:57 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KdHIL-0008I4-Qd; Wed, 10 Sep 2008 00:27:09 -0400 From: Glenn Morris To: bug-gnu-emacs@gnu.org X-Spook: weapons of mass destruction DES Baranyi quiche UMTS X-Ran: Nc,&5q]]pSI4+(/GCVF_eQZL\:!A!}HkQ:}QL)4SUv User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Package: emacs Severity: minor Version: 23.0.60 I don't normally build in a separate directory, but I was trying it as an experiment. I had CVS checkout in: /somedir/trunk This contained the result of a normal build, ie had not been cleaned. I then did: cd /somedir/build ../trunk/configure which warned me: WARNING: The directory tree `/somedir/trunk' is being used as a build directory right now; it has been configured in its own right. To configure in another directory as well, you MUST use GNU make. If you do not have GNU make, then you must now do `make distclean' in /somedir/trunk, and then run ../trunk/configure again." Since I use GNU make (3.81 on RHEL 5.2), I carried on without running distclean. The build failed because /somedir/build/src/pre-crt0.o was not generated. Running `make prec-crt0.o' in that directory, I was told that "`/somedir/trunk/src/pre-crt0.o' is up to date." I had to delete the pre-crt0.o in trunk/src in order to get a version to compile in build/src. Thus, the initial message output by configure is incorrect. I'm not sure where the bug is here: in configure's message, or GNU make, or Emacs. (The same thing was happening for character.o and chartab.o until I fixed their broken dependencies on $(config_h).) From unknown Fri Aug 15 15:33:11 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: Glenn Morris Subject: bug#953: closed (Re: pre-crt0.o error for build in separate directory) Message-ID: References: <5cbpywtyle.fsf@fencepost.gnu.org> X-Gnu-PR-Message: they-closed 953 X-Gnu-PR-Package: emacs Reply-To: 953@debbugs.gnu.org Date: Fri, 20 May 2011 18:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1305916742-26542-1" This is a multi-part message in MIME format... ------------=_1305916742-26542-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #953: pre-crt0.o error for build in separate directory 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 953@debbugs.gnu.org. --=20 953: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D953 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1305916742-26542-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 953-done) by debbugs.gnu.org; 20 May 2011 18:38:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNUaN-0006sV-MY for submit@debbugs.gnu.org; Fri, 20 May 2011 14:38:08 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNUaK-0006rw-B5 for 953-done@debbugs.gnu.org; Fri, 20 May 2011 14:38:05 -0400 Received: from localhost ([127.0.0.1]:54543) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNUaE-0007xw-2d; Fri, 20 May 2011 14:37:58 -0400 From: Glenn Morris To: 953-done@debbugs.gnu.org Subject: Re: pre-crt0.o error for build in separate directory References: <5cbpywtyle.fsf@fencepost.gnu.org> X-Spook: Belknap Mantis 64 Vauxhall Cross United Nations Sears X-Ran: 77X/%}BopoFCNHst*99}-#/{`NS4=rf=tT|LPXB^@*!uyORSBWZHRiTvWi?tJz1FVp!<;G X-Hue: magenta X-Attribution: GM Date: Fri, 20 May 2011 14:37:57 -0400 In-Reply-To: <5cbpywtyle.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 10 Sep 2008 00:27:09 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 953-done 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.3 (------) I notice that the current version of configure gives a different message: source directory already configured; run \"make distclean\" there first So I guess this was an autoconf issue and not an Emacs one. ------------=_1305916742-26542-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From rgm@gnu.org Tue Sep 9 21:29:03 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.0 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_PACKAGE,RCVD_IN_DNSWL_LOW,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Sep 2008 04:29:03 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8A4T01r016359 for ; Tue, 9 Sep 2008 21:29:01 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdHK7-0007AT-FK for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:28:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdHK6-00078U-0t for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:28:59 -0400 Received: from [199.232.76.173] (port=57604 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdHK5-00078R-PO for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:28:57 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:48481) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KdHK5-0007FY-H8 for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:28:57 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KdHIL-0008I4-Qd; Wed, 10 Sep 2008 00:27:09 -0400 From: Glenn Morris To: bug-gnu-emacs@gnu.org Subject: pre-crt0.o error for build in separate directory X-Spook: weapons of mass destruction DES Baranyi quiche UMTS X-Ran: Nc,&5q]]pSI4+(/GCVF_eQZL\:!A!}HkQ:}QL)4SUv User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Package: emacs Severity: minor Version: 23.0.60 I don't normally build in a separate directory, but I was trying it as an experiment. I had CVS checkout in: /somedir/trunk This contained the result of a normal build, ie had not been cleaned. I then did: cd /somedir/build ../trunk/configure which warned me: WARNING: The directory tree `/somedir/trunk' is being used as a build directory right now; it has been configured in its own right. To configure in another directory as well, you MUST use GNU make. If you do not have GNU make, then you must now do `make distclean' in /somedir/trunk, and then run ../trunk/configure again." Since I use GNU make (3.81 on RHEL 5.2), I carried on without running distclean. The build failed because /somedir/build/src/pre-crt0.o was not generated. Running `make prec-crt0.o' in that directory, I was told that "`/somedir/trunk/src/pre-crt0.o' is up to date." I had to delete the pre-crt0.o in trunk/src in order to get a version to compile in build/src. Thus, the initial message output by configure is incorrect. I'm not sure where the bug is here: in configure's message, or GNU make, or Emacs. (The same thing was happening for character.o and chartab.o until I fixed their broken dependencies on $(config_h).) ------------=_1305916742-26542-1--