Issue with SDK in Nifty Needlefish v14.0.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I have recently switched to Nifty Needlefish and I am facing following issue. I built the image agl-image-minimal-crosssdk for the target Rpi4-64. After installing the SDK I built a Sample executable using the cross compiler version GCC 11.3.0 aarch64-agl-linux from the SDK.

Then I copied the executable into the Rpi4 with following command: scp ./HelloWorld/build/helloworld   root@ipaddr:/home/

After I log into Rpi4 with ssh: ssh -l root ipaddr

When I run the executable I get following error: 
root@raspberrypi4-64:/home# ./helloworld
-sh: ./helloworld: No such file or directory

I've run following commands to check if any library might be missing, but it does not seem to be the case:
root@raspberrypi4-64:/home# ldd ./helloworld
    linux-vdso.so.1 (0x0000007fa60cc000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000007fa5e60000)
    libc.so.6 => /usr/lib/libc.so.6 (0x0000007fa5cb0000)
    libm.so.6 => /usr/lib/libm.so.6 (0x0000007fa5c10000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000007fa5be0000)
    /lib/ld-musl-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1 (0x0000007fa6094000)

root@raspberrypi4-64:/home# strace ./helloworld
execve("./helloworld", ["./helloworld"], 0x7fc82aece0 /* 20 vars */) = -1 ENOENT (No such file or directory)
strace: exec: No such file or directory
+++ exited with 1 +++

I was following the same procedure with Lucky Lamprey and didn't face this issue, i.e. I was able to run the executable. Has anyone experienced a similar issue?

Thanks in advance for any hints.
Best Regards,
Carles
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#10103) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux