Hi Linaro folks!
It seems that the system running the armv8l has a pretty old pascal compiler. I checked the log and it seems that, with that compiler version, using fpc -g will generate stabs information, rather than DWARF information.
So in one sense, these regressions are expected, but more importantly, you should take a look at updating the armv8l machine so that pascal tests can continue working
On 10/23/25 10:42 AM, ci_notify@linaro.org wrote:
Dear contributor,
Our automatic CI has detected problems related to your patch(es). Please find some details below.
In gdb_check master-arm, after: | commit gdb-17-branchpoint-577-gbaeb632f1b7 | Author: Guinevere Larsen guinevere@redhat.com | Date: Wed Jan 22 14:05:01 2025 -0300 | | gdb: Remove stabs support from ELF files | | This commit makes it so that GDB won't read stabs information from ELF | files. If stabs is detected in an ELF file, the reader now warns the user | that stabs is not supported. | ... 6 lines of the commit log omitted.
Produces 118 regressions: | | regressions.sum: | Running gdb:gdb.pascal/case-insensitive-symbols.exp ... | FAIL: gdb.pascal/case-insensitive-symbols.exp: gdb_breakpoint: set breakpoint at case-insensitive-symbols.pas:43 | Running gdb:gdb.pascal/floats.exp ... | FAIL: gdb.pascal/floats.exp: Going to second breakpoint (the program is no longer running) | FAIL: gdb.pascal/floats.exp: Test sin(pi) is equal to 0 | ... and 119 more
Used configuration : *CI config* tcwg_gdb_check master-arm *configure and test flags:* none, autodetected on armv8l-unknown-linux-gnueabihf
We track this bug report under https://linaro.atlassian.net/browse/GNU-1715. Please let us know if you have a fix.
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 *.log.1.xz files in
The full lists of regressions and improvements as well as configure and make commands are in
The list of [ignored] baseline and flaky failures are in
Current build : https://ci.linaro.org/job/tcwg_gdb_check--master-arm-build/3112/artifact/art... Reference build : https://ci.linaro.org/job/tcwg_gdb_check--master-arm-build/3111/artifact/art...
Instruction to reproduce the build : https://gitlab.com/LinaroLtd/tcwg/ci/interesting-commits/-/raw/master/gdb/sh...
Full commit : https://sourceware.org/git/?p=binutils-gdb.git%3Ba=commitdiff%3Bh=baeb632f1b...
Hello Guinevere,
Guinevere Larsen via linaro-toolchain linaro-toolchain@lists.linaro.org writes:
It seems that the system running the armv8l has a pretty old pascal compiler. I checked the log and it seems that, with that compiler version, using fpc -g will generate stabs information, rather than DWARF information.
So in one sense, these regressions are expected, but more importantly, you should take a look at updating the armv8l machine so that pascal tests can continue working
Thank you for checking! We use the fpc compiler from Ubuntu 24.04 in all our CI machines, which is at version 3.2.2. It's the latest version according to the fpc website¹ (even though there's a 3.2.3 tag in the repository).
The problem is actually that on armv8l-linux the -g option defaults to stabs, even though on aarch64-linux and x86_64-linux it defaults to DWARF. I opened an issue upstream about it².
FWIW, if I hard-code fpc_compile in the GDB testsuite to use -gw to generate DWARF, then I get these results on armv8l-linux, which are the same as the ones on aarch64-linux and x86_64-linux:
=== gdb Summary ===
# of expected passes 169 # of known failures 1
linaro-toolchain@lists.linaro.org