Package Details: linux-mainline-headers 6.12-1

Git Clone URL: https://aur.archlinux.org/linux-mainline.git (read-only, click to copy)
Package Base: linux-mainline
Description: Headers and scripts for building modules for the Linux Mainline kernel
Upstream URL: https://kernel.org/
Licenses: GPL-2.0-only
Submitter: miffe
Maintainer: miffe
Last Packager: miffe
Votes: 278
Popularity: 2.51
First Submitted: 2011-07-22 06:50 (UTC)
Last Updated: 2024-11-18 03:24 (UTC)

Required by (0)

Sources (2)

Pinned Comments

miffe commented on 2020-01-30 21:44 (UTC)

Repository here

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 76 Next › Last »

Talzahr commented on 2020-12-08 14:02 (UTC)

I think struct should be static?

It likely is that I think about it. I modified it to be as it was before the commit and allowed the build and boot to work. I'm still a C newbie.

jonathon commented on 2020-12-07 17:34 (UTC) (edited on 2020-12-07 17:34 (UTC) by jonathon)

I think struct should be static?

For those using the PKGBUILD directly, you can add the sed to your prepare() (bad practice though it is), e.g.:

diff --git i/PKGBUILD w/PKGBUILD
index a2343aa..db07c77 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -8,8 +8,8 @@

 pkgbase=linux-mainline               # Build stock -ARCH kernel
 #pkgbase=linux-custom       # Build kernel with a different name
-_tag=v5.10-rc6
-pkgver=5.10rc6
+_tag=v5.10-rc7
+pkgver=5.10rc7
 pkgrel=1
 pkgdesc="Linux Mainline"
 arch=(x86_64)
@@ -55,6 +55,8 @@ prepare() {
     patch -Np1 < "../$src"
   done

+  sed -i '830s/^static noinline/noinline/' mm/filemap.c
+
   echo "Setting config..."
   cp ../config .config
   make olddefconfig

Talzahr commented on 2020-12-07 10:37 (UTC) (edited on 2020-12-07 10:38 (UTC) by Talzahr)

While I use my own custom repo, be aware that there's an issue with $srcdir/mm/filemap.c in the latest rc7 prepatch. If you get a FAILED unresolved symbol __add_to_page_cache_locked error on building vmlinux then this commit needs to be reverted: https://github.com/torvalds/linux/commit/3351b16af4946fff0d46481d155fb91adb28b1

manual intervention (only do this if your build fails with that message):

git clone https://aur.archlinux.org/linux-mainline.git

cd linux-mainline

makepkg -so

sed -i 's/^struct noinline/noinline/' src/linux-mainline/mm/filemap.c

makepkg -ei

@jsutton you can git clone https://aur.archlinux.org/linux-mainline.git (yay -G linux-mainline will also work) and modify the config yourself. Then run makepkg -si from the same directory as the config and PKGBUILD.

Muncrief commented on 2020-08-25 20:16 (UTC)

VFIO passthrough is broken on 5.9 rc1/rc2, but the following patch fixes it:

https://bugzilla.kernel.org/attachment.cgi?id=292167

And here's the bug report it comes from:

https://bugzilla.kernel.org/show_bug.cgi?id=209025

jsutton commented on 2020-08-07 01:15 (UTC)

They are in the git repo for core/linux. Thanks for the heads-up.

miffe commented on 2020-08-07 00:35 (UTC)

@jsutton: I don't have the time to maintain a custom config. Get that change in the core/linux package and it will show up here. I merge the config changes for every rc1.

jsutton commented on 2020-08-06 02:29 (UTC) (edited on 2020-08-06 02:29 (UTC) by jsutton)

Any possibility to have the following added to the kernel config?

CONFIG_SND_SOC_AMD_RENOIR=m

CONFIG_SND_SOC_AMD_RENOIR_MACH=m

CONFIG_SENSORS_AMD_ENERGY=m

These are important for Ryzen 4000 Mobile APUs.

Thanks!

NhaMeh commented on 2020-07-03 15:01 (UTC)

@ekollof then why don't you? https://wiki.archlinux.org/index.php/Makepkg#Parallel_compilation

ekollof commented on 2020-07-03 09:39 (UTC)

Why are MAKEFLAGS not used in the PKGBUILD? I'd like to use parallel make to speed up the build.