From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phillip Susi Newsgroups: gmane.emacs.bugs Subject: bug#10290: 23.3; build failure due to broken stdlib link directives Date: Tue, 13 Dec 2011 11:15:16 -0500 Message-ID: <4EE77A14.8020002@cfl.rr.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: dough.gmane.org 1323793028 24434 80.91.229.12 (13 Dec 2011 16:17:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2011 16:17:08 +0000 (UTC) To: 10290@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 17:17:04 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RaV2O-0007II-1j for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 17:17:04 +0100 Original-Received: from localhost ([::1]:34572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaV2K-0007AZ-Fk for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 11:17:00 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaV2B-0007AT-Ah for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 11:16:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaV24-0000Ay-Gt for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 11:16:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaV24-0000Ai-FC for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 11:16:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RaV3K-0007Iu-K4 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 11:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Phillip Susi Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2011 16:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10290 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132379302127988 (code B ref -1); Tue, 13 Dec 2011 16:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Dec 2011 16:17:01 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaV2H-0007HB-Ta for submit@debbugs.gnu.org; Tue, 13 Dec 2011 11:17:00 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaV2E-0007Gy-Sm for submit@debbugs.gnu.org; Tue, 13 Dec 2011 11:16:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaV0t-0008UH-RG for submit@debbugs.gnu.org; Tue, 13 Dec 2011 11:15:35 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:38188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaV0t-0008UB-Pn for submit@debbugs.gnu.org; Tue, 13 Dec 2011 11:15:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaV0o-00070g-2K for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 11:15:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaV0g-0008S9-5m for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 11:15:26 -0500 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:2753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaV0g-0008Rq-3K for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 11:15:18 -0500 X-Authority-Analysis: v=2.0 cv=NYRkJh/4 c=1 sm=0 a=/DbS/tiKggfTkRRHPZEB4g==:17 a=zQGhUK9Iw4MA:10 a=m0EW0Kq-VekA:10 a=8nJEP1OIZ-IA:10 a=iJeY5OV3FNxFAaYrHRkA:9 a=ymoRqVYu64FNxBlMdkQA:7 a=wPNLvfGTeEIA:10 a=/DbS/tiKggfTkRRHPZEB4g==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.78.168.186 Original-Received: from [67.78.168.186] ([67.78.168.186:56375] helo=[10.1.1.230]) by cdptpa-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 6C/0E-26219-51A77EE4; Tue, 13 Dec 2011 16:15:17 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 13 Dec 2011 11:18:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:54921 Archived-At: When trying to build emacs 23.3b, it fails to build because it is trying to link with -nostdlib and explicitly link to pre-crt0.o, /usr/lib/crt1.o, and /usr/lib/crti.o, which don't exist. This appears to come from the START_FILES and LIB_STANDARD variables set in src/s/gnu-linux.h. Setting STARTFILES and LIB_STANDARD to nothing and removing the -nostdlib flag from Makefile.in resolves the issue. I have no idea why the build system is trying to explicitly link to (the wrong) standard libraries after telling gcc not to link them, but this doesn't seem like a very good idea. I am building on Ubuntu 11.10 with gcc 4.6.1.