Re: [OE-core] [yocto] [RFT] gcc7 and glibc-2.26 recipes

2017-04-26 Thread Burton, Ross
On 25 April 2017 at 23:35, Nathan Lynch  wrote:

> Done:
> http://lists.openembedded.org/pipermail/openembedded-core/
> 2017-April/136086.html
>

Thanks!

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [yocto] [RFT] gcc7 and glibc-2.26 recipes

2017-04-25 Thread Nathan Lynch
"Burton, Ross"  writes:

> On 24 April 2017 at 23:00, Nathan Lynch  wrote:
>
>> Does adding this patch to lttng-modules work around it?
>>
>
> Yes, it fixes the build here.  I'll throw it at the autobuilder now, can
> you send a patch with a commit message that isn't "someone told me to try
> this"? :)

Done:
http://lists.openembedded.org/pipermail/openembedded-core/2017-April/136086.html
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [yocto] [RFT] gcc7 and glibc-2.26 recipes

2017-04-25 Thread Burton, Ross
On 24 April 2017 at 23:00, Nathan Lynch  wrote:

> Does adding this patch to lttng-modules work around it?
>

Yes, it fixes the build here.  I'll throw it at the autobuilder now, can
you send a patch with a commit message that isn't "someone told me to try
this"? :)

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [yocto] [RFT] gcc7 and glibc-2.26 recipes

2017-04-24 Thread Nathan Lynch
"Burton, Ross"  writes:

> On 24 April 2017 at 10:09, Burton, Ross  wrote:
>
>> All merged, I'll fire in a moment.
>>
>
> lttng-modules fails:
>
> In function 'lib_ring_buffer_align',
> inlined from 'lib_ring_buffer_try_reserve' at
> TOPDIR/tmp/work/qemumips-poky-linux/lttng-modules/2.9.1-r0/lttng-modules-2.9.1/lib/ringbuffer/frontend_api.h:118:3,
> inlined from 'lib_ring_buffer_reserve' at
> TOPDIR/tmp/work/qemumips-poky-linux/lttng-modules/2.9.1-r0/lttng-modules-2.9.1/lib/ringbuffer/frontend_api.h:179:6,
> inlined from 'lttng_event_reserve' at
> TOPDIR/tmp/work/qemumips-poky-linux/lttng-modules/2.9.1-r0/lttng-modules-2.9.1/lttng-ring-buffer-metadata-client.h:317:6:
> TOPDIR/tmp/work-shared/qemumips/kernel-source/include/linux/compiler.h:518:38:
> error: call to '__compiletime_assert_269' declared with attribute error:
> BUILD_BUG_ON failed: (size_of_type) == 0 || ((size_of_type) &
> ((size_of_type) - 1))
>   _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
>   ^
>
> Suggestions welcome :)


Does adding this patch to lttng-modules work around it?


diff --git a/lib/align.h b/lib/align.h
index 5b91ae87410b..5e134cd485fe 100644
--- a/lib/align.h
+++ b/lib/align.h
@@ -48,7 +48,7 @@
  */
 #define offset_align(align_drift, alignment)  \
({ \
-   BUILD_RUNTIME_BUG_ON((alignment) == 0  \
+   BUG_ON((alignment) == 0\
   || ((alignment) & ((alignment) - 1)));  \
(((alignment) - (align_drift)) & ((alignment) - 1));   \
})
@@ -63,7 +63,7 @@
  */
 #define offset_align_floor(align_drift, alignment)\
({ \
-   BUILD_RUNTIME_BUG_ON((alignment) == 0  \
+   BUG_ON((alignment) == 0\
   || ((alignment) & ((alignment) - 1)));  \
(((align_drift) - (alignment)) & ((alignment) - 1));   \
})
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core