[oe] [meta-oe][PATCH] gperftools: add the setting of COMPATIBLE_HOST back

Khem Raj raj.khem at gmail.com
Tue Apr 10 04:55:04 UTC 2018


On 4/9/18 7:46 PM, Qi.Chen at windriver.com wrote:
> From: Chen Qi <Qi.Chen at windriver.com>
> 
> This setting was deleted, but on mips and glibc, we still have this
> problem. So add this setting back, but limit it to glibc.
> 
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
>  meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
> index ecac6c5cc..1d562adda 100644
> --- a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
> +++ b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
> @@ -19,6 +19,10 @@ inherit autotools
>  
>  S = "${WORKDIR}/git"
>  
> +# On mips, we have the following error.
> +#   do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008
> +#   Segmentation fault (core dumped)
> +COMPATIBLE_HOST_libc-glibc = "(i.86|x86_64|powerpc|powerpc64|arm|aarch64).*-linux*"

perhaps setting compatible host to null when its mips is better option
since everything else is there in this regexp

COMPATIBLE_HOST_mipsarch_libc-glibc = "null"

>  # Disable thumb1
>  # {standard input}: Assembler messages:
>  # {standard input}:434: Error: lo register required -- `ldr pc,[sp]'
> 




More information about the Openembedded-devel mailing list