Package Details: linux-lts61-docs 6.1.136-1

Git Clone URL: https://aur.archlinux.org/linux-lts61.git (read-only, click to copy)
Package Base: linux-lts61
Description: Documentation for the LTS Linux kernel
Upstream URL: https://www.kernel.org
Licenses: GPL2
Submitter: severach
Maintainer: severach
Last Packager: severach
Votes: 13
Popularity: 0.113040
First Submitted: 2024-01-28 20:34 (UTC)
Last Updated: 2025-05-02 23:16 (UTC)

Latest Comments

1 2 Next › Last »

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.

archdub commented on 2025-05-05 19:52 (UTC)

I successfully built with the settings below in my modified PKGBUILD. I placed them just above 'prepare()'.

#mine
export KCPPFLAGS="-march=native -mtune=native -std=gnu17 "
export KCFLAGS="-march=native -mtune=native -std=gnu17 "
export CFLAGS_KERNEL="-march=native -mtune=native -std=gnu17 "
export CFLAGS_MODULE="-march=native -mtune=native -std=gnu17 "

The key change is the addition of '-std=gnu17'. I suppose there are different ways of adding it, above is just my way. Building with the native options made the kernel noticeably faster, but it takes about 35% longer to build. You might not be interested in it.

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?

archdub commented on 2024-04-16 18:14 (UTC)

To get the signatures working, I ran this as myself (not root):

gpg2 --locate-keys torvalds@kernel.org gregkh@kernel.org

I got this command from here:

https://www.kernel.org/signature.html

Then it built fine (except for warnings mostly to do with documentation)