GNU bug report logs - #10290
23.3; build failure due to broken stdlib link directives

Previous Next

Package: emacs;

Reported by: Phillip Susi <psusi <at> cfl.rr.com>

Date: Tue, 13 Dec 2011 16:18:02 UTC

Severity: normal

Found in version 23.3

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10290 in the body.
You can then email your comments to 10290 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10290; Package emacs. (Tue, 13 Dec 2011 16:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Phillip Susi <psusi <at> cfl.rr.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 13 Dec 2011 16:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Phillip Susi <psusi <at> cfl.rr.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3; build failure due to broken stdlib link directives
Date: Tue, 13 Dec 2011 11:15:16 -0500
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.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 17 Dec 2011 00:00:02 GMT) Full text and rfc822 format available.

Notification sent to Phillip Susi <psusi <at> cfl.rr.com>:
bug acknowledged by developer. (Sat, 17 Dec 2011 00:00:02 GMT) Full text and rfc822 format available.

Message #10 received at 10290-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 10290-done <at> debbugs.gnu.org
Subject: Re: bug#10290: 23.3;
	build failure due to broken stdlib link directives
Date: Fri, 16 Dec 2011 18:57:36 -0500
Version: 24.1

Phillip Susi wrote:

> 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.

Thanks for the report. This problem is already fixed for Emacs 24.1.
You might like to try a pretest from

http://alpha.gnu.org/gnu/emacs/pretest/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 14 Jan 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 220 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.