[libcxx-commits] [libcxx] [libc++][chrono] Adds the sys_info class. (PR #85619)

Vladimir Vereschaka via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 17 13:06:55 PDT 2024


vvereschaka wrote:

Hi @mordante ,
> I think the error can be improved, but I disagree that this is not useful. 

No, my point was that it is difficult to get the exact problem, especially without accessing to the target equpment. Sorry for unclear explanation.

Anyway, I tried to find which part of the test is failed and I found that it gets failed on `Antarctica/Syowa` zone.
Also, this test has passed on the Aarch64/Ubuntu Linux targets.
 
There is a zdump for `Antarctica/Syowa` on few arm boards, two of them are `aarch64` (passed test) and another is `armv7` (failed test):

**aarch64 / Ubuntu Linux 22.04** (passed test)
```
ubuntu at jetson-agx-2197:/usr/share/zoneinfo/Antarctica$ zdump -v Antarctica/Syowa
Antarctica/Syowa  -9223372036854775808 = NULL
Antarctica/Syowa  -9223372036854689408 = NULL
Antarctica/Syowa  Mon Jan 28 23:59:59 1957 UT = Mon Jan 28 23:59:59 1957 -00 isdst=0 gmtoff=0
Antarctica/Syowa  Tue Jan 29 00:00:00 1957 UT = Tue Jan 29 03:00:00 1957 +03 isdst=0 gmtoff=10800
Antarctica/Syowa  9223372036854689407 = NULL
Antarctica/Syowa  9223372036854775807 = NULL
```

**aarch64 / Ubuntu Linux 18.04**
```
ubuntu at jetson10:/usr/share/zoneinfo/Antarctica$ zdump -v Antarctica/Syowa
Antarctica/Syowa  -9223372036854775808 = NULL
Antarctica/Syowa  -9223372036854689408 = NULL
Antarctica/Syowa  Thu Mar 13 20:53:07 1947 UT = Thu Mar 13 23:59:59 1947 LMT isdst=0 gmtoff=11212
Antarctica/Syowa  Thu Mar 13 20:53:08 1947 UT = Thu Mar 13 23:53:08 1947 +03 isdst=0 gmtoff=10800
Antarctica/Syowa  9223372036854689407 = NULL
Antarctica/Syowa  9223372036854775807 = NULL
```

**armv7 / Ubuntu Linux 18.04** (FAILED test)
```
ubuntu at jetson6:/usr/share/zoneinfo/Antarctica$ zdump -v Antarctica/Syowa
Antarctica/Syowa  Fri Dec 13 20:45:52 1901 UT = Fri Dec 13 23:52:44 1901 LMT isdst=0 gmtoff=11212
Antarctica/Syowa  Sat Dec 14 20:45:52 1901 UT = Sat Dec 14 23:52:44 1901 LMT isdst=0 gmtoff=11212
Antarctica/Syowa  Thu Mar 13 20:53:07 1947 UT = Thu Mar 13 23:59:59 1947 LMT isdst=0 gmtoff=11212
Antarctica/Syowa  Thu Mar 13 20:53:08 1947 UT = Thu Mar 13 23:53:08 1947 +03 isdst=0 gmtoff=10800
Antarctica/Syowa  Mon Jan 18 03:14:07 2038 UT = Mon Jan 18 06:14:07 2038 +03 isdst=0 gmtoff=10800
Antarctica/Syowa  Tue Jan 19 03:14:07 2038 UT = Tue Jan 19 06:14:07 2038 +03 isdst=0 gmtoff=10800
```

Hope it will help in your investigation of the problem.


https://github.com/llvm/llvm-project/pull/85619


More information about the libcxx-commits mailing list