https://sourceware.org/bugzilla/show_bug.cgi?id=32787

            Bug ID: 32787
           Summary: --build-id produces broken elf
           Product: binutils
           Version: 2.43.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: stsp at users dot sourceforge.net
  Target Milestone: ---

Created attachment 15993
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15993&action=edit
test case

Attached is a test case.
Please run test.sh:

$ ./test.sh
objdump: tst.elf: invalid string offset 2088948687 >= 8676 for section
`.strtab'
objdump: tst.elf: invalid string offset 3289444047 >= 8676 for section
`.strtab'

Removing `--build-id` option
produces the correct elf.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to