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

--- Comment #2 from Ed Maste <ema...@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 (FreeBSD),
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to