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.
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) |
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 76 Next › Last »
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.
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
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.
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:
They are in the git repo for core/linux. Thanks for the heads-up.
@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.
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!
@ekollof then why don't you? https://wiki.archlinux.org/index.php/Makepkg#Parallel_compilation
Why are MAKEFLAGS not used in the PKGBUILD? I'd like to use parallel make to speed up the build.
Pinned Comments
miffe commented on 2020-01-30 21:44 (UTC)
Repository here