OhNet Tests failing on ARM6
|
25-07-2012, 06:47 AM
Post: #1
|
|||
|
|||
OhNet Tests failing on ARM6
I have built OhNet for the following platform:
Code: -bash-3.2# uname -a In order to cross compile I had to comment out Wno-int-to-pointer-cast in the Makefile: Code: ... I figured this was not a problem because it only suppresses the warnings.? That warning does not seem to be supported by the cross compiler. When I try to run TestDvDeviceC.elf or TestProxyC.elf on the target platform they both crash with a segmentation fault. (Logs attached). After multiple runs I was able to get a backtrace from glibc. The tests pass on my x86 Linux machine, but not on the ARM platform. I have also attached the output of ldd on the respective platforms. My guess is that the compiler or shared libraries version is not compatible for some reason. The cross compiler is: Code: armv6zk-none-linux-gnueabi-gcc (GCC) 4.3.2 I want to try out the Device stack on this platform, but I am reluctant to go much further with OhNet until it's tests pass. Any ideas why they don't? |
|||
25-07-2012, 09:55 AM
(This post was last modified: 25-07-2012 09:56 AM by simonc.)
Post: #2
|
|||
|
|||
RE: OhNet Tests failing on ARM6
We test every commit on linux-ARM. We run on SheevaPlug which uses a Marvell Kirkwood ARM9 processor. We use a custom distribution based on debian but have often run on vanilla debian and ubuntu.
I believe another forum member, simoncn, has run on a variety of other ARM variants. Can you let us know more about your environment:
|
|||
26-07-2012, 07:19 AM
Post: #3
|
|||
|
|||
RE: OhNet Tests failing on ARM6
Can you let us know more about your environment:
Quote:Fujitsu MB86H61 Quote: Code: -bash-3.2# uname -a Quote: Code: armv6zk-none-linux-gnueabi-gcc (GCC) 4.3.2 Quote: Code: make native_only=yes debug=1 Quote:No. Quote:I ran each test 4 or 5 times. These are the results. Quote:-rwxrwxr-x 1 501 501 1980774 Thu Jul 26 06:26:07 2012 TestBuffer.elf PASS |
|||
26-07-2012, 07:53 AM
Post: #4
|
|||
|
|||
RE: OhNet Tests failing on ARM6
(25-07-2012 09:55 AM)simonc Wrote: We test every commit on linux-ARM. We run on SheevaPlug which uses a Marvell Kirkwood ARM9 processor. We use a custom distribution based on debian but have often run on vanilla debian and ubuntu. So far I've only built and run ohNet on the Marvell Kirkwood and Orion platforms (ARMv5). In the near future I'll be attempting to do this for the Tegra 3, which is ARM Cortex-A9 (ARMv7). |
|||
26-07-2012, 09:32 AM
Post: #5
|
|||
|
|||
RE: OhNet Tests failing on ARM6
Thanks for the answers Doug. To help decide whether this is a problem with your toolchain or in ohNet, can you pick another C++ project and try running its tests on your STB? If these tests fail too, it'd point towards a problem with your toolchain. If you find other, moderately complex, tests which pass, that'll point towards an ohNet bug.
|
|||
« Next Oldest | Next Newest »
|