qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] binfmt_misc fails to work on sh4


From: Raúl Porcel
Subject: [Qemu-devel] binfmt_misc fails to work on sh4
Date: Sun, 28 Feb 2010 20:58:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

Hello everyone,

I've tried qemu suing binfmt_misc for sh4, but doesn't work fine. It
spits some really weird errors.

Here are the steps to reproduce:

> ~ # wget 
> http://mirror.switch.ch/ftp/mirror/gentoo/releases/sh/autobuilds/20090404/stage3-sh4-20090404.tar.bz2
> ~ # mkdir chroot
> ~ # tar xjfp stage3-sh4-20090404.tar.bz2 -C chroot/
> ~ # wget http://www.mpfr.org/mpfr-current/mpfr-2.4.2.tar.gz; mv 
> mpfr-2.4.2.tar.gz chroot/root/
> ~ # echo 
> ':sh4:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2a\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff\xff:/qemu-sh4:'
>  >/proc/sys/fs/binfmt_misc/register
> ~ # wget http://download.savannah.gnu.org/releases/qemu/qemu-0.12.2.tar.gz
> ~ # tar zxvf qemu-0.12.2.tar.gz 
> ~ # cd qemu-0.12.2
> ~ # ./configure --target-list=sh4-linux-user --static && make
> ~ # cd..
> ~ # cp qemu-0.12.2/sh4-linux-user/qemu-sh4 /
> ~ # cp qemu-0.12.2/sh4-linux-user/qemu-sh4 chroot/
> ~ # chroot chroot/
> 
> / # su -
> ~ # tar zxvf mpfr-2.4.2.tar.gz
> ~ # cd mpfr-2.4.2
> mpfr-2.4.2# ./configure
> (RANDOM ERRORS)
> 
> ./configure
> as_echo: eval: line 1: syntax error: unexpected end of file
> /usr/bin/install -c
> as_echo: eval: line 1: syntax error: unexpected end of file
> yes
> as_echo: eval: line 1: syntax error: unexpected end of file
> /bin/mkdir -p
> as_echo: eval: line 1: syntax error: unexpected end of file
> gawk
> as_echo: eval: line 1: syntax error: unexpected end of file
> ./configure: line 3236: ${ac_cv_prog_make_make
> m_set+set}: bad substitution
> no
> as_echo: eval: line 1: syntax error: unexpected end of file
> yes
> as_echo: eval: line 1: syntax error: unexpected end of file
> config.sub: too many arguments
> Try `config.sub --help' for more information.
> configure: error: /bin/sh ./config.sub sh4-unknown-linux-gnu
> s failed
> ---------------------------------
> ./configure
> configure
> c: error: cannot find install-sh, install.sh, or shtool in ".." "../.." 
> "../../.."
> 
> --------------------------------------
> 
> ./configure
> as_echo: eval: line 1: syntax error: unexpected end of file
> /usr/bin/install -c
> as_echo: eval: line 1: syntax error: unexpected end of file
> configure: error: ls -t appears to fail.  Make sure there is not a broken
> alias in your environment
> configure: error: newly created file is older than distributed files!
> Check your system clock
> 
> 
> 

Happens the same with the Debian userspace that you can download from here:

https://oss.renesas.com/modules/download/index.php?cid=36

Any hints?

Thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]