Package Details: linux-lts61-headers 6.1.140-1

Git Clone URL: https://aur.archlinux.org/linux-lts61.git (read-only, click to copy)
Package Base: linux-lts61
Description: Headers and scripts for building modules for the LTS Linux kernel
Upstream URL: https://www.kernel.org
Licenses: GPL2
Submitter: severach
Maintainer: severach
Last Packager: severach
Votes: 13
Popularity: 0.075256
First Submitted: 2024-01-28 20:34 (UTC)
Last Updated: 2025-05-24 00:22 (UTC)

Latest Comments

1 2 Next › Last »

archdub commented on 2025-05-05 23:27 (UTC) (edited on 2025-05-06 01:05 (UTC) by archdub)

@severach I agree with what you said about native builds not suiting everyone. In my case I wanted to squeeze a bit more performance from my old hardware. My PKGBUILD is based on an old version of this one that I have been using for a long time. I did not notice that you added a patch for -std in the last version of the AUR PKGBUILD. I am going to delete my previous comment because it can cause confusions. Sorry for the noise.

severach commented on 2025-05-05 21:51 (UTC) (edited on 2025-05-05 21:51 (UTC) by severach)

native would make it incompatible with those who distribute common builds between different machines. I'm sure there's a few AUR packages that can use native, just not something as widely used as linux-lts. When I need permanent modifications that can't be upstreamed I just use sed scripts. I'll often add commented keywords, good formatting, and blank arrays to PKGBUILD to make changes and additions easy.

From what I read in the LKML and elsewhere, the kernel devs want -std specified everywhere. -std gets missed as new code gets added. gcc-15 upsetting the apple cart with --std=gnu23 will find all of these places and within a few versions the code or make will be patched to fix the -std. I expect to remove my patch soon.

ivladak commented on 2025-05-01 21:12 (UTC)

Fails to build with gcc 15.1.1:

In file included from ./include/uapi/linux/posix_types.h:5,
                 from ./include/uapi/linux/types.h:14,
                 from ./include/linux/types.h:6,
                 from arch/x86/realmode/rm/wakeup.h:11,
                 from arch/x86/realmode/rm/wakemain.c:2:
./include/linux/stddef.h:11:9: error: cannot use keyword ‘false’ as enumeration constant
   11 |         false   = 0,
      |         ^~~~~
./include/linux/stddef.h:11:9: note: ‘false’ is a keyword with ‘-std=c23’ onwards
./include/linux/types.h:30:33: error: ‘bool’ cannot be defined via ‘typedef’
   30 | typedef _Bool                   bool;
      |                                 ^~~~
./include/linux/types.h:30:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
./include/linux/types.h:30:1: warning: useless type name in empty declaration
   30 | typedef _Bool                   bool;
      | ^~~~~~~

jonlubas commented on 2025-01-25 14:45 (UTC) (edited on 2025-01-25 16:29 (UTC) by jonlubas)

cd linux-lts61,cat PKGBUILD,
"647F28654894E3BD457199BE38DBBDC86092693E  # Greg Kroah-Hartman"
gpg --search-keys 647F28654894E3BD457199BE38DBBDC86092693E
gpg: data source: https://185.125.188.27:443
(1) Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Greg Kroah-Hartman <gregkh@kernel.org>
    Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kro
      4096 bit RSA key 38DBBDC86092693E, 创建于:2011-09-23
Keys 1-1 of 1 for "647F28654894E3BD457199BE38DBBDC86092693E".  输入数字以选择,输入 N 翻页,输入 Q 退出 > 
select 1  Enter

jongeduard commented on 2024-06-30 16:15 (UTC) (edited on 2024-06-30 16:20 (UTC) by jongeduard)

@Aroun

Not using this package myself, but the fact that it does not preconfigure the parallelism for the user is a Good thing.

For super heavy building tasks like compilers or kernels, you always want to configure the number of threads on a per-machine base. Just like on Gentoo.

Running too many threads can not only make your CPU slow, but it can also make memory usage seriously high (really just monitor it). If you forget to have made enough RAM or swap space available you'll end up with trouble.

solsticedhiver commented on 2024-06-19 16:31 (UTC)

may be update the config to stay more in line with current linux package? I see mainly CONFIG_PREEEMPT not set. and CONFIG_HZ_1000 too

Aroun commented on 2024-06-02 13:49 (UTC)

Oh sorry about my ignorant question. Thank you for pointing me to the right direction. It took roughly one hour to build on my laptop. I’m glad I didn’t try with a single thread.

severach commented on 2024-05-10 18:34 (UTC)

Make all your builds parallel with the instructions on the Arch Wiki makepkg page. Let me know if this PKGBUILD does anything to block parallel builds.

Aroun commented on 2024-05-10 10:09 (UTC)

Is this build not parallelized? Why?