EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Using msgconnect on arm - problem with UNALIGNED

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#5983
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.

Thanks,
Thomas
#5984
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
#5990
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

Reply

Statistics

Topic viewed 3631 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!