Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 17:59:16 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Enji Cooper <yaneurabeya@gmail.com>, hackers@freebsd.org, "Andrey V. Elsukov" <bu7cher@yandex.ru>
Subject:   Re: ERR#78 'function not implemented'
Message-ID:  <053B6218-7AEA-4845-B6EA-030E1F9C6FEB@cs.huji.ac.il>
In-Reply-To: <20190522134841.GZ2748@kib.kiev.ua>
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>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 22 May 2019, at 16:48, Konstantin Belousov <kostikbel@gmail.com> =
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 <danny@cs.huji.ac.il> =
wrote:
>>>=20
>>>> On 22 May 2019, at 11:38, Andrey V. Elsukov <bu7cher@yandex.ru> =
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?053B6218-7AEA-4845-B6EA-030E1F9C6FEB>