2020-02-09 05:51:23

by Masahiro Yamada

[permalink] [raw]
Subject: [GIT PULL] more Kbuild updates for v5.6-rc1

Hi Linus,

Please pull more Kbuild updates.
(I touched Makefiles around due to some syntax renaming,
but it is trivial.)

Thanks.




The following changes since commit 754beeec1d9024eef0db8dc4be2636331dd413c6:

Merge tag 'char-misc-5.6-rc1-2' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
(2020-02-03 14:57:33 +0000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
tags/kbuild-v5.6-2

for you to fetch changes up to f566e1fbadb686e28f1c307e356114b2865ef588:

kbuild: make multiple directory targets work (2020-02-06 06:31:51 +0900)

----------------------------------------------------------------
Kbuild updates for v5.6 (2nd)

- fix randconfig to generate a sane .config

- rename hostprogs-y / always to hostprogs / always-y, which are
more natual syntax.

- optimize scripts/kallsyms

- fix yes2modconfig and mod2yesconfig

- make multiple directory targets ('make foo/ bar/') work

----------------------------------------------------------------
Masahiro Yamada (7):
kconfig: fix broken dependency in randconfig-generated .config
kbuild: fix the document to use extra-y for vmlinux.lds
kbuild: rename hostprogs-y/always to hostprogs/always-y
scripts/kallsyms: rename local variables in read_symbol()
scripts/kallsyms: change table to store (strcut sym_entry *)
kallsyms: fix type of kallsyms_token_table[]
kbuild: make multiple directory targets work

Tetsuo Handa (1):
kconfig: Invalidate all symbols after changing to y or m.

Documentation/kbuild/makefiles.rst | 53 ++++------
Kbuild | 8 +-
Makefile | 2 +-
arch/alpha/boot/Makefile | 2 +-
arch/arm/vdso/Makefile | 2 +-
arch/arm64/kernel/vdso32/Makefile | 4 +-
arch/mips/boot/Makefile | 2 +-
arch/mips/boot/compressed/Makefile | 4 +-
arch/mips/boot/tools/Makefile | 2 +-
arch/mips/tools/Makefile | 4 +-
arch/mips/vdso/Makefile | 2 +-
arch/powerpc/boot/Makefile | 4 +-
arch/s390/tools/Makefile | 4 +-
arch/sparc/boot/Makefile | 2 +-
arch/sparc/vdso/Makefile | 2 +-
arch/x86/boot/Makefile | 4 +-
arch/x86/boot/compressed/Makefile | 2 +-
arch/x86/entry/vdso/Makefile | 2 +-
arch/x86/realmode/rm/Makefile | 2 +-
arch/x86/tools/Makefile | 4 +-
drivers/gpu/drm/radeon/Makefile | 2 +-
drivers/tty/vt/Makefile | 2 +-
drivers/video/logo/Makefile | 2 +-
drivers/zorro/Makefile | 2 +-
fs/unicode/Makefile | 2 +-
kernel/kallsyms.c | 5 +-
lib/Makefile | 4 +-
lib/raid6/Makefile | 2 +-
net/bpfilter/Makefile | 2 +-
samples/bpf/Makefile | 118 +++++++++++-----------
samples/connector/Makefile | 8 +-
samples/hidraw/Makefile | 6 +-
samples/mei/Makefile | 4 +-
samples/pidfd/Makefile | 4 +-
samples/seccomp/Makefile | 4 +-
samples/uhid/Makefile | 4 +-
samples/vfs/Makefile | 5 +-
scripts/Makefile | 22 ++--
scripts/Makefile.build | 8 +-
scripts/Makefile.clean | 4 +-
scripts/Makefile.host | 8 +-
scripts/Makefile.lib | 6 +-
scripts/basic/Makefile | 4 +-
scripts/dtc/Makefile | 4 +-
scripts/gcc-plugins/Makefile | 2 +-
scripts/genksyms/Makefile | 4 +-
scripts/kallsyms.c | 133 +++++++++++++------------
scripts/kconfig/Makefile | 10 +-
scripts/kconfig/confdata.c | 7 +-
scripts/mod/Makefile | 4 +-
scripts/selinux/genheaders/Makefile | 4 +-
scripts/selinux/mdp/Makefile | 4 +-
usr/Makefile | 2 +-
53 files changed, 252 insertions(+), 261 deletions(-)


--
Best Regards
Masahiro Yamada


2020-02-10 00:11:47

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] more Kbuild updates for v5.6-rc1

The pull request you sent on Sun, 9 Feb 2020 06:45:18 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-v5.6-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/89a47dd1af8fdda667938ec190d9595d55d7ec6f

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

2020-02-10 07:02:34

by youling 257

[permalink] [raw]
Subject: Re: [GIT PULL] more Kbuild updates for v5.6-rc1

this branch cause 64bit kernel build failed on 32bit userspace.

kallsyms: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.

2020-02-10 07:16:45

by youling 257

[permalink] [raw]
Subject: Re: [GIT PULL] more Kbuild updates for v5.6-rc1

revert 8d60526999aace135de37220ec94ba40bc792234 scripts/kallsyms:
change table to store (strcut sym_entry *), can build success.

2020-02-10 15:01 GMT+08:00, youling257 <[email protected]>:
> this branch cause 64bit kernel build failed on 32bit userspace.
>
> kallsyms: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av)
> && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse
> (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
>
>

2020-02-10 16:30:35

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [GIT PULL] more Kbuild updates for v5.6-rc1

Hi.


On Mon, Feb 10, 2020 at 4:15 PM youling 257 <[email protected]> wrote:
>
> revert 8d60526999aace135de37220ec94ba40bc792234 scripts/kallsyms:
> change table to store (strcut sym_entry *), can build success.
>
> 2020-02-10 15:01 GMT+08:00, youling257 <[email protected]>:
> > this branch cause 64bit kernel build failed on 32bit userspace.
> >
> > kallsyms: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av)
> > && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse
> > (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
> >
> >

Sorry, this should fix the crash.

https://patchwork.kernel.org/patch/11373579/


--
Best Regards
Masahiro Yamada