The test suite for libosmocore fails on big-endian architectures

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Jaroslav Skarvada jskarvad at redhat.com
Wed Dec 9 16:46:25 UTC 2015


----- Original Message -----
> On Wed, Dec 09, 2015 at 03:30:25AM -0500, Jaroslav Skarvada wrote:
> > Hi,
> > 
> > thanks, I encountered the same in Fedora on ppc machines.
> > Unfortunately, the patch even with '#if OSMO_IS_LITTLE_ENDIAN == 1'
> 
> Has the status changed with the patch? According to
>  https://buildd.debian.org/status/fetch.php?pkg=libosmocore&arch=powerpc&ver=0.9.0-3&stamp=1449648141
> from
>  https://buildd.debian.org/status/package.php?p=libosmocore
> the test suite has succeeded on powerpc. Does that mean the problem is
> resolved?  (Previously, the test smscb failed, now it says "smscb ok")
> 
The output of the test changed, so it differs now only in one line on ppc64,
but it still means failure:

--- ./smscb_test.fail	2015-12-09 11:29:22.143808034 -0500
+++ ./smscb_test.ok	2015-12-08 11:10:37.480795985 -0500
@@ -1,4 +1,4 @@
-(srl) GS: 0 MSG_CODE: 260 UPDATE: 0
+(srl) GS: 1 MSG_CODE: 1 UPDATE: 0
 (msg) msg_id: 1293
 (dcs) group: 1 language: 0
 (pge) page total: 1 current: 1

Patch used:
http://fpaste.org/299159/49679080/

Fedora build system log:
https://kojipkgs.fedoraproject.org//work/tasks/6119/12126119/build.log

Fedora secondary arch bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1289940

thanks & regards

Jaroslav



More information about the OpenBSC mailing list