Skip to content

Add initial support for testing sparc64 - #788

Merged
nathanchance merged 2 commits into
ClangBuiltLinux:mainfrom
nathanchance:sparc64
Nov 20, 2024
Merged

Add initial support for testing sparc64#788
nathanchance merged 2 commits into
ClangBuiltLinux:mainfrom
nathanchance:sparc64

Conversation

@nathanchance

Copy link
Copy Markdown
Member

This is now supported in tuxmake 1.28.4 and boot-utils.

Closes: #786

This is now supported in tuxmake 1.28.4 [1] and boot-utils [2].

Closes: ClangBuiltLinux#786
Link: https://gitlab.com/Linaro/tuxmake/-/merge_requests/456 [1]
Link: ClangBuiltLinux/boot-utils#122 [2]
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
@stylesen

Copy link
Copy Markdown

@nathanchance I tried running a build with target arch sparc with toolchain clang-nightly and looks like the builds are failing. I used the following command:

tuxsuite build --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref master --target-arch sparc --kconfig sparc64_defconfig --kernel-image image --toolchain clang-nightly kernel LLVM_IAS=0

and here is the build that failed - https://tuxapi.tuxsuite.com/v1/groups/tuxsuite/projects/senthil/builds/2p7PI8BD0clh5lasnq4BEqFPJF9

Am I missing any parameters here? I can see it is related to --target= as discussed in https://lore.kernel.org/lkml/20230419192446.GA1993276@dev-arch.thelio-3990X/T/

@nickdesaulniers

Copy link
Copy Markdown
Member

@stylesen The git repo you're trying to build, stable, does not yet have the necessary patches. linux-next does. Try building that instead. git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

@nickdesaulniers nickdesaulniers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never thought I'd see the day... 🤯 🍸

@stylesen

Copy link
Copy Markdown

@stylesen The git repo you're trying to build, stable, does not yet have the necessary patches. linux-next does. Try building that instead. git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

Yes that worked - https://tuxapi.tuxsuite.com/v1/groups/tuxsuite/projects/senthil/builds/2p7jwV8ZdlwI676YlBUShqG8Vhk

Thanks for explaining @nathanchance

@nathanchance
nathanchance merged commit 679bc68 into ClangBuiltLinux:main Nov 20, 2024
@nathanchance
nathanchance deleted the sparc64 branch November 22, 2024 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sparc testing

3 participants