On Mon, 2 Sep 2019 at 11:34, Libo Zhou wrote:
>
> I am trying to run C programs compiled for MIPS32 big-endian architecture on
> an x86_64 host. And I am using Ubuntu 18.04 LTS.
> Then I got a segmentation fault, and here is the strace log:
>
>
> 10255 brk(NULL) = 0x00412000
> 10255 mmap2(NULL,81
The solution is:
$ cd /usr/mips-linux-gnu
$ sudo mkdir etc
$ sudo ldconfig -C etc/ld.so.cache -r .
(Credit: Aleksandar Markovic at Qemu-devel)
-- Original --
From: "Libo Zhou";;
Send time: Monday, Sep 2, 2019 6:21 PM
To: "qemu-discuss";
Subject: How to run
I am trying to run C programs compiled for MIPS32 big-endian architecture on an
x86_64 host. And I am using Ubuntu 18.04 LTS.
I installed the prebuilt cross compiler using the following command:
$ sudo apt install gcc-mips-linux-gnu
Then, I built Qemu from source with the commands below:
$
I am trying to run C programs compiled for MIPS32 big-endian architecture on an
x86_64 host. And I am using Ubuntu 18.04 LTS.
I installed the prebuilt cross compiler using the following command:
$ sudo apt install gcc-mips-linux-gnu
Then, I built Qemu from source with the commands below:
$