[TUHS] /bin/true (was basic tools / Universal Unix)

Ralph Corderoy ralph at inputplus.co.uk
Wed Nov 29 08:42:00 AEST 2017


Hi Dan,

> There is, perhaps, some debugging value in embedding ident strings in
> object code: one can see which versions of which sources were used to
> construct a given binary.

That's died away, but there is a `build ID' that's gained favour with
the pursuit of `reproducable builds', e.g. don't have the compiler add a
timestamp.

    $ readelf -n /bin/true

    Displaying notes found in: .note.ABI-tag
      Owner                 Data size       Description
      GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
	OS: Linux, ABI: 2.6.32

    Displaying notes found in: .note.gnu.build-id
      Owner                 Data size       Description
      GNU                  0x00000014       NT_GNU_BUILD_ID (unique build ID bitstring)
	Build ID: 32c992f2f7265996a76ca416c229b92f4c9edcf4
    $ 

https://en.wikipedia.org/wiki/Deterministic_compilation
https://reproducible-builds.org/

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy


More information about the TUHS mailing list