This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] BZ#13743: PowerPC - Add a new header for platformspecific functions
- From: Steven Munroe <munroesj at linux dot vnet dot ibm dot com>
- To: "Carlos O'Donell" <carlos at systemhalted dot org>, David Edelsohn <edelsohn at gnu dot org>, Michael R Meissner <mrmeissn at us dot ibm dot com>
- Cc: munroesj at us dot ibm dot com, Thomas Schwinge <thomas at codesourcery dot com>, Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>, Roland McGrath <roland at hack dot frob dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>, ryan dot arnold at gmail dot com, libc-alpha at sourceware dot org, sjmunroe at us dot ibm dot com, Ulrich Drepper <drepper at gmail dot com>
- Date: Thu, 08 Mar 2012 11:29:23 -0600
- Subject: Re: [PATCH 1/2] BZ#13743: PowerPC - Add a new header for platformspecific functions
- References: <20120224164824.GB3455@linux.vnet.ibm.com> <1331042262-25221-1-git-send-email-tuliom@linux.vnet.ibm.com> <CADZpyix82sHSd-JDFUxd8PVHpXbjFG_2=iy2UZhFb8iz_C8rNA@mail.gmail.com> <20120306172548.951272C08D@topped-with-meat.com> <CADZpyiz=dNpfSsTvB3gTeL4nVRH8SYghKp2No-pwQUEYcT+ruQ@mail.gmail.com> <CAOPLpQdcZoSHzmnJZa=1J+kaMU=W0HLKKAZt=YWz8F-psXegpw@mail.gmail.com> <CADZpyiznUOoW+Xz8dD=_YMmZBKkyiYiwoo=DOqL_rHB6cSzavw@mail.gmail.com> <CAOPLpQcww=wjDymJniZESxkjFtRGOB_bUrwy9XMsm39yUrB3nw@mail.gmail.com> <1331129803.4861.115.camel@spokane1.rchland.ibm.com> <CAOPLpQc0xCPtTpU8WfXxybOqgW=sWVA+AkdGAZvLOGDvHGnFJg@mail.gmail.com> <87y5rbmc7s.fsf@schwinge.name> <CADZpyiwPiqdxYTJcOwYn=-iWkx4QuoZZfugdnrAqH4u-b6Q3fA@mail.gmail.com> <1331223906.4861.141.camel@spokane1.rchland.ibm.com> <CADZpyizPbi-FP6KG=kU3j8Ze1EvtH4UWz=0sicObbiVTO=1WQA@mail.gmail.com> <1331225818.4861.149.camel@spokane1.rchland.ibm.com> <CADZpyixGegn89z67LCxfTL1Tum1tkFHRHW17E5zCpmCGbocSWQ@mail.gmail.com>
- Reply-to: munroesj at us dot ibm dot com
On Thu, 2012-03-08 at 11:59 -0500, Carlos O'Donell wrote:
> On Thu, Mar 8, 2012 at 11:56 AM, Steven Munroe
> <munroesj@linux.vnet.ibm.com> wrote:
> >> What stops GCC from installing a header?
> >>
> > Well I would have to ask. But the facts are that the existing headers
> > ppc_asm.h and ppu_intrinsics.h seem to be primarily intended for
> > internal gcc use, are not published in /usr/include, and are not
> > documented.
>
> Could you please ask? It would help to clarify GCC's position on this.
>
Bringing David and Michael into the conversation.
> > We need these to APIs to be easy to find, documented, and durable (a
> > commitment to be there in the next release).
>
> Do you feel then that the GCC community is unable to make this commitment?
>
Well as a Toolchain Architect I can see a separation between language
issues and APIs where GCC is focused on language and GLIBC is focused on
APIs. And I would put the timebase and program priority register into
the API category.
So the GCC community can and does make such commitments (for example the
__sync_fetch_and_* builtins) that can be implemented cross platform. But
I can see where they might decide that this specific case is not a good
example for GCC to carry.
But I should let David and Michael speak for themselves.
> The GLIBC community could certainly make such a commitment, but final
> responsibility rests with you and Ryan as the official power maintainers.