Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
Linker issues with libPSL since curl-8.16.0_4
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Mac-Fly via curl-library <curl-library_at_lists.haxx.se>
Date: Sat, 04 Oct 2025 11:37:12 +0200
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.
Date: Sat, 04 Oct 2025 11:37:12 +0200
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.htmlReceived on 2025-10-04