Show Table of Contents
4.6. build-id バイナリーの一意の ID
Red Hat Enterprise Linux Server 6 およびそれ以降でビルドされた実行可能ファイルや共有ライブラリーにはそれぞれ、160 ビットの SHA-1 文字列である一意の ID が割り当てられます。これは、バイナリーの選択部分のチェックサムとして生成されたものです。これにより、同一ホスト上の同一プログラムの 2 つのビルドが常に一貫性のある build-id とバイナリーコンテンツを作成できるようになります。
以下のコマンドで、バイナリーの build-id を表示します。
$ eu-readelf -n /bin/bash
[...]
Note section [ 3] '.note.gnu.build-id' of 36 bytes at offset 0x274:
Owner Data size Type
GNU 20 GNU_BUILD_ID
Build ID: efdd0b5e69b0742fa5e5bad0771df4d1df2459d1
バイナリーの一意の ID は、「コアファイル解析用の Debuginfo パッケージのインストール」 にあるように、コアファイルの分析などの場合に便利です。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.