[OE-core] [PATCH 1/1 v2] mdadm: fix CFLAGS and ptest issue
wenzong fan
wenzong.fan at windriver.com
Sat Nov 7 09:28:01 UTC 2015
On 11/06/2015 06:38 PM, Burton, Ross wrote:
>
> On 16 October 2015 at 06:57, <wenzong.fan at windriver.com
> <mailto: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);
I'll fix the patch and send v2 out.
Thanks
Wenzong
>
>
> (http://errors.yoctoproject.org/Errors/Details/21490/)
>
> Ross
More information about the Openembedded-core
mailing list