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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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

run script:

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

int main(int argc, const char *argv[])
{
        printf("hello world!\n");
        return 0;
}
root@clinch1:~ # clang -fuse-ld=lld -g -static a.c 
root@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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to