Date: Sat, 10 Oct 2020 22:50:22 +0200 From: Thierry Thomas <thierry@freebsd.org> To: freebsd-ports@freebsd.org Subject: Re: OpenJDK ports and 13-CURRENT Message-ID: <20201010205022.GA93284@graf.pompo.net> In-Reply-To: <20201010194926.jnypzmbpu33wilbl@mutt-hbsd> References: <20201010190337.qtvivmpmzw4gtk3h@mutt-hbsd> <4ADAFC01-2148-48BE-AAE8-5E6A269C14CE@FreeBSD.org> <20201010192334.auepsizn3w57soes@mutt-hbsd> <8DD818E8-2569-4E2F-8BAD-143F8AE7FAE5@FreeBSD.org> <20201010194926.jnypzmbpu33wilbl@mutt-hbsd>
next in thread | previous in thread | raw e-mail | index | archive | help
--KsGdsel6WgEHnImy Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Le sam. 10 oct. 20 =E0 21:49:26 +0200, Shawn Webb <shawn.webb@hardenedbsd.o= rg> =E9crivait=A0: > > Ah, that is -fno-common fallout, strange that there is no build breakage > > reported in the FreeBSD ports build cluster? > >=20 > > From gcc 10 and clang 11 onwards, -fno-common is the default (this is > > really a historical mistake, -fcommon should never have been default). > >=20 > > It can result in link errors, if duplicate symbols exist in object > > files. There is a suprising amount of software that makes this very > > basic mistake! > >=20 > > The quick way to work around these errors is to set -fcommon in CFLAGS, > > which will basically fudge around the actual issue. The better way is to > > get rid of the duplicated symbols. This is usually easy, except that > > Java ports tend to take ages to build. :) I'll submit a patch when my > > machine's finished crunching through it. >=20 > Yup. Another victim: print/tex-luatex: >=20 > https://git-01.md.hardenedbsd.org/HardenedBSD/hardenedbsd-ports/commit/22= 9b7663bc82ff7e471dc1e19662f68d4226984a There is a meta-PR for that: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248756 Regards. --=20 Th. Thomas. --KsGdsel6WgEHnImy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJfgh6OXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFNTM2QkU4NTM4NTM5OUQwMEI2RkFBNzZG MUM1MTZCM0M4MzU5NzUzAAoJEPHFFrPINZdTHmAQALyxM26C7X7WlRSJhprOwasG zmBzNVOLTkHXM5j7QnukYOqtgQ9zuokiVsZwpN4ZqFHvUWBVej6Dq6ninNlE84N+ Rx753avDS1c8Vi8/MFx++2jOKX0/BFHotOpO2cPXFEGKOEGHY+/3FXnfZ3Ez7Dk5 k7H4gLH7u6fa+aIECww19Li2imIp3vAa4MvT2eiuOKYYTvZcBH3lXRSM/1XEV9Hj yGvRc6Tr4Fzg9dzj/qKCIfTWY4SE3fRbO0e1Vd7dURJhbeLz1Vg+DwL/LNNqqGBF DO6s+JxDpKgC18Sp9d7GUD1LoYsWy5L5FdT5Sa7fywM6+GgDvLERNs9JQ5Aps4dd 8XYGE/cWLPjKsHIVeSKV33hjawvQVkrJNJ0XTBNeKMWV4dRiMJTC90cq+i95kTf7 o8AvJDO+wAtJkAhOyA9/SkbpGTiSM0nGU21344kPv/kQA7lZQVCvcd/KP8e6rqDe wuqjTCfhmKMDFscHkSe6Lyudkq3F2D7rIkAqJ/a+8s/GG4WizZMuhyhAYmc7e4i1 FHYqcz9s2G+CpCE/xd2RdSbasboUB1QPd5ZKXsP6x+HwpmloZiRQgKsD+YR/lfXm RMfrt1Yj81r0hF0k/85Tawqnyf7dEvIeN9aaEj2H0W2rDGYfzqJP287bLCdAuW85 1gglWszoSyE3esK9lGVh =8BVl -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201010205022.GA93284>