Re: [gem5-users] execution problem hello.c in architecture armv8 big.LITTLE

2018-06-03 Thread Ciro Santilli
Sorry, those images are undocumented and I don't know how they are generated + parsec is highly unmaintained and not made with cross compilation in mind. The best advice I can give at the moment is: use my setup:

Re: [gem5-users] execution problem hello.c in architecture armv8 big.LITTLE

2018-06-01 Thread commerce _com
Hi Oscar, I tried this script and I think the same problem: #! / Bin / bash ls cd / home / ls cd root ls cd parsec ./Hello Here is the result obtained: bin dev home lost + found mnt proc run srv tmp var boot etc lib media root opt sbin sys usr / tmp / script: line 5: cd: root: No such file or

Re: [gem5-users] execution problem hello.c in architecture armv8 big.LITTLE

2018-06-01 Thread Oscar Rosell
Hi, The important line is this one: / tmp / script: line 3: cd: / home / root / parsec: No such file or directory No way you can get the binary running if you cannot cd to the directory where the binary is located. That has no relation with how the binary was compiled. My intuition is that

Re: [gem5-users] execution problem hello.c in architecture armv8 big.LITTLE

2018-06-01 Thread Ciro Santilli
This is not required, the best thing to do is to find what is the proper compatible cross compiler for the image: https://stackoverflow.com/questions/31929092/trying-to-run-a-cross-compiled-executable-on-target-device-fails-with-no-such-f/49993116#49993116 On Fri, Jun 1, 2018 at 6:34 AM, Tung

Re: [gem5-users] execution problem hello.c in architecture armv8 big.LITTLE

2018-05-31 Thread Tung Hoang
You may need “-static” for arm cross-compiling. /T On Thu, May 31, 2018 at 3:19 PM commerce _com wrote: > Hi ciro, > > I'm sure the binary of the compilation is in the image on the path: / > home / root / parsec > > but I did not understand how to solve this problem; Please. > > > com_. > >

Re: [gem5-users] execution problem hello.c in architecture armv8 big.LITTLE

2018-05-31 Thread commerce _com
Hi ciro, I'm sure the binary of the compilation is in the image on the path: / home / root / parsec but I did not understand how to solve this problem; Please. com_. 2018-05-31 23:02 GMT+02:00 Ciro Santilli : > Likely incompatible compiler using wrong dynamic loader, do "file > hello", see

Re: [gem5-users] execution problem hello.c in architecture armv8 big.LITTLE

2018-05-31 Thread Ciro Santilli
Likely incompatible compiler using wrong dynamic loader, do "file hello", see "interpreter /some/path", and check if "/some/path" is present on guest. On Thu, May 31, 2018 at 9:33 PM, commerce _com wrote: > Hi all, > > i need to run hello.c in an architecture armv8 big.LITTLE > I compile

[gem5-users] execution problem hello.c in architecture armv8 big.LITTLE

2018-05-31 Thread commerce _com
Hi all, i need to run hello.c in an architecture armv8 big.LITTLE I compile hello_word.c by a crosscompiler here is the command: arm-linux-gnueabihf-gcc hello.c -o hello I added the binarie of the compilation to the linaro aarch64 image, with I generated this .rcs script as follows: #! / Bin /