From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2206) id 353553838025; Thu, 8 Jul 2021 08:11:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 353553838025 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Siddhesh Poyarekar To: glibc-cvs@sourceware.org Subject: [glibc] elf/tests: Make thrlock and noload depend on libm X-Act-Checkin: glibc X-Git-Author: Siddhesh Poyarekar X-Git-Refname: refs/heads/master X-Git-Oldrev: fc859c304898a5ec72e0ba5269ed136ed0ea10e1 X-Git-Newrev: 5ceb1630bdb2302f927fabb812252a6d88168918 Message-Id: <20210708081102.353553838025@sourceware.org> Date: Thu, 8 Jul 2021 08:11:02 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2021 08:11:02 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5ceb1630bdb2302f927fabb812252a6d88168918 commit 5ceb1630bdb2302f927fabb812252a6d88168918 Author: Siddhesh Poyarekar Date: Thu Jul 8 13:39:19 2021 +0530 elf/tests: Make thrlock and noload depend on libm Both tests try to dlopen libm.so at runtime, so make them depend on it so that they're executed if libm.so has been updated. Reviewed-by: Florian Weimer Diff: --- 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)