Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 20:21:55 +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-rxmoJpu0UE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233397-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233397-227@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #8 from Li-Wen Hsu <lwhsu@FreeBSD.org> ---
root@clinch1:~/hello # uname -a
FreeBSD clinch1.musec.engr.mun.ca 12.0-PRERELEASE FreeBSD 12.0-PRERELEASE
r340752 GENERIC  amd64
root@clinch1:~/hello # cat response.txt
--chroot .
--eh-frame-hdr
-Bstatic
-o a.out
usr/lib/crt1.o
usr/lib/crti.o
usr/lib/crtbeginT.o
--library-path usr/lib
tmp/a-aa866f.o
--library gcc
--library gcc_eh
--library c
--library gcc
--library gcc_eh
usr/lib/crtend.o
usr/lib/crtn.o
root@clinch1:~/hello # ld.lld `cat response.txt `
root@clinch1:~/hello # 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-rxmoJpu0UE>