Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2020 16:22:51 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg-fallout: duplicate symbols?
Message-ID:  <9A44A7E3-B911-4D40-B34F-FC1A9E844D31@FreeBSD.org>
In-Reply-To: <slrnrk29h7.2oqq.naddy@lorvorc.mips.inka.de>
References:  <slrnrk29h7.2oqq.naddy@lorvorc.mips.inka.de>

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

--Apple-Mail=_DC73F1F1-794E-4652-AEBB-1F4192D15149
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 22 Aug 2020, at 16:05, Christian Weisgerber <naddy@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


--Apple-Mail=_DC73F1F1-794E-4652-AEBB-1F4192D15149
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCX0EqOwAKCRCwXqMKLiCW
o6uCAKCYWiLba100SjC8ob0scrUwp8JC0wCgxIXH42EkKqcuUkv3/q0RLunN/j4=
=y6Jp
-----END PGP SIGNATURE-----

--Apple-Mail=_DC73F1F1-794E-4652-AEBB-1F4192D15149--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9A44A7E3-B911-4D40-B34F-FC1A9E844D31>