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

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

[avr-gcc-list] ElfCoff Error parsing symbol


From: Maurizio Ferraris
Subject: [avr-gcc-list] ElfCoff Error parsing symbol
Date: Tue, 18 Jun 2002 11:53:28 +0200

Hi all,
I am using Tony & Mark avrgcc128_rc3
I recompiled my code successfully, but the elfcoff gives me this error:
-------------------------
elfcoff Prove.elf  Prove.cof Prove.sym
 : 826
  : 678
   : 563
    : 387
Error on parsing symbol      137 -> Type : 204x Desc : data:G(1,1)=B(0,11)
Ended
-------------------------
After some tests I ended with this simple test case:

volatile unsigned char data;
void main(void)
{
}

That still gives the error above. Simply removing the 'volatile' fixes the problem.
Anyone is aware of problems with volatile globals?
(Unfortunately they are quite usefull when used also by interrupt routines)
Any fix or workaround?
Thanks.
Mau.

_____________________________________________________________
Maurizio Ferraris                mailto:address@hidden
Via Borgonuovo 27                mailto:address@hidden
10040 GIVOLETTO TO ITALY         http://www.studioferraris.it
Public key: http://www.studioferraris.it/Files/Maurizio.asc

avr-gcc-list at http://avr1.org



reply via email to

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