From owner-freebsd-hackers@freebsd.org Wed May 22 14:59:29 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97C2115ADE10 for ; Wed, 22 May 2019 14:59:29 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 85D6D89417 for ; Wed, 22 May 2019 14:59:28 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 45B7E15ADE0F; Wed, 22 May 2019 14:59:28 +0000 (UTC) Delivered-To: hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2187115ADE0E for ; Wed, 22 May 2019 14:59:28 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B5B289416 for ; Wed, 22 May 2019 14:59:27 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type:Message-Id:From; bh=CQi108H3iGgqgBTXauRQ12Gv3QisEnQvIH3olt5UGIc=; b=14v9kuIo01zQ/j8oj1ZgcDgDeSzeHniCB+NdT/HK70rulDBfx5LCCojEMJ3jujbI+qEpkJSUKGTGJKl+eSI/LkSQ9MFRdtdFf9t8KXToHYJvL/0dOQGjRPVjjr9XqLcad7Xhsjzg3PdBpBt+71+/zQtUMftwm07crX8wOYR8BRiEBfYJWiW4cZeR4dhCY/hkP85KqWjZ+TCZDTqJa1kVIRzAaqmkm6t25TMOTu1vUYTaXiYZAW4eCOnYN0NKxhqF6z04VJq/ozDyF+27SIG+PKdIajK8WVi5ei417ZqRPFD/lmFbU0nZmnVMJNDPpPLgPxXWudC1nM/tP/MyjVcT1A==; Received: from macmini.bk.cs.huji.ac.il ([132.65.179.19]) by kabab.cs.huji.ac.il with esmtp id 1hTSi5-0008rs-AH; Wed, 22 May 2019 17:59:17 +0300 From: Daniel Braniss Message-Id: <053B6218-7AEA-4845-B6EA-030E1F9C6FEB@cs.huji.ac.il> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: ERR#78 'function not implemented' Date: Wed, 22 May 2019 17:59:16 +0300 In-Reply-To: <20190522134841.GZ2748@kib.kiev.ua> Cc: Enji Cooper , hackers@freebsd.org, "Andrey V. Elsukov" To: Konstantin Belousov References: <6B0A65C2-5F53-47B3-8159-0AEA3E0C37C4@cs.huji.ac.il> <87ede120-b533-302d-6ffb-82fd735dce21@yandex.ru> <7C0C64B8-B2A4-4CE8-9A1A-9394A9E1550A@cs.huji.ac.il> <1419BF6D-9BF3-454B-A9BB-E7CB50D4B540@gmail.com> <20190522134841.GZ2748@kib.kiev.ua> X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 9B5B289416 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.965,0] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2019 14:59:29 -0000 > On 22 May 2019, at 16:48, Konstantin Belousov = wrote: >=20 > On Wed, May 22, 2019 at 06:16:03AM -0700, Enji Cooper wrote: >>=20 >>> On May 22, 2019, at 05:57, Daniel Braniss = wrote: >>>=20 >>>> On 22 May 2019, at 11:38, Andrey V. Elsukov = wrote: >>>>=20 >>>> On 21.05.2019 19:03, Daniel Braniss wrote: >>>>> Hi, >>>>> Im using a freebsd-stable-11.1-STABLE to cross compile for arm, I = have been doing it for some time >>>>> without any issues, but today I decided to try out release.sh and = it failes. >>>>> I have run the =E2=80=98bad=E2=80=99 command: >>>>=20 >>>>> -- UNKNOWN FreeBSD ELF64 SYSCALL 568 -- >>>>> #568() ERR#78 'Function = not implemented' >>>>> SIGNAL 12 (SIGSYS) code=3DSI_KERNEL >>>>> process killed, signal =3D 12 (core dumped) >>>>=20 >>>> Hi, >>>>=20 >>>> Your kernel is too old to be able run this binary. Syscall 568 is >>>> funlinkat(2), it was introduced in r345982. >>>>=20 >>>> https://svnweb.freebsd.org/base?view=3Drevision&revision=3D345982 >>>>=20 >>> hi, >>> thanks, so that raises a new question: >>> Q: to use release.sh one needs to be running the latest current? >>=20 >> In theory, liblegacy and ITOOLS should be taking care of some of = this. A binary is being run from the install which should be run from = the system. >>=20 > liblegacy only relevant when your target is the old host system. It = cannot > help with running binary built on newer system. >=20 >> That being said, you should be running a more recent release of 11.x = or stable/11. > No. >=20 > You cannot run 12 binaries on 11 at all (practically any binary would = fail), > and you cannot run some HEAD binaries on 12. at the moment, my workaround is to change the mounts (so far in 2 = places) to not do a chroot, thus using the system=E2=80=99s mount. (I still have not succeeded in crating an sd image, it just takes too = long :-) Q: why shouldn=E2=80=99t this be the default? and now I run away and hide cheers, danny