* [next] parisc: allnoconfig: ERROR: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
@ 2022-01-21 7:46 Naresh Kamboju
2022-01-21 15:24 ` Naresh Kamboju
0 siblings, 1 reply; 3+ messages in thread
From: Naresh Kamboju @ 2022-01-21 7:46 UTC (permalink / raw)
To: Linux-Next Mailing List, open list, linux-parisc, regressions,
lkft-triage, Linux PM, linux-fsdevel
Cc: Alexander Viro, pavel, rppt, Andrew Morton, linux-mm
Linux next-20220121 parisc allnoconfig build failed with gcc-9/10/11.
make --silent --keep-going --jobs=8 ARCH=parisc
CROSS_COMPILE=hppa-linux-gnu- 'CC=sccache hppa-linux-gnu-gcc'
'HOSTCC=sccache gcc'
WARNING: modpost: vmlinux.o(.text+0x1c8): Section mismatch in
reference from the function ksys_sync() to the function
.init.text:memblock_alloc_try_nid()
The function ksys_sync() references
the function __init memblock_alloc_try_nid().
This is often because ksys_sync lacks a __init
annotation or the annotation of memblock_alloc_try_nid is wrong.
ERROR: modpost: Section mismatches detected.
Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
make[2]: *** [/builds/linux/scripts/Makefile.modpost:59:
vmlinux.symvers] Error 1
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
metadata:
git branch: master
git repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git describe: next-20220121
kernel-config: https://builds.tuxbuild.com/23zIAxC4uCgy4zadA01JYyOwCR4/config
build: https://builds.tuxbuild.com/23zIAxC4uCgy4zadA01JYyOwCR4/
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
# Original tuxmake command with fragments listed below.
tuxmake --runtime podman --target-arch parisc --toolchain gcc-11
--kconfig allnoconfig
--
Linaro LKFT
https://lkft.linaro.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [next] parisc: allnoconfig: ERROR: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
2022-01-21 7:46 [next] parisc: allnoconfig: ERROR: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them Naresh Kamboju
@ 2022-01-21 15:24 ` Naresh Kamboju
2022-01-21 21:53 ` Helge Deller
0 siblings, 1 reply; 3+ messages in thread
From: Naresh Kamboju @ 2022-01-21 15:24 UTC (permalink / raw)
To: John David Anglin, Linux-Next Mailing List, open list,
regressions, lkft-triage, Linux PM, linux-fsdevel, linux-parisc
Cc: Alexander Viro, pavel, rppt, Andrew Morton, linux-mm,
Anders Roxell, Helge Deller, Deller, James Bottomley
On Fri, 21 Jan 2022 at 13:16, Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>
> Linux next-20220121 parisc allnoconfig build failed with gcc-9/10/11.
>
> make --silent --keep-going --jobs=8 ARCH=parisc
> CROSS_COMPILE=hppa-linux-gnu- 'CC=sccache hppa-linux-gnu-gcc'
> 'HOSTCC=sccache gcc'
>
> WARNING: modpost: vmlinux.o(.text+0x1c8): Section mismatch in
> reference from the function ksys_sync() to the function
> .init.text:memblock_alloc_try_nid()
> The function ksys_sync() references
> the function __init memblock_alloc_try_nid().
> This is often because ksys_sync lacks a __init
> annotation or the annotation of memblock_alloc_try_nid is wrong.
>
> ERROR: modpost: Section mismatches detected.
> Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
> make[2]: *** [/builds/linux/scripts/Makefile.modpost:59:
> vmlinux.symvers] Error 1
Anders bisected this build and the first bad commit is point to,
first bad commit: [4f05e5a3946923676e147ad0e33c80df8249b2fe]
parisc: Drop __init from map_pages declaration
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>
> metadata:
> git branch: master
> git repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
> git describe: next-20220121
> kernel-config: https://builds.tuxbuild.com/23zIAxC4uCgy4zadA01JYyOwCR4/config
> build: https://builds.tuxbuild.com/23zIAxC4uCgy4zadA01JYyOwCR4/
>
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
> # Original tuxmake command with fragments listed below.
>
> tuxmake --runtime podman --target-arch parisc --toolchain gcc-11
> --kconfig allnoconfig
>
> --
> Linaro LKFT
> https://lkft.linaro.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [next] parisc: allnoconfig: ERROR: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
2022-01-21 15:24 ` Naresh Kamboju
@ 2022-01-21 21:53 ` Helge Deller
0 siblings, 0 replies; 3+ messages in thread
From: Helge Deller @ 2022-01-21 21:53 UTC (permalink / raw)
To: Naresh Kamboju, John David Anglin, Linux-Next Mailing List,
open list, regressions, lkft-triage, Linux PM, linux-fsdevel,
linux-parisc
Cc: Alexander Viro, pavel, rppt, Andrew Morton, linux-mm,
Anders Roxell, Deller, James Bottomley
On 1/21/22 16:24, Naresh Kamboju wrote:
> On Fri, 21 Jan 2022 at 13:16, Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>>
>> Linux next-20220121 parisc allnoconfig build failed with gcc-9/10/11.
>>
>> make --silent --keep-going --jobs=8 ARCH=parisc
>> CROSS_COMPILE=hppa-linux-gnu- 'CC=sccache hppa-linux-gnu-gcc'
>> 'HOSTCC=sccache gcc'
>>
>> WARNING: modpost: vmlinux.o(.text+0x1c8): Section mismatch in
>> reference from the function ksys_sync() to the function
>> .init.text:memblock_alloc_try_nid()
>> The function ksys_sync() references
>> the function __init memblock_alloc_try_nid().
>> This is often because ksys_sync lacks a __init
>> annotation or the annotation of memblock_alloc_try_nid is wrong.
>>
>> ERROR: modpost: Section mismatches detected.
>> Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
>> make[2]: *** [/builds/linux/scripts/Makefile.modpost:59:
>> vmlinux.symvers] Error 1
>
> Anders bisected this build and the first bad commit is point to,
>
> first bad commit: [4f05e5a3946923676e147ad0e33c80df8249b2fe]
> parisc: Drop __init from map_pages declaration
I've dropped that patch for now. Will need some time to find
the best solution.
Helge
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-21 21:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21 7:46 [next] parisc: allnoconfig: ERROR: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them Naresh Kamboju
2022-01-21 15:24 ` Naresh Kamboju
2022-01-21 21:53 ` Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).