Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest ArchLinuxARM uses gcc10 which fails to build kernel PKGBUILD #35

Open
kybr opened this issue Jul 30, 2021 · 3 comments
Open

latest ArchLinuxARM uses gcc10 which fails to build kernel PKGBUILD #35

kybr opened this issue Jul 30, 2021 · 3 comments

Comments

@kybr
Copy link

kybr commented Jul 30, 2021

Thank you so much for this work. I have one of these chromebooks and I really want to use Arch on it. If you can look at this, I would be most appreciative!

~

Building the new kernel with makepkg -si fails because the checksums are not correct. Ignoring the checksums with --skipchecksums leads to a kernel build failure. Here's an excerpt of your PKGBUILD file from a commit a couple of years ago:

...
_commit=8d57cc314fb6199846e5b30637aa0ed355a44704
_coreboot_commit=24cf824297f8a4bf5faf6711fbe296d8384bddc3
...
source=(  "https://chromium.googlesource.com/chromiumos/third_party/kernel/+archive/${_commit}.tar.gz"
          "https://chromium.googlesource.com/chromiumos/third_party/coreboot/+archive/${_coreboot_commit}.tar.gz"
...
sha256sums=('b32a477312ce3db1c289ad1e5c0456ef8553468be07854ef61a16870e502ca8e'
62
            '68f9050651c9714ce99c617a008e39266fb9887e6038dba8a7cfca223e01b989'

Those commits don't match the checksums. I don't currently know enough about google's git or ChromeOS to fix this myself. If you could take a look.. Thanks.

@kybr
Copy link
Author

kybr commented Jul 30, 2021

I see that there are a couple closed issues regarding checksums not matching. I will skip the checksums and focus on the kernel build error instead.

@kybr kybr changed the title PKGBUILD step fails; Checksums have changed latest ArchLinuxARM uses gcc10 which fails to build kernel PKGBUILD Jul 30, 2021
@kybr
Copy link
Author

kybr commented Jul 30, 2021

It seems that the latest ArchLinuxARM uses gcc10 and that does not build this old kernel. I think this old kernel is patched for 5 and 6, but not 10. The simplest solution might be to use an older "latest" ArchLinuxARM image from here:

http://tardis.tiny-vps.com/aarm/repos/

Alternatively, I could install an older gcc; I tried that with no luck.

@velocity37
Copy link

You don't need to build the kernel yourself if you don't want to. The script installs a precompiled one for you as part of the install process. If you only want the kernel and not the whole OS install then you can just pinch the kernel and kernel header tarballs from the URLs in the script.

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

No branches or pull requests

2 participants