Package: libc++-dev Version: 1:21.1.8-74 Severity: important Dear Maintainer,
The attached program cannot be compiled with libc++ on armhf but works on other release architectures. Can you please check this? $ clang++ -stdlib=libc++ example.cpp -o /dev/null /usr/bin/arm-linux-gnueabihf-ld.bfd: /tmp/example-2ea859.o: in function `main': example.cpp:(.text+0x20): undefined reference to `std::__1::chrono::system_clock::from_time_t(long)' clang++: error: linker command failed with exit code 1 (use -v to see invocation) -- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: armhf (armv7l) Kernel: Linux 5.10.0-46-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages libc++-dev depends on: ii libc++-21-dev 1:21.1.8-13 libc++-dev recommends no packages. libc++-dev suggests no packages. -- no debconf information
#include <chrono>
#include <ctime>
int main()
{
std::time_t now = std::time(nullptr);
(void)std::chrono::system_clock::from_time_t(now);
}
signature.asc
Description: This is a digitally signed message part

