powerpc compilation
Hello friends
I got some errors while compiling qemu to emulate i386 in a powerpc. (user space only)
The patch I am appending correct this errors and qemu compiles
I am building a very small environment, and so, I am only building 386 emulation. The configure options I used was --target-list=i386-user --disable-sdl
Just FYI, the build happens with a lot (really a lot) of errors in a powerpc64. I think I'm abble to fix some of them, and will try to do it in a near future.
Please CC me, as I am not subscribed
Thanks,
glauber
Signature · 5 lines
================================= Glauber de Oliveira Costa Linux Technology Center - Brazil [email protected] =================================
cpu-exec.c +1 -1
@@ -903,7 +903,7 @@# define TRAP_sig (context) EXCEPREG_sig(exception, context)/* number of powerpc exception taken */ #endif /* __APPLE__ */ -int cpu_signal_handler (int host_signum,siginfo *info, +int cpu_signal_handler (int host_signum,struct siginfo *info,void *puc) {struct ucontext *uc = puc;
Only in qemu-0.6.0: .cvsignore
Only in qemu-0.6.0/linux-user: .path.c.swp
linux-user/syscall.c +2 -0
@@ -577,7 +577,9 @@case SO_OOBINLINE :case SO_NO_CHECK :case SO_PRIORITY : +#ifdef HAVE_SO_BSDCOMPAT case SO_BSDCOMPAT : +#endif case SO_PASSCRED :case SO_TIMESTAMP :case SO_RCVLOWAT :