Date: Sun, 21 Jun 2020 16:02:18 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 246960] file(1) does not report PIE binaries Message-ID: <bug-246960-227-AVfP73i8x2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246960-227@https.bugs.freebsd.org/bugzilla/> References: <bug-246960-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=3D246960 --- Comment #2 from Ed Maste <emaste@freebsd.org> --- File from ports gets both cases correct: % cp /lib/libc.so.7 /tmp/ % chmod +x /tmp/libc.so.7 % /usr/local/bin/file /tmp/libc.so.7 /tmp/libc.so.7: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped % /usr/local/bin/file ~/hello /home/emaste/hello: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeB= SD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 13.0 (1300087), FreeBSD-style, with debug_info, not stripped while file in-tree incorrectly reports shared object for the PIE binary --=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-246960-227-AVfP73i8x2>