Bug#1149300: libc++-dev: undefined reference to `std::__1::chrono::system_clock::from_time_t(long)'
Nicholas Guriev
nicholas at guriev.su
Tue Sep 29 10:00:36 BST 2026
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.cpp
Type: text/x-c++src
Size: 144 bytes
Desc:
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20260929/b714a7ec/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20260929/b714a7ec/attachment.sig>
More information about the Pkg-llvm-team
mailing list