[OE-core] [PATCH] gcc-sanitizers: Update supported architectures

Khem Raj raj.khem at gmail.com
Thu Apr 5 00:25:04 UTC 2018


On 4/4/18 9:08 AM, Dan McGregor wrote:
> From: Dan McGregor <dan.mcgregor at usask.ca>
> 
> aarch64 has been supported since GCC 5.1, sparc has been supported
> since 4.9, and S390 since 7.1.
> 
> Also mark as broken entirely with musl.
> 

this change is ok to apply.

> Signed-off-by: Dan McGregor <dan.mcgregor at usask.ca>
> ---
>  meta/recipes-devtools/gcc/gcc-sanitizers.inc | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
> index 3183b29dec9..3b7e0028f2b 100644
> --- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc
> +++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
> @@ -61,15 +61,19 @@ RDEPENDS_libubsan-dev += "${PN}"
>  RDEPENDS_liblsan-dev += "${PN}"
>  RDEPENDS_libtsan-dev += "${PN}"
>  RRECOMMENDS_${PN} += "libasan libubsan"
> -RRECOMMENDS_${PN}_append_x86-64 = " liblsan libtsan"
>  RRECOMMENDS_${PN}_append_x86 = " liblsan"
> +RRECOMMENDS_${PN}_append_x86-64 = " liblsan libtsan"
> +RRECOMMENDS_${PN}_append_powerpc64 = " liblsan libtsan"
> +RRECOMMENDS_${PN}_append_aarch64 = " liblsan libtsan"
>  
>  do_package_write_ipk[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
>  do_package_write_deb[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
>  do_package_write_rpm[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
>  
> -# MIPS, aarch64, and SPARC are broken.
> -COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm).*-linux'
> +# Only x86, powerpc, sparc, s390, arm, and aarch64 are supported
> +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64).*-linux'
> +# musl is currently broken entirely
> +COMPATIBLE_HOST_libc-musl = 'null'
>  
>  FILES_libasan += "${libdir}/libasan.so.*"
>  FILES_libasan-dev += "\
> 




More information about the Openembedded-core mailing list