This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: malloc programs independently depend on libpthread


* Andreas Schwab:

> On Jul 02 2019, Florian Weimer <fweimer@redhat.com> wrote:
>
>> What's the best way to solve this?  Move memusagestat to a different
>> subdirectory which comes after nptl?
>
> Can we make malloc depend on nptl?

Ah, I had not considered that mechanism because I had forgotten about
it.

What about this?  It appears to fix the build order.  Since it works on
Linux without htl, I expect it will work on Hurd with nptl, too.  And
nscd/Depend does the same thing today.

2019-07-02  Florian Weimer  <fweimer@redhat.com>

	[BZ #24757]
	* malloc/Depend: Add nptl and htl, due to potential indirect
	libpthread dependency of memusagestat.

diff --git a/malloc/Depend b/malloc/Depend
index 910c6d9152..f5e248047c 100644
--- a/malloc/Depend
+++ b/malloc/Depend
@@ -1 +1,3 @@
 dlfcn
+nptl
+htl

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]