avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] Test results


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] Test results
Date: Thu, 5 Mar 2009 09:59:44 +0100
User-agent: Mutt/1.5.11

As Joerg Wunsch wrote:

> > 4. bug-22828 and other EEPROM tests:  seems, this is a
> > Simulavr problem.  The 0.1.2.1 version is correct.  I will
> > look this in details.
> 
> As time permits, I'll also look into that.

Strange, another site, different compilers but the same version of
simulavr:

% ./runtest.sh avr/eeprom-1.c
Simulate: avr/eeprom-1.c atmega128 ... *** simulate failed: 81
Simulate: avr/eeprom-1.c at90s2313 ... *** simulate failed: 81
Simulate: avr/eeprom-1.c at90s4414 ... *** simulate failed: 81
Simulate: avr/eeprom-1.c at90s8515 ... *** simulate failed: 81
Simulate: avr/eeprom-1.c atmega8 ... *** simulate failed: 81
Simulate: avr/eeprom-1.c atmega16 ... *** simulate failed: 81

OK, line 81 has a comment saying that GCC 4.2.2 generates incorrect
code there, and this site is (currently) running exactly that version.

So, let's try different compilers:

% ./runtest.sh -g avr-gcc-4.3.2 avr/eeprom-1.c
Simulate: avr/eeprom-1.c atmega128 ... OK
Simulate: avr/eeprom-1.c at90s2313 ... OK
Simulate: avr/eeprom-1.c at90s4414 ... OK
Simulate: avr/eeprom-1.c at90s8515 ... OK
Simulate: avr/eeprom-1.c atmega8 ... OK
Simulate: avr/eeprom-1.c atmega16 ... OK
-------
Done.  Number of operated files: 1
Success.
% ./runtest.sh -g avr-gcc-4.2.4 avr/eeprom-1.c
Simulate: avr/eeprom-1.c atmega128 ... OK
Simulate: avr/eeprom-1.c at90s2313 ... OK
Simulate: avr/eeprom-1.c at90s4414 ... OK
Simulate: avr/eeprom-1.c at90s8515 ... OK
Simulate: avr/eeprom-1.c atmega8 ... OK
Simulate: avr/eeprom-1.c atmega16 ... OK
-------
Done.  Number of operated files: 1
Success.

Thinking a little more about it, on that site, I'm using a privately
compiled version of simulavr below my $HOME (basically the current
state from CVS), while at home, I've been using the version installed
in the system, which is slightly older.

Bottom line: I think the current simulavr works fine here.  I'll
release another upgrade version then.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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