On 06/11/2025 20:32, Bruno Haible wrote:
Pádraig Brady wrote:
But I've tested other SPARC platforms:
    - Linux (Debian 9)/SPARC
    - FreeBSD 12/SPARC
    - NetBSD 10/SPARC
    - OpenBSD 7.2/SPARC
and other Solaris platforms:
    - Solaris 10, 11 / x86_64
and the _only_ platforms that have a crash in the tests/install/basic-1.sh
test are Solaris 10, 11 / SPARC.
...

I was able to repro on cfarm202, which is Debian on UltraSparc T5.

I can't reproduce it there. I use CC="gcc -m64", CFLAGS="-g -O2".
What is different in your setup? Or is the crash only reproducible
sometimes?

100% for me. Repro was in other mail with proposed patch:

 # cfarm202
 $ ./configure gl_cv_func_posix_spawnp_secure_exec=no --quiet
 $ make -j $(nproc)
 $ make TESTS=tests/install/basic-1.sh SUBDIRS=. check

Also I was more defensive with specifying __sparc64__
as I saw that elsewhere in gnulib, and UltraSparc T5 is 64 bit.

For a discussion of the predefines of SPARC, see
maint-tools/platforms/predefines.txt in
https://gitweb.git.savannah.gnu.org/gitweb/?p=gnulib/maint-tools.git

Cool, so __sparc__ is always defined.
We would just need to remove the __sun then.

cheers,
Padraig.

Reply via email to