[Xorp-cvs] XORP cvs commit: xorp/libxorp

Pavlin Radoslavov pavlin at ICSI.Berkeley.EDU
Fri Apr 25 20:48:19 PDT 2008


> Pavlin Radoslavov wrote:
> > Which Gentoo version are you using?
> > Gentoo 2007.0 or 2008.0_beta1 or something else?
> >   
> 2008.1 off the top of my head, the machine's shut down just now.
> 
> I don't recall if it rebuilt gcc when I switched to the new profile, or not.

Thanks for the update.
I ended installing Gentoo 2008.0_beta1 under VMware and was finally
able to reproduce the problem.
It turned to be that the warning is generated only if you use "jam"
to compile XORP instead of the default "gmake".
The difference was that "jam" was adding the "-O" compiler flag
which actually was the trigger.
I just committed a fix that used memset() to zero only the first
emement of junk_seed[2] :

Revision  Changes                             Path
1.17      +2 -2;  commitid: 1494812a3b841a7;  xorp/libxorp/random.c


Please let me know if you still see compilation warnings.

Thanks,
Pavlin



More information about the Xorp-cvs mailing list