info-mtools
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Info-mtools] Alignment trap on arm


From: Jacky Cheung
Subject: [Info-mtools] Alignment trap on arm
Date: Fri, 10 Apr 2009 14:43:23 -0700

Hi,

I am trying to compile mattrib for ARM and there are alignment traps when I use mattrib.
When I look into the compilation, I found that gcc is not honoring the "packed" attribute.
Anyone has ran into this same problem? Thanks in advance!

Regards,

Jacky


ccache arm-none-linux-gnueabi-gcc -mcpu=arm1136j-s -mthumb-interwork -mno-thumb -isystem /home/jacky/projects/arm-none-linux-gnueabi/include -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_arm -DVENDOR_none -DOS_linux_gnueabi  -isystem /home/jacky/projects/arm-none-linux-gnueabi/include -O -g -Wall -fno-strict-aliasing -I.  -I.   -c mattrib.c
In file included from mattrib.c:8:

msdos.h:148: warning: 'packed' attribute ignored for field of type 'char[8]'
msdos.h:149: warning: 'packed' attribute ignored for field of type 'unsigned char[2]'
msdos.h:153: warning: 'packed' attribute ignored for field of type 'unsigned char[2]'
msdos.h:154: warning: 'packed' attribute ignored for field of type 'unsigned char[2]'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]