lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <TYCPR01MB59334CA7AD3C6B346DF41BA68603A@TYCPR01MB5933.jpnprd01.prod.outlook.com>
Date:   Tue, 25 Jul 2023 16:23:12 +0000
From:   Biju Das <biju.das.jz@...renesas.com>
To:     Thierry Reding <thierry.reding@...il.com>
CC:     kernel test robot <lkp@...el.com>,
        "oe-kbuild-all@...ts.linux.dev" <oe-kbuild-all@...ts.linux.dev>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Uwe Kleine-König 
        <u.kleine-koenig@...gutronix.de>
Subject: RE: pwm-rz-mtu3.c:undefined reference to `clk_rate_exclusive_put'

Hi Thierry Reding,

Thanks for the feedback.

> -----Original Message-----
> From: Thierry Reding <thierry.reding@...il.com>
> Sent: Tuesday, July 25, 2023 5:21 PM
> To: Biju Das <biju.das.jz@...renesas.com>
> Cc: kernel test robot <lkp@...el.com>; oe-kbuild-all@...ts.linux.dev;
> linux-kernel@...r.kernel.org; Uwe Kleine-König <u.kleine-
> koenig@...gutronix.de>
> Subject: Re: pwm-rz-mtu3.c:undefined reference to
> `clk_rate_exclusive_put'
> 
> On Tue, Jul 25, 2023 at 01:51:38PM +0000, Biju Das wrote:
> > Hi kernel test robot,
> >
> > I have fixed the original issue by adding dependency to COMMON_CLK.
> >
> > But I hit below error which related to m68k compiler/arch specific.
> > Can you please fix this issue?
> >
> > /home/user/0day/gcc-12.3.0-nolibc/m68k-linux/bin/m68k-linux-ld:
> > section .rodata VMA [00002000,009a758f] overlaps section .text VMA
> > [00000400,012a08ff]
> > make[2]: *** [../scripts/Makefile.vmlinux:35: vmlinux] Error 1
> > make[2]: Target '__default' not remade because of errors.
> > make[1]: *** [/builds/0/rzg2l-linux/Makefile:1250: vmlinux] Error 2
> > make[1]: Target '__all' not remade because of errors.
> > make[1]: Leaving directory '/builds/0/rzg2l-linux/build_dir'
> > make: *** [Makefile:226: __sub-make] Error 2
> > make: Target '__all' not remade because of errors.
> >
> > Note:
> > You can reproduce this issue by
> >
> > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index
> > 6210babb0741..eeecf249f372 100644
> > --- a/drivers/pwm/Kconfig
> > +++ b/drivers/pwm/Kconfig
> > @@ -506,6 +506,7 @@ config PWM_ROCKCHIP  config PWM_RZ_MTU3
> >         tristate "Renesas RZ/G2L MTU3a PWM Timer support"
> >         depends on RZ_MTU3 || COMPILE_TEST
> > +       depends on COMMON_CLK
> 
> It probably doesn't change anything about the build issue, but I think a
> slightly more correct dependency would be:
> 
> 	depends on HAVE_CLK

Nope. I used that one and still got build error. See[2]

[2] https://elixir.bootlin.com/linux/v6.5-rc3/source/drivers/clk/Makefile#L4

Cheers,
Biju

> 
> Thierry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ