From b4e162566fa3fa04200ac3aa751201dee06995ce Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 16 Oct 2024 09:28:46 +0200 Subject: [PATCH] KNOWN_BUGS: LDFLAGS passed too late Makes linking fail on some (ancient) platforms. Closes #14893 Closes #15306 --- docs/KNOWN_BUGS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/KNOWN_BUGS b/docs/KNOWN_BUGS index 2b04630a9e..5a1e5eeaad 100644 --- a/docs/KNOWN_BUGS +++ b/docs/KNOWN_BUGS @@ -36,6 +36,7 @@ problems may have been fixed or changed somewhat since this was written. 5. Build and portability issues 5.1 OS400 port requires deprecated IBM library 5.2 curl-config --libs contains private details + 5.3 LDFLAGS passed too late making libs linked incorrectly 5.6 Cygwin: make install installs curl-config.1 twice 5.11 configure --with-gssapi with Heimdal is ignored on macOS 5.12 flaky CI builds @@ -225,6 +226,14 @@ problems may have been fixed or changed somewhat since this was written. that might be needed only for building libcurl. Further, curl-config --cflags suffers from the same effects with CFLAGS/CPPFLAGS. +5.3 LDFLAGS passed too late making libs linked incorrectly + + Compiling latest curl on HP-UX and linking against a custom OpenSSL (which is + on the default loader/linker path), fails because the generated Makefile has + LDFLAGS passed on after LIBS. + + See https://github.com/curl/curl/issues/14893 + 5.6 Cygwin: make install installs curl-config.1 twice https://github.com/curl/curl/issues/8839