pkg-fallout: duplicate symbols?

Dimitry Andric dim at FreeBSD.org
Sat Aug 22 14:22:53 UTC 2020


On 22 Aug 2020, at 16:05, Christian Weisgerber <naddy at mips.inka.de> wrote:
> 
> I'm currently receiving pkg-fallout mail that some of the ports I
> maintain are failing to build with "duplicate symbol" errors.

See <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248756>.

This is because clang 11 defaults to -fno-common now, causing some
programs that incorrectly define multiple copies of the same global
variables to no longer link.

It can be worked around by adding -fcommon to the compilation flags, but
in most cases it should not be too difficult to get rid of the multiply
defined symbols.


> It is unclear to me whether these are actual problems I need to
> take care of, or just some kind of screw-up on the package build
> server.  This part of each message doesn't inspire confidence:
> 
> !!! Jail is newer than host. (Jail: 1300110, Host: 1300100) !!!
> !!! This is not supported. !!!
> !!! Host kernel must be same or newer than jail. !!!
> !!! Expect build failures. !!!

Yeah, this warning is seen all the time, and while it sounds very
ominous, there is not much you can do about it.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200822/7804e71e/attachment.sig>


More information about the freebsd-ports mailing list