[Bug 335268] [NEW] gcc-avr doesn't return random numbers
Mike Ries
launchpad at mikeries.net
Fri Feb 27 03:59:57 UTC 2009
Public bug reported:
Binary package hint: gcc-avr
When compiling for the Arduino board, the random() function doesn't
produce random numbers, rather it produces a very regular pattern of
numbers.
I found that this was a problem in gcc-avr, and it has been fixed in
debian:
http://lists.gnu.org/archive/html/avr-libc-dev/2009-01/msg00003.html
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1227218077/45
If I understand correctly, the Arduino software uses avr-gcc to compile
the code for the board. When using the random function, it returns very
regular numbers, which can apparently be duplicated even from system to
system according to the thread.
It seems that the latest version, 1:4.3.2-1 is in Jaunty, can it be
ported to Intrepid?
Thanks.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: gcc-avr 1:4.3.0-2
ProcEnviron:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gcc-avr
Uname: Linux 2.6.27-11-generic i686
** Affects: gcc-avr (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug
--
gcc-avr doesn't return random numbers
https://bugs.launchpad.net/bugs/335268
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list