Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'kbuild-fixes-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull Kbuild fixes from Masahiro Yamada:

- Fix RPM package build error caused by an incorrect locale setup

- Mark modules.weakdep as ghost in RPM package

- Fix the odd combination of -S and -c in stack protector scripts,
which is an error with the latest Clang

* tag 'kbuild-fixes-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
kbuild: Fix '-S -c' in x86 stack protector scripts
kbuild: rpm-pkg: ghost modules.weakdep file
kbuild: rpm-pkg: Fix C locale setup

+4 -4
+1 -1
scripts/gcc-x86_32-has-stack-protector.sh
··· 5 5 # -mstack-protector-guard-reg, added by 6 6 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 7 7 8 - echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -m32 -O0 -fstack-protector -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard - -o - 2> /dev/null | grep -q "%fs" 8 + echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -m32 -O0 -fstack-protector -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard - -o - 2> /dev/null | grep -q "%fs"
+1 -1
scripts/gcc-x86_64-has-stack-protector.sh
··· 1 1 #!/bin/sh 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 4 - echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -c -m64 -O0 -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs" 4 + echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -m64 -O0 -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
+1 -1
scripts/package/kernel.spec
··· 74 74 echo "/lib/modules/%{KERNELRELEASE}" 75 75 76 76 for x in alias alias.bin builtin.alias.bin builtin.bin dep dep.bin \ 77 - devname softdep symbols symbols.bin; do 77 + devname softdep symbols symbols.bin weakdep; do 78 78 echo "%ghost /lib/modules/%{KERNELRELEASE}/modules.${x}" 79 79 done 80 80
+1 -1
scripts/package/mkspec
··· 50 50 cat << EOF 51 51 52 52 %changelog 53 - * $(LC_ALL=C; date +'%a %b %d %Y') ${name} <${email}> 53 + * $(LC_ALL=C date +'%a %b %d %Y') ${name} <${email}> 54 54 - Custom built Linux kernel. 55 55 EOF