public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "wilson at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/40706] gcc doesn't compile on centos3 64bit
Date: Sat, 18 Jul 2009 20:06:00 -0000	[thread overview]
Message-ID: <20090718200546.2357.qmail@sourceware.org> (raw)
In-Reply-To: <bug-40706-17933@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from wilson at gcc dot gnu dot org  2009-07-18 20:05 -------
> build/genmodes -h>  tmp-modes.h
> /bin/sh: line 1: build/genmodes: No such file or directory
> make: *** [s-modes-h] Error 127

This is the error you can get when a program interpreter does not exist.  More
recent linux versions will print a better error message, but old ones do give
this ambiguous message for this problem.  For an ELF binary linked against
glibc, the program interpreter is ld.so.  Maybe you are missing some library
files?  build/genmodes is incidentally the first binary we will run that was
compiled by the just built gcc, so a configure error sometimes shows up as a
build/genmodes failure.

Try running "ldd build/genmodes".  You might also try "objdump --full-contents
--section .interp build/genmodes".  If either of these list non-existent files
in the output, then that is the problem.


-- 

wilson at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilson at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40706


  parent reply	other threads:[~2009-07-18 20:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 23:16 [Bug c/40706] New: " junk at ysengrin dot com
2009-07-09 23:17 ` [Bug c/40706] " junk at ysengrin dot com
2009-07-09 23:18 ` [Bug bootstrap/40706] " pinskia at gcc dot gnu dot org
2009-07-09 23:21 ` junk at ysengrin dot com
2009-07-18 20:06 ` wilson at gcc dot gnu dot org [this message]
2009-07-18 20:29 ` rguenth at gcc dot gnu dot org
     [not found] <bug-40706-4@http.gcc.gnu.org/bugzilla/>
2012-01-10 18:46 ` pinskia at gcc dot gnu.org

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

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

  git send-email \
    --in-reply-to=20090718200546.2357.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.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.
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).