From: Thierry Reding <thierry.reding@gmail.com>
To: Biju Das <biju.das.jz@bp.renesas.com>
Cc: "kernel test robot" <lkp@intel.com>,
"oe-kbuild-all@lists.linux.dev" <oe-kbuild-all@lists.linux.dev>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Subject: Re: pwm-rz-mtu3.c:undefined reference to `clk_rate_exclusive_put'
Date: Tue, 25 Jul 2023 18:21:19 +0200 [thread overview]
Message-ID: <ZL_bEBGNb73wbpRF@orome> (raw)
In-Reply-To: <OS0PR01MB59220756AD4F8184ACF34B238603A@OS0PR01MB5922.jpnprd01.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]
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
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-07-25 16:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-25 10:01 kernel test robot
2023-07-25 13:51 ` Biju Das
2023-07-25 16:21 ` Thierry Reding [this message]
2023-07-25 16:23 ` Biju Das
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZL_bEBGNb73wbpRF@orome \
--to=thierry.reding@gmail.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®