Simple program immediately killed when running on a NFS

Eduardo Morras emorrasg at yahoo.es
Sun Mar 5 09:48:54 UTC 2017


On Sat, 4 Mar 2017 23:29:57 -0300
Otacílio <otacilio.neto at bsd.com.br> wrote:

> Dears
> 
> I'm trying to compile a simple hello world program on my RPI3. The 
> program is on a directory mounted using NFS and stored in the amd64 
> machine. When I compile and try to run the program in the NFS mounted 
> path it does not work, when I copy the same program to a local dir it 
> work, and then when I copy the program from the local dir to the NFS
> dir it works !? !?!?! Someone can, please, explain it? Look at the
> historic program.

I assume you crosscompiled it to arm, but .. DId you static linked it? If not, it gets requiered .so from nfs server and crash, becuase they are amd64 binary.



---   ---
Eduardo Morras <emorrasg at yahoo.es>


More information about the freebsd-hackers mailing list