Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Mar 2017 07:09:27 -0300
From:      =?UTF-8?B?T3RhY8OtbGlv?= <otacilio.neto@bsd.com.br>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Simple program immediately killed when running on a NFS
Message-ID:  <a46e561d-6227-44be-484e-50af813878a2@bsd.com.br>
In-Reply-To: <20170305104832.56d4e358bc968c4e03eca2b2@yahoo.es>
References:  <f1578a63-2a90-6bd1-4444-d96c1829e0dc@bsd.com.br> <20170305104832.56d4e358bc968c4e03eca2b2@yahoo.es>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 05/03/2017 06:48, Eduardo Morras via freebsd-hackers escreveu:
> On Sat, 4 Mar 2017 23:29:57 -0300
> Otacílio <otacilio.neto@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.
>
>
>

I'm not compiling using the server tools. I'm compiling using the RPI3 
tools inside the RPI3. The server is only exporting the /usr/ports. I 
mounted this on PRI3 /usr/ports and I'm compiling using the RPI3 clang. 
On this same scenario, when using a BBB this works.

[]s
-Otacilio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a46e561d-6227-44be-484e-50af813878a2>