[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-igt-dev
Subject: Re: [igt-dev] [PATCH v3 3/7] lib/igt_x86.c: Fix musl/uclibc build
From: Kamil Konieczny <kamil.konieczny () linux ! intel ! com>
Date: 2023-10-31 17:59:28
Message-ID: 20231031180237.nw6vyl4s6fu6c622 () kamilkon-desk ! igk ! intel ! com
[Download RAW message or body]
Hi Bernd,
On 2023-10-30 at 20:58:05 +0100, Bernd Kuhls wrote:
> From: Stefano Ragni <st3r4g@protonmail.com>
>
> Original patch was added to void-linux:
> https://github.com/void-linux/void-packages/commit/ddfc1f66a0c571b420303c33aed29fd38ace4fc7
>
> Fixes build error:
> ../lib/igt_x86.c:295:6: error: ‘ifunc' is not supported on this target
> 295 | void igt_memcpy_from_wc(void *dst, const void *src, unsigned long len)
>
> Bug report with request to split the original patch into some
> functional changes:
> Link: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/138
>
> Signed-off-by: Stefano Ragni <st3r4g@protonmail.com>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> ---
> v3: no changes
>
> lib/igt_x86.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/igt_x86.c b/lib/igt_x86.c
> index 6ac700df0..8c102fd13 100644
> --- a/lib/igt_x86.c
> +++ b/lib/igt_x86.c
> @@ -190,7 +190,7 @@ char *igt_x86_features_to_string(unsigned features, char *line)
> }
> #endif
>
> -#if defined(__x86_64__) && !defined(__clang__)
> +#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__) && !defined(__UCLIBC__)
> #pragma GCC push_options
> #pragma GCC target("sse4.1")
> #pragma GCC diagnostic ignored "-Wpointer-arith"
> --
> 2.39.2
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic