From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#953: pre-crt0.o error for build in separate directory Date: Wed, 10 Sep 2008 00:27:09 -0400 Message-ID: <5cbpywtyle.fsf@fencepost.gnu.org> Reply-To: Glenn Morris , 953@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221022087 5866 80.91.229.12 (10 Sep 2008 04:48:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2008 04:48:07 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 10 06:48:59 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KdHdM-00056f-VM for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Sep 2008 06:48:53 +0200 Original-Received: from localhost ([127.0.0.1]:39166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdHcM-0002Mr-WE for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Sep 2008 00:47:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdHc9-0002Jm-N2 for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:47:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdHc7-0002JJ-6F for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:47:36 -0400 Original-Received: from [199.232.76.173] (port=46593 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdHc7-0002JA-0V for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:47:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41440) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdHc6-00014C-Dr for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 00:47:34 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8A4lWoO023057; Tue, 9 Sep 2008 21:47:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8A4Z2aG018263; Tue, 9 Sep 2008 21:35:02 -0700 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@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: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122102094316365 (code B ref -1); Wed, 10 Sep 2008 04:35:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 10 Sep 2008 04:29:03 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 X-Spook: weapons of mass destruction DES Baranyi quiche UMTS X-Ran: Nc,&5q]]pSI4+(/GCVF_eQZL\:!A!}HkQ:}QL)4SUv List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20424 Archived-At: 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).)