Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2021 02:53:15 +0300
From:      Greg V via freebsd-arm <freebsd-arm@freebsd.org>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: world linker error "can't create dynamic relocation R_AARCH64_LDST64_ABS_LO12_NC against symbol: __stderrp in readonly segment"
Message-ID:  <5B9D4DF1-32FE-4918-9A8F-DF528E88BD05@unrelenting.technology>
In-Reply-To: <alpine.BSF.2.00.2111250136570.68830@ai.fobar.qr>
References:  <alpine.BSF.2.00.2111250136570.68830@ai.fobar.qr>

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

--Apple-Mail-38E0BB4A-7464-4E60-B52E-831514788D40
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable


> On 25 Nov 2021, at 04:38, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> w=
rote:
>=20
> =EF=BB=BFHi,
>=20
> I am trying to update one machine (also across the LLVM update) and I get t=
he below error.
> Anyone any ideas?
>=20
>=20
> ld: error: relocation R_AARCH64_ADR_PREL_PG_HI21 cannot be used against sy=
mbol __stderrp; recompile with -fPIC
>>>> defined in base14-251054.3ede04c78c7c726ed79a39d22c65a58d0ecc5d00/arm64=
.aarch64/tmp/lib/libc.so.7
>>>> referenced by assert.c
>>>>              assert.o:(libspl_assertf) in archive base14-251054.3ede04c=
78c7c726ed79a39d22c65a58d0ecc5d00/arm64.aarch64/tmp/usr/lib/libspl.a

That would be https://reviews.freebsd.org/D32521#739094 =E2=80=93 this was f=
ixed in the final version of the patch that actually was committed though.

And I=E2=80=99ve just checked that it all builds on aarch64 too. Works for m=
e, and presumably for anyone else building world in the last 10 days or so. S=
o that=E2=80=99s weird. Maybe some leftover /usr/obj state somehow causing i=
ssues or something?=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5B9D4DF1-32FE-4918-9A8F-DF528E88BD05>