This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PING 2][PATCH v3] Add pretty printers for the NPTL lock types
- From: Andreas Schwab <schwab at suse dot de>
- To: Martin Galvan <martin dot galvan at tallertechnologies dot com>
- Cc: "Carlos O'Donell" <carlos at redhat dot com>, Joseph Myers <joseph at codesourcery dot com>, Siddhesh Poyarekar <sid at reserved-bit dot com>, libc-alpha at sourceware dot org, Tom Tromey <tom at tromey dot com>, Torvald Riegel <triegel at redhat dot com>, Pedro Alves <palves at redhat dot com>, vapier at gentoo dot org, Daniel Gutson <daniel dot gutson at tallertechnologies dot com>
- Date: Tue, 22 Mar 2016 09:30:09 +0100
- Subject: Re: [PING 2][PATCH v3] Add pretty printers for the NPTL lock types
- Authentication-results: sourceware.org; auth=none
- References: <1447768994-5368-1-git-send-email-martin dot galvan at tallertechnologies dot com> <20160209155450 dot GE1904 at devel dot intra dot reserved-bit dot com> <CAOKbPbYPtn5mMpwGGD-HccXnhNz+eymiJ7Xwe_4WOnesYkw5=A at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1602091743430 dot 29757 at digraph dot polyomino dot org dot uk> <CAOKbPba5MGw8XCXRSvapfADD1v_0FoVYhUeJUp01YBXyELLMkg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1602101301131 dot 23420 at digraph dot polyomino dot org dot uk> <56BCB9C7 dot 6000100 at redhat dot com> <CAOKbPbZMt+ozv8dPbC8hpZr6yw2d2HcV4OskRP+Pk-i3oYu=nQ at mail dot gmail dot com> <56D5DFE3 dot 5010401 at redhat dot com> <CAOKbPbY_TPXBuFWT_eZCOBKiF-uSWZndAT3cuL3ZvZF+htbCRQ at mail dot gmail dot com> <CAOKbPbY0QW-KvhegDbs3NCuv-hHKyf-peuL1aBon+YTCt2SfEg at mail dot gmail dot com> <56E249E9 dot 4060404 at redhat dot com> <CAOKbPbYXgQyM8Gk-R4poMsdHz6eZ6=9ynq=hu=E8yrignf3N-w at mail dot gmail dot com> <56E6FF80 dot 3080202 at redhat dot com> <CAOKbPbaVpUk0VggUGivbaY9fDHMf0-RrYjsYOGLRHEOKy+Ycbw at mail dot gmail dot com> <CAOKbPbaTB4t1YX=Qu+gcSJuPvxc+FVZis2cRCsVfr4bnn1BCvw at mail dot gmail dot com> <mvmshzjddk9 dot fsf at hawking dot suse dot de> <CAOKbPbYSHg0JBZn7+aw1bb44C4af2k4HVpYTVJMhWJ7A8Hqi6A at mail dot gmail dot com> <CAOKbPbZGLkVgb7qPzTQxo3QTEJXj+BrYJ=5_YxtYuJdw-T2+cg at mail dot gmail dot com>
Martin Galvan <martin.galvan@tallertechnologies.com> writes:
> The question still remains, though, of how should I handle static
> linking against libpthread
git grep is your friend.
$ git grep static-thread-library
ChangeLog.8: and static-thread-library if a thread library is available. Don't
ChangeLog.8: static-thread-library in dependencies.
conform/Makefile: $(common-objpfx)rt/librt.a $(static-thread-library)
intl/Makefile:$(addprefix $(objpfx),$(multithread-test-srcs)): $(static-thread-library)
nscd/Makefile:$(objpfx)nscd: $(static-thread-library) $(common-objpfx)nis/libnsl.a
rt/Makefile:$(addprefix $(objpfx),$(tests)): $(objpfx)librt.a $(static-thread-library)
sysdeps/nptl/Makeconfig:static-thread-library = $(common-objpfx)nptl/libpthread.a
sysdeps/pthread/Makefile:$(objpfx)tst-timer: $(objpfx)librt.a $(static-thread-library)
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."