This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v7] Add pretty printers for the NPTL lock types
- From: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Martin Galvan <martin dot galvan at tallertechnologies dot com>, libc-alpha at sourceware dot org, Carlos O'Donell <carlos at redhat dot com>
- Date: Wed, 8 Jun 2016 22:03:53 +0530
- Subject: Re: [PATCH v7] Add pretty printers for the NPTL lock types
- Authentication-results: sourceware.org; auth=none
- References: <20160603181331 dot 8569-1-martin dot galvan at tallertechnologies dot com> <20160608122651 dot GA1759 at devel dot intra dot reserved-bit dot com> <CAOKbPbahEucK8Yd99OTN=Bvy5uOzpKk21BwVKiPR3qCNRufv2g at mail dot gmail dot com> <20160608140051 dot GB1759 at devel dot intra dot reserved-bit dot com> <alpine dot DEB dot 2 dot 20 dot 1606081618190 dot 30624 at digraph dot polyomino dot org dot uk>
On Wed, Jun 08, 2016 at 04:19:28PM +0000, Joseph Myers wrote:
> No, that's only if
>
> (a) it's required in order to run configure; or
It is not required to run configure.
> (b) it involves build tools that are not otherwise required in the build
> process.
The file is generated using awk, so that's not the case either.
> And it can only be done if the file has no system dependencies. Is that
> the case here?
The generated file in this case has no system dependencies, so I guess
I misunderstood this as being standard glibc practice. I also
misremembered some stuff I had implemented in the past
(posix-conf-vars for example) as writing into the source directory
instead of the build directory. I'll fix up Martin's patch to switch
back to generating in $build_dir/nptl/.
Siddhesh