libtirpc link error
Patrick Williams
patrick at stwcx.xyz
Fri Apr 23 23:08:54 AEST 2021
On Wed, Apr 21, 2021 at 04:30:29PM -0600, Mike wrote:
> Hi,
>
> Has anyone seen link errors for libtirpc-1.2.5-r0 from openbmc tag 2.9?
>
> I tried building with tag 2.9 using my added layers and conf from a successful tag 2.8, but get errors in libtirpc_la-binddynport.o for multiple definitions of __svc_xports.
>
> Mike
>
> Sent from my iPhone
I don't know of anyone reporting build issues with a recent tag. I had
updated it not too long ago to pull in security fixes from Yocto and it
builds successfully then.
Is this a `bitbake` failure you're seeing? Which package is it for? I
assume it is a base Yocto package because we don't have anything that
should be directly linking against libtirpc.
The "multiple definitions" sounds like something that newer versions of
GCC have become stricter about. In that case, I'd only expect you to
have different results if this were a native package (that for some
reason, incorrectly, your host GCC is being invoked for). I think many
of us use a Docker container to build in, especially older releases, so
you may want to make sure you've got a common environment to what we use
in CI for testing. I personally use the crops/poky docker image for
building any older Yocto releases.
--
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20210423/45aac440/attachment.sig>
More information about the openbmc
mailing list