[OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

John Crispin john at phrozen.org
Wed Sep 16 09:23:16 EDT 2015



On 16/09/2015 15:17, David Woodhouse wrote:
> On Wed, 2015-09-16 at 13:23 +0200, John Crispin wrote:
>> thinking about this, the new elements should also be guarded by a #ifdef
>> CONFIG_lantiq will add that now
> 
> You can't do that in user-visible headers. CONFIG_LANTIQ isn't defined
> in t he userspace builds, so userspace will get a version *without* the
> additions, and its ABI will be different to that of the kernel.
> 
> And even if it *did* work that way, you'd still end up needing a
> *different* build of userspace tools like pppd, depending on the
> platform it's going to be run on.
> 
> If you really need these new fields to be visible to userspace, then I
> think the best option is to add a *new* SO_ATMQOS2 sockopt, and leave
> the original SO_ATMQOS entirely alone.
> 

how i hate this shitty dsl driver ... adding new sockopt is nort an
option. that would involve editing the dsl driver and userland and even
looking at the code causes permanent brain damage as can be seen by the
patches and fixes ... i will find a different hack to make this only
apply when lantiq is selected.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list