Unaligned problem when porting rtems for arm

Peng Fan van.freenix at gmail.com
Wed Apr 24 13:44:59 UTC 2013


arm-rtemseabi4.11-gcc ---  gcc version 4.7.2 20120920
I installed the rpm package.


2013/4/24 Sebastian Huber <sebastian.huber at embedded-brains.de>

> On 04/24/2013 03:32 PM, Peng Fan wrote:
>
>> The compiler options in make/custom/*.cfg file is:
>>
>> CPU_CFLAGS = -mstructure-size-boundary=32 -mcpu=arm1176jzf-s -mfpu=vfp
>> -float-abi=soft -DCPU_S3C6410
>> # optimize flag: typically -O2
>> CFLAGS_OPTIMIZE_V = -O2 -g
>>
>> I will try older gcc versions or remove the -O2 option.
>>
>
> Which GCC version do you use?
>
> Are you sure that you have a ARM1176JZF core?  This core has support for
> unaligned data access.  Is this enabled and supported in your hardware?
>
> In case you use (hopefully) the EABI based tool chain, then remove the
> -mstructure-size-boundary=32 and -mfpu=vfp.
>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-**brains.de<sebastian.huber at embedded-brains.de>
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130424/c67e6bd1/attachment.html>


More information about the users mailing list