Re: world linker error "can't create dynamic relocation R_AARCH64_LDST64_ABS_LO12_NC against symbol: __stderrp in readonly segment"
- Reply: Bjoern A. Zeeb: "Re: world linker error "can't create dynamic relocation R_AARCH64_LDST64_ABS_LO12_NC against symbol: __stderrp in readonly segment""
- In reply to: Bjoern A. Zeeb: "world linker error "can't create dynamic relocation R_AARCH64_LDST64_ABS_LO12_NC against symbol: __stderrp in readonly segment""
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Nov 2021 23:53:15 UTC
> On 25 Nov 2021, at 04:38, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote: > > Hi, > > I am trying to update one machine (also across the LLVM update) and I get the below error. > Anyone any ideas? > > > ld: error: relocation R_AARCH64_ADR_PREL_PG_HI21 cannot be used against symbol __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.3ede04c78c7c726ed79a39d22c65a58d0ecc5d00/arm64.aarch64/tmp/usr/lib/libspl.a That would be https://reviews.freebsd.org/D32521#739094 – this was fixed in the final version of the patch that actually was committed though. And I’ve just checked that it all builds on aarch64 too. Works for me, and presumably for anyone else building world in the last 10 days or so. So that’s weird. Maybe some leftover /usr/obj state somehow causing issues or something?