From patchwork Wed Jul 7 16:58:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 1501909 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: 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=cU6GFH+D; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 ozlabs.org (Postfix) with ESMTPS id 4GKlyY6wm2z9sCD for ; Thu, 8 Jul 2021 02:59:33 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1D58D384F011 for ; Wed, 7 Jul 2021 16:59:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D58D384F011 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1625677171; bh=kjiu2v8Bsmi5MQnx7ctq39azIdiGnz4v5zROVOpJ/U0=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=cU6GFH+DMstDf9502fYAinYcs/2N+uv5pEOclHneeiJNn20pSd+yLK4RQ2zL3VtOY uO+3y0mCIci/CR+ho49c9WAPRQa89zqxJbf3bTDxM2Eb1us1U5KN3g41yrUYIAIQx1 6NV0yQOgROKA8G5uWT8qe3PpokhxsePHmiAtg2H8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from giant.ash.relay.mailchannels.net (giant.ash.relay.mailchannels.net [23.83.222.68]) by sourceware.org (Postfix) with ESMTPS id 89944384F011 for ; Wed, 7 Jul 2021 16:59:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 89944384F011 X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B2CBA482EE3 for ; Wed, 7 Jul 2021 16:59:10 +0000 (UTC) Received: from pdx1-sub0-mail-a24.g.dreamhost.com (100-105-161-168.trex-nlb.outbound.svc.cluster.local [100.105.161.168]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D85F1482F43 for ; Wed, 7 Jul 2021 16:59:09 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from pdx1-sub0-mail-a24.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.105.161.168 (trex/6.3.3); Wed, 07 Jul 2021 16:59:10 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Slimy-Chief: 7fe3d6a764910f60_1625677150318_522106426 X-MC-Loop-Signature: 1625677150318:1794260799 X-MC-Ingress-Time: 1625677150318 Received: from pdx1-sub0-mail-a24.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a24.g.dreamhost.com (Postfix) with ESMTP id 52C638C17B for ; Wed, 7 Jul 2021 09:59:09 -0700 (PDT) Received: from rhbox.intra.reserved-bit.com (unknown [1.186.101.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a24.g.dreamhost.com (Postfix) with ESMTPSA id A2C368B5AE for ; Wed, 7 Jul 2021 09:59:07 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a24 To: libc-alpha@sourceware.org Subject: [PATCH] elf/tests: Make thrlock and noload depend on libm Date: Wed, 7 Jul 2021 22:28:59 +0530 Message-Id: <20210707165859.2993732-1-siddhesh@sourceware.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3494.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NEUTRAL, TXREP 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Siddhesh Poyarekar via Libc-alpha From: Siddhesh Poyarekar Reply-To: Siddhesh Poyarekar Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" Both tests try to dlopen libm.so at runtime, so make them depend on it to avoid running before libm.so is built. --- elf/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elf/Makefile b/elf/Makefile index b1e01d9516..4b320e8b3a 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1281,6 +1281,8 @@ tst-leaks1-ENV = MALLOC_TRACE=$(objpfx)tst-leaks1.mtrace tst-leaks1-static-ENV = MALLOC_TRACE=$(objpfx)tst-leaks1-static.mtrace $(objpfx)tst-thrlock: $(shared-thread-library) +$(objpfx)tst-thrlock.out: $(libm) +$(objpfx)tst-noload.out: $(libm) tst-tst-dlopen-tlsmodid-no-pie = yes $(objpfx)tst-dlopen-tlsmodid: $(shared-thread-library)