<div dir="ltr"><div><div>Hi All<br><br></div>Sorry for the noise.  Think I have found the issue.  The OpenJpeg team added threading which can be disabled.  I'm guessing this is the build issue.<br>Will create and test a patch for this before submitting.</div><div><br></div><div>Regards</div><div><br></div><div>Olivier<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 September 2017 at 15:09, Thomas Petazzoni <span dir="ltr"><<a href="mailto:thomas.petazzoni@free-electrons.com" target="_blank">thomas.petazzoni@free-electrons.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<span class=""><br>
On Mon, 4 Sep 2017 15:04:33 +0200, Olivier Schonken wrote:<br>
> Hi Thomas<br>
><br>
> Looks like these errors are from uclibc builds.<br>
><br>
> In file included from<br>
> /home/buildroot/autobuild/run/<wbr>instance-3/output/host/arm-<wbr>buildroot-linux-uclibcgnueabi/<wbr>sysroot/usr/include/sched.h:<wbr>34:0,<br>
>                  from<br>
> /home/buildroot/autobuild/run/<wbr>instance-3/output/host/arm-<wbr>buildroot-linux-uclibcgnueabi/<wbr>sysroot/usr/include/pthread.h:<wbr>24,<br>
>                  from<br>
> /home/buildroot/autobuild/run/<wbr>instance-3/output/build/<wbr>openjpeg-2.2.0/src/lib/<wbr>openjp2/thread.c:288:<br>
> /home/buildroot/autobuild/run/<wbr>instance-3/output/host/arm-<wbr>buildroot-linux-uclibcgnueabi/<wbr>sysroot/usr/include/bits/<wbr>sched.h:210:46:<br>
> error: attempt to use poisoned "malloc"<br>
>  # define __sched_cpualloc(cnt) ((cpu_set_t *)malloc(__CPU_ALLOC_SIZE(cnt)<wbr>))<br>
>                                               ^<br>
> /home/buildroot/autobuild/run/<wbr>instance-3/output/host/arm-<wbr>buildroot-linux-uclibcgnueabi/<wbr>sysroot/usr/include/bits/<wbr>sched.h:211:33:<br>
> error: attempt to use poisoned "free"<br>
>  # define __sched_cpufree(__set) free(__set)<br>
><br>
> Not sure what the best course of action will be. Try to fix it for<br>
> uclibc, do a rollback or disable build for uclibc and open issue on<br>
> github for openjpeg.<br>
><br>
> Your thoughts?<br>
<br>
</span>I'm not sure here, since I haven't investigated those build issues.<br>
Let's Cc the Buildroot mailing list and uClibc-ng maintainer Waldemar<br>
to see what they think.<br>
<br>
Thanks!<br>
<span class="HOEnZb"><font color="#888888"><br>
Thomas<br>
--<br>
Thomas Petazzoni, CTO, Free Electrons<br>
Embedded Linux and Kernel engineering<br>
<a href="http://free-electrons.com" rel="noreferrer" target="_blank">http://free-electrons.com</a><br>
</font></span></blockquote></div><br></div>