Re: Bit-field packing order changed between avrgcc implementations

Georg-Johann Lay <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <[email protected]>
Please notice that with TOFU style, readers will soon lose track of the 
conversation.  It is in your own interest that readers don't lose track 
of the conversation.

Juergen Harms schrieb:

> Versions:
> 
> The newly installed glibc and avr-gcc are 1.7.1 and 4.7.2

glibc???  You mean AVR Libc, don't you?

avr-gcc 4.7.2 needs an AVR Libc that implements #35407 [1] which was 
added to the code base 2012-03-12 as SVN 2291 [2].  See the GCC 4.7 
release notes [3].

In the avr-gcc 4.7 installation you find a folder 
./avr/lib/avr25/tiny-stack that contains crttn13a.o.  If not, your 4.7 
distribution is used with an too old AVR Libc code base.

You can

1) Switch back to avr-gcc 4.6.2 or 4.6.4 (to be released).
    Avoid 4.6.3.

2) Use avr-gcc 4.7.2 with AVR Libc from SVN trunk or at least not
    older than SVN 2291.

3) Use avr-gcc 4.7.2 and AVR Libc 1.8.1 (to be released).

Johann

--

[1]
http://savannah.nongnu.org/bugs/?35407

[2]
http://svn.savannah.nongnu.org/viewvc?view=rev&root=avr-libc&revision=2291

[3]
http://gcc.gnu.org/gcc-4.7/changes.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.