Message ID | 20240430200506.2717717-1-gabifalk@gmx.com |
---|---|
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 19BF63858426 for <patchwork@sourceware.org>; Tue, 30 Apr 2024 20:05:52 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by sourceware.org (Postfix) with ESMTPS id D70FF3858D1E for <libc-alpha@sourceware.org>; Tue, 30 Apr 2024 20:05:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D70FF3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmx.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D70FF3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=212.227.17.21 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714507528; cv=none; b=ms5j4VrDYaL5sCyv5GwO57Yz1KdzKvqcXia4Sr5niT8Gw2zMS2g/bOHZSwmNG/PnMVQll3HMuMxOVWUDhS7sG3Wz24P5RBhbDd9jLASvmpXE1pdaGBPwPZ+yNt1J7UYRiBUtGeznHKQClTUMTpB3rRtztAVjhuJzeGGyFpzXnMY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714507528; c=relaxed/simple; bh=gfOxAcydavUFdEQQwUz4ocBiWC6UrLZC13OYaqyxaPM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=VFT3YPMhccr31Y2ZbOMq3yJCSHJM/hF3UBwkyT1oJxY1juMipAgMUredIQmQJoQAV+lq+AD6IdEd++c8ef+q50F4p5fxSDu0esB1igQsSlj9S27EsiOhwnTMhPASlVnwxJtz0SHX/5JTMJLp/VrF8PuX8J/bq45liW8W31gzb+Q= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.com; s=s31663417; t=1714507514; x=1715112314; i=gabifalk@gmx.com; bh=aM6R2JDvgBgemW5rS8mBklNNbI62zpU7NkDb3lYHFUc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-ID: MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=hoOkDjjBRiZH2ShO8vujDsV1GneF1kIw5LAce2gcgFkD9/jRuf0S2Nzud/BLf39B IInPDEIjSe0WzKGYkqTUGLahWYIln/DwnwZGry4gTWSIznJi5dwKh2342ftVz5Epe usf6scWb1nOe/C2YpbPxMHMjjzBTWRoYl2YmbNDQgU5o8ECVYhW1mUZSBou302u+K QxNaAqgo+/hqG50DEasaHq21D4s0NRziD5ix/fx8kwETPxtVv4ZqRyih7+5ZlAEpR zmKTAWkJh4EzGm6iOzVg3KBoHZLcAztowUu+mEHARjCPTcxHnPDE8ekJgxi9q3IBF KR7sbVwwWT6oNv+MpA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from localhost ([46.120.23.13]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N6bfq-1sjRum06zW-016KbX; Tue, 30 Apr 2024 22:05:14 +0200 From: Gabi Falk <gabifalk@gmx.com> To: libc-alpha@sourceware.org, "H.J. Lu" <hjl.tools@gmail.com>, Florian Weimer <fweimer@redhat.com>, "Dmitry V. Levin" <ldv@altlinux.org>, Sam James <sam@gentoo.org> Cc: Gabi Falk <gabifalk@gmx.com> Subject: [PATCH 0/3] i586/i686: Fix multiple definitions in libc.a Date: Tue, 30 Apr 2024 20:05:01 +0000 Message-ID: <20240430200506.2717717-1-gabifalk@gmx.com> X-Mailer: git-send-email 2.43.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:lUt8QMwLNXfxXyLjr5CJhqc+OQUzCAgFI6RL9UIAQtlECaPAvI8 I6uY+J18k3J5d7pXWECWerVwALXbhdjndiRUpxBtx0xOJNooK3crLB4np16DuBpGWUrhjGp cZ2J6BIm8+F+Beh621STbmB9q0fV94fsrfnvUXTayULKEE/LNP5PAriu7ZlOFXrE+jTEeY1 E0D2vWfhBV3xY1lKvS4kQ== UI-OutboundReport: notjunk:1;M01:P0:StBbQwdRR9Y=;jNH7q0kkdnBHbxp/yWfs/1ylr1R ikVX5KrkSKJt/5ASz7lPO4w4GTgi9Woc6zNFCTX/gfKSD413/ZujfggLpt0MqCXPDUf8+Ke3e VcjbobqP8CAWp6kp+EXw4x4bEgNe4KiuzXL7AFa1Wi3aWTQD2K8sFLu8JN6yXse/ylyILH1xz GYkK3fAfxY35MMdpftyBSCDgzt/NGnrS0hyvWLL3LpayP/444E4BqZnlnyp7U87z8IAducMf/ FidvnZ0brIbZT1vMlplF7fqkqiwmuHKwS3fnp5sxjj2fUQnd7aOb98/qywW93RsSxRp6hnvo8 0SN1jKLnyHO25MnlNnhfgwp5fhPWSNuvwDAuRKBtmeXCzaHFG2t3U0p5FBpC+6oNvT48bUEEM LFJiTCYnxMLndKo6JAVbGjenoEm7inRCP1h0AmsDIyS7SbWKtROB2EcxTNQu2QtdTgztRhpDW yWqw7b9R1tAvRd+xrXpkllxWIDUNxg41GN9booiLG/3J304m41Y1Jr/H3WgN5+j0K0qEZsB7t CVokNjZ0XXLguji5ZrhJ7P5OwFq6A5Zx48y2Bq4+3M78Ytuz5kZqa31PqI6JUnYp0lmlMfRXk jF32q5U2Ivbmoz+e+CVDX+VGaPnBYVFtvqXR8wCMeOtt+TzcfUsVwWOSLww7cRBcmd9erWnqZ qYIX/KoqmhZxrfwPRxPxELxvE3KECx5XzapK/KAI6CCBP8jDaitlVZYml/NZ1tLDeTm0ji1nA 7DchdTICYOZ2MFlXuD6DmBGUpsOqARhzNTn1ZHFX6VW+7kldDDtn0ZieVF4KXKf4gTibXDd5f BHASavy6gh1SemtZQ5Dx3llDxd3s6botx8NKqs1LyB+UI= X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org |
Series |
i586/i686: Fix multiple definitions in libc.a
|
|
Message
Gabi Falk
April 30, 2024, 8:05 p.m. UTC
This patch fixes two issues related to multiple definitions of functions in the static library built as PIC and adds a test to prevent such issues from occurring in the future. Gabi Falk (3): i586: Fix multiple definitions of __memcpy_chk and __mempcpy_chk i686: Fix multiple definitions of __memmove_chk and __memset_chk Add a test to check for duplicate definitions in the static library Makefile | 7 +++++++ sysdeps/i386/i586/memcpy.S | 2 +- sysdeps/i386/i686/memmove.S | 2 +- sysdeps/i386/i686/memset.S | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) -- gabi
Comments
On Tue, Apr 30, 2024 at 08:05:01PM +0000, Gabi Falk wrote: > This patch fixes two issues related to multiple definitions of functions > in the static library built as PIC and adds a test to prevent such > issues from occurring in the future. > > Gabi Falk (3): > i586: Fix multiple definitions of __memcpy_chk and __mempcpy_chk > i686: Fix multiple definitions of __memmove_chk and __memset_chk > Add a test to check for duplicate definitions in the static library > > Makefile | 7 +++++++ > sysdeps/i386/i586/memcpy.S | 2 +- > sysdeps/i386/i686/memmove.S | 2 +- > sysdeps/i386/i686/memset.S | 2 +- > 4 files changed, 10 insertions(+), 3 deletions(-) For all the series: Reviewed-by: Dmitry V. Levin <ldv@altlinux.org>
Gabi Falk <gabifalk@gmx.com> writes: > This patch fixes two issues related to multiple definitions of functions > in the static library built as PIC and adds a test to prevent such > issues from occurring in the future. > > Gabi Falk (3): > i586: Fix multiple definitions of __memcpy_chk and __mempcpy_chk > i686: Fix multiple definitions of __memmove_chk and __memset_chk > Add a test to check for duplicate definitions in the static library Thanks! Pushed with Tested-by for the i686 commit specifically too. > > Makefile | 7 +++++++ > sysdeps/i386/i586/memcpy.S | 2 +- > sysdeps/i386/i686/memmove.S | 2 +- > sysdeps/i386/i686/memset.S | 2 +- > 4 files changed, 10 insertions(+), 3 deletions(-)