Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12541

Compile toolchain GCC with --enable-linker-build-id to add Build ID to binaries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 4.4.0
    • None
    • Infrastructure
    • None
    • ghx-label-9

    Description

      A "Build ID" is a unique identifier for binaries (which is a hash of the contents). Producing OS packages with separate debug symbols requires each binary to have a Build ID. This is particularly important for libstdc++, because it is produced during the native-toolchain build rather than the regular Impala build. To turn on Build IDs, one can configure that at GCC build time by specifying "--enable-linker-build-id". This causes GCC to tell the linker to compute the Build ID.

      Breakpad will also use the Build ID when resolving symbols.

      Attachments

        Activity

          People

            joemcdonnell Joe McDonnell
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: