Hi Nathan, On Tue, 13 Jun 2023 at 09:57, Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote: > > Hi Nathan, > > On Tue, 13 Jun 2023 at 00:24, Nathan Chancellor <nathan@xxxxxxxxxx> wrote: > > > > Hi Naresh, > > > > On Tue, Jun 13, 2023 at 12:10:30AM +0530, Naresh Kamboju wrote: > > > [Please ignore if it is already reported] > > > > > > Following two builds failed on stable-rc 6.1.34-rc1. > > > > > > - Powerpc: clang-nightly-maple_defconfig — FAIL > > > - Powerpc: clang-nightly-cell_defconfig — FAIL > > > > > As always, thanks for the report. This is an LLVM regression/change in > > behavior caused by [1], which can break as-option and as-instr on > > releases prior to commit d5c8d6e0fa61 ("kbuild: Update assembler calls > > to use proper flags and language target"), as unsupported flags for the > > current target ('-x') may be present (KBUILD_CFLAGS is used for these > > tests instead of KBUILD_AFLAGS). Inside try-run, the macro behind > > as-instr and as-option, I see > > > > clang-17: error: unsupported option '-mno-prefixed' for target 'powerpc64le-linux-gnu' > > clang-17: error: unsupported option '-mno-pcrel' for target 'powerpc64le-linux-gnu' > > clang-17: error: unsupported option '-mno-altivec' for target 'powerpc64le-linux-gnu' > > clang-17: error: unsupported option '-mno-vsx' for target 'powerpc64le-linux-gnu' > > clang-17: error: unsupported option '-mno-mma' for target 'powerpc64le-linux-gnu' > > clang-17: error: unsupported option '-mno-spe' for target 'powerpc64le-linux-gnu' > > > > This has come up recently elsewhere in PowerPC, see > > commit 2b694fc96fe3 ("powerpc/boot: Disable power10 features after > > BOOTAFLAGS assignment"). While I think it is dubious that clang errors > > on these flags for the assembler target, this is already fixed on the > > Linux side by using KBUILD_AFLAGS for these make macros. > > > > I am preparing a series of d5c8d6e0fa61 and its dependencies for 6.1 but > > I want to do sufficient build testing first, which is currently running > > for me. Would you be able to point your matrix to [2] to make sure > > everything works properly with both GCC and LLVM? It is a work in > > progress as the second patch in the stack needs a proper commit message > > but it is the diff I expect to ship so that it all that matters. > > We'll start building [2] with GCC and LLVM by using tuxplans and > get back to you. LKFT has been configured to run GCC and LLVM in total 205 builds and all the builds have passed on your tree / branch [2]. You can find the list of builds including kselftest, perf, rcutorture, kunit, kmemleak and many more combinations and architectures. I request you to review the list of builds results and test results on projects page [3] [4]. I do not find any regressions compared with mainline master as sanity testing. Do you think LKFT should build your tree / branch often ? We are happy to test anytime. Thanks Daniel and Anders for your work. build_names: that got tested and all have passed. - clang-16-allnoconfig - clang-16-at91_dt_defconfig - clang-16-axm55xx_defconfig - clang-16-bcm2835_defconfig - clang-16-cell_defconfig - clang-16-clps711x_defconfig - clang-16-davinci_all_defconfig - clang-16-defconfig - clang-16-defconfig-40bc7ee5 - clang-16-exynos_defconfig - clang-16-footbridge_defconfig - clang-16-imx_v4_v5_defconfig - clang-16-imx_v6_v7_defconfig - clang-16-integrator_defconfig - clang-16-keystone_defconfig - clang-16-lkftconfig - clang-16-lkftconfig-compat - clang-16-lkftconfig-kcsan - clang-16-lkftconfig-no-kselftest-frag - clang-16-lpc32xx_defconfig - clang-16-maple_defconfig - clang-16-mpc83xx_defconfig - clang-16-multi_v5_defconfig - clang-16-multi_v5_defconfig-65236a87 - clang-16-mxs_defconfig - clang-16-nhk8815_defconfig - clang-16-omap1_defconfig - clang-16-omap2plus_defconfig - clang-16-orion5x_defconfig - clang-16-ppc64e_defconfig - clang-16-pxa910_defconfig - clang-16-s3c6400_defconfig - clang-16-s5pv210_defconfig - clang-16-sama5_defconfig - clang-16-shmobile_defconfig - clang-16-tinyconfig - clang-16-tqm8xx_defconfig - clang-16-u8500_defconfig - clang-16-vexpress_defconfig - clang-16-x86_64_defconfig - clang-nightly-allnoconfig - clang-nightly-at91_dt_defconfig - clang-nightly-axm55xx_defconfig - clang-nightly-bcm2835_defconfig - clang-nightly-cell_defconfig - clang-nightly-clps711x_defconfig - clang-nightly-davinci_all_defconfig - clang-nightly-defconfig - clang-nightly-defconfig-40bc7ee5 - clang-nightly-exynos_defconfig - clang-nightly-footbridge_defconfig - clang-nightly-imx_v4_v5_defconfig - clang-nightly-imx_v6_v7_defconfig - clang-nightly-integrator_defconfig - clang-nightly-keystone_defconfig - clang-nightly-lkftconfig - clang-nightly-lpc32xx_defconfig - clang-nightly-maple_defconfig - clang-nightly-mpc83xx_defconfig - clang-nightly-multi_v5_defconfig - clang-nightly-multi_v5_defconfig-65236a87 - clang-nightly-mxs_defconfig - clang-nightly-nhk8815_defconfig - clang-nightly-omap1_defconfig - clang-nightly-omap2plus_defconfig - clang-nightly-orion5x_defconfig - clang-nightly-ppc64e_defconfig - clang-nightly-pxa910_defconfig - clang-nightly-s3c6400_defconfig - clang-nightly-s5pv210_defconfig - clang-nightly-sama5_defconfig - clang-nightly-shmobile_defconfig - clang-nightly-tinyconfig - clang-nightly-tqm8xx_defconfig - clang-nightly-u8500_defconfig - clang-nightly-vexpress_defconfig - clang-nightly-x86_64_defconfig - gcc-11-allnoconfig - gcc-11-defconfig - gcc-11-dreamcast_defconfig - gcc-11-lkftconfig - gcc-11-lkftconfig-perf - gcc-11-microdev_defconfig - gcc-11-shx3_defconfig - gcc-11-tinyconfig - gcc-12-allnoconfig - gcc-12-ar7_defconfig - gcc-12-at91_dt_defconfig - gcc-12-ath79_defconfig - gcc-12-axm55xx_defconfig - gcc-12-bcm2835_defconfig - gcc-12-bcm47xx_defconfig - gcc-12-bcm63xx_defconfig - gcc-12-cavium_octeon_defconfig - gcc-12-cell_defconfig - gcc-12-clps711x_defconfig - gcc-12-davinci_all_defconfig - gcc-12-defconfig - gcc-12-defconfig-40bc7ee5 - gcc-12-exynos_defconfig - gcc-12-footbridge_defconfig - gcc-12-imx_v4_v5_defconfig - gcc-12-imx_v6_v7_defconfig - gcc-12-integrator_defconfig - gcc-12-ixp4xx_defconfig - gcc-12-keystone_defconfig - gcc-12-lkftconfig - gcc-12-lkftconfig-64k_page_size - gcc-12-lkftconfig-armv8_features - gcc-12-lkftconfig-compat - gcc-12-lkftconfig-debug - gcc-12-lkftconfig-debug-kmemleak - gcc-12-lkftconfig-devicetree - gcc-12-lkftconfig-kasan - gcc-12-lkftconfig-kselftest - gcc-12-lkftconfig-kunit - gcc-12-lkftconfig-libgpiod - gcc-12-lkftconfig-no-kselftest-frag - gcc-12-lkftconfig-perf - gcc-12-lkftconfig-rcutorture - gcc-12-lpc32xx_defconfig - gcc-12-malta_defconfig - gcc-12-maple_defconfig - gcc-12-mpc83xx_defconfig - gcc-12-multi_v5_defconfig - gcc-12-multi_v5_defconfig-65236a87 - gcc-12-mxs_defconfig - gcc-12-nhk8815_defconfig - gcc-12-omap1_defconfig - gcc-12-omap2plus_defconfig - gcc-12-orion5x_defconfig - gcc-12-ppc64e_defconfig - gcc-12-ppc6xx_defconfig - gcc-12-pxa910_defconfig - gcc-12-rt305x_defconfig - gcc-12-s3c6400_defconfig - gcc-12-s5pv210_defconfig - gcc-12-sama5_defconfig - gcc-12-shmobile_defconfig - gcc-12-tinyconfig - gcc-12-tqm8xx_defconfig - gcc-12-u8500_defconfig - gcc-12-vexpress_defconfig - gcc-8-allnoconfig - gcc-8-ar7_defconfig - gcc-8-at91_dt_defconfig - gcc-8-ath79_defconfig - gcc-8-axm55xx_defconfig - gcc-8-bcm2835_defconfig - gcc-8-bcm47xx_defconfig - gcc-8-bcm63xx_defconfig - gcc-8-cavium_octeon_defconfig - gcc-8-cell_defconfig - gcc-8-clps711x_defconfig - gcc-8-davinci_all_defconfig - gcc-8-defconfig - gcc-8-defconfig-40bc7ee5 - gcc-8-defconfig-fe40093d - gcc-8-dreamcast_defconfig - gcc-8-exynos_defconfig - gcc-8-footbridge_defconfig - gcc-8-i386_defconfig - gcc-8-imx_v4_v5_defconfig - gcc-8-imx_v6_v7_defconfig - gcc-8-integrator_defconfig - gcc-8-ixp4xx_defconfig - gcc-8-keystone_defconfig - gcc-8-lpc32xx_defconfig - gcc-8-malta_defconfig - gcc-8-maple_defconfig - gcc-8-microdev_defconfig - gcc-8-mpc83xx_defconfig - gcc-8-multi_v5_defconfig - gcc-8-mxs_defconfig - gcc-8-nhk8815_defconfig - gcc-8-omap1_defconfig - gcc-8-omap2plus_defconfig - gcc-8-orion5x_defconfig - gcc-8-ppc64e_defconfig - gcc-8-ppc6xx_defconfig - gcc-8-pxa910_defconfig - gcc-8-rt305x_defconfig - gcc-8-s3c6400_defconfig - gcc-8-s5pv210_defconfig - gcc-8-sama5_defconfig - gcc-8-shmobile_defconfig - gcc-8-shx3_defconfig - gcc-8-tinyconfig - gcc-8-tqm8xx_defconfig - gcc-8-u8500_defconfig - gcc-8-vexpress_defconfig - gcc-8-x86_64_defconfig - gcc-9-allnoconfig - gcc-9-axs103_defconfig - gcc-9-defconfig - gcc-9-tinyconfig - gcc-9-vdk_hs38_smp_defconfig - rv32-clang-16-allnoconfig - rv32-clang-16-defconfig - rv32-clang-16-lkftconfig - rv32-clang-16-tinyconfig - rv32-clang-nightly-allnoconfig - rv32-clang-nightly-defconfig - rv32-clang-nightly-tinyconfig - rv32-gcc-11-lkftconfig > > [1]: https://github.com/llvm/llvm-project/commit/5548843d692a92a7840f14002debc3cebcb3cdc3 > > [2]: https://git.kernel.org/pub/scm/linux/kernel/git/nathan/linux.git/log/?h=wip/b4/6-1-asssembler-target-llvm-17 [3] https://qa-reports.linaro.org/~anders.roxell/natan-6-1-asssembler-target-llvm-17/build/v6.1-6642-gb29a8d48035a/metadata/ [4] https://qa-reports.linaro.org/~anders.roxell/natan-6-1-asssembler-target-llvm-17/build/v6.1-6642-gb29a8d48035a/ > > Cheers, > > Nathan - Naresh