I got a GEM5 fatal error which syscall mincore was not implemented. Does
anyone have the same experience about this?

=========================

Environment setting:
Host OS: Ubuntu 16.04.6 LTS
GEM5: git clone https://gem5.googlesource.com/amd/gem5
-b agutierr/master-gcn3-staging
ROCM: http://repo.radeon.com/rocm/archive/apt_1.6.1.tar.bz2
SE test program:
https://github.com/ROCm-Developer-Tools/HIP-Examples/tree/master/HIP-Examples-Applications/HelloWorld
with HIP_PLATFORM=hcc
CMD: ./build/GCN3_X86/gem5.opt --debug-flag=GPUALL
configs/example/apu_se.py -n 2 -c tests/test-progs/hip-hello/HelloWorld
Result:
.
.
.
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
warn: ignoring syscall sched_yield(...)
fatal: syscall mincore (#27) unimplemented.

===========================

Once I ignore this system call, the test program will have run time error

warn: ignoring syscall mincore(...)
warn: ignoring syscall mincore(...)

Backtrace:
0x000000000040d941:     <unknown function> + 0x5
0x000000000040dc50:     <unknown function> + 0x5
0x000000000040db09:     <unknown function> + 0x5
0x0000000000426bdd:     <unknown function> + 0x5
0x00007ffff5f517bf:     <unknown function> + 0x5
0x000000000041b509:     <unknown function> + 0x5

### HCC RUNTIME ERROR: Fail to find compatible kernel at
file:/home/jenkins/jenkins-root/workspace/compute-rocm-rel-1.6/external/hcc-tot/lib/mcwamp.cpp
line:346
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to