** Description changed: rocr-runtime 5.7.1-2 fails to build on armhf (with 64-bit time_t): In file included from /<<PKGBUILDDIR>>/src/core/inc/runtime.h:62, from /<<PKGBUILDDIR>>/src/core/util/lnx/os_linux.cpp:62: /<<PKGBUILDDIR>>/src/core/inc/signal.h:155:58: error: static assertion failed: Bad SDMA time stamp alignment. 155 | static_assert((offsetof(SharedSignal, sdma_end_ts) % 32) == 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /<<PKGBUILDDIR>>/src/core/inc/signal.h:155:58: note: the comparison reduces to ‘(24 == 0)’ The struct in question: ``` struct SharedSignal { amd_signal_t amd_signal; uint64_t sdma_start_ts; Signal* core_signal; Check<0x71FCCA6A3D5D5276, true> id; uint8_t reserved[8]; uint64_t sdma_end_ts; uint8_t reserved2[24]; ``` - On armhf: amd_signal is aligned to 32 bytes. sdma_start_ts is 4 bytes, - core_signal is 8 byte. id is 4 byte. The reserved block is 8 bytes. + amd_signal is aligned to 32 bytes. core_signal is 4 bytes on armhf but 8 + bytes on amd64. sdma_start_ts is 8 bytes and id is 4 byte. Full log: https://launchpadlibrarian.net/720487883/buildlog_ubuntu- noble-armhf.rocr-runtime_5.7.1-2_BUILDING.txt.gz
** Description changed: rocr-runtime 5.7.1-2 fails to build on armhf (with 64-bit time_t): In file included from /<<PKGBUILDDIR>>/src/core/inc/runtime.h:62, from /<<PKGBUILDDIR>>/src/core/util/lnx/os_linux.cpp:62: /<<PKGBUILDDIR>>/src/core/inc/signal.h:155:58: error: static assertion failed: Bad SDMA time stamp alignment. 155 | static_assert((offsetof(SharedSignal, sdma_end_ts) % 32) == 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /<<PKGBUILDDIR>>/src/core/inc/signal.h:155:58: note: the comparison reduces to ‘(24 == 0)’ The struct in question: ``` struct SharedSignal { amd_signal_t amd_signal; uint64_t sdma_start_ts; Signal* core_signal; Check<0x71FCCA6A3D5D5276, true> id; uint8_t reserved[8]; uint64_t sdma_end_ts; uint8_t reserved2[24]; ``` - amd_signal is aligned to 32 bytes. core_signal is 4 bytes on armhf but 8 - bytes on amd64. sdma_start_ts is 8 bytes and id is 4 byte. + amd_signal is aligned to 32 bytes. core_signal and id are 4 bytes on + armhf but 8 bytes on amd64. Full log: https://launchpadlibrarian.net/720487883/buildlog_ubuntu- noble-armhf.rocr-runtime_5.7.1-2_BUILDING.txt.gz ** Tags added: update-excuse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2058661 Title: rocr-runtime 5.7.1-2 fails to build on armhf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rocr-runtime/+bug/2058661/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs