Hi,
I'd like to mention a detail, recently I tried to
build osmo-iuh on a freshly
installed Debian 9 machine, and it gets a segfault in gcc. Do you hit this when
building packages?
segfault in gcc really!? I have not seen it, but I have only built it
in Debian 10.
This mips is big endian, right? Then that would be the
issue.
Yes, it is probably the main issue. Assuming big-endianness is the
problem for all failures on mips and s390x, we are left with the
failures for osmo-msc on mips64el and mipsel (the low-endian variants
of mips). So the test "msc_vlr_test_gsm_ciph" is failing. Does this
tell you anything?
Also, if we fix this on current master, then that
doesn't help osmo-bsc v 1.2.1
using libosmocore 0.11.0. We don't have a backporting process at Osmocom. Yet.
Maybe it will just be broken until we package more recent versions?
This is unproblematic in the Debian context. As long as we know what
the fix is, we can backport the fix wherever we want.
Maybe the trick is to just start going over all structs in libosmocore
and upwards, and see if the problem disappears on big-endian
architectures. I can start on it, when I find some time for it.
And whether we really need to support big endian...?
Well, nobody has to support big-endian. But building on other archs is
a nice test for robustness of the code and the test suite. :)
Unfortunately I can't test on mips, is there any
way that we can easily test a
patch on such an arch?
If you do not have real hardware or any machines to login to, I think
your best option is to try qemu. It should have pretty good support
for these things, although it is not as fast as real hardware.
Out of curiosity - do you use real hw to run those
builds or it's some
sort of vm/emulator?
These are the official Debian build machines, and am pretty sure it is
real hw. There are Debian porter boxes I can SSH into also to test on
real hardware.
On a related note: I see several patches from Debian
devs - for example
https://sources.debian.org/patches/libosmo-sccp/0.10.0-2/
Interesting. I did not know about this way of viewing the patches,
although I am behind most of the patches. Please just pull back
whatever you find useful.
Best regards
Ruben