Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2018 06:33:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233397] llvm-objdump doesn't work with statically linked binary: "index past the end of the symbol table"
Message-ID:  <bug-233397-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233397

            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@FreeBSD.org
          Reporter: lwhsu@FreeBSD.org
                CC: emaste@freebsd.org

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=
=20
amd64
root@clinch1:~ # cat a.c=20
#include <stdio.h>

int main(int argc, const char *argv[])
{
        printf("hello world!\n");
        return 0;
}
root@clinch1:~ # clang -fuse-ld=3Dlld -g -static a.c=20
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233397-227>