From: Carlos O'Donell <carlos@redhat.com>
To: Szabolcs Nagy <szabolcs.nagy@arm.com>, libc-alpha@sourceware.org
Subject: Re: [PATCH] Fix elf/loadfail test build dependencies
Date: Fri, 28 Jan 2022 12:20:41 -0500 [thread overview]
Message-ID: <25fed982-cac8-113b-f5aa-66a54df679fc@redhat.com> (raw)
In-Reply-To: <20220128133617.4077738-1-szabolcs.nagy@arm.com>
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)\"
--
Cheers,
Carlos.
prev parent reply other threads:[~2022-01-28 17:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-28 13:36 Szabolcs Nagy
2022-01-28 17:20 ` Carlos O'Donell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25fed982-cac8-113b-f5aa-66a54df679fc@redhat.com \
--to=carlos@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=szabolcs.nagy@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).