Thanks for the notification! I took a look and the error seems to be
something specific to the TLS implementation for ARM requiring
additional flags to link correctly, maybe?
I'm unable to test locally (I don't have access to an ARM machine) but
from looking at other testsuite examples which make use of thread
locals, adding the following two lines to the testcases may resolve the
failures:
// { dg-add-options tls }
// { dg-require-effective-target tls_runtime }
Please let me know if the issue is something else and I can take
another look.
Yours,
Nathaniel.
On Thu, Jan 18, 2024 at 07:12:12AM +0000, ci_notify(a)linaro.org wrote:
> Dear contributor, our automatic CI has detected problems related to your patch(es). Please find some details below. If you have any questions, please follow up on linaro-toolchain(a)lists.linaro.org mailing list, Libera's #linaro-tcwg channel, or ping your favourite Linaro toolchain developer on the usual project channel.
>
> We appreciate that it might be difficult to find the necessary logs or reproduce the issue locally. If you can't get what you need from our CI within minutes, let us know and we will be happy to help.
>
> We track this report status in https://linaro.atlassian.net/browse/GNU-1112 , please let us know if you are looking at the problem and/or when you have a fix.
>
> In master-arm_eabi after:
>
> | commit gcc-14-8168-g14338386970
> | Author: Nathaniel Shead <nathanieloshead(a)gmail.com>
> | Date: Thu Jan 11 16:49:39 2024 +1100
> |
> | c++: Support thread_local statics in header modules [PR113292]
> |
> | Currently, thread_locals in header modules cause ICEs. This patch makes
> | the required changes for them to work successfully.
> |
> | This requires additionally writing the DECL_TLS_MODEL for thread-local
> | variables to the module interface, and the TLS wrapper function needs to
> | ... 24 lines of the commit log omitted.
>
> FAIL: 3 regressions
>
> regressions.sum:
> === g++ tests ===
>
> Running g++:g++.dg/modules/modules.exp ...
> FAIL: g++.dg/modules/pr113292 -std=c++17 link
> FAIL: g++.dg/modules/pr113292 -std=c++2a link
> FAIL: g++.dg/modules/pr113292 -std=c++2b link
>
> === Results Summary ===
>
> You can find the failure logs in *.log.1.xz files in
> - https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-arm_eabi-build/5… .
> The full lists of regressions and progressions are in
> - https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-arm_eabi-build/5… .
> The list of [ignored] baseline and flaky failures are in
> - https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-arm_eabi-build/5… .
>
> The configuration of this build is:
> CI config tcwg_gnu_embed_check_gcc master-arm_eabi
>
> -----------------8<--------------------------8<--------------------------8<--------------------------
> The information below can be used to reproduce a debug environment:
>
> Current build : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-arm_eabi-build/5…
> Reference build : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-arm_eabi-build/5…
>
> Reproduce last good and first bad builds: https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sh…
>
> Full commit : https://github.com/gcc-mirror/gcc/commit/14338386970bc6c2d46b81181f48622fdf…
>
> List of configurations that regressed due to this commit :
> * tcwg_gnu_embed_check_gcc
> ** master-arm_eabi
> *** FAIL: 3 regressions
> *** https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sh…
> *** https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-arm_eabi-build/5…
Hi
So, I have a ci fail email, and it seems likely to be a valid complaint -
but the reproduce instructions do not work on my platform (bash is not new enough)
and also do not work on cfarm186 (../jenkins-scripts/jenkins-helpers.sh: line 1762: ts: command not found)
For the record, the patch that is flagged as failing *was* tested on aarch64-linux-gnu (cfarm185)
So, I am trying to figure out if the target is different, or some other configure argument.
.. but I cannot work out the failing configure line at present - nor can I see a place to download the console log from the actual failing GCC build (which would presumably have that configure line).
any help much appreciated.
Iain
Hi,
I received an error reported by CI for my patchs, I would like to ask
how I have to reproduce it locally? I looked at the logs and didn't find
the way how it compiles. Thanks in advance.
On 2023/11/8 16:59, ci_notify(a)linaro.org wrote:
> Dear contributor, our automatic CI has detected problems related to your patch(es). Please find some details below. If you have any questions, please follow up on linaro-toolchain(a)lists.linaro.org mailing list, Libera's #linaro-tcwg channel, or ping your favourite Linaro toolchain developer on the usual project channel.
>
> In gcc_build master-arm after:
>
> | 7 patches in gcc
> | Patchwork URL: https://patchwork.sourceware.org/patch/79366
> | ef64c12c9f0 lra: Support subreg live range track and conflict detect
> | a871f544e2b lra: Apply live_subreg df_problem to lra pass
> | 6437747d6f3 ira: Add all nregs >= 2 pseudos to tracke subreg list
> | 1a2da1ad5f0 ira: Support subreg copy
> | 4f8d8e764e0 ira: Support subreg live range track
> | ... and 2 more patches in gcc
> | ... applied on top of baseline commit:
> | ca281a7b971 [i386] APX: Fix ICE due to movti postreload splitter [PR112394]
>
> Results changed to
> # reset_artifacts:
> -10
> # true:
> 0
> # build_abe gcc:
> # FAILED
> # First few build errors in logs:
> # 00:03:49 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/libgcc2.c:2700:1: internal compiler error: Aborted
> # 00:03:49 make[2]: *** [Makefile:505: _muldc3.o] Error 1
> # 00:03:49 make[1]: *** [Makefile:14486: all-target-libgcc] Error 2
> # 00:03:49 make: *** [Makefile:1056: all] Error 2
> # 00:03:41 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/fixed-bit.c:72:1: internal compiler error: Aborted
> # 00:03:41 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/libgcc2.c:2700:1: internal compiler error: Aborted
> # 00:03:41 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/fixed-bit.c:72:1: internal compiler error: Aborted
> # 00:03:41 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/fixed-bit.c:72:1: internal compiler error: Aborted
> # 00:03:41 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/fixed-bit.c:72:1: internal compiler error: Aborted
> # 00:03:42 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/libgcc2.c:2865:1: internal compiler error: Aborted
> # 00:03:42 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/fixed-bit.c:143:1: internal compiler error: Aborted
> # 00:03:42 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/fixed-bit.c:143:1: internal compiler error: Aborted
> # 00:03:42 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/fixed-bit.c:143:1: internal compiler error: Aborted
> # 00:03:42 /home/tcwg-build/workspace/tcwg_gnu_0/abe/snapshots/gcc.git~master/libgcc/fixed-bit.c:143:1: internal compiler error: Aborted
>
> From
> # reset_artifacts:
> -10
> # true:
> 0
> # build_abe gcc:
> 1
>
> The configuration of this build is:
> CI config tcwg_gcc_build/master-arm
>
> -----------------8<--------------------------8<--------------------------8<--------------------------
> The information below can be used to reproduce a debug environment:
>
> Current build : https://ci.linaro.org/job/tcwg_gcc_build--master-arm-precommit/4076/artifac…
> Reference build : https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1364/artifact/ar…
--
Best,
Lehua (RiVAI)
lehua.ding(a)rivai.ai
ci_notify(a)linaro.org writes:
> Dear contributor, our automatic CI has detected problems related to your
> patch(es). Please find some details below. If you have any questions,
> please follow up on linaro-toolchain(a)lists.linaro.org mailing list,
> Libera's #linaro-tcwg channel, or ping your favourite Linaro toolchain
> developer on the usual project channel.
>
> In gcc_build master-arm after:
>
> | gcc patch https://patchwork.sourceware.org/patch/80969
> | Author: Rainer Orth <ro(a)CeBiTec.Uni-Bielefeld.DE>
> | Date: Wed Nov 29 15:10:00 2023 +0100
> |
> | libiberty: Disable hwcaps for sha1.o
> |
> | This patch
> |
> | commit bf4f40cc3195eb7b900bf5535cdba1ee51fdbb8e
> | Author: Jakub Jelinek <jakub(a)redhat.com>
> | Date: Tue Nov 28 13:14:05 2023 +0100
> | ... 26 lines of the commit log omitted.
> | ... applied on top of baseline commit:
> | 4c909c6ee38 In 'libgomp.c/target-simd-clone-{1,2,3}.c', restrict
> | 'scan-offload-ipa-dump's to 'only_for_offload_target amdgcn-amdhsa'
>
> Results changed to
> # reset_artifacts:
> -10
> # true:
> 0
> # build_abe gcc:
> # FAILED
> # First few build errors in logs:
> # 00:02:15 gccgo: fatal error: Killed signal terminated program go1
> # 00:02:23 gcc: error: @HWCAP_CFLAGS@: linker input file not found: No such
> file or directory
> # 00:02:23 make[2]: *** [Makefile:1219: regex.o] Error 1
> # 00:02:23 make[1]: *** [Makefile:8370: all-libiberty] Error 2
> # 00:02:23 make: *** [Makefile:1057: all] Error 2
> # 00:01:06 gccgo: fatal error: Killed signal terminated program go1
> # 00:02:10 gcc: error: @HWCAP_CFLAGS@: linker input file not found: No such
> file or directory
> # 00:02:10 make[2]: *** [Makefile:776: fdmatch.o] Error 1
> # 00:02:10 gcc: error: @HWCAP_CFLAGS@: linker input file not found: No such
> file or directory
> # 00:02:10 make[2]: *** [Makefile:805: filedescriptor.o] Error 1
> # 00:02:10 gcc: error: @HWCAP_CFLAGS@: linker input file not found: No such
> file or directory
> # 00:02:10 make[2]: *** [Makefile:837: fnmatch.o] Error 1
> # 00:02:10 gcc: error: @HWCAP_CFLAGS@: linker input file not found: No such
> file or directory
> # 00:02:10 make[2]: *** [Makefile:817: filename_cmp.o] Error 1
> # 00:02:10 gcc: error: @HWCAP_CFLAGS@: linker input file not found: No such
> file or directory
>
> From
> # reset_artifacts:
> -10
> # true:
> 0
> # build_abe gcc:
> 1
>
> The configuration of this build is:
> CI config tcwg_gcc_build master-arm
>
> -----------------8<--------------------------8<--------------------------8<--------------------------
> The information below can be used to reproduce a debug environment:
>
> Current build :
> https://ci.linaro.org/job/tcwg_gcc_build--master-arm-precommit/4887/artifac…
> Reference build :
> https://ci.linaro.org/job/tcwg_gcc_build--master-arm-build/1444/artifact/ar…
>
As is customary for gcc patches, this patch didn't include the generated
files to simplify review. Thus, to test it in any meaningful way, one
needs to run aclocal and autoconf before configuring/building. Not
doing so just produces meaningless mails from the CI.
Rainer
Progress:
* UM-2 [QEMU upstream maintainership]
- further diagnosed the cause of the reported regression in virtio-pci
running Linux on 32-bit arm emulation: the kernel the user was using
was a non-LPAE one. So the fix is "use an LPAE kernel, or else manually
set highmem=off".
It would be nice if the kernel produced a more helpful error message
for the case where it was built without CONFIG_LPAE and the PCI
controller ECAM window is above the 4GB mark...
- lots of code review this week, including:
+ a patch trying to add support to the memory system core for unaligned
accesses to a device whose implementation doesn't directly handle
them itself
+ another round of the Nuvoton GMAC and Mailbox device patchset
+ various parts of the new STM32L4x5 emulation
+ other smaller patches
- patch: remove some now-unneeded code from arm_pamax()
- patch: improve docs for the virt board 'highmem' option
- patch: work around a bug in 'htags' that was causing intermittent
failures of one of our CI jobs
- patch: fix 'raven' PCI controller handling of unaligned accesses
- handling merging of pull requests; spent some time making sure we
have reported issues in our bug tracker (new tag "flaky-ci") for
any intermittent CI failures, and asking people to investigate
some of them
-- PMM
Hi,
I guess this is a false alarm since the error message was
FAIL: g++.dg/modules/xtreme-header-1_a.H -std=c++2b (internal compiler
error: in core_vals, at cp/module.cc:6110)
and is now:
FAIL: g++.dg/modules/xtreme-header-1_a.H -std=c++2b (internal compiler
error: in core_vals, at cp/module.cc:6112)
(that is, only the line number changes)
Thanks,
Christophe
On Thu, 11 Jan 2024 at 08:32, <ci_notify(a)linaro.org> wrote:
>
> Dear contributor, our automatic CI has detected problems related to your patch(es). Please find some details below. If you have any questions, please follow up on linaro-toolchain(a)lists.linaro.org mailing list, Libera's #linaro-tcwg channel, or ping your favourite Linaro toolchain developer on the usual project channel.
>
> We appreciate that it might be difficult to find the necessary logs or reproduce the issue locally. If you can't get what you need from our CI within minutes, let us know and we will be happy to help.
>
> We track this report status in https://linaro.atlassian.net/browse/GNU-1101 , please let us know if you are looking at the problem and/or when you have a fix.
>
> In master-aarch64 after:
>
> | commit gcc-14-7074-gf9fbf93dc82
> | Author: waffl3x <waffl3x(a)protonmail.com>
> | Date: Sun Jan 7 00:00:10 2024 +0000
> |
> | c++: P0847R7 (deducing this) - prerequisite changes. [PR102609]
> |
> | Adds the xobj_flag member to lang_decl_fn and a corresponding member access
> | macro and predicate to support the addition of explicit object member
> | functions. Additionally, since explicit object member functions are also
> | non-static member functions, we need to change uses of
> | DECL_NONSTATIC_MEMBER_FUNCTION_P to clarify whether they intend to include
> | ... 76 lines of the commit log omitted.
>
> FAIL: 15 regressions: 15 progressions
>
> regressions.sum:
> === g++ tests ===
>
> Running g++:g++.dg/modules/modules.exp ...
> FAIL: g++.dg/modules/xtreme-header-1_a.H -std=c++17 (internal compiler error: in core_vals, at cp/module.cc:6112)
> FAIL: g++.dg/modules/xtreme-header-1_a.H -std=c++2a (internal compiler error: in core_vals, at cp/module.cc:6112)
> FAIL: g++.dg/modules/xtreme-header-1_a.H -std=c++2b (internal compiler error: in core_vals, at cp/module.cc:6112)
> FAIL: g++.dg/modules/xtreme-header-2_a.H -std=c++17 (internal compiler error: in core_vals, at cp/module.cc:6112)
> FAIL: g++.dg/modules/xtreme-header-2_a.H -std=c++2a (internal compiler error: in core_vals, at cp/module.cc:6112)
> FAIL: g++.dg/modules/xtreme-header-2_a.H -std=c++2b (internal compiler error: in core_vals, at cp/module.cc:6112)
> FAIL: g++.dg/modules/xtreme-header-5_a.H -std=c++17 (internal compiler error: in core_vals, at cp/module.cc:6112)
> ... and 10 more entries
>
> progressions.sum:
> === g++ tests ===
>
> Running g++:g++.dg/modules/modules.exp ...
> FAIL: g++.dg/modules/xtreme-header-1_a.H -std=c++2b (internal compiler error: in core_vals, at cp/module.cc:6110)
> FAIL: g++.dg/modules/xtreme-header-1_a.H -std=c++2a (internal compiler error: in core_vals, at cp/module.cc:6110)
> FAIL: g++.dg/modules/xtreme-header-1_a.H -std=c++17 (internal compiler error: in core_vals, at cp/module.cc:6110)
> FAIL: g++.dg/modules/xtreme-header-2_a.H -std=c++17 (internal compiler error: in core_vals, at cp/module.cc:6110)
> FAIL: g++.dg/modules/xtreme-header-2_a.H -std=c++2a (internal compiler error: in core_vals, at cp/module.cc:6110)
> FAIL: g++.dg/modules/xtreme-header-2_a.H -std=c++2b (internal compiler error: in core_vals, at cp/module.cc:6110)
> FAIL: g++.dg/modules/xtreme-header-5_a.H -std=c++2b (internal compiler error: in core_vals, at cp/module.cc:6110)
> ... and 10 more entries
>
> You can find the failure logs in *.log.1.xz files in
> - https://ci.linaro.org/job/tcwg_gnu_native_check_gcc--master-aarch64-build/8… .
> The full lists of regressions and progressions are in
> - https://ci.linaro.org/job/tcwg_gnu_native_check_gcc--master-aarch64-build/8… .
> The list of [ignored] baseline and flaky failures are in
> - https://ci.linaro.org/job/tcwg_gnu_native_check_gcc--master-aarch64-build/8… .
>
> The configuration of this build is:
> CI config tcwg_gnu_native_check_gcc master-aarch64
>
> -----------------8<--------------------------8<--------------------------8<--------------------------
> The information below can be used to reproduce a debug environment:
>
> Current build : https://ci.linaro.org/job/tcwg_gnu_native_check_gcc--master-aarch64-build/8…
> Reference build : https://ci.linaro.org/job/tcwg_gnu_native_check_gcc--master-aarch64-build/8…
>
> Reproduce last good and first bad builds: https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sh…
>
> Full commit : https://github.com/gcc-mirror/gcc/commit/f9fbf93dc82525a0f54a2293b7ec92d657…
>
> List of configurations that regressed due to this commit :
> * tcwg_gnu_native_check_gcc
> ** master-aarch64
> *** FAIL: 15 regressions: 15 progressions
> *** https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sh…
> *** https://ci.linaro.org/job/tcwg_gnu_native_check_gcc--master-aarch64-build/8…