[Buildroot] [PATCH 1/1] configs/arcturus_ucp1020_defconfig

Oleksandr G Zhadan oleks at arcturusnetworks.com
Thu Jul 13 14:14:41 UTC 2017


On 07/13/2017 09:38 AM, Thomas Petazzoni wrote:
> Hello,
>
> On Thu, 13 Jul 2017 09:31:25 -0400, Oleksandr G Zhadan wrote:
>
>>>> Signed-off-by: Oleksandr Zhadan <oleks at arcturusnetworks.com>
>>> What failure do you have when building the Linux kernel ?
>> In file included from include/linux/linkage.h:4:0,
>>                    from include/linux/kernel.h:6,
>>                    from arch/powerpc/kernel/ptrace.c:18:
>> arch/powerpc/kernel/ptrace.c: In function ‘fpr_get’:
>> arch/powerpc/kernel/ptrace.c:379:24: error: index 32 denotes an offset
>> greater than size of ‘u64[32][1] {aka long long unsigned int[32][1]}’
>> [-Werror=array-bounds]
>>           offsetof(struct thread_fp_state, fpr[32][0]));
>> ....
>>
>> arch/powerpc/kernel/ptrace.c: In function ‘fpr_set’:
>> arch/powerpc/kernel/ptrace.c:407:24: error: index 32 denotes an offset
>> greater than size of ‘u64[32][1] {aka long long unsigned int[32][1]}’
>> [-Werror=array-bounds]
>>           offsetof(struct thread_fp_state, fpr[32][0]));
> Then could you please backport Linux kernel commit
> 1e407ee3b21f981140491d5b8a36422979ca246f instead? It should fix this
> build issue.

Yes, I can, but we are using public kernel.
Should I add it as an extra patches to my 
board/arcturus/ppc-ucp1020/patches/linux/ directory ?

>>> Thomas
>> P.S.
>> Did you have a chance to look into our "[Buildroot][PATCH v4 1/1]
>> configs/arcturus_ucls1012a: new defconfig" patch from 07/06/2017 05:13 PM.
> I had a brief look, it looked good. I'll review more carefully, and
> hopefully apply it as time permits.
>
> Best regards,
>
> Thomas

Kind Regards,

Oleks



More information about the buildroot mailing list