Re: [kbuild:thin-ar 10/10] frv-linux-ld: Warning: size of symbol `sys_bpf' changed from 40 in kernel/sys_ni.o to 1800 in kernel/bpf/syscall.o

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

 



2017-06-26 10:46 GMT+09:00 Nicholas Piggin <npiggin@xxxxxxxxx>:
> On Sun, 25 Jun 2017 19:29:14 +0800
> kbuild test robot <fengguang.wu@xxxxxxxxx> wrote:
>
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git thin-ar
>> head:   e7238f4fac14967bba823ef4b4b77ee928a4860a
>> commit: e7238f4fac14967bba823ef4b4b77ee928a4860a [10/10] kbuild: thin archives make default for all archs
>> config: frv-allmodconfig (attached as .config)
>> compiler: frv-linux-gcc (GCC) 6.2.0
>> reproduce:
>>         wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>>         chmod +x ~/bin/make.cross
>>         git checkout e7238f4fac14967bba823ef4b4b77ee928a4860a
>>         # save the attached .config to linux build tree
>>         make.cross ARCH=frv
>>
>> All warnings (new ones prefixed by >>):
>
> [snip]
>
>>    frv-linux-ld: Warning: size of symbol `sys_eventfd' changed from 40 in kernel/sys_ni.o to 44 in fs/eventfd.o
>> >> frv-linux-ld: Warning: size of symbol `sys_userfaultfd' changed from 40 in kernel/sys_ni.o to 356 in fs/userfaultfd.o
>>    frv-linux-ld: Warning: size of symbol `sys_io_setup' changed from 40 in kernel/sys_ni.o to 2636 in fs/aio.o
>
> These warnings also happen with incremental linking and must be due to
> some bug in the arch port or toolchain.
>
>>    init/main.o: In function `do_one_initcall':
>>    init/main.c:792:(.text+0x1b8): relocation truncated to fit: R_FRV_GPREL12 against symbol `initcall_debug' defined in .sbss section in init/main.o
>
> [snip]
>
> These aren't new either, and due to the large allmodconfig kernel.
>
> So none of this is newly caused by the thin archives patch.
>



I tested "make ARCH=frv defconfig" in Linus' tree.

 v4.12-rc2 : failed
 v4.12-rc3 : failed
 v4.12-rc4 : success
 v4.12-rc5 : success
 v4.12-rc6 : success
 v4.12-rc7 : success

So, I think something was fixed between -rc3 and -rc4.
(I have not tried git-bisect)



The current thin-ar branch is based on v4.12-rc2 tag.
That's why we see frv build error.


By rebasing thin-ar onto v4.12-rc4 tag,
I do not see this build error any more.



-- 
Best Regards
Masahiro Yamada
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux