unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10290: 23.3; build failure due to broken stdlib link directives
@ 2011-12-13 16:15 Phillip Susi
  2011-12-16 23:57 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2011-12-13 16:15 UTC (permalink / raw)
  To: 10290

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#10290: 23.3; build failure due to broken stdlib link directives
  2011-12-13 16:15 bug#10290: 23.3; build failure due to broken stdlib link directives Phillip Susi
@ 2011-12-16 23:57 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2011-12-16 23:57 UTC (permalink / raw)
  To: 10290-done

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/





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-16 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-13 16:15 bug#10290: 23.3; build failure due to broken stdlib link directives Phillip Susi
2011-12-16 23:57 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).