[bug #68487] configure system fails to detect Fortran calling convention when using flang to build Octave
asch <[email protected]> Mon, 29 Jun 2026 12:51:40 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
--===============6703504279394709119==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
UGxlYXNlIHVzZSB0aGUgYnVnIHRyYWNrZXIgdG8gcG9zdCB1cGRhdGVzIHRvIGEgYnVnIHJlcG9y
dC4gIFRoZSBtYWlsaW5nIGxpc3QgaXMgaW50ZW5kZWQgYXMgYSByZWFkLW9ubHkgbm90aWZpY2F0
aW9uIHN0cmVhbS4gIEluZm8gcG9zdGVkIHRvIHRoaXMgbWFpbGluZyBsaXN0IGFkZHJlc3Mgd29u
J3QgYXBwZWFyIGluIHRoZSB0cmFja2VyIGRhdGFiYXNlIHdoZXJlIGl0IGlzIG1vc3QgdXNlZnVs
LgoK
--===============6703504279394709119==
Content-Type: MULTIPART/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; BOUNDARY="8323329-1714636915-1782751900=:436545"
Content-Disposition: inline
--8323329-1714636915-1782751900=:436545
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
URL:=0A <https://savannah.gnu.org/bugs/?68487>=0A=0A Summa=
ry: configure system fails to detect Fortran calling=0Aconvention when usin=
g flang to build Octave=0A Group: GNU Octave=0A =
Submitter: asch=0A Submitted: Mon 29 Jun 2026 04:51:37 P=
M UTC=0A Category: Configuration and Build System=0A =
Severity: 3 - Normal=0A Priority: 5 - Normal=0A =
Item Group: Build Failure=0A Status: None=0A =
Assigned to: None=0A Originator Name:=0A Originator =
Email:=0A Open/Closed: Open=0A Discussion Lock: Unlocke=
d=0A Release: 11.1.0=0A Operating System: GNU/Linux=
=0A Fixed Release: None=0A Planned Release: None=0A=0A=0A=
_______________________________________________________=0A=0AFollow-up =
Comments:=0A=0A=0A-------------------------------------------------------=
=0ADate: Mon 29 Jun 2026 04:51:37 PM UTC By: asch <asch>=0AFrom build.log:=
=0A=0Achecking for rsvg-convert... rsvg-convert=0Achecking whether the comp=
iler supports GNU C++... yes=0Achecking whether clang++ accepts -g... yes=
=0Achecking for clang++ option to enable C++11 features... none needed=0Ach=
ecking dependency style of clang++... none=0Achecking how to run the C++ pr=
eprocessor... clang++ -E=0Achecking whether clang++ supports C++17 features=
by default... yes=0Achecking whether std::pmr::polymorphic_allocator is av=
ailable... yes=0Achecking for x86_64-pc-linux-musl-gcc... (cached) clang=0A=
checking whether the compiler supports GNU C... (cached) yes=0Achecking whe=
ther clang accepts -g... (cached) yes=0Achecking for clang option to enable=
C11 features... (cached) none needed=0Achecking whether clang understands =
-c and -o together... (cached) yes=0Achecking whether the compiler is clang=
... (cached) yes=0Achecking for compiler option needed when checking for de=
clarations... (cached)=0A-Werror=3Dimplicit-function-declaration=0Achecking=
dependency style of clang... (cached) none=0Achecking how to run the C pre=
processor... clang-cpp=0Achecking for Minix Amsterdam compiler... no=0Achec=
king for x86_64-pc-linux-musl-ar... llvm-ar=0Achecking for _LARGEFILE_SOURC=
E value needed for large files... no=0Achecking for clang option to support=
large files... none needed=0Achecking g++ compiler version number...=0Ache=
cking gcc compiler version number...=0Aconfigure: defining __NO_MATH_INLINE=
S avoids buggy GNU libc exp function=0Achecking for sin in -lm... yes=0Ache=
cking for x86_64-pc-linux-musl-gfortran... flang=0Achecking whether the com=
piler supports GNU Fortran 77... no=0Achecking whether flang accepts -g... =
yes=0Achecking whether a usable Fortran compiler was found... yes=0Acheckin=
g how to get verbose linking output from flang... -v=0Achecking for Fortran=
77 libraries of flang... -L/usr/lib/clang/22/lib/linux=0A-L/usr/lib/llvm/2=
2/lib -lflang_rt.runtime -lm=0Achecking for dummy main to link with Fortran=
77 libraries... none=0Achecking for Fortran 77 name-mangling scheme... low=
er case, underscore, no=0Aextra underscore=0Aconfigure: error: to build Oct=
ave, the C++ to Fortran calling convention must=0Abe known.=0A=0A=0AI manag=
ed to work around this by passing the=0A--enable-fortran-calling-convention=
=3D"gfortran" to configure. Again this=0Ahappened using version 22.1.8 of l=
lvm/clang/flang and using musl/libcc++.=0A=0AI reached this stage after set=
ting F77 and FLIBS variables manually.=0A=0A=0A=0A=0A=0A=0A ____________=
___________________________________________=0AFile Attachments:=0A=0AName: =
config.log Size: 166KiB=0A <https://file.savannah.gn=
u.org/file/config.log?file_id=3D58764>=0A=0A=0A=0A AGPL NOTICE=0A=0AThes=
e attachments are served by Savane. You can download the corresponding=0Aso=
urce code of Savane at=0Ahttps://savannah.gnu.org/source/savane-c36938be85f=
f6c1b727bc7dd7fd30e48f9142870.tar.gz=0A=0A _____________________________=
__________________________=0A=0AReply to this item at:=0A=0A <https://sava=
nnah.gnu.org/bugs/?68487>=0A=0A____________________________________________=
___=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1714636915-1782751900=:436545
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCakKinAAKCRCqLAuaBUf3
TkwEAP4poU40vwgdNzUS8FoiQg3tvD7PJ42BkqIFLU2km4vWjgD/fxNheyRcWfUz
kCd+Eq7WawykRcM591n6KRqYLtWN+Qs=
=clFi
-----END PGP SIGNATURE-----
--8323329-1714636915-1782751900=:436545--
--===============6703504279394709119==--