* [PATCH] scripts/min-tool-version.sh: Raise min clang version to 18.0.0 for loongarch
@ 2024-01-08 3:31 WANG Rui
2024-01-08 16:31 ` Nick Desaulniers
2024-01-08 16:37 ` Nathan Chancellor
0 siblings, 2 replies; 4+ messages in thread
From: WANG Rui @ 2024-01-08 3:31 UTC (permalink / raw)
To: Huacai Chen
Cc: WANG Xuerui, llvm, linux-kernel, loongarch, loongson-kernel,
WANG Rui, Nathan Chancellor, Tiezhu Yang
The existing mainline clang development version encounters diffculties
compiling the LoongArch kernel module. It is anticipated that this issue
will be resolved in the upcoming 18.0.0 release. To prevent user
confusion arising from broken builds, it is advisable to raise the
minimum required clang version for LoongArch to 18.0.0.
Suggested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: WANG Rui <wangrui@loongson.cn>
---
scripts/min-tool-version.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh
index c62066825f53..9faa4d3d91e3 100755
--- a/scripts/min-tool-version.sh
+++ b/scripts/min-tool-version.sh
@@ -26,6 +26,8 @@ gcc)
llvm)
if [ "$SRCARCH" = s390 ]; then
echo 15.0.0
+ elif [ "$SRCARCH" = loongarch ]; then
+ echo 18.0.0
else
echo 11.0.0
fi
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scripts/min-tool-version.sh: Raise min clang version to 18.0.0 for loongarch
2024-01-08 3:31 [PATCH] scripts/min-tool-version.sh: Raise min clang version to 18.0.0 for loongarch WANG Rui
@ 2024-01-08 16:31 ` Nick Desaulniers
2024-01-08 16:37 ` Nathan Chancellor
1 sibling, 0 replies; 4+ messages in thread
From: Nick Desaulniers @ 2024-01-08 16:31 UTC (permalink / raw)
To: WANG Rui
Cc: Huacai Chen, WANG Xuerui, llvm, linux-kernel, loongarch,
loongson-kernel, Nathan Chancellor, Tiezhu Yang
On Sun, Jan 7, 2024 at 7:32 PM WANG Rui <wangrui@loongson.cn> wrote:
>
> The existing mainline clang development version encounters diffculties
s/diffculties/difficulties/
> compiling the LoongArch kernel module. It is anticipated that this issue
> will be resolved in the upcoming 18.0.0 release. To prevent user
> confusion arising from broken builds, it is advisable to raise the
> minimum required clang version for LoongArch to 18.0.0.
>
> Suggested-by: Nathan Chancellor <nathan@kernel.org>
> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
> Signed-off-by: WANG Rui <wangrui@loongson.cn>
Thanks for all of the work here; it's nice to observe the progress.
Acked-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://github.com/ClangBuiltLinux/linux/issues/1941
> ---
> scripts/min-tool-version.sh | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh
> index c62066825f53..9faa4d3d91e3 100755
> --- a/scripts/min-tool-version.sh
> +++ b/scripts/min-tool-version.sh
> @@ -26,6 +26,8 @@ gcc)
> llvm)
> if [ "$SRCARCH" = s390 ]; then
> echo 15.0.0
> + elif [ "$SRCARCH" = loongarch ]; then
> + echo 18.0.0
> else
> echo 11.0.0
> fi
> --
> 2.43.0
>
>
--
Thanks,
~Nick Desaulniers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scripts/min-tool-version.sh: Raise min clang version to 18.0.0 for loongarch
2024-01-08 3:31 [PATCH] scripts/min-tool-version.sh: Raise min clang version to 18.0.0 for loongarch WANG Rui
2024-01-08 16:31 ` Nick Desaulniers
@ 2024-01-08 16:37 ` Nathan Chancellor
2024-01-09 1:40 ` Huacai Chen
1 sibling, 1 reply; 4+ messages in thread
From: Nathan Chancellor @ 2024-01-08 16:37 UTC (permalink / raw)
To: WANG Rui
Cc: Huacai Chen, WANG Xuerui, llvm, linux-kernel, loongarch,
loongson-kernel, Tiezhu Yang
On Mon, Jan 08, 2024 at 11:31:38AM +0800, WANG Rui wrote:
> The existing mainline clang development version encounters diffculties
> compiling the LoongArch kernel module. It is anticipated that this issue
> will be resolved in the upcoming 18.0.0 release. To prevent user
> confusion arising from broken builds, it is advisable to raise the
> minimum required clang version for LoongArch to 18.0.0.
>
> Suggested-by: Nathan Chancellor <nathan@kernel.org>
> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
> Signed-off-by: WANG Rui <wangrui@loongson.cn>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Thanks a lot for all the work driving getting everything to work
properly with LLVM!
> ---
> scripts/min-tool-version.sh | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh
> index c62066825f53..9faa4d3d91e3 100755
> --- a/scripts/min-tool-version.sh
> +++ b/scripts/min-tool-version.sh
> @@ -26,6 +26,8 @@ gcc)
> llvm)
> if [ "$SRCARCH" = s390 ]; then
> echo 15.0.0
> + elif [ "$SRCARCH" = loongarch ]; then
> + echo 18.0.0
> else
> echo 11.0.0
> fi
> --
> 2.43.0
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scripts/min-tool-version.sh: Raise min clang version to 18.0.0 for loongarch
2024-01-08 16:37 ` Nathan Chancellor
@ 2024-01-09 1:40 ` Huacai Chen
0 siblings, 0 replies; 4+ messages in thread
From: Huacai Chen @ 2024-01-09 1:40 UTC (permalink / raw)
To: Nathan Chancellor
Cc: WANG Rui, WANG Xuerui, llvm, linux-kernel, loongarch,
loongson-kernel, Tiezhu Yang
Applied with R-b/A-b tags and fix typo together, thanks.
Huacai
On Tue, Jan 9, 2024 at 12:38 AM Nathan Chancellor <nathan@kernel.org> wrote:
>
> On Mon, Jan 08, 2024 at 11:31:38AM +0800, WANG Rui wrote:
> > The existing mainline clang development version encounters diffculties
> > compiling the LoongArch kernel module. It is anticipated that this issue
> > will be resolved in the upcoming 18.0.0 release. To prevent user
> > confusion arising from broken builds, it is advisable to raise the
> > minimum required clang version for LoongArch to 18.0.0.
> >
> > Suggested-by: Nathan Chancellor <nathan@kernel.org>
> > Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
> > Signed-off-by: WANG Rui <wangrui@loongson.cn>
>
> Reviewed-by: Nathan Chancellor <nathan@kernel.org>
>
> Thanks a lot for all the work driving getting everything to work
> properly with LLVM!
>
> > ---
> > scripts/min-tool-version.sh | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh
> > index c62066825f53..9faa4d3d91e3 100755
> > --- a/scripts/min-tool-version.sh
> > +++ b/scripts/min-tool-version.sh
> > @@ -26,6 +26,8 @@ gcc)
> > llvm)
> > if [ "$SRCARCH" = s390 ]; then
> > echo 15.0.0
> > + elif [ "$SRCARCH" = loongarch ]; then
> > + echo 18.0.0
> > else
> > echo 11.0.0
> > fi
> > --
> > 2.43.0
> >
> >
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-01-09 1:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-08 3:31 [PATCH] scripts/min-tool-version.sh: Raise min clang version to 18.0.0 for loongarch WANG Rui
2024-01-08 16:31 ` Nick Desaulniers
2024-01-08 16:37 ` Nathan Chancellor
2024-01-09 1:40 ` Huacai Chen
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®