How can I use the GCC -frandom-seed=<file name> option with the waf build system?

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Sep 23 16:49:26 UTC 2022


On 23/09/2022 18:47, Karel Gardas wrote:
> On 9/23/22 18:35, Sebastian Huber wrote:
>> Hello,
>>
>> I have a question for the waf experts. How can I use the GCC 
>> -frandom-seed=<file name> option with the waf build system?
>>
>> https://stackoverflow.com/questions/73829827/how-can-i-use-the-gcc-frandom-seed-file-name-option-with-the-waf-build-system 
> 
> Unix? Why not to use pure and simple -frandom-seed=$RANDOM ? E.g. I hope 
> you'd like to have something there hence went for file name which will 
> give you stable "random" value per every file compiled while $RANDOM 
> will give you more randomness and certainly not the same value per same 
> file...

I would like to have a reproducible build, so I don't want something 
which varies across builds.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list