Re: alignment warning

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

 



K,Avvesdi Gy,Avrgy writes:

 > I am using avr-gcc 4.2.1 and sometimes I got the following message:
 > 
 > warning: alignment of $,1rxSerial::_ZTV6Serial$,1ry is greater than maximum object 
 > file alignment.  Using 1
 > 
 > I don't know what it is anyway and how could it be avoided. However, the 
 > generated code is good.


Without seeing the actual code that casues this warning?  No.  We're
clever, but we aren't telepathic.  :-)

 > Any idea?

The problem is caused by the fact that the compiler (or assembler;
could be either) generates a declaration that $,1rxSerial::_ZTV6Serial$,1ry
must be aligned at a particular boundary, but your linker doesn't
support such alignment.

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux