On Wed, Feb 12, 2020 at 10:38:22PM -0800, Khem Raj wrote:
> gold is not supporting risc-v yet and, this will cause subltle errors
> during build e.g. autoconf not finding certain features like visibility
> and it could take a while to unwind the problem. Its better to error out
> early
>...
> @@ -163,3 +165,8 @@ inherit update-alternatives
>  ALTERNATIVE_PRIORITY = "100"
>  
>  ALTERNATIVE_${PN}_class-target = "${USE_ALTERNATIVES_FOR}"
> +
> +python () {
> +    if bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', True, False, d):
> +        bb.fatal("Gold linker does not _yet_ support RISC-V architecture 
> please remove ld-is-gold from DISTRO_FEATURES")
> +}

This lacks some check for RISC-V,
currently it errors for all architectures.

cu
Adrian
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to