lang/gcc11-devel: make GCC a build dependency only

Piotr Kubaj pkubaj at anongoth.pl
Sat Feb 27 14:19:38 UTC 2021


Hello,

it looks like gcc is necessary in runtime after all:
Error: /usr/local/lib/gcc11/gcc/powerpc64le-portbld-freebsd13.0/11.0.0/plugin/libcc1plugin.so.0.0.0 is linked to /usr/local/lib/gcc10/libstdc++.so.6 from lang/gcc10 but it is not declared as a dependency

On 21-02-27 09:33:35, Gerald Pfeifer wrote:
> 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

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20210227/987dc079/attachment.sig>


More information about the freebsd-ppc mailing list