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

Reply via email to