On Wed, 2022-07-06 at 20:59 -0700, Khem Raj wrote:
> Fixes build errors seen with clang
> error: the 'sse' unit is not supported with this instruction set
> 
> Signed-off-by: Khem Raj <raj.k...@gmail.com>
> ---
>  meta/recipes-extended/ltp/ltp_20220527.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-extended/ltp/ltp_20220527.bb 
> b/meta/recipes-extended/ltp/ltp_20220527.bb
> index b3ef8f59105..034b62b321e 100644
> --- a/meta/recipes-extended/ltp/ltp_20220527.bb
> +++ b/meta/recipes-extended/ltp/ltp_20220527.bb
> @@ -19,6 +19,7 @@ EXTRA_OECONF:append:libc-musl = " LIBS=-lfts "
>  # is set to -O0 or frame pointers have been enabled by 
> -fno-omit-frame-pointer
>  # earlier in CFLAGS, etc.
>  CFLAGS:append:x86-64 = " -fomit-frame-pointer"
> +TUNE_CCARGS:remove:x86 = "-mfpmath=sse"
>  
>  CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
>  CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"

I really don't like remove operations in OE-Core. If it is
incompatible, why is it there in the first place? Does that need to be
clang only?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#167762): 
https://lists.openembedded.org/g/openembedded-core/message/167762
Mute This Topic: https://lists.openembedded.org/mt/92222167/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to