|
From: Stephen S. <rad...@gm...> - 2013-09-05 16:51:25
|
On Thu, Sep 5, 2013 at 6:30 PM, Felipe Sateler <fsa...@gm...> wrote: > On Thu, Sep 5, 2013 at 5:10 AM, Stephen Sinclair <rad...@gm...> wrote: >> On Tue, Sep 3, 2013 at 2:42 AM, Felipe Sateler <fsa...@de...> wrote: >>> On Mon, Sep 2, 2013 at 8:16 PM, Felipe Sateler <fsa...@de...> wrote: >>>> On Mon, Sep 2, 2013 at 7:33 PM, Felipe Sateler <fsa...@de...> wrote: >>>>> Hi liblo devs, >>>>> >>>>> The python liblo wrapper has a test suite that has uncovered a bug in >>>>> liblo. >>>> >>>> I just tried current git (5a7a54b4a0a) and the test provided by >>>> Sebastian continues to fail. >>> >>> It appears the problem is that in sparc, you can't just say >>> *(datatype*)data. Depending on datatype, 'data' has to be aligned at a >>> certain number of bytes from the original block (4 for int, 8 for >>> int64): >>> >>> char* src = something(); >>> int* tmp = (int*)(src + 1); // If 1 is replaced by 4, no bus error. >>> *src = 1; // Bus error here. >>> int a = *src; // This yields bus error too >>> >>> So, at least lo_message_add_data (plus all its users), >>> lo_arg_pp_internal and lo_arg_host_endian need to change to support >>> sparc. >>> >> >> Any idea how to get a sparc test environment running? Is there an >> emulator I can use for example? > > QEMU should support sparc targets. I believe qemu-system-sparc is the > package (in Debian) you can use to create a sparc system. At [1] there > appear to be instructions for setting up a debian qemu sparc system. > Alternatively, we could request access for you on some debian porter > machine. This could take a while, though, and requires some steps to > be taken[2] Okay, thank you. I have tried for some time today to get qemu-system-sparc running actually, and ran into a problem where the bios works but then it boots to a black screen and doesn't display the debian installer. In any case, I'll try some more to get it working before resorting to complicated administrative measures :) |