This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15237] multilib configure fails running 64-bit program on 32-bit IRIX
- From: "raeburn at MIT dot EDU" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2004 00:45:19 -0000
- Subject: [Bug target/15237] multilib configure fails running 64-bit program on 32-bit IRIX
- References: <20040430213448.15237.raeburn@MIT.EDU>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From raeburn at MIT dot EDU 2004-12-14 00:45 -------
Subject: Re: multilib configure fails running 64-bit
program on 32-bit IRIX
"echristo at redhat dot com" <gcc-bugzilla@gcc.gnu.org> writes:
> Ken,
>
> The only 32-bit irix I can remember is irix5, what's odd about your machine that
> you don't have the 64-bit libraries installed?
There are 64-bit libraries, but the kernel is running in 32-bit mode
and doesn't support execution of 64-bit programs.
% uname -a
IRIX capacitor-bank 6.5 01200533 IP32
% file /unix
/unix: ELF 32-bit MSB mips-3 executable, MIPS R3000_BE, version 1, statically linked, not stripped
% cc -64 hello.c -o hello
% file hello
hello: ELF 64-bit MSB mips-3 executable, MIPS R3000_BE, version 1, stripped
% ./hello
./hello: Exec format error. Binary file not executable.
%
Ken
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15237