#1149300 libc++-dev: undefined reference to `std::__1::chrono::system_clock::from_time_t(long)'

Package:
libc++-dev
Source:
libc++-dev
Description:
LLVM C++ Standard library (development files)
Submitter:
Nicholas Guriev
Date:
2026-09-29 09:03:02 UTC
Severity:
normal
#1149300#5
Date:
2026-09-29 09:00:36 UTC
From:
To:
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)