From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2D89438493EA; Mon, 20 Feb 2023 12:35:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D89438493EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676896521; bh=4NEbxlaWHNA9sihinH/YJ4x/ftitiuxNsAeAE0QlnZU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZeMmitpkTKya7DGumvqte9pdhvlHakaNzTtggsCCmXLMzRSLFxskyXT8ifV4A8zJ5 +/6YIDO9OK3WdR3YipkAKsB71xNrFJgFAyW+cUHWjfa5HmrwzYmlOpLrTt/iqkUmH8 45mryQk/l8yrdRDjiATxJsRpchRYXLGLnRAoQRi8= From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30125] [regression, bisected] glibc-2.37 creates new symlink for libraries without soname Date: Mon, 20 Feb 2023 12:35:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.37 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30125 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Adhemerval Zanella : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D1b0ea8c5d886fedabd6= 11a569b5ec58a6f5153e6 commit 1b0ea8c5d886fedabd611a569b5ec58a6f5153e6 Author: Joan Bruguera Date: Sat Feb 18 21:52:15 2023 +0000 elf: Restore ldconfig libc6 implicit soname logic [BZ #30125] While cleaning up old libc version support, the deprecated libc4 code w= as accidentally kept in `implicit_soname`, instead of the libc6 code. This causes additional symlinks to be created by `ldconfig` for librari= es without a soname, e.g. a library `libsomething.123.456.789` without a soname will create a `libsomething.123` -> `libsomething.123.456.789` symlink. As the libc6 version of the `implicit_soname` code is a trivial `xstrdu= p`, just inline it and remove `implicit_soname` altogether. Some further simplification looks possible (e.g. the call to `create_li= nks` looks like a no-op if `soname =3D=3D NULL`, other than the verbose prin= tfs), but logic is kept as-is for now. Fixes: BZ #30125 Fixes: 8ee878592c4a ("Assume only FLAG_ELF_LIBC6 suport") Signed-off-by: Joan Bruguera Reviewed-by: Adhemerval Zanella --=20 You are receiving this mail because: You are on the CC list for the bug.=