gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ✘3.23 is near. Please test!


From: Gary E. Miller
Subject: Re: ✘3.23 is near. Please test!
Date: Fri, 30 Jul 2021 17:33:10 -0700

Yo Greg!

On Fri, 30 Jul 2021 20:25:34 -0400
Greg Troxel <gdt@lexort.com> wrote:

> "Gary E. Miller" <gem@rellim.com> writes:
> 
> > Yo Greg!
> >
> > On Fri, 30 Jul 2021 19:58:41 -0400
> > Greg Troxel <gdt@lexort.com> wrote:
> >  
> >> "Gary E. Miller" <gem@rellim.com> writes:
> >>   
> >> > I just pushed 3.23-rc1, libgps version 29    
> >> 
> >> Has there actually been an ABI break in libgps?  
> >
> > Yes, and no.  Some items were added to gps_data_t,  subframe_t, and
> > attitude_t.  Added was orbit_t.
> >
> > The source API the client sees is merely expanded, the binary API
> > has larger structures than before.  So new clients will not work
> > with old libraries.  
> 
> That's ok.  the key question is if a program built against the
> previous version will work correctly with the new library.

No, it needs to be relinked because structire layouts changed.

For some reason users keep wanting the new features that receivers
keep adding.

> But if
> the data types have changed, that sounds like an ABI break.  Really
> we shoudl have changed the shlib major value when that happened.

Which is what happened.  But only happens for releases, not ~dev
chnages.  Otherwise shlib major would be over 1,000.

> > Rust and Go just do away with shared libraries.  Maybe gpsd should
> > to.  
> 
> No, the rust/go approach is a mess.

Agreed, but we dont need to go into all the reasons why.

> Either you have shlibs, whhich
> is fine if the ABI changes are understood and controlled, or you build
> everything in static, in which case it's next to impossible to track
> what needs updating when there's a security fix.

Easy, rebuild everything at the drop of a hat.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpZVbffJmec5.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]