cannot make gcc report undeclared builtins

Simon Josefsson via Bug reports for autoconf <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Hi

I got this failure on a loong64 machine for libidn2 that was
bootstrapped with autoconf 2.72:

checking for gcc options needed to detect all undeclared functions... cannot detect
configure: error: in `/<<PKGBUILDDIR>>/build':
configure: error: cannot make gcc report undeclared builtins

For full log:

https://buildd.debian.org/status/fetch.php?pkg=libidn2&arch=loong64&ver=2.3.7-1&stamp=1706360630&raw=0

I could reproduce this manually on cfarm400:

wget https://ftp.gnu.org/gnu/libidn/libidn2-2.3.7.tar.gz
tar xfa libidn2-2.3.7.tar.gz
cd libidn2-2.3.7
./configure

The problem also happens with libidn2 version 2.3.4 that was
bootstrapped using autoconf 2.71.  So it seems like an old problem but I
couldn't find an earlier bug report, and some other packages appear to
build on loong64 without triggering this.  Is there some problem in
libidn2 here, or do you have any thoughts?

/Simon
signature.asc (application/pgp-signature, 255 B)
-----BEGIN PGP SIGNATURE-----

iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCZbotthQcc2ltb25Aam9z
ZWZzc29uLm9yZwAKCRBRcisI/kdFoh3uAP0XNreE3xZ3lhkI2nCWqudzzMsrb7Ix
4NDh0XPKo2w5RAD/WcxFYs59nEhLz2pugROQOUHnv1A54M9Dnfrska4DsQ0=
=4Qt3
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.