Message ID | 20220128133617.4077738-1-szabolcs.nagy@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=IxxEG1sa; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=<UNKNOWN>) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (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) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Jldm828J9z9t3b for <incoming@patchwork.ozlabs.org>; Sat, 29 Jan 2022 00:36:56 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8997F3864840 for <incoming@patchwork.ozlabs.org>; Fri, 28 Jan 2022 13:36:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8997F3864840 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1643377013; bh=6iGTvuAbuP08Hda+QuMUBdqWFxDFXNRWLduGCpssj6Y=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=IxxEG1saczTunFpt85kA7aNIJ6vKxMM/in3lx2KZg1/gj/DrekZ3BwIKegWlu6zsj DYer8lGTGwOpwH2BbceZHVLSHfCS8nodWHsckFtgt6qOo6R6I3vLbG9Wu//fCcMhMi UTPPv3a6BOaYuyTKa4LexVqgOO7mnsXWCycX4QBc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2051.outbound.protection.outlook.com [40.107.20.51]) by sourceware.org (Postfix) with ESMTPS id 25F9C384602E for <libc-alpha@sourceware.org>; Fri, 28 Jan 2022 13:36:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 25F9C384602E Received: from AM5PR0502CA0024.eurprd05.prod.outlook.com (2603:10a6:203:91::34) by DB7PR08MB3723.eurprd08.prod.outlook.com (2603:10a6:10:7b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.18; Fri, 28 Jan 2022 13:36:35 +0000 Received: from AM5EUR03FT050.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:91:cafe::b) by AM5PR0502CA0024.outlook.office365.com (2603:10a6:203:91::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.18 via Frontend Transport; Fri, 28 Jan 2022 13:36:35 +0000 X-MS-Exchange-Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT050.mail.protection.outlook.com (10.152.17.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.15 via Frontend Transport; Fri, 28 Jan 2022 13:36:34 +0000 Received: ("Tessian outbound 826a6d8e58c3:v113"); Fri, 28 Jan 2022 13:36:34 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5cd7a64c4ade0838 X-CR-MTA-TID: 64aa7808 Received: from 0a3593235212.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4991FAA3-705B-4613-A359-3067721AC904.1; Fri, 28 Jan 2022 13:36:28 +0000 Received: from EUR03-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0a3593235212.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 28 Jan 2022 13:36:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IAXg9tMxZwAFmtg48WtVwgi1XkpG2FtT/UD59Z2kkNpBRedqNcQYMDOGwg6PIlSSnaYgKmD7i9JSPc6qT6cd9wgebwx9rnLTwqLFYztu4rHn+/Oi+LnBELN8k7uKT3kT9jxIy9Xe2Cl3isuSa41xo1rWAek33/bM5JM6O+ftGrrPjvEBd7yLc3V6BrAetbiB1vRiieupKOWJQxAwyZK5vEoUDg/78H3QazneZuOGStXMNr2wPUnRESGg72lua1Okl18wM4oUfpAuGG3otJPGV24CdzbW0jOF+yf92icUAUnLRPRTosSHz+YajWDbxsh8LQbjFhY+BXK1tMIWMlUoLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6iGTvuAbuP08Hda+QuMUBdqWFxDFXNRWLduGCpssj6Y=; b=lSJ35KuRvhEB0AmrHVBv+s7AmSMahk5H6xukI9q3uGrICcONCTXOtX5BQtvdrQcfEpar30GrFecfStWI9JKvz8rkMOHJdKoRHoknAF1ZLo/Yadf/USNUXGFIFJSK3dlj+9y8gh1sIE2ovnjp39j6Cc85B3TleyZAPPQGeONOnK9rjIvAnGRTeymv7+zn/7+VfZjJj9QwZs7GwTk0yO7kkRDke1OZbX4QASWvYgeg0C3SWUWrxtwcyo1S1R307glp9B6uV+QKHJ04EC/iGCHZO/wy5j4U9jxORUgLTmi2pmPWspE9QwGKR5/UBvzYx6ndv6WXadapNPNVC05WxIh8yQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) by VI1PR08MB4560.eurprd08.prod.outlook.com (2603:10a6:803:f1::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.18; Fri, 28 Jan 2022 13:36:26 +0000 Received: from DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::dca:9146:2814:3f63]) by DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::dca:9146:2814:3f63%5]) with mapi id 15.20.4930.017; Fri, 28 Jan 2022 13:36:25 +0000 To: libc-alpha@sourceware.org Subject: [PATCH] Fix elf/loadfail test build dependencies Date: Fri, 28 Jan 2022 13:36:17 +0000 Message-Id: <20220128133617.4077738-1-szabolcs.nagy@arm.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: LO4P123CA0133.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:193::12) To DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 056e0e2e-177c-4603-3d0d-08d9e26333ef X-MS-TrafficTypeDiagnostic: VI1PR08MB4560:EE_|AM5EUR03FT050:EE_|DB7PR08MB3723:EE_ X-Microsoft-Antispam-PRVS: <DB7PR08MB3723ABEED718874A742D6A4DED229@DB7PR08MB3723.eurprd08.prod.outlook.com> x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:5236;OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: qYLiuX1lW7OumLARzKlVqC9rr7hkqhTVEI50acOwfod1e/zZSVGFuxKUdB68wUt+cgBpaEh7fAxHfun+PiPb0vvIGbsrzvmoZCfAniLN+OyaP2LtMzGdrz/7TtQE6vHGZ/7g9vaFE5M2zjU0jsMecHz7CsVg1OvpfG/jYzvGhZ4p3mJY9Qw1CEN0FyewKpOVudYoz7JXzkFHAlP19mq7rHXIX2kkBOmq61yM0UKDLOw64DCbRtzdhN50xaygbjblE8EbdJz2YcDvUdDIdornj9aGTHgpx5a3xjnLf2+Gg6wqs+yXTGgSnKz6I61Anaka2O3zFh80vgCoAXk8hWbvdRoQg/mmJmDGQxQJY27g6gcCU11JPoOFKbpoOPuFCA2BK5c29zZ38tr+jQhZsLw4P1ia8/urX5j1M/CnNHsCtunIWjfiamRMyUO/MJRoTlBXqerL6UPxhj9BrxKgxmLbus5Jotlf7kJ27ki+7PK/Jrlk5OLvOrqE5NivJnvkwAdR44tRfKssDzsovREubHNwQfDTmECNTziSyCH+mOxB8Ytk4xwkkSpWqbwPAuqTIOY4F1LHyzq7Db0zpJ4iRBEVYdffwCHQFYHC+j1rSzFdK0Uo18lQdheWLXpbIht7SRYMlMWXIITp+sTHoqx8f/gMl1R2M9qFWAoPadPRWqQS7pkij87vZ5InWf0pVougfI3OdTRaSgjFNmwaLvejVs5IcA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR08MB7179.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(6512007)(52116002)(6506007)(38100700002)(6666004)(36756003)(38350700002)(4744005)(2906002)(44832011)(1076003)(26005)(186003)(2616005)(6486002)(5660300002)(508600001)(83380400001)(86362001)(316002)(66556008)(66946007)(8676002)(66476007)(8936002)(6916009)(20210929001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4560 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT050.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 5e3495c5-f715-449d-8b62-08d9e2632d78 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: w99l25Vonr6mlZIdKKdCX74d3OVnrjbJpiBIYVUblmuqn6Cv2PcnMz3LPsnZdECyj+Epnpha4cF/MCZ1scJp80hJEkDzL0gRTUtrWvHvoJuC/nDNi65ltkIagKoFyXmWjJcyKHjzNTjeBo8wNWGOPAKvEAHqNavoHYalucmCYA3QtxoJepwUIizEjQ/6BcsJnwukPzpll/Z39xyZ3iw54+Gsg6o+gLaR5+bgUrqjgYOr2IJ/FJ/52j0e5vX1FVUQvCleko92GOz3BTuSKGAirfgCwbaNe2hadMep6/Ua+HdqxQlYVlvnryHJKyj7o8LCEqnrBhCjUu1jIMkiGLshV37ifQA7ru/aOiu4cRpONWG+SWKbGPUuM9S6jLkYif8feynwsZ5HcK3SrGbE6mDjLbZWv/4sgWnPHHIfC72PZD2TR4tCfJXVtQxBMUqx9hAtWmJBk7J73P8jCXWBc+Hdm8AQ3PJGD1zNK1xfa1uDZ7zZnp2+W4qTEDCKO8Bk/X5r31AwdqRPMMtx3zCCRR8sgNzj+p2rsZpplGmniJNDkDebeuL4GonbgKSmgOx+g4kAR9Zi3Wd8VXgHavoIRKwVjIJ8g8PTxp5mcs9C7OPO208cfumVH3Z2I+xaZ9WwrkmWhMNlgyQyGitthT5RFm8Jpq5Dxz3wucu727stqpGa9QkFvPyxSqFdG0duMmSyOQ6udS9u/V/noRopX8ANIVkZQA== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ErrorRetry; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(40470700004)(46966006)(83380400001)(6916009)(63350400001)(63370400001)(2906002)(6666004)(36860700001)(186003)(26005)(2616005)(6486002)(81166007)(47076005)(1076003)(316002)(36756003)(508600001)(336012)(82310400004)(40460700003)(356005)(70586007)(70206006)(8676002)(8936002)(6506007)(5660300002)(4744005)(44832011)(6512007)(86362001)(36900700001)(20210929001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jan 2022 13:36:34.9967 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 056e0e2e-177c-4603-3d0d-08d9e26333ef X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT050.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3723 X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 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> From: Szabolcs Nagy via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Szabolcs Nagy <szabolcs.nagy@arm.com> Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> |
Series |
Fix elf/loadfail test build dependencies
|
expand
|
On 1/28/22 08:36, Szabolcs Nagy via Libc-alpha wrote: > There was no direct or indirect make dependency on testobj3.so so the > test could fail with > > /B/elf/loadfail: failed to load shared object: testobj3.so: cannot open > shared object file: No such file or directory Good catch. OK for glibc 2.35. Reviewed-by: Carlos O'Donell <carlos@redhat.com> > --- > elf/Makefile | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/elf/Makefile b/elf/Makefile > index 718e826290..1fa1a519a5 100644 > --- a/elf/Makefile > +++ b/elf/Makefile > @@ -1468,7 +1468,9 @@ preloadtest-ENV = \ > > LDFLAGS-loadfail = -rdynamic > > -$(objpfx)loadfail.out: $(objpfx)failobj.so > +$(objpfx)loadfail.out: $(objpfx)failobj.so $(objpfx)testobj1.so \ > + $(objpfx)testobj2.so $(objpfx)testobj3.so \ > + $(objpfx)testobj4.so $(objpfx)testobj5.so > > LDFLAGS-multiload = -rdynamic > CFLAGS-multiload.c += -DOBJDIR=\"$(elf-objpfx)\"
diff --git a/elf/Makefile b/elf/Makefile index 718e826290..1fa1a519a5 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1468,7 +1468,9 @@ preloadtest-ENV = \ LDFLAGS-loadfail = -rdynamic -$(objpfx)loadfail.out: $(objpfx)failobj.so +$(objpfx)loadfail.out: $(objpfx)failobj.so $(objpfx)testobj1.so \ + $(objpfx)testobj2.so $(objpfx)testobj3.so \ + $(objpfx)testobj4.so $(objpfx)testobj5.so LDFLAGS-multiload = -rdynamic CFLAGS-multiload.c += -DOBJDIR=\"$(elf-objpfx)\"