ClangBuiltLinux / continuous-integration

Continuous integration of latest Linux kernel with daily build of Clang & LLVM tools
https://travis-ci.com/ClangBuiltLinux/continuous-integration
Apache License 2.0
44 stars 18 forks source link

Fix x86_64 on linux/linux-next #110

Closed nathanchance closed 5 years ago

nathanchance commented 5 years ago

Fixes https://github.com/ClangBuiltLinux/linux/issues/6#issuecomment-451676502.

See the commits for more information.

Presubmit: https://travis-ci.com/nathanchance/continuous-integration/builds/96427932

dileks commented 5 years ago

On Mon, Jan 7, 2019 at 6:09 AM Nathan Chancellor notifications@github.com wrote:

Fixes ClangBuiltLinux/linux#6 (comment) https://github.com/ClangBuiltLinux/linux/issues/6#issuecomment-451676502 .

See the commits for more information.

Presubmit: https://travis-ci.com/nathanchance/continuous-integration/builds/96427932

You can view, comment on, or merge this pull request online at:

https://github.com/ClangBuiltLinux/continuous-integration/pull/110 Commit Summary

  • patches: linux: x86_64: Fix build on 5.0-rc1
  • patches: linux-next: x86_64: Fix build

File Changes

Patch Links:

- https://github.com/ClangBuiltLinux/continuous-integration/pull/110.patch

https://github.com/ClangBuiltLinux/continuous-integration/pull/110.diff

Hi Nathan,

Thanks for taking care.

Yeah, I saw that two put_user_goto commits by Linus himself and expected a breakage with clang.

This is the 1st time I looked into a travis log of cbl-ci. It's nice to see it boots in QEMU.

Is it possible to have a verbose output of the patches applied?

524 + patches_folder=../patches/linux-next/x86_64 525 + [[ -d ../patches/linux-next/x86_64 ]] 526 + git apply -3 ../patches/linux-next/x86_64/x86-series.patch

Something like this...?

sdi@iniza:~/src/linux-kernel/cbl-ci$ git diff diff --git a/driver.sh b/driver.sh index 2378ce3e3969..5303d32b9ecc 100755 --- a/driver.sh +++ b/driver.sh @@ -161,7 +161,7 @@ build_linux() { git show -s | cat

patches_folder=../patches/${REPO}/${ARCH}

This diff is on top of...

sdi@iniza:~/src/linux-kernel/cbl-ci$ git log --oneline -1 9fa6e308d4e0 (HEAD -> master, origin/master, origin/HEAD) Merge pull request #108 from shenki/remove-naked-function-usage-patch

...after your Git pull request is pushed to HEAD, of course.

Thanks.

Regards,

[1] https://travis-ci.com/nathanchance/continuous-integration/jobs/168523756 [2] https://travis-ci.com/nathanchance/continuous-integration/jobs/168523756#L524

nathanchance commented 5 years ago

Don't merge until I have the ability to push the current HEAD away because it was only needed on next-20180107; I had hoped this would be merged last night.