Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1261115
| From | Samuel Thibault <sthibault@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1114674: otf2 FTCBFS: uses the build architecture compiler |
| Date | 2025-09-12 16:20 +0200 |
| Message-ID | <LucN4-eMyK-11@gated-at.bofh.it> (permalink) |
| References | <LsIHn-dLiK-3@gated-at.bofh.it> <LsLlT-dNhF-19@gated-at.bofh.it> <LtUGt-eA0e-1@gated-at.bofh.it> <LsIHn-dLiK-3@gated-at.bofh.it> <LtUGt-eA0e-1@gated-at.bofh.it> |
| Organization | I am not organized |
Helmut Grohne, le mar. 09 sept. 2025 17:54:46 +0200, a ecrit:
> 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.
Does your sbuild tree have arm64 binfmt emulation enabled? It would work
then.
I have found the issue: the score-p infrastructure assumes that Linux
does not cross-compile (as opposed to bluegene etc. environments which
do cross-compile). And another small bit about libdir. It does
cross-build on my box, it should be fine on salsa as well, we will see
on https://salsa.debian.org/debian/otf2/-/pipelines/935033
Samuel
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1114674: otf2 FTCBFS: uses the build architecture compiler Helmut Grohne <helmut@subdivi.de> - 2025-09-08 14:00 +0200
Bug#1114674: otf2 FTCBFS: uses the build architecture compiler Samuel Thibault <sthibault@debian.org> - 2025-09-08 16:50 +0200
Bug#1114674: otf2 FTCBFS: uses the build architecture compiler Helmut Grohne <helmut@subdivi.de> - 2025-09-11 21:00 +0200
Bug#1114674: otf2 FTCBFS: uses the build architecture compiler Samuel Thibault <sthibault@debian.org> - 2025-09-12 16:20 +0200
Bug#1114674: otf2 FTCBFS: uses the build architecture compiler Helmut Grohne <helmut@subdivi.de> - 2025-09-15 10:50 +0200
csiph-web