From nobody Wed Feb 07 19:51:26 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVW2k49WMz59xtK; Wed, 7 Feb 2024 19:51:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVW2k3ktSz40RY; Wed, 7 Feb 2024 19:51:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707335486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RFHCy2lyZHwhKXn249TuZMnBG4waZPZ0vvZviEGMR1A=; b=XgXUoC2z0EH0BLHTlffRwYWetjTyP3xvpcPHk3R7gg6TJ1RF0Ul2UQaAQaAZ+aatM54OXs MtbpFKmjPw1BDGN/k/bKtAcD8FXjXFOhODHuYsaZSLhOkKby20qEQ8K6p7IAHzcPzlhVWs Vc5rbJIBXJQzyCC6UHrBw0gOunQ67cDS63JUTGC6EfWhJaG9O2LR3sL5O9Ti5eATMme0e6 A+B/glLyfzAf7SGeI+/HQAHLI4Vnirveq316kjoOulQjfAVGVG7oNUtmK5Npqw3Z9jDKNn pLf02HDZf7L4F/jaGsoaYkkY6BJz8SEFDwnknC5LAt7zEeerK8cjuL5litdrOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707335486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RFHCy2lyZHwhKXn249TuZMnBG4waZPZ0vvZviEGMR1A=; b=awlA8Msc4/ELFX0yrvLjrQSJQdxTqqmBWxDOyh29VC6bh27HQueREuOjjeGHoT6QrnRtCD scTeK94m3uGBCIVUlkrltQA6imL6efhIrs8BXo4NhbMTNfEtRhi2bZwenkodOsT/9AA05R EYaSOlvHwF800dErYhzPsYfWDNv6VmPrBWC+MsbfPfGYSAVpamONR3WJLmDu5W4/pXHcWB O+s+YzDQkCQ2eizqMiLEaOvD78fLT8oFdfYH/yX9TFYt+6/N/xmcZG3GOGYcvuvxk6hdv+ 9OPdi8nho86LWIHtC4oHaC8DyW7SOlN8/a2Oq0FgysJmLbLV+UD8MEeMYNhdXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707335486; a=rsa-sha256; cv=none; b=D9dpjHQoKnMwF/UUlfuydr6cpDoixqldAyStbFXoiYCTPtFC7xBheL2Vx8GF1vZzmIG3aJ M6t6kyOw+ryycv7vFAetK9g1eQji6e6oBgbYQmLVgRphFDawfw797fhG4fFxPqhSex+Hr3 ivMBe72HHxwP4iFG25eTrR/JP/6lYy6jENmrggyUW54TrNjw0k0xhcm9trzcRdf2iavyMH SBuIA42KWem7oCkbuw+0hqXrNeJlPgjtMUIvAg7x4rmCuRxWR1wdowIi8wG2tjUb8iNqmA BjzwwH7l7+N8pLu1o+N10mINTq2H/rm1S8in1JRU2eRMCMqrBtPeuIN8AQL2Ig== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TVW2k2nGpzKCP; Wed, 7 Feb 2024 19:51:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 417JpQSZ034934; Wed, 7 Feb 2024 19:51:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 417JpQTq034931; Wed, 7 Feb 2024 19:51:26 GMT (envelope-from git) Date: Wed, 7 Feb 2024 19:51:26 GMT Message-Id: <202402071951.417JpQTq034931@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 49076f376af5 - main - libc: don't directly link libsys List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 49076f376af52ac6cb7e8dfaf19766044fedd4d5 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=49076f376af52ac6cb7e8dfaf19766044fedd4d5 commit 49076f376af52ac6cb7e8dfaf19766044fedd4d5 Author: Brooks Davis AuthorDate: 2024-02-07 19:37:55 +0000 Commit: Brooks Davis CommitDate: 2024-02-07 19:50:47 +0000 libc: don't directly link libsys It is sufficent to add it as a filter. Reported by: kib Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D43781 --- lib/libc/Makefile | 1 - share/mk/src.libnames.mk | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 41cf0f6de72a..54748abfeff1 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -62,7 +62,6 @@ CFLAGS+= -ftls-model=initial-exec # LDFLAGS+= -nodefaultlibs LIBADD+= compiler_rt -LIBADD+= sys LDFLAGS+=-Wl,--auxiliary,libsys.so.7 diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index 3c19a4c45da3..5a6932614b29 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -393,7 +393,7 @@ _DP_xo= util _DP_ztest= geom m nvpair umem zpool pthread avl zfs_core spl zutil zfs uutil icp # The libc dependencies are not strictly needed but are defined to make the # assert happy. -_DP_c= sys compiler_rt +_DP_c= compiler_rt # Use libssp_nonshared only on i386 and power*. Other archs emit direct calls # to __stack_chk_fail, not __stack_chk_fail_local provided by libssp_nonshared. .if ${MK_SSP} != "no" && \