- 
    Bug 
- 
    Resolution: Invalid
- 
    P2: Important 
- 
    None
- 
    5.15.3, 6.2.4
- 
    None
- 
    i.MX6 + Linux 5.10 + glibc 2.35
Environment
- i.MX6 32 bits CPU
- Yocto Kirkstone (kirkstone-4.0.6)
- Linux 5.10.109
- glibc 2.35 (8d125a1f9145ad90c94e438858d6b5b7578686f2)
- qtbase 5.15.3 or 6.2.4
- RFS built with "-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" flags
Description
The following qtbase test failed:
# ./tst_qeventloop ********* Start testing of tst_QEventLoop ********* Config: Using QtTest library 6.2.4, Qt 6.2.4 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 11.3.0), poky 4.0.6 PASS : tst_QEventLoop::initTestCase() FAIL! : tst_QEventLoop::processEvents() 'eventLoop.processEvents(QEventLoop::WaitForMoreEvents)' returned FALSE. () Loc: [/usr/src/debug/qtbase/6.2.4-r0/git/tests/auto/corelib/kernel/qeventloop/tst_qeventloop.cpp(218)]
The test fails with date before and after 2038:
| Flags | Date | tst_qeventloop result | 
|---|---|---|
| None | Before 2038 | Pass | 
| None | After 2038 | N/A (system crashes) | 
| -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 | Before 2038 | Fail | 
| -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 | After 2038 | Fail | 
- relates to
- 
                    QTBUG-110429 QMutex and QSemaphore don't work after 2038 on 32 bits systems -         
- Closed
 
-