2023-06-23 07:03:22

by Naresh Kamboju

[permalink] [raw]
Subject: next: arm: drivers/clk/imx/clk-imx1.c:13:10: fatal error: 'soc/imx/timer.h' file not found

Following build regressions noticed on Linux next-20230623.

Reported-by: Linux Kernel Functional Testing <[email protected]>


Regressions found on arm:

- build/clang-16-imx_v4_v5_defconfig
- build/gcc-12-imx_v4_v5_defconfig
- build/gcc-8-multi_v5_defconfig
- build/gcc-8-imx_v4_v5_defconfig
- build/clang-nightly-imx_v4_v5_defconfig

Build error:
=====
drivers/clk/imx/clk-imx1.c:13:10: fatal error: 'soc/imx/timer.h' file not found
#include <soc/imx/timer.h>
^~~~~~~~~~~~~~~~~
1 error generated.
make[6]: *** [scripts/Makefile.build:243: drivers/clk/imx/clk-imx1.o] Error 1
drivers/clk/imx/clk-imx27.c:11:10: fatal error: 'soc/imx/timer.h' file not found
#include <soc/imx/timer.h>
^~~~~~~~~~~~~~~~~
1 error generated.
make[6]: *** [scripts/Makefile.build:243: drivers/clk/imx/clk-imx27.o] Error 1


Links:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230623/testrun/17752217/suite/build/test/clang-16-imx_v4_v5_defconfig/log
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230623/testrun/17752217/suite/build/test/clang-16-imx_v4_v5_defconfig/details/

--
Linaro LKFT
https://lkft.linaro.org


2023-06-23 07:33:35

by Arnd Bergmann

[permalink] [raw]
Subject: Re: next: arm: drivers/clk/imx/clk-imx1.c:13:10: fatal error: 'soc/imx/timer.h' file not found

On Fri, Jun 23, 2023, at 08:51, Naresh Kamboju wrote:
> Following build regressions noticed on Linux next-20230623.
>
> Reported-by: Linux Kernel Functional Testing <[email protected]>
>
>
> Regressions found on arm:
>
> - build/clang-16-imx_v4_v5_defconfig
> - build/gcc-12-imx_v4_v5_defconfig
> - build/gcc-8-multi_v5_defconfig
> - build/gcc-8-imx_v4_v5_defconfig
> - build/clang-nightly-imx_v4_v5_defconfig

Thanks for the report. I found the missing patch at

https://lore.kernel.org/all/[email protected]/

and resubmitted this. It's probably best if Daniel picks
it up into the clocksource tree, which accidentally broke the
build by picking patch 3 of the series before patch 2.

Arnd

2023-06-23 08:04:14

by Daniel Lezcano

[permalink] [raw]
Subject: Re: next: arm: drivers/clk/imx/clk-imx1.c:13:10: fatal error: 'soc/imx/timer.h' file not found

On 23/06/2023 09:22, Arnd Bergmann wrote:
> On Fri, Jun 23, 2023, at 08:51, Naresh Kamboju wrote:
>> Following build regressions noticed on Linux next-20230623.
>>
>> Reported-by: Linux Kernel Functional Testing <[email protected]>
>>
>>
>> Regressions found on arm:
>>
>> - build/clang-16-imx_v4_v5_defconfig
>> - build/gcc-12-imx_v4_v5_defconfig
>> - build/gcc-8-multi_v5_defconfig
>> - build/gcc-8-imx_v4_v5_defconfig
>> - build/clang-nightly-imx_v4_v5_defconfig
>
> Thanks for the report. I found the missing patch at
>
> https://lore.kernel.org/all/[email protected]/
>
> and resubmitted this. It's probably best if Daniel picks
> it up into the clocksource tree, which accidentally broke the
> build by picking patch 3 of the series before patch 2.

I applied the patch and pushed the linux-next branch. That should be
fixed now.

--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog