From owner-freebsd-ports@freebsd.org Sat Oct 10 20:50:31 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DF32342A608 for ; Sat, 10 Oct 2020 20:50:31 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from edna.lautre.net (edna.lautre.net [80.67.160.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "lautre.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C7xsf5D72z4HRh for ; Sat, 10 Oct 2020 20:50:30 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from graf.pompo.net (graf.pompo.net [78.225.128.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by edna.lautre.net (Postfix) with ESMTPSA id 62D1C1198F7 for ; Sat, 10 Oct 2020 22:50:23 +0200 (CEST) Received: by graf.pompo.net (Postfix, from userid 1001) id C12E865BD64; Sat, 10 Oct 2020 22:50:22 +0200 (CEST) Date: Sat, 10 Oct 2020 22:50:22 +0200 From: Thierry Thomas To: freebsd-ports@freebsd.org Subject: Re: OpenJDK ports and 13-CURRENT Message-ID: <20201010205022.GA93284@graf.pompo.net> Mail-Followup-To: freebsd-ports@freebsd.org 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <20201010194926.jnypzmbpu33wilbl@mutt-hbsd> X-Operating-System: FreeBSD 12.1-STABLE amd64 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.tKjAnXLs: X-PGP: 0xF1C516B3C8359753 X-Rspamd-Queue-Id: 4C7xsf5D72z4HRh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of thierry@pompo.net designates 80.67.160.88 as permitted sender) smtp.mailfrom=thierry@pompo.net X-Spamd-Result: default: False [-4.41 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[thierry]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.989]; NEURAL_HAM_SHORT(-0.35)[-0.353]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.97)[-0.972]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[thierry@freebsd.org,thierry@pompo.net]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20766, ipnet:80.67.160.0/19, country:FR]; FROM_NEQ_ENVFROM(0.00)[thierry@freebsd.org,thierry@pompo.net]; MAILMAN_DEST(0.00)[freebsd-ports]; TO_DOM_EQ_FROM_DOM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2020 20:50:31 -0000 --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 =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--