public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* execve() returns ENOENT when ld-linux.so isn't found
@ 2010-03-18 14:42 Olaf van der Spek
  2010-03-24 13:35 ` Olaf van der Spek
  2010-03-24 13:49 ` drepper
  0 siblings, 2 replies; 19+ messages in thread
From: Olaf van der Spek @ 2010-03-18 14:42 UTC (permalink / raw)
  To: linux-kernel

Hi,

When you try to execute an x86 binary on a x64 system, execve()
returns ENOENT when ld-linux.so isn't found
Wouldn't ENOEXEC be more appropriate?

> An executable is not in a recognized format, is for the wrong architecture, or has some other format error that means it cannot be executed.

This just doesn't make any sense:

$ ls -l
-rwxr-xr-x 1 olaf olaf 560165 2010-03-18 15:21 xwis
$ ./xwis
-bash: ./xwis: No such file or directory

Olaf

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

end of thread, other threads:[~2010-03-31 19:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <b2cc26e41003241537h228028c4n1374f4b042175885@mail.gmail.com>
2010-03-24 22:45 ` execve() returns ENOENT when ld-linux.so isn't found drepper
2010-03-25 19:29   ` Olaf van der Spek
2010-03-25 21:00     ` Luca Barbieri
2010-03-26 11:56       ` Ulrich Drepper
2010-03-26 18:40         ` Olaf van der Spek
2010-03-26 21:06         ` Luca Barbieri
2010-03-26 21:15           ` Ulrich Drepper
2010-03-27 11:50             ` Olaf van der Spek
2010-03-27 12:05               ` Ulrich Drepper
2010-03-29 14:40                 ` Olaf van der Spek
2010-03-29 14:57                   ` Ulrich Drepper
2010-03-29 16:00                   ` Andreas Schwab
2010-03-31 19:36                     ` Olaf van der Spek
2010-03-27 14:51             ` Luca Barbieri
2010-03-18 14:42 Olaf van der Spek
2010-03-24 13:35 ` Olaf van der Spek
2010-03-24 13:49 ` drepper
2010-03-24 22:10   ` Olaf van der Spek
2010-03-24 22:35     ` drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox