Menu

#18 make build reproducible

Unstable_(example)
closed
nobody
None
1
2019-02-23
2017-05-22
No

g++ would order functions in the trigger-rally binary
depending on random order of files in the build system's filesystem.

please apply the attached patch.

1 Attachments

Discussion

  • Andrei

    Andrei - 2017-05-22

    I shall apply this patch if it's necessary, however I will note that the build still won't be "reproducible" due to the Date/Time information that is displayed at the start screen.

    From the website linked to by the patch:

    [...] Typically, the current date and time must not be recorded and output always has to be written in the same order.

    If you can confirm that the build date/time recording is not a problem then I have no reason not to apply your patch. Thanks.

     
    • Bernhard M. Wiedemann

      This is the only change needed here to make it reproducible for openSUSE (we normalize many parts of the build system, so Debian might find more issues later).

      We already have patches in gcc, rpm etc that override the 'current' time with a constant time (usually the changelog date)

       
  • Andrei

    Andrei - 2017-05-23
    • status: open --> accepted
     
  • Andrei

    Andrei - 2019-02-23
    • status: accepted --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.