From owner-freebsd-hackers@freebsd.org Sun Mar 5 09:48:54 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EB73CF90A9 for ; Sun, 5 Mar 2017 09:48:54 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm40-vm1.bullet.mail.ir2.yahoo.com (nm40-vm1.bullet.mail.ir2.yahoo.com [212.82.97.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A3874126C for ; Sun, 5 Mar 2017 09:48:53 +0000 (UTC) (envelope-from emorrasg@yahoo.es) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1488707215; bh=Ui8IjuEj5kFE0gmO/4f70YiplxXn8/pBRXw1Nxj30xg=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=WpE6BqbncmeAFSSXCu0gsMz4MBjOaEmsFZtO7tqZGkcN3d41XIyr3iamfXLLJkzKn/S/u6Tz8cT6A9YvLkel+wwjOjwzV+g4d3XJKfYWQTrTno/4kwf3OcVV4C2pBkpUDRHjXmgqVnjexlYn4b9YrJGFYDCxeLjMxllO+ppNioOnju+9xqiTuu2Cg3+Jt89wgpAF0H+7xV+z9rPYgjLfZ0rQaWf4f+7trYXxO4D4CI7kC3U1UuKR8QwhDtgPGfYDtcDICERVUqbbV5r3UK2vkv0UV5bqVreosB0ZFhwe8IMe/AmawgvcqS+ml1iFnlVhxqO2VzkqWAIhnL5Vc/kYhA== Received: from [212.82.98.126] by nm40.bullet.mail.ir2.yahoo.com with NNFMP; 05 Mar 2017 09:46:55 -0000 Received: from [46.228.39.77] by tm19.bullet.mail.ir2.yahoo.com with NNFMP; 05 Mar 2017 09:46:55 -0000 Received: from [127.0.0.1] by smtp114.mail.ir2.yahoo.com with NNFMP; 05 Mar 2017 09:46:55 -0000 X-Yahoo-Newman-Id: 872871.78901.bm@smtp114.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: VJv3svcVM1nGBNhHKSKPalHW8Gx00R3eWLWkvrko5lypZiu QN_B8P0g7pI1ATFvN9o1fP8xALdBX0ih5v.LFBDA5mT3pdV4BjbFzH4gJ8mJ _0Nqm8bxkEQdArUcjlfnLtpdZib804ZXWk7M7CYLb3G9vLt4jNxfGcQV75x. qiFRwmLg8q_XEJTIZYkzSykgGSVmZjq22mfpU821zi69Plpn7wAgL7LbDxP2 QcfCF9WaovfDowgj4UHY.9Z_YB7yCyWA64kqEh4dr.0zM8pQd.63qEx56fZj FaoTMx7rga6Dvp7dkUFFpVUheQFxnKUa.IEhanPI88bbDbSMRoPa.AEVEVtr dhSyaeq.sq0MKoS9bxAIva_e67oB8FYq8q00zleWdh8iolkkOuM36Ix95tNe FPw53vpu8P6PyWKBL7zgFhPVhkO.9kmD73ajVWOP_2uNnXCu_1Ul2aRzsZy2 D79Nx5d_3Be5IeanlWCXSXPCBzEHBKqVcJW9hPtpO48xpOJ8QrUqm8N7Ps5O 2wRqaBWr416_FOqUuaPrNHRqSGGKTtbo4zLj.9lJg9CImvVz4UMaJAV6nIOo Z X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Sun, 5 Mar 2017 10:48:32 +0100 From: Eduardo Morras To: freebsd-hackers@freebsd.org Subject: Re: Simple program immediately killed when running on a NFS Message-Id: <20170305104832.56d4e358bc968c4e03eca2b2@yahoo.es> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2017 09:48:54 -0000 On Sat, 4 Mar 2017 23:29:57 -0300 Otac=EDlio wrote: > Dears >=20 > I'm trying to compile a simple hello world program on my RPI3. The=20 > program is on a directory mounted using NFS and stored in the amd64=20 > machine. When I compile and try to run the program in the NFS mounted=20 > path it does not work, when I copy the same program to a local dir it=20 > 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 n= ot, it gets requiered .so from nfs server and crash, becuase they are amd64= binary. --- --- Eduardo Morras