unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: 10290@debbugs.gnu.org
Subject: bug#10290: 23.3; build failure due to broken stdlib link directives
Date: Tue, 13 Dec 2011 11:15:16 -0500	[thread overview]
Message-ID: <4EE77A14.8020002@cfl.rr.com> (raw)

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	other threads:[~2011-12-13 16:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13 16:15 Phillip Susi [this message]
2011-12-16 23:57 ` bug#10290: 23.3; build failure due to broken stdlib link directives Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EE77A14.8020002@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=10290@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).