> So far the evidence that you present points somehow to a problem with 4.3.0, since this user said it works with 4.3.2. There are known problems with 4.3.0 (for the AVR target) so I'm not totally surprised that 4.3.2 would fix it.
The only thing that makes me uneasy is that I don't see exactly where the defective compiler comes into play. Perhaps it is just my lack of understanding of how things work in the Linux domain, but it seems to me that the bug must surely be in the avr-libc binary. Is that binary being created with the system compiler? My understanding (likely incorrect) was that Arduino users install a package that includes a precompiled avr-libc, in which case it would seem that the local compiler version would not come into direct play. If, however, the avr-libc is indeed compiled as a part of the install process, then I see clearly how a problem compiler could be the culprit. Thanks for the guidance and keep up the good work! :) Regards, Mikal -----Original Message----- From: Weddington, Eric [mailto:ewedding...@cso.atmel.com] Sent: Sunday, January 04, 2009 8:47 PM To: Mikal Hart; Joerg Wunsch; AVR-libc-dev@nongnu.org Subject: RE: [avr-libc-dev] bug in rand()/random()/do_rand()/do_random( ) > -----Original Message----- > From: Mikal Hart [mailto:mh...@sundial.com] > Sent: Sunday, January 04, 2009 5:38 PM > To: Weddington, Eric; 'Joerg Wunsch'; AVR-libc-dev@nongnu.org > Subject: RE: [avr-libc-dev] bug in > rand()/random()/do_rand()/do_random( ) > > Does it seem like it's a problem with the 4.3.0 compiler? > Would you still > recommend I file a bug report at savannah.nongnu.org? So far the evidence that you present points somehow to a problem with 4.3.0, since this user said it works with 4.3.2. There are known problems with 4.3.0 (for the AVR target) so I'm not totally surprised that 4.3.2 would fix it. Because there are known problems with 4.3.0, I would not bother with filing a bug report with the avr-libc project, or the gcc project. But you just might be aware of this issue for the arduino community. Joerg and I do not frequent the arduino community forums or mailing lists. And perhaps in the future, it would be best if we could re-write rand(), random(), and do_rand() in assembly for avr-libc so this issue with the compiler won't happen again. ;-) Eric _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev