Date: Sun, 29 Oct 2023 13:07:40 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Wojciech Puchar <wojtek@puchar.net> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@FreeBSD.org> Subject: Re: problem linking kernel Message-ID: <B165391E-84D9-4F24-A8C3-BACC77403EAD@FreeBSD.org> In-Reply-To: <ecd851ce-5372-9671-508-8b56592fc1e@puchar.net> References: <ecd851ce-5372-9671-508-8b56592fc1e@puchar.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_E2D280CD-FA79-4D51-9748-701081F35E19 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 29 Oct 2023, at 11:34, Wojciech Puchar <wojtek@puchar.net> wrote: >=20 > i get this linking my custom kernel. No errors until link >=20 > linking kernel > ld: dynamic STT_GNU_IFUNC symbol `rdtsc_ordered' with pointer equality = in `cpu_machdep.o' can not be used when making an executable; recompile = with -fPIE and relink with -pie >=20 >=20 > kernel config attached, latest FreeBSD-13 downloaded today. >=20 > can you help?<conf.txt> I just tried it here, and it works fine: ... linking kernel objcopy --strip-debug kernel text data bss dec hex filename 7925073 779012 3411328 12115413 0xb8ddd5 kernel -------------------------------------------------------------- >>> Kernel build for PUCHAR completed on Sun Oct 29 12:06:08 UTC 2023 -------------------------------------------------------------- >>> Kernel(s) PUCHAR built in 28 seconds, ncpu: 32, make -j32 -------------------------------------------------------------- -Dimitry --Apple-Mail=_E2D280CD-FA79-4D51-9748-701081F35E19 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZT5LDAAKCRCwXqMKLiCW oySIAJ9GbVVa/c9q6KRh5uNIlUrdY8f2bgCfcN6AAVWe5jpp2NiVashhd/XIP4I= =ttCu -----END PGP SIGNATURE----- --Apple-Mail=_E2D280CD-FA79-4D51-9748-701081F35E19--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B165391E-84D9-4F24-A8C3-BACC77403EAD>