Andrew Bartlett | 29 Aug 2012 06:54
Picon
Favicon

Using public headers to write ABI vscripts

I've been working on a patch to use the mksyms.awk approach to get a
list of public headers and symbols from our public headers files, and
use that instead of just the regular-expression abi_match.

https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/abi-public-headers

It would be great to get this in to 4.0, but I'm having some waf
challenges I'll need to get past.  The challenge relates to the grouping
from the build ordering, because we need a vscript for libreplace (very
early) but vscripts can depend on pild-generated headers.  We may need
to rely on pure dependencies rather than also the groups.

This came up because I had to bump the ldb ABI (it needed a bump for the
behaviour change, but it spiked my interest) when adding a private,
internal symbol. 

Andrew Bartlett
--

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

Alexander Bokovoy | 31 Aug 2012 07:31
Picon
Favicon
Gravatar

Re: Using public headers to write ABI vscripts

Hi Andrew,

On Wed, Aug 29, 2012 at 7:54 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> I've been working on a patch to use the mksyms.awk approach to get a
> list of public headers and symbols from our public headers files, and
> use that instead of just the regular-expression abi_match.
>
> https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/abi-public-headers
>
> It would be great to get this in to 4.0, but I'm having some waf
> challenges I'll need to get past.  The challenge relates to the grouping
> from the build ordering, because we need a vscript for libreplace (very
> early) but vscripts can depend on pild-generated headers.  We may need
> to rely on pure dependencies rather than also the groups.
>
> This came up because I had to bump the ldb ABI (it needed a bump for the
> behaviour change, but it spiked my interest) when adding a private,
> internal symbol.
I'm also working in this area though my needs are bit different at the moment.

https://git.samba.org/?p=ab/samba.git/.git;a=shortlog;h=refs/heads/stableabi
has number of patches that attempt to introduce API namespaces.

I need stable mapping between API namespace and version node name
associated with it that spans across multiple releases (instead of
SAMBA_<VERSION> default symbol changing every release without actual
semantical and ABI change) for certain important private libraries.

One issue we have currently is that ABI generators expect to use
numbers as versions only. This is done with the idea that vnum
(Continue reading)

Andrew Bartlett | 31 Aug 2012 08:06
Picon
Favicon

Re: Using public headers to write ABI vscripts

On Fri, 2012-08-31 at 08:31 +0300, Alexander Bokovoy wrote:
> Hi Andrew,
> 
> On Wed, Aug 29, 2012 at 7:54 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> > I've been working on a patch to use the mksyms.awk approach to get a
> > list of public headers and symbols from our public headers files, and
> > use that instead of just the regular-expression abi_match.
> >
> > https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/abi-public-headers
> >
> > It would be great to get this in to 4.0, but I'm having some waf
> > challenges I'll need to get past.  The challenge relates to the grouping
> > from the build ordering, because we need a vscript for libreplace (very
> > early) but vscripts can depend on pild-generated headers.  We may need
> > to rely on pure dependencies rather than also the groups.
> >
> > This came up because I had to bump the ldb ABI (it needed a bump for the
> > behaviour change, but it spiked my interest) when adding a private,
> > internal symbol.
> I'm also working in this area though my needs are bit different at the moment.
> 
> https://git.samba.org/?p=ab/samba.git/.git;a=shortlog;h=refs/heads/stableabi
> has number of patches that attempt to introduce API namespaces.
> 
> I need stable mapping between API namespace and version node name
> associated with it that spans across multiple releases (instead of
> SAMBA_<VERSION> default symbol changing every release without actual
> semantical and ABI change) for certain important private libraries.

I'm a bit confused.  In what sense is a library that is being linked
(Continue reading)

Alexander Bokovoy | 31 Aug 2012 08:38
Picon
Favicon
Gravatar

Re: Using public headers to write ABI vscripts

On Fri, Aug 31, 2012 at 9:06 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> On Fri, 2012-08-31 at 08:31 +0300, Alexander Bokovoy wrote:
>> Hi Andrew,
>>
>> On Wed, Aug 29, 2012 at 7:54 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>> > I've been working on a patch to use the mksyms.awk approach to get a
>> > list of public headers and symbols from our public headers files, and
>> > use that instead of just the regular-expression abi_match.
>> >
>> > https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/abi-public-headers
>> >
>> > It would be great to get this in to 4.0, but I'm having some waf
>> > challenges I'll need to get past.  The challenge relates to the grouping
>> > from the build ordering, because we need a vscript for libreplace (very
>> > early) but vscripts can depend on pild-generated headers.  We may need
>> > to rely on pure dependencies rather than also the groups.
>> >
>> > This came up because I had to bump the ldb ABI (it needed a bump for the
>> > behaviour change, but it spiked my interest) when adding a private,
>> > internal symbol.
>> I'm also working in this area though my needs are bit different at the moment.
>>
>> https://git.samba.org/?p=ab/samba.git/.git;a=shortlog;h=refs/heads/stableabi
>> has number of patches that attempt to introduce API namespaces.
>>
>> I need stable mapping between API namespace and version node name
>> associated with it that spans across multiple releases (instead of
>> SAMBA_<VERSION> default symbol changing every release without actual
>> semantical and ABI change) for certain important private libraries.
>
(Continue reading)

Andrew Bartlett | 31 Aug 2012 08:46
Picon
Favicon

Re: Using public headers to write ABI vscripts

On Fri, 2012-08-31 at 09:38 +0300, Alexander Bokovoy wrote:
> On Fri, Aug 31, 2012 at 9:06 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> > On Fri, 2012-08-31 at 08:31 +0300, Alexander Bokovoy wrote:
> >> Hi Andrew,
> >>
> >> On Wed, Aug 29, 2012 at 7:54 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> >> > I've been working on a patch to use the mksyms.awk approach to get a
> >> > list of public headers and symbols from our public headers files, and
> >> > use that instead of just the regular-expression abi_match.
> >> >
> >> > https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/abi-public-headers
> >> >
> >> > It would be great to get this in to 4.0, but I'm having some waf
> >> > challenges I'll need to get past.  The challenge relates to the grouping
> >> > from the build ordering, because we need a vscript for libreplace (very
> >> > early) but vscripts can depend on pild-generated headers.  We may need
> >> > to rely on pure dependencies rather than also the groups.
> >> >
> >> > This came up because I had to bump the ldb ABI (it needed a bump for the
> >> > behaviour change, but it spiked my interest) when adding a private,
> >> > internal symbol.
> >> I'm also working in this area though my needs are bit different at the moment.
> >>
> >> https://git.samba.org/?p=ab/samba.git/.git;a=shortlog;h=refs/heads/stableabi
> >> has number of patches that attempt to introduce API namespaces.
> >>
> >> I need stable mapping between API namespace and version node name
> >> associated with it that spans across multiple releases (instead of
> >> SAMBA_<VERSION> default symbol changing every release without actual
> >> semantical and ABI change) for certain important private libraries.
(Continue reading)

Alexander Bokovoy | 31 Aug 2012 08:54
Picon
Favicon
Gravatar

Re: Using public headers to write ABI vscripts

On Fri, Aug 31, 2012 at 9:46 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> On Fri, 2012-08-31 at 09:38 +0300, Alexander Bokovoy wrote:
>> On Fri, Aug 31, 2012 at 9:06 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>> > On Fri, 2012-08-31 at 08:31 +0300, Alexander Bokovoy wrote:
>> >> Hi Andrew,
>> >>
>> >> On Wed, Aug 29, 2012 at 7:54 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>> >> > I've been working on a patch to use the mksyms.awk approach to get a
>> >> > list of public headers and symbols from our public headers files, and
>> >> > use that instead of just the regular-expression abi_match.
>> >> >
>> >> > https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/abi-public-headers
>> >> >
>> >> > It would be great to get this in to 4.0, but I'm having some waf
>> >> > challenges I'll need to get past.  The challenge relates to the grouping
>> >> > from the build ordering, because we need a vscript for libreplace (very
>> >> > early) but vscripts can depend on pild-generated headers.  We may need
>> >> > to rely on pure dependencies rather than also the groups.
>> >> >
>> >> > This came up because I had to bump the ldb ABI (it needed a bump for the
>> >> > behaviour change, but it spiked my interest) when adding a private,
>> >> > internal symbol.
>> >> I'm also working in this area though my needs are bit different at the moment.
>> >>
>> >> https://git.samba.org/?p=ab/samba.git/.git;a=shortlog;h=refs/heads/stableabi
>> >> has number of patches that attempt to introduce API namespaces.
>> >>
>> >> I need stable mapping between API namespace and version node name
>> >> associated with it that spans across multiple releases (instead of
>> >> SAMBA_<VERSION> default symbol changing every release without actual
(Continue reading)

Andrew Bartlett | 31 Aug 2012 11:28
Picon
Favicon

Re: Using public headers to write ABI vscripts

On Fri, 2012-08-31 at 09:54 +0300, Alexander Bokovoy wrote:
> On Fri, Aug 31, 2012 at 9:46 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> > On Fri, 2012-08-31 at 09:38 +0300, Alexander Bokovoy wrote:
> >> On Fri, Aug 31, 2012 at 9:06 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> >> > On Fri, 2012-08-31 at 08:31 +0300, Alexander Bokovoy wrote:
> >> >> Hi Andrew,
> >> >>
> >> >> On Wed, Aug 29, 2012 at 7:54 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> >> >> > I've been working on a patch to use the mksyms.awk approach to get a
> >> >> > list of public headers and symbols from our public headers files, and
> >> >> > use that instead of just the regular-expression abi_match.
> >> >> >
> >> >> > https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/abi-public-headers
> >> >> >
> >> >> > It would be great to get this in to 4.0, but I'm having some waf
> >> >> > challenges I'll need to get past.  The challenge relates to the grouping
> >> >> > from the build ordering, because we need a vscript for libreplace (very
> >> >> > early) but vscripts can depend on pild-generated headers.  We may need
> >> >> > to rely on pure dependencies rather than also the groups.
> >> >> >
> >> >> > This came up because I had to bump the ldb ABI (it needed a bump for the
> >> >> > behaviour change, but it spiked my interest) when adding a private,
> >> >> > internal symbol.
> >> >> I'm also working in this area though my needs are bit different at the moment.
> >> >>
> >> >> https://git.samba.org/?p=ab/samba.git/.git;a=shortlog;h=refs/heads/stableabi
> >> >> has number of patches that attempt to introduce API namespaces.
> >> >>
> >> >> I need stable mapping between API namespace and version node name
> >> >> associated with it that spans across multiple releases (instead of
(Continue reading)

Alexander Bokovoy | 31 Aug 2012 11:54
Picon
Favicon
Gravatar

Re: Using public headers to write ABI vscripts

On Fri, Aug 31, 2012 at 12:28 PM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> On Fri, 2012-08-31 at 09:54 +0300, Alexander Bokovoy wrote:
>> On Fri, Aug 31, 2012 at 9:46 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>> > On Fri, 2012-08-31 at 09:38 +0300, Alexander Bokovoy wrote:
>> >> On Fri, Aug 31, 2012 at 9:06 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>> >> > On Fri, 2012-08-31 at 08:31 +0300, Alexander Bokovoy wrote:
>> >> >> Hi Andrew,
>> >> >>
>> >> >> On Wed, Aug 29, 2012 at 7:54 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>> >> >> > I've been working on a patch to use the mksyms.awk approach to get a
>> >> >> > list of public headers and symbols from our public headers files, and
>> >> >> > use that instead of just the regular-expression abi_match.
>> >> >> >
>> >> >> > https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/abi-public-headers
>> >> >> >
>> >> >> > It would be great to get this in to 4.0, but I'm having some waf
>> >> >> > challenges I'll need to get past.  The challenge relates to the grouping
>> >> >> > from the build ordering, because we need a vscript for libreplace (very
>> >> >> > early) but vscripts can depend on pild-generated headers.  We may need
>> >> >> > to rely on pure dependencies rather than also the groups.
>> >> >> >
>> >> >> > This came up because I had to bump the ldb ABI (it needed a bump for the
>> >> >> > behaviour change, but it spiked my interest) when adding a private,
>> >> >> > internal symbol.
>> >> >> I'm also working in this area though my needs are bit different at the moment.
>> >> >>
>> >> >> https://git.samba.org/?p=ab/samba.git/.git;a=shortlog;h=refs/heads/stableabi
>> >> >> has number of patches that attempt to introduce API namespaces.
>> >> >>
>> >> >> I need stable mapping between API namespace and version node name
(Continue reading)

Alexander Bokovoy | 6 Sep 2012 18:21
Picon
Favicon
Gravatar

Re: Using public headers to write ABI vscripts

On Fri, Aug 31, 2012 at 12:54 PM, Alexander Bokovoy <ab <at> samba.org> wrote:
> On Fri, Aug 31, 2012 at 12:28 PM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>> On Fri, 2012-08-31 at 09:54 +0300, Alexander Bokovoy wrote:
>>> On Fri, Aug 31, 2012 at 9:46 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>>> > On Fri, 2012-08-31 at 09:38 +0300, Alexander Bokovoy wrote:
>>> >> On Fri, Aug 31, 2012 at 9:06 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>>> >> > On Fri, 2012-08-31 at 08:31 +0300, Alexander Bokovoy wrote:
>>> >> >> Hi Andrew,
>>> >> >>
>>> >> >> On Wed, Aug 29, 2012 at 7:54 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>>> >> >> > I've been working on a patch to use the mksyms.awk approach to get a
>>> >> >> > list of public headers and symbols from our public headers files, and
>>> >> >> > use that instead of just the regular-expression abi_match.
>>> >> >> >
>>> >> >> > https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/abi-public-headers
>>> >> >> >
>>> >> >> > It would be great to get this in to 4.0, but I'm having some waf
>>> >> >> > challenges I'll need to get past.  The challenge relates to the grouping
>>> >> >> > from the build ordering, because we need a vscript for libreplace (very
>>> >> >> > early) but vscripts can depend on pild-generated headers.  We may need
>>> >> >> > to rely on pure dependencies rather than also the groups.
>>> >> >> >
>>> >> >> > This came up because I had to bump the ldb ABI (it needed a bump for the
>>> >> >> > behaviour change, but it spiked my interest) when adding a private,
>>> >> >> > internal symbol.
>>> >> >> I'm also working in this area though my needs are bit different at the moment.
>>> >> >>
>>> >> >> https://git.samba.org/?p=ab/samba.git/.git;a=shortlog;h=refs/heads/stableabi
>>> >> >> has number of patches that attempt to introduce API namespaces.
>>> >> >>
(Continue reading)

Andrew Bartlett | 7 Sep 2012 00:33
Picon
Favicon

libpdb and smbldap as public ABIs

On Thu, 2012-09-06 at 19:21 +0300, Alexander Bokovoy wrote:
> On Fri, Aug 31, 2012 at 12:54 PM, Alexander Bokovoy <ab <at> samba.org> wrote:
> > On Fri, Aug 31, 2012 at 12:28 PM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> >> On Fri, 2012-08-31 at 09:54 +0300, Alexander Bokovoy wrote:
> >>> On Fri, Aug 31, 2012 at 9:46 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> >>> > On Fri, 2012-08-31 at 09:38 +0300, Alexander Bokovoy wrote:
> >>> >> On Fri, Aug 31, 2012 at 9:06 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> >>> >> > On Fri, 2012-08-31 at 08:31 +0300, Alexander Bokovoy wrote:
> >>> >> >> Hi Andrew,
> >>> >> >>
> >>> >> >> On Wed, Aug 29, 2012 at 7:54 AM, Andrew Bartlett <abartlet <at> samba.org> wrote:
> >>> >> >> > I've been working on a patch to use the mksyms.awk approach to get a
> >>> >> >> > list of public headers and symbols from our public headers files, and
> >>> >> >> > use that instead of just the regular-expression abi_match.
> >>> >> >> >
> >>> >> >> > https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/abi-public-headers
> >>> >> >> >
> >>> >> >> > It would be great to get this in to 4.0, but I'm having some waf
> >>> >> >> > challenges I'll need to get past.  The challenge relates to the grouping
> >>> >> >> > from the build ordering, because we need a vscript for libreplace (very
> >>> >> >> > early) but vscripts can depend on pild-generated headers.  We may need
> >>> >> >> > to rely on pure dependencies rather than also the groups.
> >>> >> >> >
> >>> >> >> > This came up because I had to bump the ldb ABI (it needed a bump for the
> >>> >> >> > behaviour change, but it spiked my interest) when adding a private,
> >>> >> >> > internal symbol.
> >>> >> >> I'm also working in this area though my needs are bit different at the moment.
> >>> >> >>
> >>> >> >> https://git.samba.org/?p=ab/samba.git/.git;a=shortlog;h=refs/heads/stableabi
> >>> >> >> has number of patches that attempt to introduce API namespaces.
(Continue reading)


Gmane