Den 12/11/2010 kl. 18.48 skrev Chris Lattner:> Oh, I should point out that using randomness is the unfortunate part, but you can get deterministic builds by passing -frandom-seed=0 to clang and/or gcc.I'll try that. I assume that the randomness has a purpose, so what are the negative implications of setting -frandom-seed=0? Will i still have a functioning compiler? :-) Thanks, Erik -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1928 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101114/2c4b8882/attachment.bin>
> I'll try that. I assume that the randomness has a purpose, so what are the negative implications of setting -frandom-seed=0? Will i still have a functioning compiler? :-)The compiler being gcc? The manual says: The STRING should be different for every file you compile.> Thanks, > ErikCheers, Rafael
Den 14/11/2010 kl. 21.43 skrev Rafael EspĂndola:>> I'll try that. I assume that the randomness has a purpose, so what are the negative implications of setting -frandom-seed=0? Will i still have a functioning compiler? :-) > > > The compiler being gcc? The manual says: > > The STRING should be different for every file you compile.Yes, the compiler being GCC in my case. I'll try your suggestion of using -frandom-seed=foo.o Erik -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1928 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101114/bf872c68/attachment.bin>