On Sat, Dec 25, 2021 at 11:51:49AM +0100, Morten Linderud via arch-dev-public wrote: > Just an additional headsup as we are on the topic of "LTO fun"; it seems like > any Go packages utilizing cgo/the external linker seems to be just broken with > LTO. > > The error looks like: > net._cgo_3c1cec0c9a4e_C2func_getaddrinfo: relocation target > _cgo_3c1cec0c9a4e_C2func_getaddrinfo not defined > > Please do just disable LTO if you spot this issue in your builds. > > -- > Morten Linderud > PGP: 9C02FF419FECBE16
For anyone having trouble to do this: Set the `options` field in the PKGBUILD. For example: options=('!lto') Merry Christmas, Chris
signature.asc
Description: PGP signature