[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
Reported-by: Linux Kernel Functional Testing <[email protected]>
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=powerpc
CROSS_COMPILE=powerpc64le-linux-gnu- HOSTCC=clang CC=clang LLVM=1
LLVM_IAS=0 LD=powerpc64le-linux-gnu-ld
arch/powerpc/lib/copypage_power7.S: Assembler messages:
arch/powerpc/lib/copypage_power7.S:34: Error: junk at end of line: `0b01000'
arch/powerpc/lib/copypage_power7.S:35: Error: junk at end of line: `0b01010'
arch/powerpc/lib/copypage_power7.S:37: Error: junk at end of line: `0b01000'
arch/powerpc/lib/copypage_power7.S:38: Error: junk at end of line: `0b01010'
arch/powerpc/lib/copypage_power7.S:40: Error: junk at end of line: `0b01010'
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [scripts/Makefile.build:382:
arch/powerpc/lib/copypage_power7.o] Error 1
make[4]: Target 'arch/powerpc/lib/' not remade because of errors.
make[3]: *** [scripts/Makefile.build:500: arch/powerpc/lib] Error 2
arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
arch/powerpc/kernel/exceptions-64s.S:2959: Error: junk at end of line: `0b01010'
arch/powerpc/kernel/exceptions-64s.S:2979: Error: junk at end of line: `0b01010'
arch/powerpc/kernel/exceptions-64s.S:2994: Error: junk at end of line: `0b01010'
arch/powerpc/kernel/exceptions-64s.S:3012: Error: junk at end of line: `0b01010'
arch/powerpc/kernel/exceptions-64s.S:3032: Error: junk at end of line: `0b01010'
arch/powerpc/kernel/exceptions-64s.S:3079: Error: junk at end of line: `0b01010'
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [scripts/Makefile.build:382: arch/powerpc/kernel/head_64.o] Error 1
arch/powerpc/kernel/entry_64.S: Assembler messages:
arch/powerpc/kernel/entry_64.S:172: Error: junk at end of line: `0b01010'
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [scripts/Makefile.build:382:
arch/powerpc/kernel/entry_64.o] Error 1
make[4]: Target 'arch/powerpc/kernel/' not remade because of errors.
make[3]: *** [scripts/Makefile.build:500: arch/powerpc/kernel] Error 2
make[3]: Target 'arch/powerpc/' not remade because of errors.
make[2]: *** [scripts/Makefile.build:500: arch/powerpc] Error 2
make[2]: Target './' not remade because of errors.
make[1]: *** [Makefile:2012: .] Error 2
make[1]: Target '__all' not remade because of errors.
make: *** [Makefile:238: __sub-make] Error 2
make: Target '__all' not remade because of errors.
Links,
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.33-133-g08f336c8c68d/testrun/17475368/suite/build/test/clang-nightly-cell_defconfig/history/
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.33-133-g08f336c8c68d/testrun/17475373/suite/build/test/clang-nightly-maple_defconfig/history/
--
Linaro LKFT
https://lkft.linaro.org
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
>
> Reported-by: Linux Kernel Functional Testing <[email protected]>
>
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=powerpc
> CROSS_COMPILE=powerpc64le-linux-gnu- HOSTCC=clang CC=clang LLVM=1
> LLVM_IAS=0 LD=powerpc64le-linux-gnu-ld
>
> arch/powerpc/lib/copypage_power7.S: Assembler messages:
> arch/powerpc/lib/copypage_power7.S:34: Error: junk at end of line: `0b01000'
> arch/powerpc/lib/copypage_power7.S:35: Error: junk at end of line: `0b01010'
> arch/powerpc/lib/copypage_power7.S:37: Error: junk at end of line: `0b01000'
> arch/powerpc/lib/copypage_power7.S:38: Error: junk at end of line: `0b01010'
> arch/powerpc/lib/copypage_power7.S:40: Error: junk at end of line: `0b01010'
> clang: error: assembler command failed with exit code 1 (use -v to see
> invocation)
> make[4]: *** [scripts/Makefile.build:382:
> arch/powerpc/lib/copypage_power7.o] Error 1
> make[4]: Target 'arch/powerpc/lib/' not remade because of errors.
> make[3]: *** [scripts/Makefile.build:500: arch/powerpc/lib] Error 2
> arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
> arch/powerpc/kernel/exceptions-64s.S:2959: Error: junk at end of line: `0b01010'
> arch/powerpc/kernel/exceptions-64s.S:2979: Error: junk at end of line: `0b01010'
> arch/powerpc/kernel/exceptions-64s.S:2994: Error: junk at end of line: `0b01010'
> arch/powerpc/kernel/exceptions-64s.S:3012: Error: junk at end of line: `0b01010'
> arch/powerpc/kernel/exceptions-64s.S:3032: Error: junk at end of line: `0b01010'
> arch/powerpc/kernel/exceptions-64s.S:3079: Error: junk at end of line: `0b01010'
> clang: error: assembler command failed with exit code 1 (use -v to see
> invocation)
> make[4]: *** [scripts/Makefile.build:382: arch/powerpc/kernel/head_64.o] Error 1
> arch/powerpc/kernel/entry_64.S: Assembler messages:
> arch/powerpc/kernel/entry_64.S:172: Error: junk at end of line: `0b01010'
> clang: error: assembler command failed with exit code 1 (use -v to see
> invocation)
> make[4]: *** [scripts/Makefile.build:382:
> arch/powerpc/kernel/entry_64.o] Error 1
> make[4]: Target 'arch/powerpc/kernel/' not remade because of errors.
> make[3]: *** [scripts/Makefile.build:500: arch/powerpc/kernel] Error 2
> make[3]: Target 'arch/powerpc/' not remade because of errors.
> make[2]: *** [scripts/Makefile.build:500: arch/powerpc] Error 2
> make[2]: Target './' not remade because of errors.
> make[1]: *** [Makefile:2012: .] Error 2
> make[1]: Target '__all' not remade because of errors.
> make: *** [Makefile:238: __sub-make] Error 2
> make: Target '__all' not remade because of errors.
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.
[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
Cheers,
Nathan
Hi Nathan,
On Tue, 13 Jun 2023 at 00:24, Nathan Chancellor <[email protected]> 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
> >
> > Reported-by: Linux Kernel Functional Testing <[email protected]>
> >
> > make --silent --keep-going --jobs=8
> > O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=powerpc
> > CROSS_COMPILE=powerpc64le-linux-gnu- HOSTCC=clang CC=clang LLVM=1
> > LLVM_IAS=0 LD=powerpc64le-linux-gnu-ld
> >
> > arch/powerpc/lib/copypage_power7.S: Assembler messages:
> > arch/powerpc/lib/copypage_power7.S:34: Error: junk at end of line: `0b01000'
> > arch/powerpc/lib/copypage_power7.S:35: Error: junk at end of line: `0b01010'
> > arch/powerpc/lib/copypage_power7.S:37: Error: junk at end of line: `0b01000'
> > arch/powerpc/lib/copypage_power7.S:38: Error: junk at end of line: `0b01010'
> > arch/powerpc/lib/copypage_power7.S:40: Error: junk at end of line: `0b01010'
> > clang: error: assembler command failed with exit code 1 (use -v to see
> > invocation)
> > make[4]: *** [scripts/Makefile.build:382:
> > arch/powerpc/lib/copypage_power7.o] Error 1
> > make[4]: Target 'arch/powerpc/lib/' not remade because of errors.
> > make[3]: *** [scripts/Makefile.build:500: arch/powerpc/lib] Error 2
> > arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
> > arch/powerpc/kernel/exceptions-64s.S:2959: Error: junk at end of line: `0b01010'
> > arch/powerpc/kernel/exceptions-64s.S:2979: Error: junk at end of line: `0b01010'
> > arch/powerpc/kernel/exceptions-64s.S:2994: Error: junk at end of line: `0b01010'
> > arch/powerpc/kernel/exceptions-64s.S:3012: Error: junk at end of line: `0b01010'
> > arch/powerpc/kernel/exceptions-64s.S:3032: Error: junk at end of line: `0b01010'
> > arch/powerpc/kernel/exceptions-64s.S:3079: Error: junk at end of line: `0b01010'
> > clang: error: assembler command failed with exit code 1 (use -v to see
> > invocation)
> > make[4]: *** [scripts/Makefile.build:382: arch/powerpc/kernel/head_64.o] Error 1
> > arch/powerpc/kernel/entry_64.S: Assembler messages:
> > arch/powerpc/kernel/entry_64.S:172: Error: junk at end of line: `0b01010'
> > clang: error: assembler command failed with exit code 1 (use -v to see
> > invocation)
> > make[4]: *** [scripts/Makefile.build:382:
> > arch/powerpc/kernel/entry_64.o] Error 1
> > make[4]: Target 'arch/powerpc/kernel/' not remade because of errors.
> > make[3]: *** [scripts/Makefile.build:500: arch/powerpc/kernel] Error 2
> > make[3]: Target 'arch/powerpc/' not remade because of errors.
> > make[2]: *** [scripts/Makefile.build:500: arch/powerpc] Error 2
> > make[2]: Target './' not remade because of errors.
> > make[1]: *** [Makefile:2012: .] Error 2
> > make[1]: Target '__all' not remade because of errors.
> > make: *** [Makefile:238: __sub-make] Error 2
> > make: Target '__all' not remade because of errors.
>
> 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.
>
> [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
>
> Cheers,
> Nathan
- Naresh
Hi Nathan,
On Tue, 13 Jun 2023 at 09:57, Naresh Kamboju <[email protected]> wrote:
>
> Hi Nathan,
>
> On Tue, 13 Jun 2023 at 00:24, Nathan Chancellor <[email protected]> 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
On Wed, Jun 14, 2023 at 07:43:45PM +0530, Naresh Kamboju wrote:
> Hi Nathan,
>
> On Tue, 13 Jun 2023 at 09:57, Naresh Kamboju <[email protected]> wrote:
> >
> > Hi Nathan,
> >
> > On Tue, 13 Jun 2023 at 00:24, Nathan Chancellor <[email protected]> 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.
Thanks a lot for testing!
> Do you think LKFT should build your tree / branch often ?
> We are happy to test anytime.
No, this is an exceptional circumstance, not the norm. If I need wider
testing done in the future, I will keep you all in mind :)
> Thanks Daniel and Anders for your work.
>
> build_names: that got tested and all have passed.
>
<snip>
Great! I sent along the 6.1 backports now:
https://lore.kernel.org/20230612-6-1-asssembler-target-llvm-17-v1-0-75605d553401@kernel.org/
Thanks again for testing and the report, cheers!
Nathan