Clang and -frandom-seed

2010-11-14 Thread Erik Cederstrand
Hello toolchainers, I noticed that two consecutive builds of (GCC-built) Clang don't produce identical binaries. This is true for clang, clang++ and tblgen. I asked on the llvm-dev list yesterday, and it turns out it's because GCC uses a random seed on some symbols. Apparently, this can be cont

Re: Clang and -frandom-seed

2010-11-14 Thread Dimitry Andric
On 2010-11-14 23:29, Erik Cederstrand wrote: I noticed that two consecutive builds of (GCC-built) Clang don't produce identical binaries. This is true for clang, clang++ and tblgen. I asked on the llvm-dev list yesterday, and it turns out it's because GCC uses a random seed on some symbols. Ap