* [PATCH] musl: Upgrade to 1.1.16+ on master
@ 2017-01-03 1:55 Khem Raj
2017-01-06 11:45 ` Burton, Ross
0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2017-01-03 1:55 UTC (permalink / raw)
To: openembedded-core
summary of changes
http://git.musl-libc.org/cgit/musl/commit/?id=8fe1f2d79b275b7f7fb0d41c99e379357df63cd9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-core/musl/musl_git.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb
index b0c6098133..e9b9fef601 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -3,9 +3,9 @@
require musl.inc
-SRCREV = "54991729fd1e3d3a0cb71884d758d86afe6da9e0"
+SRCREV = "769f53598e781ffc89191520f3f8a93cb58db91f"
-PV = "1.1.15+git${SRCPV}"
+PV = "1.1.16+git${SRCPV}"
# mirror is at git://github.com/kraj/musl.git
--
2.11.0
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH] musl: Upgrade to 1.1.16+ on master
2017-01-03 1:55 [PATCH] musl: Upgrade to 1.1.16+ on master Khem Raj
@ 2017-01-06 11:45 ` Burton, Ross
2017-01-06 16:44 ` Khem Raj
0 siblings, 1 reply; 10+ messages in thread
From: Burton, Ross @ 2017-01-06 11:45 UTC (permalink / raw)
To: Khem Raj; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
On 3 January 2017 at 01:55, Khem Raj <raj.khem@gmail.com> wrote:
> summary of changes
>
> http://git.musl-libc.org/cgit/musl/commit/?id=
> 8fe1f2d79b275b7f7fb0d41c99e379357df63cd9
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>
Looks like this is to blame for connman failing last in my test builds:
http://errors.yoctoproject.org/Errors/Details/116506/
Ross
[-- Attachment #2: Type: text/html, Size: 1266 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] musl: Upgrade to 1.1.16+ on master
2017-01-06 11:45 ` Burton, Ross
@ 2017-01-06 16:44 ` Khem Raj
2017-01-06 16:48 ` Burton, Ross
0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2017-01-06 16:44 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On Fri, Jan 6, 2017 at 3:45 AM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 3 January 2017 at 01:55, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> summary of changes
>>
>>
>> http://git.musl-libc.org/cgit/musl/commit/?id=8fe1f2d79b275b7f7fb0d41c99e379357df63cd9
>>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>
>
> Looks like this is to blame for connman failing last in my test builds:
>
> http://errors.yoctoproject.org/Errors/Details/116506/
I think its the kernel 4.9 headers thats causing it not musl. Do you have that
patch also staged along with this ?
>
> Ross
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] musl: Upgrade to 1.1.16+ on master
2017-01-06 16:44 ` Khem Raj
@ 2017-01-06 16:48 ` Burton, Ross
2017-01-06 16:54 ` Khem Raj
0 siblings, 1 reply; 10+ messages in thread
From: Burton, Ross @ 2017-01-06 16:48 UTC (permalink / raw)
To: Khem Raj; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
On 6 January 2017 at 16:44, Khem Raj <raj.khem@gmail.com> wrote:
> I think its the kernel 4.9 headers thats causing it not musl. Do you have
> that
> patch also staged along with this ?
>
Maybe. ;)
Ross
[-- Attachment #2: Type: text/html, Size: 619 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] musl: Upgrade to 1.1.16+ on master
2017-01-06 16:48 ` Burton, Ross
@ 2017-01-06 16:54 ` Khem Raj
2017-01-11 16:29 ` Burton, Ross
0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2017-01-06 16:54 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On Fri, Jan 6, 2017 at 8:48 AM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 6 January 2017 at 16:44, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> I think its the kernel 4.9 headers thats causing it not musl. Do you have
>> that
>> patch also staged along with this ?
>
>
> Maybe. ;)
regardless, I posted a patch for ppp for fixing same issue, seee
https://patchwork.openembedded.org/patch/135536/
may be the same or similar patch can be applied to connman as well.
>
> Ross
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] musl: Upgrade to 1.1.16+ on master
2017-01-06 16:54 ` Khem Raj
@ 2017-01-11 16:29 ` Burton, Ross
2017-01-11 16:42 ` Jussi Kukkonen
0 siblings, 1 reply; 10+ messages in thread
From: Burton, Ross @ 2017-01-11 16:29 UTC (permalink / raw)
To: Khem Raj; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
On 6 January 2017 at 16:54, Khem Raj <raj.khem@gmail.com> wrote:
> regardless, I posted a patch for ppp for fixing same issue, seee
>
> https://patchwork.openembedded.org/patch/135536/
>
> may be the same or similar patch can be applied to connman as well.
>
Similar but not the same.
connman/src/iptables.c includes <xtables.h> and nothing else relevant as
far as I can tell. However the fragment of code that is throwing an error
(pulled in via xtables.h) is only enabled because the kernel headers don't
think that the libc is defining IFF_LOWER_UP, but musl is.
https://git.busybox.net/buildroot/commit/?id=4470dd9b1bdbb9b39e9fb13f27bcaa044719de6d
is
how buildroot work around this, by defining a _UAPI symbol that the kernel
header listens to.
Ross
[-- Attachment #2: Type: text/html, Size: 1550 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] musl: Upgrade to 1.1.16+ on master
2017-01-11 16:29 ` Burton, Ross
@ 2017-01-11 16:42 ` Jussi Kukkonen
2017-01-11 16:43 ` Burton, Ross
0 siblings, 1 reply; 10+ messages in thread
From: Jussi Kukkonen @ 2017-01-11 16:42 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]
On 11 January 2017 at 18:29, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 6 January 2017 at 16:54, Khem Raj <raj.khem@gmail.com> wrote:
>
>> regardless, I posted a patch for ppp for fixing same issue, seee
>>
>> https://patchwork.openembedded.org/patch/135536/
>>
>> may be the same or similar patch can be applied to connman as well.
>>
>
> Similar but not the same.
>
Several core connman files do include linux/if.h (and xtables includes
net/if.h) but I don't think these can be avoided.
connman/src/iptables.c includes <xtables.h> and nothing else relevant as
> far as I can tell. However the fragment of code that is throwing an error
> (pulled in via xtables.h) is only enabled because the kernel headers don't
> think that the libc is defining IFF_LOWER_UP, but musl is.
> https://git.busybox.net/buildroot/commit/?id=
> 4470dd9b1bdbb9b39e9fb13f27bcaa044719de6d is how buildroot work around
> this, by defining a _UAPI symbol that the kernel header listens to.
>
I did pretty much the same "fix" inside connman (defined
__UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 0 everywhere the
problem shows up) and it works... but should the hack be done somewhere in
the toolchain instead?
- Jussi
> Ross
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
[-- Attachment #2: Type: text/html, Size: 3290 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] musl: Upgrade to 1.1.16+ on master
2017-01-11 16:42 ` Jussi Kukkonen
@ 2017-01-11 16:43 ` Burton, Ross
2017-01-11 17:34 ` Khem Raj
0 siblings, 1 reply; 10+ messages in thread
From: Burton, Ross @ 2017-01-11 16:43 UTC (permalink / raw)
To: Jussi Kukkonen; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 394 bytes --]
On 11 January 2017 at 16:42, Jussi Kukkonen <jussi.kukkonen@intel.com>
wrote:
> I did pretty much the same "fix" inside connman (defined
> __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 0 everywhere the
> problem shows up) and it works... but should the hack be done somewhere in
> the toolchain instead?
>
I'm pretty convinced that musl's if.h should be defining it.
Ross
[-- Attachment #2: Type: text/html, Size: 779 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] musl: Upgrade to 1.1.16+ on master
2017-01-11 16:43 ` Burton, Ross
@ 2017-01-11 17:34 ` Khem Raj
2017-01-11 17:39 ` Burton, Ross
0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2017-01-11 17:34 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On Wed, Jan 11, 2017 at 8:43 AM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 11 January 2017 at 16:42, Jussi Kukkonen <jussi.kukkonen@intel.com>
> wrote:
>>
>> I did pretty much the same "fix" inside connman (defined
>> __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 0 everywhere the
>> problem shows up) and it works... but should the hack be done somewhere in
>> the toolchain instead?
>
>
> I'm pretty convinced that musl's if.h should be defining it.
kernel does have a file to abstact the libc nuances
uapi/linux/libc-compat.h
sadly, it assumes that only libc linux kernel supports is glibc
and that is what the problem is here.
>
> Ross
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2017-01-11 17:40 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-03 1:55 [PATCH] musl: Upgrade to 1.1.16+ on master Khem Raj
2017-01-06 11:45 ` Burton, Ross
2017-01-06 16:44 ` Khem Raj
2017-01-06 16:48 ` Burton, Ross
2017-01-06 16:54 ` Khem Raj
2017-01-11 16:29 ` Burton, Ross
2017-01-11 16:42 ` Jussi Kukkonen
2017-01-11 16:43 ` Burton, Ross
2017-01-11 17:34 ` Khem Raj
2017-01-11 17:39 ` Burton, Ross
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox