[Bug 285401] x11/libxkbcommon: after recent updates to 1.8.0 and 1.8.1 several ports may need a PORTREVISION bump

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 22 Mar 2025 23:37:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285401

--- Comment #66 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Dimitry Andric from comment #62)
(In reply to Baptiste Daroussin from comment #59)

For reference, readelf -a /lib/libc.so.7 shows, in part,
the following references to libsys:

Dynamic section at offset 0x1d0378 contains 30 entries:
  Tag                Type                  Name/Value
 0x000000007ffffffd AUXILIARY            Auxiliary library: [libsys.so.7]
 0x0000000000000001 NEEDED               Shared library: [libsys.so.7]
 0x000000000000000e SONAME               Library soname: [libc.so.7]
. . .
0000002059f0 000600000402 R_AARCH64_JUMP_SLOT 0000000000000000
__libsys_interposing_slot + 0
. . .
     6: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
__libsys_interposing_slot@FBSDprivate_1.0 (12)
. . .
Version needed section (.gnu.version_r):
  0x0000 vn_version: 1 vn_file: libsys.so.7 vn_cnt: 1
  0x0010   vna_name: FBSDprivate_1.0 vna_flags: 0 vna_other: 12

(This is from a world that is an official PkgBase install,
not a personal build.)

So, apparently, those references are not enough to lead
the linker to automatically also look at libsys.so.7
during the link operation. This looks to possibly
contribute to why main gets no link-time reporting about,
for example, the environ and __progname problems.

-- 
You are receiving this mail because:
You are on the CC list for the bug.