- Name/IRC nick: flypig
- Topic: Updating the Linux kernel headers
- Some details about the topic: Currently the Sailfish OS repos contain kernel headers for Linux 3.18. Is there scope for them to be updated in future releases? The motivation is that Gecko ESR 91 requires the
linux/membarrier.hheader (specifically__NR_membarrier) which was introduced in kernel headers 4.3. Gecko checks at runtime that the capabilities are available before using them. With thanks to @mal for his help with this.
Related links:- Upstream change that makes this useful: ⚙ D88395 Bug 1661016: aarch64: Invalidate icache when compiling on a background thread; r=nbp,lth
- Sailfish kernel-headers repo: GitHub - sailfishos/kernel-headers
- Sailfish pre-build linux 5.4 headers: Show nemo:devel:hw:native-common / kernel-headers - SailfishOS Open Build Service
- Comparing Linux headers: __NR_membarrier identifier - Linux source code (v4.3) - Bootlin
- Background: Gecko-dev Diary
- Approx. time needed: 10 mins
- Substitute (optional): I’ll do my best to be present; if @mal’s around he knows the background.
8 Likes