12 Commits

Author SHA1 Message Date
Wenlong Zhang
522fc42b27 Workaround -Wstringop-truncation error for loongarch64
(cherry picked from commit c57710b32d453f6e2314550e4942029465650e5c)
2025-02-11 09:51:06 +08:00
openeuler-ci-bot
0beaf70310
!13 riscv64:解决-Werror=stringop-truncation构建失败
From: @laokz 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-10-16 02:57:27 +00:00
laokz
42b59db319 riscv64: Workaround -Wstringop-truncation error
On riscv64, the compiler complained:

     In file included from /usr/include/string.h:548,
                      from omxregister.c:42:
     In function 'strncpy',
         inlined from 'showComponentsList' at omxregister.c:110:3,
         inlined from 'main' at omxregister.c:463:9:
     /usr/include/bits/string_fortified.h:95:10: error: '__builtin_strncpy' destination unchanged after copying no bytes [-Werror=stringop-truncation]
        95 |   return __builtin___strncpy_chk (__dest, __src, __len,
           |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        96 |                                   __glibc_objsize (__dest));
           |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
     cc1: all warnings being treated as errors

It seems that the -O optimization to generate arch assemblies
leads to different behavior between riscv and arm, x86.
Add -Wno-stringop-truncation CFLAGS to workaround the problem.
2023-10-06 11:51:44 +08:00
openeuler-ci-bot
41df89f615
!12 Fix build failure caused by gcc upgrade to 12.3.1
From: @starlet-dx 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-07-15 02:19:00 +00:00
starlet-dx
a0bd8fef12 Fix build failure caused by gcc upgrade to 12.3.1 2023-07-15 09:49:37 +08:00
openeuler-ci-bot
d85b6f0222 !4 fix compile failure by update GCC-10
From: @luweitao_y
Reviewed-by: @yanan-rock
Signed-off-by: @yanan-rock
2021-08-14 06:46:02 +00:00
Lu Weitao
f9c873909b fix compile failure by GCC-10
Signed-off-by: Lu Weitao <luweitaobe@163.com>
2021-08-10 15:29:23 +08:00
openeuler-ci-bot
0162ac4b62 !2 Add yaml file
Merge pull request !2 from lyn/master
2020-05-09 15:27:23 +08:00
lyn1001
be1b9bd569 Add yaml file 2020-05-07 14:15:45 +08:00
openeuler-ci-bot
3da33a191c !1 libomxil-bellagio package init
Merge pull request !1 from 薄皮小笼包/yiyurain
2019-12-31 18:29:22 +08:00
ruebb
fd41afd3ba package init 2019-12-31 18:15:33 +08:00
openeuler-ci-bot
3f1ffb8323 Initial commit 2019-12-31 16:32:34 +08:00