You need to hook-up the system call in
src/arch/x86/linux/syscalls.cc and ultimately you'll need to look at the
implementation of the ioctl call in src/sim/syscall_emul.* and see if it
does something sensible for what this benchmark is trying to use it for.
Most of the time it's just the c library trying to decide if the
terminal is a TTY and these can be safely ignored. 

Ali 

On 13.02.2012
11:54, [email protected] wrote: 

> Hi all,
> 
> I tried to run the
bwaves benchmark from SPEC 2006 in X86_SE mode and 
> i get the
following error:
> 
> **** REAL SIMULATION ****
> info: Entering event
queue @ 0. Starting simulation...
> warn: instruction 'fnstcw_Mw'
unimplemented
> warn: instruction 'fldcw_Mw' unimplemented
> fatal:
syscall ioctl (#16) unimplemented.
> @ cycle 5818000
>
[unimplementedFunc:build/X86_SE/sim/syscall_emul.cc, line 83]
> Memory
Usage: 609268 KBytes
> 
> Did anyone else get this error as well? Anyone
know how to fix this?
> 
> Thanks
> 
>
_______________________________________________
> gem5-users mailing
list
> [email protected]
>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

 
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to