Skip to content

sparc failures #1216

@yoe

Description

@yoe

ola fails to build on Debian sparc:

https://buildd.debian.org/status/fetch.php?pkg=ola&arch=sparc64&ver=0.10.3.nojsmin-2&stamp=1489772178&raw=0

FAIL: libs/acn/E131Tester
=========================

[...]
.libs/acn/BaseInflator.cpp:277: In BaseInflator::HandlePDUData, someone forgot to add a handler, vector id 3
.libs/acn/BaseInflator.cpp:277: In BaseInflator::HandlePDUData, someone forgot to add a handler, vector id 3
.libs/acn/PDU.cpp:56: PDU Pack: buffer too small, required 42, got 41
.libs/acn/PDU.cpp:56: PDU Pack: buffer too small, required 77, got 76
........../include/ola/io/MemoryBlockPool.h:50: new block allocated at @0x100001baa00
.Received Bus error
/<<PKGBUILDDIR>>/common/.libs/libolacommon.so.0(+0x1e3098)[0xffff800100413098]
/lib/sparc64-linux-gnu/libpthread.so.0(+0x13a60)[0xffff800100c53a60]
/<<PKGBUILDDIR>>/libs/acn/.libs/E131Tester(+0x1eed0)[0x1000001eed0]
/<<PKGBUILDDIR>>/libs/acn/.libs/E131Tester(+0x1e93c)[0x1000001e93c]
/<<PKGBUILDDIR>>/libs/acn/.libs/E131Tester(+0x5e178)[0x1000005e178]
/<<PKGBUILDDIR>>/libs/acn/.libs/E131Tester(+0x6d3a8)[0x1000006d3a8]
[...]

and


FAIL: libs/acn/TransportTester
==============================

[...]
libs/acn/TCPTransport.cpp:93: done read, bytes outstanding is 0
libs/acn/TCPTransport.cpp:99: state is 3
libs/acn/TCPTransport.cpp:206: Got PDU, data length is 14, expected 14
Received Bus error
/<<PKGBUILDDIR>>/common/.libs/libolacommon.so.0(+0x1e3098)[0xffff800100413098]
/lib/sparc64-linux-gnu/libpthread.so.0(+0x13a60)[0xffff800100c53a60]
/<<PKGBUILDDIR>>/libs/acn/.libs/TransportTester(+0xff70)[0x1000000ff70]
/<<PKGBUILDDIR>>/libs/acn/.libs/TransportTester(+0xf270)[0x1000000f270]
/<<PKGBUILDDIR>>/libs/acn/.libs/TransportTester(+0xd974)[0x1000000d974]
/<<PKGBUILDDIR>>/libs/acn/.libs/TransportTester(+0x1701c)[0x1000001701c]
/<<PKGBUILDDIR>>/libs/acn/.libs/TransportTester(+0x16298)[0x10000016298]
/<<PKGBUILDDIR>>/libs/acn/.libs/TransportTester(+0x1bc44)[0x1000001bc44]
/<<PKGBUILDDIR>>/libs/acn/.libs/TransportTester(+0x1ab34)[0x1000001ab34]
/<<PKGBUILDDIR>>/libs/acn/.libs/TransportTester(_ZN3ola3acn16TCPTransportTest7ReceiveEv+0x2c)[0x10000009d38]
[...]

(edited both error messages for length; for the full messages, see the build log above)

A bus error usually signals unaligned access, which is probably a result from pointer magic that isn't strictly according to spec.

Note: SPARC isn't a release candidate architecture in Debian, so the continued support of ola in Debian stretch does not depend on this. However, it might be a good idea to look into this anyway.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions