rocr-runtime 5.7.1-2 fails to build on armhf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rocr-runtime (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
rocr-runtime 5.7.1-2 fails to build on armhf (with 64-bit time_t):
In file included from /<<PKGBUILDDIR>
/<<PKGBUILDDIR>
155 | static_
| ~~~~~~~
/<<PKGBUILDDIR>
The struct in question:
```
struct SharedSignal {
amd_signal_t amd_signal;
uint64_t sdma_start_ts;
Signal* core_signal;
Check<
uint8_t reserved[8];
uint64_t sdma_end_ts;
uint8_t reserved2[24];
```
amd_signal is aligned to 32 bytes. core_signal and id are 4 bytes on armhf but 8 bytes on amd64.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: update-excuse |
Note that no version of rocr-runtime has ever built successfully for armhf. rocr-runtime should probably be limited to amd64, arm64 and ppc64el (as those are the only architectures that have driver support from AMDGPU KFD).
I've been cautious about dropping architectures that successfully built because I cannot test them to confirm that they don't actually work. I'm not sure it's even physically possible to install an AMD GPU into an IBM System z mainframe (s390x).
However, I suppose that I could easily add `Build-Depend: architecture- is-64-bit` to d/control so that it doesn't attempt to build for armhf.