Follow-up Comment #10, bug #33698 (project avr-libc):

The math library is not designed to use float routines from
libgcc.  The float routines of libm are extended in comparison
to standart ones.  For example, the 40-bit float and bit T are widely used
(32-bit mantissa).

Normaly, the libm resolves all links internaly. The usage of
libgcc from libm is error.  Alas, there is no checking of this.
Sometimes the 'relocation truncuted to fit' is such protection :-).

If linking is classic (libm is first), explicit use of
RJMP/RCALL is OK, as libm is small.  In practice, this works.

The problems are C++ and usage float operations in libc (float
printing and scanning).

I will think how to untangle this ball. Not quickly.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?33698>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to