On Wednesday, July 16, 2025, at 3:49 PM +0200, Frank Heckenbach wrote: > I do wonder if this fine-grained splitting is really necessary -- > shouldn't -Wl,--as-needed already take care of only linking what's > needed?
There might be some parts of Abseil that use dynamic registration and thus wouldn’t be picked up by -Wl,--as-needed, but I honestly don't remember. This is probably better answered by Abseil upstream--do you want to file a bug at https://github.com/abseil/abseil-cpp/issues? > Since the current situation is untenable regarding compile times, > you could please do anything about it for trixie (or coordinate with > the pkgconf maintainers)? I think trixie is too frozen at this point to do anything about it before the release. However, https://github.com/pkgconf/pkgconf/issues/229 suggests the pkgconf slowness has been resolved in v2.1.1, which could certainly be backported into trixie after the release occurs. Additionally, I do want to point out that adopting CMake would work around the pkgconf issues. CMake is a tad complex for my taste, but Abseil (like most Google products) does include CMake library descriptors, and those files are included in the Debian package. To be clear, I'm not telling you to "just go use CMake" - it's important to get the pkgconf issues resolved - but as an intermediate solution, it might be worth investigating. I'm going to leave this bug open until Debian gets a C++17-only Abseil, but if it's all right with you, let's move further discussion of the pkgconf issues to https://bugs.debian.org/1108845.