Linker issues with libPSL since curl-8.16.0_4

Mac-Fly via curl-library <[email protected]> Sat, 04 Oct 2025 11:37:12 +0200
Newsgroups gmane.comp.web.curl.library
Message-ID <20251004.093712.415.1@[0.0.0.0]>
Dear all,

I am having a linker issue with an unresolved symbol "stat64i32" that boils down to libPSL since release:
curl-8.16.0_4-win64-mingw (curl-8.16.0_3-win64-mingw and all versions before did not have that issue).

I tracked down the issue to the fact, that libPSL of that version was updated and the need for the symbol "stat64i32" is new.
Previously, the implementation seems to have relied on stat64. You can see it also nicely if you compare the symbols of both libs:
curl-8.16.0_3 requires __imp__stat64
curl-8.16.0_4 requires stat64i32

My compiler chain is "GCC 14.2.0 (with POSIX threads) + LLVM/Clang/LLD/LLDB 19.1.7 + MinGW-w64 12.0.0 (UCRT) - release 3" from https://www.winlibs.com.
I realise you use clang for the build, however, that is not an option for me. Also, this function should stem from ucrt on that platform which is reasonable new.

Any hint what I could do? Do you build libPSL in that archive yourself or is that an issue with the build of the libPSL team?

Any help is greatly appreciated!

Morten.

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html