https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832
Bug ID: 99832 Summary: std::chrono::system_clock::to_time_t needs ABI tag for 32-bit time_t Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ABI Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- chrono::system_clock defines: static std::time_t to_time_t(const time_point& __t) noexcept This is a non-template function and its mangled name does not depend on the return type. The mangled name is: _ZNSt6chrono3_V212system_clock9to_time_tERKNS_10time_pointIS1_NS_8durationIlSt5ratioILl1ELl1000000000EEEEEE For a target that allows time_t to be either 32-bit or 64-bit, we need this mangled name to reflect the type of time_t.