You are not logged in.
i wonder if anyone is willing to target this task - having qemu-cvs compiled with latest kqemu 1.3.0pre5 using the gcc4 patchset (from here).
thanks in advance.
Offline
I might have a go! My jabber account is not working, dude.
Offline
OK - I can't get 0.8 or CVS to build. I have PKGBUILDs for both but both fail at the same point with an error:
../dyngen -o op.h op.o
dyngen: ret or jmp expected at the end of op_bsfw_T0_cc
make[1]: *** [op.h] Error 1
make[1]: Leaving directory `/home/dibble/projects/qemu/qemu-cvs/src/qemu-build/i386-user'
make: *** [all] Error 1
# Maintainer: Patrick Leslie Polzer <polzer>
# Contributor: Tomas Groth (tgc) <tomasgroth>
# Contributor: basilburn <basilburn>
pkgname=qemu
pkgver=20060416
pkgrel=1
pkgdesc="QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
url="http://fabrice.bellard.free.fr/qemu/"
depends=('sdl' 'xorg')
conflicts=()
source=(http://fabrice.bellard.free.fr/qemu/kqemu-1.3.0pre5.tar.gz)
_cvsroot=:pserver:anonymous@cvs.savannah.nongnu.org:/sources/qemu
_cvsmod=qemu
_cvsroot2=anoncvs@cvs.mandriva.com:/cooker
_cvsmod2=contrib-SPECS/qemu
build()
{
cd $startdir/src/
cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
# checkout patches
# cvs -z3 -d $_cvsroot2 co -D $pkgver -f $_cvsmod2
#cvs -d anoncvs@cvs.mandriva.com:/cooker checkout $_cvsmod2
rm -r $_cvsmod-build
cp -r $_cvsmod $_cvsmod-build
cd $_cvsmod-build
# clean up previous builds
make clean
[ -d kqemu ] && rm -r kqemu
mv ../kqemu .
# apply patches
patch -Np1 -i $startdir/src/contrib-SPECS/qemu/qemu-0.8.0-enforce-16byte-stack-boundary.patch || return 1 && echo "done"
patch -Np1 -i $startdir/src/contrib-SPECS/qemu/qemu-0.8.0-gcc4-hacks.patch || return 1 && echo "done"
#patch -Np1 -i $startdir/src/contrib-SPECS/qemu/qemu-0.8.0-hw-nic-selection.patch || return 1 && echo "done"
#patch -Np1 -i $startdir/src/contrib-SPECS/qemu/qemu-0.8.0-osx-intel-port.patch || return 1 && echo "done"
patch -Np1 -i $startdir/src/contrib-SPECS/qemu/qemu-0.8.0-pcnet.patch6 || return 1 && echo "done"
#patch -Np1 -i $startdir/src/contrib-SPECS/qemu/qemu-0.8.0-qvm86-colateral.patch || return 1 && echo "done"
#patch -Np0 -i $startdir/src/contrib-SPECS/qemu/qemu-0.8.0-qvm86.patch || return 1 && echo "done"
#patch -Np1 -i $startdir/src/contrib-SPECS/qemu/qemu-0.8.0-rtl8139.patch || return 1 && echo "done"
sed -i -e 's|sdl_config --static-libs|sdl_config --libs|' configure
./configure --prefix=/usr --disable-gcc-check
make || return 1
sed -i s%/usr%$startdir/pkg/usr% config-host.mak
# neuter the kqemu install script
echo " " > kqemu/install.sh
make prefix=$startdir/pkg/usr install
}
Some patches linked above have already been applied in CVS.
# Maintainer: Patrick Leslie Polzer <polzer>
# Contributor: Tomas Groth (tgc) <tomasgroth>
# Contributor: basilburn <basilburn>
pkgname=qemu
pkgver=0.8.0
pkgrel=1
pkgdesc="QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
url="http://fabrice.bellard.free.fr/qemu/"
depends=('sdl' 'xorg')
conflicts=()
source=(http://fabrice.bellard.free.fr/qemu/$pkgname-$pkgver.tar.gz http://fabrice.bellard.free.fr/qemu/kqemu-0.7.2.tar.gz http://www.gibix.net/projects/qemu/files/qemu-0.8.0-gcc4-hacks.patch.bz2)
build()
{
cd $startdir/src/qemu-$pkgver
# clean up previous builds
make clean
[ -d kqemu ] && rm -r kqemu
mv ../kqemu .
# apply patches
patch -Np1 -i $startdir/src/qemu-0.8.0-gcc4-hacks.patch || return 1
#patch -Np1 -i $startdir/src/qemu-0.7.2-dyngen-check-stack-clobbers.patch || return 1
#patch -Np1 -i $startdir/src/qemu-0.7.2-gcc4-hacks.patch || return 1
#patch -Np1 -i $startdir/src/qemu-0.7.2-gcc4-opts.patch || return 1
sed -i -e 's|sdl_config --static-libs|sdl_config --libs|' configure
./configure --prefix=/usr --disable-gcc-check
make || return 1
sed -i s%/usr%$startdir/pkg/usr% config-host.mak
# neuter the kqemu install script
echo " " > kqemu/install.sh
make prefix=$startdir/pkg/usr install
}
Offline
maybe you need to compile using gcc3 workaround? theres still a link to gcc3 package somewhere in the forums i think...
Offline
I've spent a few hours working on this also with no luck. I think that gcc3 is a must...
Offline
I installed gcc3, compiled it, then installed gcc4 again and it worked.
Offline
Cool, I'll do that then - I have an old gcc version
Offline
/me waits for the package patiently
Offline
I'm pretty keen too, I've been reading about the new kqemu and it should speed things up noticably and with USB support as of qemu 0.8.0, who needs VMWare? Enabling USB slows things down majorly (for me) but thats running the old kqemu.
Offline
/me waits for the package patiently
me too
or would find another emulator which is fine with gcc4
or another instant solution is
install it under /home/<user>/<chrooted_dir>,
then you should have to install required software like bash, gcc3, etc
into same dir.($PATH $LD_LIBRARY_PATH $PKG_CONFIG_PATH)
Because it will never mess up host-specific core,
and normally qemu doesn't need to be include in the dir, and it has it's special purpose, so it in home dir best..
I removed my sig, cause i select the flag, the flag often the target of enemy.
SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]
Offline