EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Using msgconnect on arm - problem with UNALIGNED

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
Posted: 04/23/2008 04:33:50
by Thomas Damerow (Standard support level)
Joined: 04/23/2008
Posts: 1

I am trying to compile the gpl msgconnect on arm architecture. So far everything compiles perfect. After trying to use the supplied msgtest demo I received an error while accessing unaligned data.

0x0002590c in MsgConnect::ReadStringFromArray (array=0x4e275 "",
str=0xbf3ff5a4) at ../MCInetTransport.cpp:2828
2828 int len = *p;

My arm does not support unaligned data.

Is there a solution? Maybe using macro get_unaligned from asm/unaligned.h ?

I am new in c++ on arm so any solution would be helpful.

Posted: 04/23/2008 04:56:35
by Eugene Mayevski (EldoS Corp.)

I will move the question to HelpDesk for working on it. The public answer / solution will be posted here.

Sincerely yours
Eugene Mayevski
Posted: 04/23/2008 09:30:57
by Eugene Mayevski (EldoS Corp.)

The small change in the code as discussed in helpdesk solves the problem.

We've added a fix to our code.

Sincerely yours
Eugene Mayevski



Topic viewed 3549 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!