-build-id
--build-id=style
Request creation of ".note.gnu.build-id" ELF note section. The contents of the
note are unique bits identifying this linked file. style can be "uuid" to use
128 random bits, "sha1" to use a 160-bit SHA1 hash on the normative parts of
the output contents, "md5" to use a 128-bit MD5 hash on the normative parts of
the output contents, or "0xhexstring" to use a chosen bit string specified as
an even number of hexadecimal digits ("-" and ":" characters between digit
pairs are ignored). If style is omitted, "sha1" is used.
The "md5" and "sha1" styles produces an identifier that is always the same in
an identical output file, but will be unique among all nonidentical output
files. It is not intended to be compared as a checksum for the file's
contents. A linked file may be changed later by other tools, but the build ID
bit string identifying the original linked file does not change.
Passing "none" for style disables the setting from any "--build-id" options
earlier on the command line.
Original issue reported on code.google.com by LubaTang on 7 Jan 2013 at 6:35
Original issue reported on code.google.com by
LubaTang
on 7 Jan 2013 at 6:35