Re: [Linaro-TCWG-CI] gcc patch #107213: Failure on aarch64

2025-03-02 Thread Christophe Lyon
Hi,

Sorry for this spurious notification, it seems we had a "disk full"
issue on the build machine.
You can ignore this error message.

Christophe

On Fri, 28 Feb 2025 at 03:06,  wrote:
>
> Dear contributor,
>
> Our automatic CI has detected problems related to your patch(es). Please find 
> some details below.
>
> In simplebootstrap_build master-aarch64-bootstrap, after:
>   | gcc patch https://patchwork.sourceware.org/patch/107213
>   | Author: Jan Dubiec 
>   | Date:   Thu Feb 27 22:42:20 2025 +0100
>   |
>   | [PATCH] H8/300: PR target/109189 Silence -Wformat warnings on Windows
>   |
>   | This patch fixes annoying -Wformat warnings when gcc is built
>   | on Windows/MinGW64. Instead of %ld it uses HOST_WIDE_INT_PRINT_DEC
>   | macro, just like many other targets do.
>   | ... 12 lines of the commit log omitted.
>   | ... applied on top of baseline commit:
>   | 8371e7f240c gimple-fold: Fix a pasto in fold_truth_andor_for_ifcombine 
> [PR119030]
>
> Produces Failure:
>   | Results changed to
>   | # reset_artifacts:
>   | -10
>   | # true:
>   | 0
>   | # build_abe bootstrap:
>   | # FAILED
>   |
>   | From
>   | # reset_artifacts:
>   | -10
>   | # true:
>   | 0
>   | # build_abe bootstrap:
>   | 1
>
> Used configuration :
>  *CI config* tcwg_simplebootstrap_build master-aarch64-bootstrap
>  *configure and test flags:* none, autodetected on aarch64-unknown-linux-gnu
>
> If you have any questions regarding this report, please ask on 
> linaro-toolchain@lists.linaro.org mailing list.
>
> -8<--8<--8<--
>
> The information below contains the details of the failures, and the ways to 
> reproduce a debug environment:
>
> You can find the failure logs in
>  * 
> https://ci.linaro.org/job/tcwg_simplebootstrap_build--master-aarch64-bootstrap-precommit/497/artifact/artifacts/artifacts.precommit/
> The full lists of regressions and improvements as well as configure and make 
> commands are in
>  * 
> https://ci.linaro.org/job/tcwg_simplebootstrap_build--master-aarch64-bootstrap-precommit/497/artifact/artifacts/artifacts.precommit/notify/
>
> Current build   : 
> https://ci.linaro.org/job/tcwg_simplebootstrap_build--master-aarch64-bootstrap-precommit/497/artifact/artifacts
> Reference build : 
> https://ci.linaro.org/job/tcwg_simplebootstrap_build--master-aarch64-bootstrap-build/83/artifact/artifacts
>
> Warning: we do not enable maintainer-mode nor automatically update
> generated files, which may lead to failures if the patch modifies the
> master files.
___
linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org
To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org


Re: [Linaro-TCWG-CI] gcc patch #107058: Failure on arm

2025-03-02 Thread Christophe Lyon
Hi Jakub,


On Tue, 25 Feb 2025 at 16:37, Jakub Jelinek  wrote:
>
> On Tue, Feb 25, 2025 at 03:13:10PM +, ci_not...@linaro.org wrote:
> > Our automatic CI has detected problems related to your patch(es). Please 
> > find some details below.
> >
> > In gcc_build master-arm, after:
> >   | gcc patch https://patchwork.sourceware.org/patch/107058
> >   | Author: Jakub Jelinek 
> >   | Date:   Tue Feb 25 13:31:29 2025 +0100
> >   |
> >   | [PATCH] simplify-rtx: Fix up simplify_logical_relational_operation 
> > [PR119002]
> >   |
> >   | Hi!
> >   |
> >   | The following testcase is miscompiled on powerpc64le-linux starting 
> > with
> >   | ... 45 lines of the commit log omitted.
> >   | ... applied on top of baseline commit:
> >   | af73228fdb2 Fortran: Fix detection of descriptor arrays in coarray 
> > [PR107635]
> >
> > Produces Failure:
> >   | Results changed to
> >   | # reset_artifacts:
> >   | -10
> >   | # true:
> >   | 0
> >   | # build_abe gcc:
> >   | # FAILED
> >   | # First few build errors in logs:
> >   | # 00:07:45 
> > /home/tcwg-build/workspace/tcwg_gnu_5/abe/snapshots/gcc.git~master/libstdc++-v3/src/c++17/floating_to_chars.cc:1306:3:
> >  internal compiler error: in reverse_condition, at jump.cc:536
> >   | # 00:07:46 make[5]: *** [Makefile:587: floating_to_chars.lo] Error 1
> >   | # 00:07:46 make[4]: *** [Makefile:797: all-recursive] Error 1
> >   | # 00:07:46 make[3]: *** [Makefile:577: all-recursive] Error 1
> >   | # 00:07:46 make[2]: *** [Makefile:502: all] Error 2
> >   | # 00:07:46 make[1]: *** [Makefile:12256: all-target-libstdc++-v3] Error 
> > 2
> >   | # 00:07:46 make: *** [Makefile:1062: all] Error 2
>
> Wonder how is that possible, the patch uses REVERSE_CONDITION on GT and
> that is handled by both reverse_condition and
> reverse_condition_maybe_unordered.
> Can I ask for preprocessed source + cc1plus command line + what -march=
> etc. options one needs if it is just implied by configure, so that I can
> have a look in a cross-compiler?
> I really don't have access to 32-bit arm anymore.
>

Here's attached dce.ii, which causes an ICE when I compile with:
/home/christophe.lyon/builds/armhf-bootstrap/./prev-gcc/xg++
-B/home/christophe.lyon/builds/armhf-bootstrap/./prev-gcc/
-B/home/christophe.lyon/builds/armhf-bootstrap/install/armv8l-unknown-linux-gnueabihf/bin/
-nostdinc++ 
-B/home/christophe.lyon/builds/armhf-bootstrap/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/src/.libs
-B/home/christophe.lyon/builds/armhf-bootstrap/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/libsupc++/.libs
 
-I/home/christophe.lyon/builds/armhf-bootstrap/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/include/armv8l-unknown-linux-gnueabihf
 
-I/home/christophe.lyon/builds/armhf-bootstrap/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/include
 
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/libstdc++-v3/libsupc++
-L/home/christophe.lyon/builds/armhf-bootstrap/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/src/.libs
-L/home/christophe.lyon/builds/armhf-bootstrap/prev-armv8l-unknown-linux-gnueabihf/libstdc++-v3/libsupc++/.libs
 -fno-PIE -c   -g -O2 -fno-checking -gtoggle  -DIN_GCC
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-error=narrowing -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -Wconditionally-supported
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror  -DHAVE_CONFIG_H -fno-PIE -I. -I.
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/.
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/../include
 -I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/../libcpp/include
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/../libcody
-I/home/christophe.lyon/builds/armhf-bootstrap/./gmp
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gmp
-I/home/christophe.lyon/builds/armhf-bootstrap/./mpfr/src
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/mpfr/src
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/mpc/src
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/../libdecnumber
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/../libdecnumber/dpd
-I../libdecnumber
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/../libbacktrace
-I/home/christophe.lyon/builds/armhf-bootstrap/./isl/include
-I/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/isl/include
-o dce.o -MT dce.o -MMD -MP -MF ./.deps/dce.TPo
/home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/dce.cc
-save-temps

This GCC is configured natively in an armhf docker container, with:
configure --enable-bootstrap --enable-checking=yes
--enable-languages=c,c++,fortran,lto
where it detects target as armv8l-unknown-linux-gnueabihf

HTH

Christophe



> Jakub
>
> ___
> linaro-toolchain mailing list -- linaro-tool

Fwd: [Linaro-TCWG-CI] gcc patch #107213: Failure on aarch64

2025-03-02 Thread Jan Dubiec



Hello,

I have recived the email quoted below. I wonder how my patch could have 
caused an issue when the only file it touches is related to H8/300 
target, not ARM. As far as I can see in the logs you are not building an 
H8/300 toolchain.

Best regards,
/J.D.

PS. I am not subscribed so please CC me.


 Forwarded Message 
Subject: [Linaro-TCWG-CI] gcc patch #107213: Failure on aarch64
Date: Fri, 28 Feb 2025 02:06:28 + (UTC)
From: ci_not...@linaro.org
Reply-To: linaro-toolchain@lists.linaro.org
To: j...@o2.pl

Dear contributor,

Our automatic CI has detected problems related to your patch(es). Please 
find some details below.


In simplebootstrap_build master-aarch64-bootstrap, after:
  | gcc patch https://patchwork.sourceware.org/patch/107213
  | Author: Jan Dubiec 
  | Date:   Thu Feb 27 22:42:20 2025 +0100
  |   | [PATCH] H8/300: PR target/109189 Silence -Wformat warnings 
on Windows
  |   | This patch fixes annoying -Wformat warnings when gcc is 
built

  | on Windows/MinGW64. Instead of %ld it uses HOST_WIDE_INT_PRINT_DEC
  | macro, just like many other targets do.
  | ... 12 lines of the commit log omitted.
  | ... applied on top of baseline commit:
  | 8371e7f240c gimple-fold: Fix a pasto in 
fold_truth_andor_for_ifcombine [PR119030]


Produces Failure:
  | Results changed to
  | # reset_artifacts:
  | -10
  | # true:
  | 0
  | # build_abe bootstrap:
  | # FAILED
  |   | From
  | # reset_artifacts:
  | -10
  | # true:
  | 0
  | # build_abe bootstrap:
  | 1

Used configuration :
 *CI config* tcwg_simplebootstrap_build master-aarch64-bootstrap
 *configure and test flags:* none, autodetected on 
aarch64-unknown-linux-gnu


If you have any questions regarding this report, please ask on 
linaro-toolchain@lists.linaro.org mailing list.


-8<--8<--8<--

The information below contains the details of the failures, and the ways 
to reproduce a debug environment:


You can find the failure logs in
 * 
https://ci.linaro.org/job/tcwg_simplebootstrap_build--master-aarch64-bootstrap-precommit/497/artifact/artifacts/artifacts.precommit/
The full lists of regressions and improvements as well as configure and 
make commands are in
 * 
https://ci.linaro.org/job/tcwg_simplebootstrap_build--master-aarch64-bootstrap-precommit/497/artifact/artifacts/artifacts.precommit/notify/


Current build   : 
https://ci.linaro.org/job/tcwg_simplebootstrap_build--master-aarch64-bootstrap-precommit/497/artifact/artifacts
Reference build : 
https://ci.linaro.org/job/tcwg_simplebootstrap_build--master-aarch64-bootstrap-build/83/artifact/artifacts


Warning: we do not enable maintainer-mode nor automatically update
generated files, which may lead to failures if the patch modifies the
master files.
___
linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org
To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org


Re: [Linaro-TCWG-CI] gcc-15-7709-gc2ece13931d: 1 regressions 10 improvements on aarch64

2025-03-02 Thread Iain Buclaw
Excerpts from ci_not...@linaro.org's message of Februar 27, 2025 7:38 pm:
> Dear contributor,
> 
> Our automatic CI has detected problems related to your patch(es). Please find 
> some details below.
> 
> In  master-aarch64, after:
>   | commit gcc-15-7709-gc2ece13931d
>   | Author: Iain Buclaw 
>   | Date:   Tue Feb 25 21:01:23 2025 +0100
>   | 
>   | libphobos: Generate test files for phobos testsuite
>   | 
>   | Extracts all public unittests from libphobos/src and emits them as
>   | standalone tests in the testsuite using the tests_extractor script.
>   | 
>   | ... 132 lines of the commit log omitted.
> 
> Produces 1 regressions 10 improvements:
>   | 
>   | regressions.sum:
>   | Running libphobos:libphobos.phobos/phobos.exp ...
>   | FAIL: libphobos.phobos/std_math_hardware.d execution test
>   | 
>   | improvements.sum:
>   | Running libphobos:libphobos.phobos/shared/phobos-shared.exp ...
>   | FAIL: libphobos.phobos/shared/std/format/internal/floats.d execution test
>   | ... and 10 more
> 

This just a test that was already failing, it's been renamed from 
std/math/hardware.d to std_math_hardware.d in the logs.

Iain.
___
linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org
To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org


Re: [Linaro-TCWG-CI] gcc-15-7765-g3866ca796d5: 8 regressions on master-thumb_m7_hard_eabi

2025-03-02 Thread Jonathan Wakely
On Sun, 2 Mar 2025 at 02:42,  wrote:
>
> Dear contributor,
>
> Our automatic CI has detected problems related to your patch(es). Please find 
> some details below.
>
> In  arm-eabi cortex-m7 hard, after:
>   | commit gcc-15-7765-g3866ca796d5
>   | Author: Jonathan Wakely 
>   | Date:   Thu Feb 27 13:27:17 2025 +
>   |
>   | libstdc++: Fix ranges::move and ranges::move_backward to use 
> iter_move [PR105609]
>   |
>   | The ranges::move and ranges::move_backward algorithms are supposed to
>   | use ranges::iter_move(iter) instead of std::move(*iter), which matters
>   | for an iterator type with an iter_move overload findable by ADL.
>   | ... 16 lines of the commit log omitted.
>
> Produces 8 regressions:
>   |
>   | regressions.sum:
>   | Running libstdc++:libstdc++-dg/conformance.exp ...
>   | FAIL: 25_algorithms/move/constrained.cc -std=gnu++20 (test for excess 
> errors)
>   | UNRESOLVED: 25_algorithms/move/constrained.cc -std=gnu++20 compilation 
> failed to produce executable
>   | FAIL: 25_algorithms/move/constrained.cc -std=gnu++26 (test for excess 
> errors)
>   | UNRESOLVED: 25_algorithms/move/constrained.cc -std=gnu++26 compilation 
> failed to produce executable
>   | ... and 4 more

It looks like thumb has some unusual linking requirements that I'm not
familiar with, so undefined functions (which are never actually called
in the test) cause linker errors:

/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2/arm-eabi/libstdc++-v3/include/bits/iterator_concepts.h:155:(.text._Z6test06N8pr1056091IE+0x6):
undefined reference to `pr105609::iter_move(pr105609::I const&)'
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu/arm-eabi/bin/ld:
(_ZN8pr1056099iter_moveERKNS_1IE): Unknown destination type
(ARM/Thumb) in /tmp/ccqKQGzN.o
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2/arm-eabi/libstdc++-v3/include/bits/iterator_concepts.h:155:(.text._Z6test06N8pr1056091IE+0x6):
dangerous relocation: unsupported relocation
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2/arm-eabi/libstdc++-v3/include/bits/ranges_algobase.h:326:(.text._Z6test06N8pr1056091IE+0xc):
undefined reference to `pr105609::I::operator++()'
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu/arm-eabi/bin/ld:
(_ZN8pr1056091IppEv): Unknown destination type (ARM/Thumb) in
/tmp/ccqKQGzN.o
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2/arm-eabi/libstdc++-v3/include/bits/ranges_algobase.h:326:(.text._Z6test06N8pr1056091IE+0xc):
dangerous relocation: unsupported relocation
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu/arm-eabi/bin/ld:
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2/arm-eabi/libstdc++-v3/include/bits/ranges_algobase.h:323:(.text._Z6test06N8pr1056091IE+0x16):
undefined reference to `pr105609::I::operator==(pr105609::I) const'
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu/arm-eabi/bin/ld:
(_ZNK8pr1056091IeqES0_): Unknown destination type (ARM/Thumb) in
/tmp/ccqKQGzN.o
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2/arm-eabi/libstdc++-v3/include/bits/ranges_algobase.h:323:(.text._Z6test06N8pr1056091IE+0x16):
dangerous relocation: unsupported relocation

I think I should be able to workaround this.

___
linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org
To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org