Created attachment 156888 [details] armv6 fix Hi, I have the following error message when building net/mediastreamer on armv6: voip/stun.c:1282:7: error: Need some way to seed the random number generator Using arc4random fixes the problem, see attached patch. build logs for amd64, i386 and armv6: http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/mediastreamer-2.11.1_101amd64.log http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/mediastreamer-2.11.1_101i386.log http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/mediastreamer-2.11.1_armv6.log Thanks.
A commit references this bug: Author: tijl Date: Mon May 18 18:41:17 UTC 2015 New revision: 386697 URL: https://svnweb.freebsd.org/changeset/ports/386697 Log: Fix non-x86 builds by using arc4random(3) instead of random(3) + rdtsc (x86 instruction). PR: 200289 Changes: head/net/mediastreamer/Makefile