Re: [gem5-users] Compiling binary for x86_64 for Syscall Emulation

2017-01-27 Thread maitysanchayan
Hello Jason, On 17-01-27 23:01:44, Jason Lowe-Power wrote: > Hi Sanchayan, > > Can you test this patch to see if it fixes your issue? If so, hit "ship it" > on reviewboard for me :). You can download the patch. Then apply it with > "hg qimport && hg qpush". I think there may be a couple of other

Re: [gem5-users] Compiling binary for x86_64 for Syscall Emulation

2017-01-27 Thread Jason Lowe-Power
Hi Sanchayan, Can you test this patch to see if it fixes your issue? If so, hit "ship it" on reviewboard for me :). You can download the patch. Then apply it with "hg qimport && hg qpush". I think there may be a couple of other patches up there to get Arch Linux support working better that you ca

Re: [gem5-users] Compiling binary for x86_64 for Syscall Emulation

2017-01-23 Thread Jason Lowe-Power
Hi Sanchayan, gem5 does have support for dynamic executables on Linux x86 platforms. I'm not certain what the limitations are, but there is some support for it. I still don't know why you're experiencing that error with your regular binary. Maybe we can take this off-list and you can send me the

Re: [gem5-users] Compiling binary for x86_64 for Syscall Emulation

2017-01-20 Thread maitysanchayan
Hello Jason, On 17-01-20 15:33:23, Jason Lowe-Power wrote: > Hi Sanchayan, > > I'm still not sure what's going wrong when executing your binary. It seems > that the problem is that the code is calling a function that doesn't exist. > The instruction pointer is updated to an invalid address in the

Re: [gem5-users] Compiling binary for x86_64 for Syscall Emulation

2017-01-20 Thread Jason Lowe-Power
Hi Sanchayan, I'm still not sure what's going wrong when executing your binary. It seems that the problem is that the code is calling a function that doesn't exist. The instruction pointer is updated to an invalid address in the call instruction. Have you run ldd on the binary to make sure that t

Re: [gem5-users] Compiling binary for x86_64 for Syscall Emulation

2017-01-19 Thread maitysanchayan
Hello Jason, On 17-01-19 15:24:18, Jason Lowe-Power wrote: > Hi Sanchayan, > > I'm not sure what the problem is when you're running hello. I believe > you've compiled it correctly. The error indicates that the application is > trying to read an address that was never allocated. > To figure out th

Re: [gem5-users] Compiling binary for x86_64 for Syscall Emulation

2017-01-19 Thread Jason Lowe-Power
Hi Sanchayan, I'm not sure what the problem is when you're running hello. I believe you've compiled it correctly. The error indicates that the application is trying to read an address that was never allocated. To figure out the issue, I would follow these steps: 1. Make sure the binary executes co

[gem5-users] Compiling binary for x86_64 for Syscall Emulation

2017-01-19 Thread maitysanchayan
Hello, I am using gem5 compiled from source with the last commit at commit 1738a7d2601ba757ae6ab36f0549a50396d73e45 Author: Andreas Sandberg Date: Tue Jan 3 17:31:39 2017 + sim: Remove declaration of unused CountedDrainEvent on Arch Linux with gcc 6.3.1. Am trying to use a hello wor