Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiltation error #36

Open
ar-abdulrasheed opened this issue Dec 22, 2020 · 1 comment
Open

Compiltation error #36

ar-abdulrasheed opened this issue Dec 22, 2020 · 1 comment

Comments

@ar-abdulrasheed
Copy link

On running command scons ./build/RISCV/gem5.debug i get following compilation error!

build/RISCV/arch/riscv/linux/process.cc:671:44: error: no matching function for call to 'SyscallDesc::SyscallDesc(const char [7], )'
{215, SyscallDesc("munmap", munmapFunc)},
^
In file included from build/RISCV/arch/riscv/linux/process.cc:48:0:
build/RISCV/sim/syscall_desc.hh:74:5: note: candidate: SyscallDesc::SyscallDesc(const char*, SyscallDesc::SyscallExecutor)
SyscallDesc(const char name, SyscallExecutor sys_exec=unimplementedFunc)
^~~~~~~~~~~
build/RISCV/sim/syscall_desc.hh:74:5: note: no known conversion for argument 2 from '' to 'SyscallDesc::SyscallExecutor {aka std::function<SyscallReturn(SyscallDesc
, int, ThreadContext*)>}'
build/RISCV/sim/syscall_desc.hh:69:7: note: candidate: SyscallDesc::SyscallDesc(const SyscallDesc&)
class SyscallDesc {
^~~~~~~~~~~
build/RISCV/sim/syscall_desc.hh:69:7: note: candidate expects 1 argument, 2 provided
build/RISCV/sim/syscall_desc.hh:69:7: note: candidate: SyscallDesc::SyscallDesc(SyscallDesc&&)
build/RISCV/sim/syscall_desc.hh:69:7: note: candidate expects 1 argument, 2 provided

@xyzsam
Copy link
Member

xyzsam commented Dec 23, 2020

We don't currently support RISC-V. We should fix this build error, but there's no other guarantee that programs will run correctly on this ISA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants