[OE-core] [PATCH 1/1 v2] mdadm: fix CFLAGS and ptest issue

Burton, Ross ross.burton at intel.com
Fri Nov 6 10:38:10 UTC 2015


On 16 October 2015 at 06:57, <wenzong.fan at windriver.com> wrote:

> * Also fix ptest build error caused by global CFLAGS:
>
>   raid6check.c: In function 'check_stripes':
>   raid6check.c:315:8: error: 'stripe_buf' may be used uninitialized \
>   in this function [-Werror=maybe-uninitialized]
>

We're now seeing this instead when building the ptest part on poky-lsb
(which turns on more security flags):

raid6check.c: In function 'check_stripes':
raid6check.c:352:2: error: ignoring return value of 'posix_memalign',
declared with attribute warn_unused_result [-Werror=unused-result]
  posix_memalign((void**)&stripe_buf, 4096, raid_disks * chunk_size);
  ^

(http://errors.yoctoproject.org/Errors/Details/21490/)

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151106/459e2876/attachment-0002.html>


More information about the Openembedded-core mailing list