-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Description
Describe the issue
When building the monolithic shared library with MinGW, an error occurs:
ld.exe: absl/CMakeFiles/abseil_dll.dir/time/internal/cctz/src/time_zone_lookup.cc.obj: in function `absl::lts_20260107::time_internal::cctz::local_time_zone()':
absl/time/internal/cctz/src/time_zone_lookup.cc:168:(.text+0x29d): undefined reference to `absl::lts_20260107::time_internal::cctz::GetWindowsLocalTimeZone[abi:cxx11]()'
And I check the build directory, finding that time_zone_name_win.cc.obj, which contains this symbol and should be compiled, is not compiled.
Steps to reproduce the problem
- Use CMake to configure the project with
-DABSL_BUILD_MONOLITHIC_SHARED_LIBS:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON - Build all
What version of Abseil are you using?
20260107.1
What operating system and version are you using?
Windows 11
What compiler and version are you using?
MinGW 15.2.0
What build system are you using?
CMake 4.1.1
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels