Source: libosmo-netif Followup-For: Bug #1065790 X-Debbugs-Cc: scho...@ubuntu.com Control: tags -1 ftbfs
I looked into this, and AFAICT there's a fundamental mismatch between libosmo-netif and libosmocore: libosmocore defines (struct msgb).cb as a `unsigned long[5]`, but -netif interprets cb[0] as a struct timespec in src/osmux.c, while it defines cb[3] as the SCTP PPID and cb[4] as the SCTP Stream ID in include/osmocom/netif/stream.h That works on architectures where sizeof(time_t) == sizeof(long), in which case sizeof(struct timespec) <= sizeof(long[3]), but that's simply not true when on 32-bit archs with 64b time_t.