* [PATCH] selftests: sched: drop unnecessary rpath from Makefile
@ 2026-02-10 18:51 Aleksei Oladko
2026-03-06 11:44 ` Aleksei Oladko
2026-03-15 19:11 ` Aleksei Oladko
0 siblings, 2 replies; 3+ messages in thread
From: Aleksei Oladko @ 2026-02-10 18:51 UTC (permalink / raw)
To: Shuah Khan, Ingo Molnar; +Cc: linux-kselftest, linux-kernel, Aleksei Oladko
The sched kselftest Makefile adds -Wl,-rpath=./ to the linker flags.
This rpath is not required, as the test binaries do not rely on shared
libraries from the build directory.
Signed-off-by: Aleksei Oladko <aleksey.oladko@virtuozzo.com>
---
tools/testing/selftests/sched/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/testing/selftests/sched/Makefile b/tools/testing/selftests/sched/Makefile
index 099ee9213557..0e4581ded9d6 100644
--- a/tools/testing/selftests/sched/Makefile
+++ b/tools/testing/selftests/sched/Makefile
@@ -4,8 +4,7 @@ ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),)
CLANG_FLAGS += -no-integrated-as
endif
-CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) -Wl,-rpath=./ \
- $(CLANG_FLAGS)
+CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) $(CLANG_FLAGS)
LDLIBS += -lpthread
TEST_GEN_FILES := cs_prctl_test
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] selftests: sched: drop unnecessary rpath from Makefile
2026-02-10 18:51 [PATCH] selftests: sched: drop unnecessary rpath from Makefile Aleksei Oladko
@ 2026-03-06 11:44 ` Aleksei Oladko
2026-03-15 19:11 ` Aleksei Oladko
1 sibling, 0 replies; 3+ messages in thread
From: Aleksei Oladko @ 2026-03-06 11:44 UTC (permalink / raw)
To: Shuah Khan, Ingo Molnar; +Cc: linux-kselftest, linux-kernel
Hi,
I just wanted to gently follow up to see if you had a chance to review
this patch. Please let me know if there is anything I can clarify or
improve.
Thanks!
On 2/10/26 7:51 PM, Aleksei Oladko wrote:
> The sched kselftest Makefile adds -Wl,-rpath=./ to the linker flags.
> This rpath is not required, as the test binaries do not rely on shared
> libraries from the build directory.
>
> Signed-off-by: Aleksei Oladko <aleksey.oladko@virtuozzo.com>
> ---
> tools/testing/selftests/sched/Makefile | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/sched/Makefile b/tools/testing/selftests/sched/Makefile
> index 099ee9213557..0e4581ded9d6 100644
> --- a/tools/testing/selftests/sched/Makefile
> +++ b/tools/testing/selftests/sched/Makefile
> @@ -4,8 +4,7 @@ ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),)
> CLANG_FLAGS += -no-integrated-as
> endif
>
> -CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) -Wl,-rpath=./ \
> - $(CLANG_FLAGS)
> +CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) $(CLANG_FLAGS)
> LDLIBS += -lpthread
>
> TEST_GEN_FILES := cs_prctl_test
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] selftests: sched: drop unnecessary rpath from Makefile
2026-02-10 18:51 [PATCH] selftests: sched: drop unnecessary rpath from Makefile Aleksei Oladko
2026-03-06 11:44 ` Aleksei Oladko
@ 2026-03-15 19:11 ` Aleksei Oladko
1 sibling, 0 replies; 3+ messages in thread
From: Aleksei Oladko @ 2026-03-15 19:11 UTC (permalink / raw)
To: Shuah Khan, Ingo Molnar; +Cc: linux-kselftest, linux-kernel
Hi,
I just wanted to gently follow up to see if you had a chance to review
this patch. Please let me know if there is anything I can clarify or
improve.
Thanks!
On 2/10/26 7:51 PM, Aleksei Oladko wrote:
> The sched kselftest Makefile adds -Wl,-rpath=./ to the linker flags.
> This rpath is not required, as the test binaries do not rely on shared
> libraries from the build directory.
>
> Signed-off-by: Aleksei Oladko <aleksey.oladko@virtuozzo.com>
> ---
> tools/testing/selftests/sched/Makefile | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/sched/Makefile b/tools/testing/selftests/sched/Makefile
> index 099ee9213557..0e4581ded9d6 100644
> --- a/tools/testing/selftests/sched/Makefile
> +++ b/tools/testing/selftests/sched/Makefile
> @@ -4,8 +4,7 @@ ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),)
> CLANG_FLAGS += -no-integrated-as
> endif
>
> -CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) -Wl,-rpath=./ \
> - $(CLANG_FLAGS)
> +CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) $(CLANG_FLAGS)
> LDLIBS += -lpthread
>
> TEST_GEN_FILES := cs_prctl_test
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-15 19:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-10 18:51 [PATCH] selftests: sched: drop unnecessary rpath from Makefile Aleksei Oladko
2026-03-06 11:44 ` Aleksei Oladko
2026-03-15 19:11 ` Aleksei Oladko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®