[PATCH] getaddrinfo: Doc fix.

2021-01-24 Thread simon--- via Gnulib discussion list
Hi. There were discussion about libidn/libidn2 support for GNU InetUtils, and today I believe the recommended way for GNU applications is to use system getaddrinfo for IDN functionality and not link to libidn/libidn2 directly. This works fine on modern glibc systems, and using it reduces complexi

Re: Issue when testing with --as-needed enabled

2021-01-24 Thread Jeffrey Walton
On Tue, Dec 1, 2020 at 7:56 AM Thomas Andrejak wrote: > > Can you explain what GCC options can interfere with this ? --as-needed caused problems in the past. I think it was a linker bug. On occasion you needed to tame the linker with -Wl,--no-as-needed. The weird thing was, the need for -Wl,--no-

getcwd: Fix cross-compilation guess for musl libc

2021-01-24 Thread Bruno Haible
On Alpine Linux 3.13/powerpcle, I see this configure test fail: checking whether getcwd succeeds when 4k < cwd_length < 16k... no On this platform, PATH_MAX = 4 KiB < 64 KiB = PAGESIZE. The getcwd system call fails with error ENAMETOOLONG. 2021-01-24 Bruno Haible getcwd: Fix cross-

expm1l: Fix configure test result with GCC 10 on powerpc64le

2021-01-24 Thread Bruno Haible
On Alpine Linux 3.13/powerpc64le, configure reports checking whether expm1l works... no but the function in fact works. The issue is caused by a GCC optimization. This patch fixes it. 2021-01-24 Bruno Haible expm1l: Fix configure test result with GCC 10 on powerpc64le. * m4