From owner-freebsd-ppc@freebsd.org Sat Feb 27 08:33:46 2021 Return-Path: Delivered-To: freebsd-ppc@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 6AB425602C6 for ; Sat, 27 Feb 2021 08:33:46 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dnftt5YH1z4bg9 for ; Sat, 27 Feb 2021 08:33:42 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 5431233E86; Sat, 27 Feb 2021 03:33:41 -0500 (EST) Received: from [192.168.1.5] (77.118.111.172.wireless.dyn.drei.com [77.118.111.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id A5AE733E7D; Sat, 27 Feb 2021 03:33:40 -0500 (EST) Date: Sat, 27 Feb 2021 09:33:35 +0100 (CET) From: Gerald Pfeifer To: Piotr Kubaj , freebsd-ppc@freebsd.org Subject: lang/gcc11-devel: make GCC a build dependency only Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4Dnftt5YH1z4bg9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of gerald@pfeifer.com designates 209.68.5.143 as permitted sender) smtp.mailfrom=gerald@pfeifer.com X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.68.5.143:from]; FREEFALL_USER(0.00)[gerald]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:hamza.pair.com]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[pfeifer.com]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[209.68.5.143:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7859, ipnet:209.68.0.0/18, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ppc] X-Mailman-Approved-At: Sat, 27 Feb 2021 16:51:04 +0000 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 08:33:46 -0000 Hi folks, in some cases lang/gcc11-devel on powerpc builds with GCC and I realized that could/should be a build dependency only. Am I missing something, or should I make that change? It would be great if you could test and confirm on a relevant system. Thanks, Gerald Index: lang/gcc11-devel/Makefile =================================================================== --- lang/gcc11-devel/Makefile (revision 566672) +++ lang/gcc11-devel/Makefile (working copy) @@ -69,10 +69,10 @@ . if defined(PPC_ABI) && ${PPC_ABI} == ELFv2 CONFIGURE_ARGS+= --with-abi=elfv2 . endif -USE_GCC= yes +USE_GCC= yes:build .elif ${ARCH} == powerpc64le -USE_GCC= yes +USE_GCC= yes:build .endif LANGUAGES:= c,c++,objc,fortran,jit From owner-freebsd-ppc@freebsd.org Sat Feb 27 14:19:38 2021 Return-Path: Delivered-To: freebsd-ppc@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 2E8D2567EED for ; Sat, 27 Feb 2021 14:19:38 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnpZ060Zbz4vN9 for ; Sat, 27 Feb 2021 14:19:36 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [192.168.1.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id CCE80C05EA; Sat, 27 Feb 2021 15:19:27 +0100 (CET) Date: Sat, 27 Feb 2021 15:19:26 +0100 From: Piotr Kubaj To: Gerald Pfeifer Cc: freebsd-ppc@freebsd.org Subject: Re: lang/gcc11-devel: make GCC a build dependency only Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6vsqPtuZ6A/D5tOH" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4DnpZ060Zbz4vN9 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.40 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[pkubaj]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:46.248.190.61]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MID_RHS_NOT_FQDN(0.50)[]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[46.248.190.61:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[46.248.190.61:from]; NEURAL_HAM_SHORT(-1.00)[-0.996]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[anongoth.pl,reject]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:47544, ipnet:46.248.160.0/19, country:PL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-ppc] X-Mailman-Approved-At: Sat, 27 Feb 2021 16:51:13 +0000 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 14:19:38 -0000 --6vsqPtuZ6A/D5tOH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, it looks like gcc is necessary in runtime after all: Error: /usr/local/lib/gcc11/gcc/powerpc64le-portbld-freebsd13.0/11.0.0/plug= in/libcc1plugin.so.0.0.0 is linked to /usr/local/lib/gcc10/libstdc++.so.6 f= rom lang/gcc10 but it is not declared as a dependency On 21-02-27 09:33:35, Gerald Pfeifer wrote: > Hi folks, >=20 > in some cases lang/gcc11-devel on powerpc builds with GCC and I=20 > realized that could/should be a build dependency only. >=20 > Am I missing something, or should I make that change? >=20 > It would be great if you could test and confirm on a relevant > system. >=20 > Thanks, Gerald >=20 >=20 > Index: lang/gcc11-devel/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- lang/gcc11-devel/Makefile (revision 566672) > +++ lang/gcc11-devel/Makefile (working copy) > @@ -69,10 +69,10 @@ > . if defined(PPC_ABI) && ${PPC_ABI} =3D=3D ELFv2 > CONFIGURE_ARGS+=3D --with-abi=3Delfv2 > . endif > -USE_GCC=3D yes > +USE_GCC=3D yes:build > =20 > .elif ${ARCH} =3D=3D powerpc64le > -USE_GCC=3D yes > +USE_GCC=3D yes:build > .endif > =20 > LANGUAGES:=3D c,c++,objc,fortran,jit --=20 --6vsqPtuZ6A/D5tOH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmA6VO4ACgkQelmbhSCD nJ06BA/+NcfYsguaFCg0Drb8bk2Klq4jsAKgJ4+eqBcgfcKKYc4qWhFwx5uCOzwz M3W6ulLCQFIjT8qXbmuch+9TRby83ch3h8MeXZA9j/yM2I7da+PssV96J+HQRU/b K/04GBW7KB4uoSKmp3Yidcfb/FUqPQjxCBOBgazku/LxHWZJU7uCn7va9tAnEVaJ 3bNQq/0S3dZy0AwZDFW/jdFtBYdw/hRvvI04x+O8UHBkt7yE1AU+ZB5rFUqJe7OX upJ70622p6XM/j66jjGeRMN3MuB3vb/gOjYK10Xz/OFjeSgKff/MdYdpluq+gVuh XUaKpu4e6ATVHZY/P4+nLbVUS3gl07ohw/qfySJqF2guY07ZKETJFCb1f8jjXrEI TDqYkMZSQEePRoa6mGFyykPLSgNVSIHXvaaX6sgjZcTuyIk4GKXQaj4q+nqpiQbt Qx2ti/XQD+Jez4+r52YpieKxppIxvPgPsmlA6FCk8WzbzyEfULou1TajdiKKC1/N gnmAxskAgE346q9hmCz6NQIYBjc4RIspQlgoqSDrcZ5ycwFO88ITeNwnHymsMgfY mWUnHG81ZxOSBuU6in7KMhBuWP/d7hph1uCPBoVxD0J9XUdJWGmwbY9oKaPxZQC7 HYj+ulM4wzCiBEGhy9PejbCjR3b+VNv6g9WYfaZWPDS+MB/Hwf8= =yHbs -----END PGP SIGNATURE----- --6vsqPtuZ6A/D5tOH--