3.3.1 - random bytes in object files

Greg Schafer gschafer@zip.com.au
Fri Aug 8 15:10:00 GMT 2003


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



More information about the Gcc mailing list