Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2023 20:08:33 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   /lib/libc.so.7 vs. __libc_start1@FBSD_1.7 in main [so: 14] recently ?
Message-ID:  <5B26AB25-075F-4630-86C1-886E6082CDCF@yahoo.com>
References:  <5B26AB25-075F-4630-86C1-886E6082CDCF.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I will not get into why, but I executed a git built for 1400082
in a 1400081 world context and got what was to me a surprise,
given that /lib/libc.so.7 is part of 13.2-RELEASE :

ld-elf.so.1: /usr/local/bin/git: Undefined symbol =
"__libc_start1@FBSD_1.7"

Does this mean that a /lib/libc.so.8 is pending? Or do the
criteria for the likes of /lib/libc.so.7 allow for new
symbols over time without a name change, even after a
release contains a /lib/libc.so.7 ?

Just curious about the criteria. Executing newer on older is
not my normal type of activity: usually avoided.


FYI: Checking 13.2-RELEASE shows it is using /lib/libc.so.7 :

# uname -apKU
FreeBSD generic 13.2-RELEASE FreeBSD 13.2-RELEASE =
releng/13.2-n254617-525ecfdad597 GENERIC arm64 aarch64 1302001 1302001

# ldd -a `which git`
/usr/local/bin/git:
        libpcre2-8.so.0 =3D> /usr/local/lib/libpcre2-8.so.0 =
(0x6a226ba02000)
        libz.so.6 =3D> /lib/libz.so.6 (0x6a226c8fb000)
        libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x6a226cc81000)
        libthr.so.3 =3D> /lib/libthr.so.3 (0x6a226d429000)
        libc.so.7 =3D> /lib/libc.so.7 (0x6a226dbfa000)
/usr/local/lib/libpcre2-8.so.0:
        libthr.so.3 =3D> /lib/libthr.so.3 (0x6a226d429000)
        libc.so.7 =3D> /lib/libc.so.7 (0x6a226dbfa000)
/lib/libz.so.6:
        libc.so.7 =3D> /lib/libc.so.7 (0x6a226dbfa000)
/usr/local/lib/libintl.so.8:
        libc.so.7 =3D> /lib/libc.so.7 (0x6a226dbfa000)
/lib/libthr.so.3:
        libc.so.7 =3D> /lib/libc.so.7 (0x6a226dbfa000)

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5B26AB25-075F-4630-86C1-886E6082CDCF>