This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.3.1 - random bytes in object files
- From: Greg Schafer <gschafer at zip dot com dot au>
- To: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 8 Aug 2003 21:14:42 +1000
- Subject: Re: 3.3.1 - random bytes in object files
- References: <200308080811.h788BCaX009315@relay.rwth-aachen.de>
On Fri, Aug 08, 2003 at 10:11:13AM +0200, Volker Reichelt wrote:
> GCC produces different results on purpose. This has to do with anonymous
> namespaces (see PR 9393). You can use "-frandom-seed=0" to get the same
> results with every compilation.
Ok, I see.. Thanks for the explanation.
But I still find it rather bewildering that now, a default install of gcc
(specifically libstdc++) is not reproducible (unless I go and hack in
"-frandom-seed=0" into the build).
Oh well, maybe I AM nuts :-)
Greg