> Another question is why:
> 
> moe -32 '/usr/lib/libc/$HWCAP'
> 
> is returning the empty string when you run it in 64-bit QEMU, whereas it 
> returns libc_hwcap2.so.1 on my AMD64 machine. I noticed that isainfo -x 
> does not claim to have "amd syscalls" so this may be yet another missing 
> capability bit in the CPUID emulation or somesuch. I haven't 
> investigated that lead further yet, though.


Now that the EFAULT errors are fixed (seems to be a qemu-system-x86_64 
bug with "iret" from 64 bit mode to 32 bit mode), I've tried to reproduce this,
but I failed.  I get

# isainfo -v
64-bit amd64 applications
           sse sse fxsr mmx cmov amd_sysc cx8 tsc fpu
32-bit i386 applications
           sse sse fxsr mmx cmov amd_sysc cx8 tsc fpu
# moe -32 '/usr/lib/libc/$HWCAP'
/usr/lib/libc/libc_hwcap2.so.1


I tested that with a snv_40 guest, running inside qemu-system-x86_64,
on a S-x86 on-20060925 host (32-bit, no kqemu).
--
This message posted from opensolaris.org

Reply via email to