Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 16:48:41 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Enji Cooper <yaneurabeya@gmail.com>
Cc:        Daniel Braniss <danny@cs.huji.ac.il>, hackers@freebsd.org, "Andrey V. Elsukov" <bu7cher@yandex.ru>
Subject:   Re: ERR#78 'function not implemented'
Message-ID:  <20190522134841.GZ2748@kib.kiev.ua>
In-Reply-To: <1419BF6D-9BF3-454B-A9BB-E7CB50D4B540@gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 22, 2019 at 06:16:03AM -0700, Enji Cooper wrote:
> 
> > On May 22, 2019, at 05:57, Daniel Braniss <danny@cs.huji.ac.il> wrote:
> > 
> >> On 22 May 2019, at 11:38, Andrey V. Elsukov <bu7cher@yandex.ru> wrote:
> >> 
> >> 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 ‘bad’ command:
> >> 
> >>> -- UNKNOWN FreeBSD ELF64 SYSCALL 568 --
> >>> #568()                                           ERR#78 'Function not implemented'
> >>> SIGNAL 12 (SIGSYS) code=SI_KERNEL
> >>> process killed, signal = 12 (core dumped)
> >> 
> >> Hi,
> >> 
> >> Your kernel is too old to be able run this binary. Syscall 568 is
> >> funlinkat(2), it was introduced in r345982.
> >> 
> >> https://svnweb.freebsd.org/base?view=revision&revision=345982
> >> 
> > hi,
> > thanks, so that raises a new question:
> >    Q: to use release.sh one needs to be running the latest current?
> 
> 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.
> 
liblegacy only relevant when your target is the old host system.  It cannot
help with running binary built on newer system.

> That being said, you should be running a more recent release of 11.x or stable/11.
No.

You cannot run 12 binaries on 11 at all (practically any binary would fail),
and you cannot run some HEAD binaries on 12.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190522134841.GZ2748>