Re: [next] parisc: allnoconfig: ERROR: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/21/22 16:24, Naresh Kamboju wrote:
> On Fri, 21 Jan 2022 at 13:16, Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> 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




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux