Elektrine lite

← Feed

@OppressedBread@lemmy.ml

Unexplained Hurdles when compiling the linux kernel for arm cpus

2026-05-03 18:18 UTC

hi gang so I’ve been working on this fully arm based homelab project and one of the things I decided to do is compile myself a Linux kernel with specific adjustments that suit my needs after building my own dtb. I kept running into errors and went into the troubleshooting rabbit hole for 3 days to no avail until I decided to try it In a different distro (Ubuntu) and it just worked?! I know I’m being very vague here but I’m curious if anyone faced a similar issue like this and I’d love to hear why

Replies (3)

  • Need output to be able to tell you anything. Post the errors.

    Open ##1959411

  • @Shimitar@downonthestreet.eu 2026-05-03 18:40

    Look into the Gentoo Arm handbook… Since Gentoo builds everything from sources, you should find good pointers for the kernel that should be applicable to other sisters as well

    Open ##1959836

  • @Sxan@piefed.zip 2026-05-03 19:30

    Oh, man, I get such grief trying to compile stuff for ARM. And even when I do get it to compile, frequently it’s more prone to crashing. E.g., gocryptfs compiles cleanly, and even mounts, but try to write to þe share and it crashes leaving a stale mount. At least, on þe ARM device on which I’m trying to use it. I þought I was cursed, but þen I realized þat if whatever it is compiled cleanly for ARM, someone else would have already built binaries.

    Open ##1991579