[Bug 233397] llvm-objdump doesn't work with statically linked binary: "index past the end of the symbol table"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 22 06:33:23 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233397

            Bug ID: 233397
           Summary: llvm-objdump doesn't work with statically linked
                    binary: "index past the end of the symbol table"
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: lwhsu at FreeBSD.org
                CC: emaste at freebsd.org

It is fixed in stable/12 but probably worth to merge to releng/12.

run script:

root at clinch1:~ # uname -a
FreeBSD clinch1.musec.engr.mun.ca 12.0-RC1 FreeBSD 12.0-RC1 r340470 GENERIC 
amd64
root at clinch1:~ # cat a.c 
#include <stdio.h>

int main(int argc, const char *argv[])
{
        printf("hello world!\n");
        return 0;
}
root at clinch1:~ # clang -fuse-ld=lld -g -static a.c 
root at clinch1:~ # llvm-objdump -d a.out

a.out:  file format ELF64-x86-64

llvm-objdump: 'a.out': index past the end of the symbol table

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list