Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2024 00:47:12 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 57ddfad884a0 - main - lib/libc: version auxiliary libsys.so
Message-ID:  <202402070047.4170lC3i007157@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=57ddfad884a0c490e462b78634f2582e6b07dc9a

commit 57ddfad884a0c490e462b78634f2582e6b07dc9a
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-02-07 00:46:38 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-02-07 00:47:04 +0000

    lib/libc: version auxiliary libsys.so
    
    We need to use libsys.so.7 so that we can work without /usr and because
    we're bound a specific ABI.
    
    Reported by:    jtrc27, kib
    Reviewed by:    kib
    Differential Revision:  https://reviews.freebsd.org/D43772
---
 lib/libc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 7c728ffe6443..41cf0f6de72a 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -64,7 +64,7 @@ LDFLAGS+= -nodefaultlibs
 LIBADD+=	compiler_rt
 LIBADD+=	sys
 
-LDFLAGS+=-Wl,--auxiliary,libsys.so
+LDFLAGS+=-Wl,--auxiliary,libsys.so.7
 
 .if ${MK_SSP} != "no" && \
     (${LIBC_ARCH} == "i386" || ${LIBC_ARCH:Mpowerpc*} != "")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402070047.4170lC3i007157>