From nobody Tue Sep 19 08:31:37 2023 X-Original-To: dev-commits-src-all@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 4RqZdQ3hYLz4tc9Z; Tue, 19 Sep 2023 08:31:38 +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 4RqZdQ1NZyz3LBj; Tue, 19 Sep 2023 08:31:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695112298; 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=TyfV1CqYOOrOGulsYPtkq/0aUfDwNF2LoKj7+WQ7e7w=; b=wvmABJ8AHJNVJFqqa8O0nM7xmpoakqI0OlSBxaZ3q7SMyl4PTwTRGgz9EM1Ot5xMRxv1tf GXel6B8DnKf/Tjc3UV95b7KicFb29i21BRif2qTj5YiVw5DrPhhqMW+gtL8+Owsaspz31q RCYcn8PgO36Vw/3UbAz1kz52Cc49YXVF2FZcZeb9+JM8npkxKBWmAzX+ervhAloIjhTY3z PgdN53Fq9F/1jcqx002KYKtThea4jCY75flaBcH1LPMlvE84M17/mm5wdG+DxhuzJry1wo WRnD7Zhh/NUXZ2g2MrTExkSOO9Uom8J30ypFxPBhNxPEBMUrFwHWStafzx9OGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695112298; a=rsa-sha256; cv=none; b=Luog7kyxBGdok4JOanlN9BsAm/xFY08T4nE7rQ6x9K6NlDXSm08Cmp9OhSy6ViBrQ+5j5W yRLjeueqPZ5VCvQ4tYKpQnDU+N4bKwfg/eDiX9GiaQ0Jc9q8X1Y0hbWttXA3hNhZsaz3EG k7RRkppe2yxaACVCiblooNUPTq6ztKEtA36thgEZEUez7a3NkN5KsNpchhMNmM1Zu0XGn/ JrCb3OVKxsULfWXfCJLoLUAStboKvaJZOydnGcr/c60qnrfWznyJsRK3E8NIpWYoce/ysJ AGbeAgy+p3wy9/MjJwQT03b1nSVZselnbgUIWG8U1OYDkCtmTe8Jt1sZS5+wKw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695112298; 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=TyfV1CqYOOrOGulsYPtkq/0aUfDwNF2LoKj7+WQ7e7w=; b=Yg/a5yUcjCeNn/a8ZH1lRyU/I/AXJ+RVPlT3dtH9iajKA+PaNe1slTsUH6XnYgqKYb/Wn5 SSt6NjjFQJ99zrw+VdM7/6xr8TJd5/3rPnL8sPxO17EUB/QwdWZzTEtXPQ81vWDbi/zXkL oVkmmAUs4IuFkupvM9obbZzzhzlPWLBAYbr9bsT0/22CclJO2WDKa6hN1jQavAqkK7/bPk JN1Rbn00OQWgJc6qRpXjM7FPqDJ4efTK6s/KUjBxWBS5ndb3nZejwZbVb3BINCQKDyLysh j6anJrch0hWkHuH42v901iaXvX7CtPdBO9hmAY6FRzuXCa4HuoGqOLhQOxpu3g== 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 4RqZdQ0RLWz15pH; Tue, 19 Sep 2023 08:31:38 +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 38J8Vb9W008910; Tue, 19 Sep 2023 08:31:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38J8VbgN008907; Tue, 19 Sep 2023 08:31:37 GMT (envelope-from git) Date: Tue, 19 Sep 2023 08:31:37 GMT Message-Id: <202309190831.38J8VbgN008907@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 3f3c631da0ab - stable/14 - rtld: output rtld errors into the dbg channel List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 3f3c631da0ab6834c5b4a3e3d8c3ff98a4ad51aa Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=3f3c631da0ab6834c5b4a3e3d8c3ff98a4ad51aa commit 3f3c631da0ab6834c5b4a3e3d8c3ff98a4ad51aa Author: Konstantin Belousov AuthorDate: 2023-09-15 19:26:50 +0000 Commit: Konstantin Belousov CommitDate: 2023-09-19 08:31:24 +0000 rtld: output rtld errors into the dbg channel (cherry picked from commit 72d97e1dd9cc72a2acb96e35e56db6f3f51bca7d) --- libexec/rtld-elf/rtld.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index aa7e6020a085..f8c4c18b5d5e 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -1073,6 +1073,7 @@ _rtld_error(const char *fmt, ...) fmt, ap); va_end(ap); *lockinfo.dlerror_seen() = 0; + dbg("rtld_error: %s", lockinfo.dlerror_loc()); LD_UTRACE(UTRACE_RTLD_ERROR, NULL, NULL, 0, 0, lockinfo.dlerror_loc()); }