Unaligned problem when porting rtems for arm
Peng Fan
van.freenix at gmail.com
Wed Apr 24 13:32:06 UTC 2013
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.
Thanks.
Regards,
Peng.
2013/4/24 Gedare Bloom <gedare at rtems.org>
> Given the newness of this port, I would guess the options are wrong.
>
> On Wed, Apr 24, 2013 at 9:19 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de> wrote:
> > Hello,
> >
> > in case GCC uses a half-word load or store where it shouldn't, then you
> have
> >
> > 1. wrong compiler options, or
> > 2. a compiler bug.
> >
> > --
> > 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
> > PGP : Public key available on request.
> >
> > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> > _______________________________________________
> > rtems-users mailing list
> > rtems-users at rtems.org
> > http://www.rtems.org/mailman/listinfo/rtems-users
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130424/69a6e176/attachment-0001.html>
More information about the users
mailing list