Attribute packed deprecated?
Wouter van Heyst
wouter@vidicode.org
Wed Jun 30 13:31:00 GMT 2004
On Wed, Jun 30, 2004 at 10:08:04AM +0200, Robert Schwebel wrote:
> Hi,
>
> when compiling linux-2.6.7 with a crosstool generated
> arm-softfloat-linux-gnu toolchain (3.4.0 with binutils 2.14 - 2.15
> didn't work because of this NOAPP asm problem) I get lots of warnings
> like this one:
>
> In file included from ../include/bits/string2.h:1,
> from ../string/string.h:375,
> from ../include/string.h:49,
> from ../linuxthreads_db/thread_dbP.h:5,
> from ../linuxthreads/descr.h:43,
> from ../linuxthreads/internals.h:29,
> from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
> from ../nss/getXXbyYY.c:21,
> from getgrgid.c:30:
> ../string/bits/string2.h:80: warning: `packed' attribute ignored
> ../string/bits/string2.h:81: warning: `packed' attribute ignored
> ../string/bits/string2.h:82: warning: `packed' attribute ignored
> ../string/bits/string2.h:83: warning: `packed' attribute ignored
> ../string/bits/string2.h:84: warning: `packed' attribute ignored
> ../string/bits/string2.h:85: warning: `packed' attribute ignored
> ../string/bits/string2.h:86: warning: `packed' attribute ignored
>
> Any idea if this might do some harm? What could a correct solution look like?
Considering arm alignment issues, you could be in for a world of fun.
Wouter van Heyst
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list