Hello Paul,

[email protected] writes:

> Our automatic CI has detected problems related to your patch(es). Please find 
> some details below.
>
> In  arm-linux-gnueabihf cross, after:
>   | commit gcc-17-2855-g75be6085674
>   | Author: Paul Thomas <[email protected]>
>   | Date:   Fri Jul 24 15:05:46 2026 +0100
>   | 
>   |     Fortran: Auto deallocate coarrays, allocated in team blocks [PR126205]
>   |     
>   |     Gfortran was not compliant with F2018(11.1.5.2), which requires that
>   |     coarrays that are allocated within a team block are deallocated 
> immediately
>   |     before END TEAM.
>   | ... 40 lines of the commit log omitted.
>
> Produces 1 regression:
>   | 
>   | regressions.sum:
>   | Running gfortran:gfortran.dg/coarray/caf.exp ...
>   | FAIL: gfortran.dg/coarray/team_allocated_coarrays.f90 -fcoarray=lib 
> -pthread -O2
>   | -lcaf_shmem -lrt execution test
>
> Used configuration :
>  *CI config* tcwg_gnu_cross_check_gcc arm-linux-gnueabihf cross
>  *configure and test flags:* --target arm-linux-gnueabihf --disable-multilib
> --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb --with-tune=cortex-a9
> --with-arch=armv7-a
>
> We track this bug report under https://linaro.atlassian.net/browse/GNU-1986. 
> (Require
> Linaro login) Please let us know if you have a fix.

This is a false positive, please disregard this report.

This CI job cross-compiles the test binaries from x86_64 to aarch64 and
arm and runs it under QEMU, but there's a problem with the
cross-compilation. I checked the native aarch64 and arm jobs and in
those cases all tests in team_allocated_coarrays.f90 pass. Everything is
fine.

Sorry for the noise.

The problem is that the test binary tries to load libraries from the
host path rather than from the CI toolchain's sysroot:

Running on qemu: timeout -k 30s 630s 
/home/tcwg-buildslave/workspace/tcwg_gnu_0/abe/scripts/qemu-wrapper.sh x86_64 
aarch64 any 
/home/tcwg-buildslave/workspace/tcwg_gnu_0/abe/builds/destdir/x86_64-pc-linux-gnu/aarch64-linux-gnu/libc
 ./team_allocated_coarrays.exe 
spawn [open ...]
aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or 
directory
aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or 
directory
ERROR: Image 1(pid: 3135800) failed with signal 0, exitstatus 255.
aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or 
directory
aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or 
directory
aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or 
directory
aarch64-binfmt-P:aarch64-binfmt-P:  Could not open 
'/lib/ld-linux-aarch64.so.1': No such file or directoryCould not open 
'/lib/ld-linux-aarch64.so.1': No such file or directory

ERROR: Image 2(pid: 3135804) failed with signal 0, exitstatus 255.
ERROR: Image 3(pid: 3135806) failed with signal 0, exitstatus 255.
ERROR: Image 4(pid: 3135808) failed with signal 0, exitstatus 255.
ERROR: Image 5(pid: 3135810) failed with signal 0, exitstatus 255.
ERROR: Image 6(pid: 3135812) failed with signal 0, exitstatus 255.
ERROR: Image 7(pid: 3135814) failed with signal 0, exitstatus 255.
aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or 
directory
ERROR: Image 8(pid: 3135817) failed with signal 0, exitstatus 255.
FAIL: gfortran.dg/coarray/team_allocated_coarrays.f90 -fcoarray=lib -pthread  
-O2  -lcaf_shmem -lrt execution test

This happens with several testcases, not only team_allocated_coarrays.f90.

I don't know if it the problem is in the testsuite or in our CI scripts.

-- 
Thiago
(he/him)

Reply via email to