avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] libm trouble


From: Peeter Vois
Subject: [avr-gcc-list] libm trouble
Date: Sat, 7 Aug 2004 11:18:04 +0300

Hi,

I am back on my old trouble (discussed a year ago) where libm will crash
system. I'm having following setup:

(RH9 Linux distribution)
address@hidden commun]$ rpm -qa | grep avr
avr-gcc-3.3.1-1
avr-libc-1.0.4-1
avrdude-4.1.0-1
avr-libc-docs-1.0.2-1
avrdude-docs-4.1.0-1
avr-binutils-2.14-1

I've traced down the problem to appear in my application when the
following calculation will be made:

float a, b;
        a = log( -1.0 );
        b = 1.0 + a;

The crash is caused by '+' operator, log() itself works well.
I do not have ICE, so I can not deeper trace this issue in hardware.
The symptoms are like RAM area will be overwritten with unknown numbers.

Best Regards ...
Peeter


reply via email to

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