RE: [PATCH v16 3/4] pwm: Add support for RZ/G2L GPT

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

 



Hi kernel test robot,

> -----Original Message-----
> From: kernel test robot <lkp@xxxxxxxxx>
> Sent: Thursday, October 5, 2023 7:29 PM
> Subject: Re: [PATCH v16 3/4] pwm: Add support for RZ/G2L GPT
> 
> Hi Biju,
> 
> kernel test robot noticed the following build errors:
> 
> [auto build test ERROR on 4aae44f65827f0213a7361cf9c32cfe06114473f]
> 
> All errors (new ones prefixed by >>):
> 
>    arch/mips/kernel/head.o: in function `kernel_entry':
>    (.ref.text+0xac): relocation truncated to fit: R_MIPS_26 against
> `start_kernel'
>    init/main.o: in function `set_reset_devices':
>    main.c:(.init.text+0x10): relocation truncated to fit: R_MIPS_26 against
> `_mcount'
>    main.c:(.init.text+0x18): relocation truncated to fit: R_MIPS_26 against
> `__sanitizer_cov_trace_pc'
>    init/main.o: in function `debug_kernel':
>    main.c:(.init.text+0x50): relocation truncated to fit: R_MIPS_26 against
> `_mcount'
>    main.c:(.init.text+0x58): relocation truncated to fit: R_MIPS_26 against
> `__sanitizer_cov_trace_pc'
>    init/main.o: in function `quiet_kernel':
>    main.c:(.init.text+0x90): relocation truncated to fit: R_MIPS_26 against
> `_mcount'
>    main.c:(.init.text+0x98): relocation truncated to fit: R_MIPS_26 against
> `__sanitizer_cov_trace_pc'
>    init/main.o: in function `warn_bootconfig':
>    main.c:(.init.text+0xd0): relocation truncated to fit: R_MIPS_26 against
> `_mcount'
>    main.c:(.init.text+0xd8): relocation truncated to fit: R_MIPS_26 against
> `__sanitizer_cov_trace_pc'
>    init/main.o: in function `init_setup':
>    main.c:(.init.text+0x108): relocation truncated to fit: R_MIPS_26
> against `_mcount'
>    main.c:(.init.text+0x114): additional relocation overflows omitted from
> the output
>    mips-linux-ld: drivers/pwm/pwm-rzg2l-gpt.o: in function
> `rzg2l_gpt_calculate_pv_or_dc':
> >> pwm-rzg2l-gpt.c:(.text.rzg2l_gpt_calculate_pv_or_dc+0x138): undefined
> reference to `__udivdi3'

I can reproduce this with Ubutu-23.04 and the instructions mentioned above.

Like arm32 compiler this issue also is fixed by replacing
DIV_ROUND_UP()->DIV64_U64_ROUND_UP().

Cheers,
Biju




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux