public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Fix elf/loadfail test build dependencies
@ 2022-01-28 18:25 Szabolcs Nagy
0 siblings, 0 replies; only message in thread
From: Szabolcs Nagy @ 2022-01-28 18:25 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1d1ce7d637fdeb911f82d10f6a23287b5dca2a3b
commit 1d1ce7d637fdeb911f82d10f6a23287b5dca2a3b
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Fri Jan 28 10:51:49 2022 +0000
Fix elf/loadfail test build dependencies
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
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diff:
---
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)\"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-28 18:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 18:25 [glibc] Fix elf/loadfail test build dependencies Szabolcs Nagy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).