Hi Samuel,

On Mon, Sep 08, 2025 at 04:42:06PM +0200, Samuel Thibault wrote:
> It seems it didn't work on the salsa CI:
> 
> https://salsa.debian.org/debian/otf2/-/jobs/8240376
> 
> “
> checking for suffix of executables...
> checking whether we are cross compiling... configure: error: in 
> '/builds/debian/otf2/debian/output/source_dir/build-backend':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use '--host'.
> ”

As much as I see this failing on salsa-ci, I cannot reproduce this
failure locally. This output is from the nested configure invocation.
For reference, the invocation is:

configure: running /bin/bash ./configure --disable-option-checking 
'--prefix=/usr'  'CC_FOR_BUILD=' '--infodir=${prefix}/share/info' 
'--host=aarch64-linux-gnu' 'CXX=' '--localstatedir=/var' 'FC_FOR_BUILD=' 
'CXX_FOR_BUILD=' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/builds/debian/otf2/debian/output/source_dir=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard' 'CXXFLAGS=-g -O2 
-ffile-prefix-map=/builds/debian/otf2/debian/output/source_dir=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard' 'FCFLAGS=-g -O2 
-ffile-prefix-map=/builds/debian/otf2/debian/output/source_dir=. 
-fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard' 
'F77_FOR_BUILD=' '--build=x86_64-linux-gnu' 'CC=' '--runstatedir=/run' 
'--sysconfdir=/etc' 'FFLAGS=-g -O2 
-ffile-prefix-map=/builds/debian/otf2/debian/output/source_dir=. 
-fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard' 
'FC=' '--libdir=${prefix}/lib/aarch64-linux-gnu' 
'--includedir=${prefix}/include' 'F77=' '--mandir=${prefix}/share/man' 
'--with-custom-compilers' '--enable-backend-test-runs' 
'--disable-dependency-tracking' '--disable-maintainer-mode' 
'--disable-silent-rules' 'ac_scorep_platform=linux' 
'ac_scorep_cross_compiling=no' --cache-file=/dev/null --srcdir=.

Please observe that the 5th option is --host. It is not clear to me why
that is failing on salsa-ci and succeeding locally in sbuild. I suggest
that you move ahead and we check crossqa.debian.net.

Helmut

Reply via email to