ruyisdk / support-matrix

RISC-V Board and OS Support Matrix
Apache License 2.0
16 stars 16 forks source link

[Page Content] Duo/yocto sounds work #88

Open Arielfoever opened 3 weeks ago

Arielfoever commented 3 weeks ago

Please Choose

Product Name

Duo

CPU

No response

CPU Core

No response

I found new information here.

https://github.com/kinsamanka/meta-milkv/blob/master/README.md

Give out some notes.

No response

Arielfoever commented 3 weeks ago

see also https://community.milkv.io/t/yocto-for-milk-v-duo-yocto-milk-v-duo-linux/1101

stydxm commented 2 weeks ago

see also https://community.milkv.io/t/yocto-for-milk-v-duo-yocto-milk-v-duo-linux/1101

seemed not works

Loading cache: 100% |                                                                                                                                                                              | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:06
Parsing of 952 .bb files complete (0 cached, 952 parsed). 1914 targets, 259 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
WARNING: preferred version 5.10% of linux-libc-headers not available (for item linux-libc-headers-dev)
WARNING: versions of linux-libc-headers available: 6.10
WARNING: preferred version 5.10% of linux-libc-headers not available (for item linux-libc-headers)
WARNING: versions of linux-libc-headers available: 6.10

Build Configuration:
BB_VERSION           = "2.9.1"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-22.04"
TARGET_SYS           = "riscv64-oe-linux-musl"
MACHINE              = "milkv-duo"
DISTRO               = "nodistro"
DISTRO_VERSION       = "nodistro.0"
TUNE_FEATURES        = "riscv64"
meta                 
meta-poky            
meta-yocto-bsp       
meta-riscv           = "<unknown>:<unknown>"

Sstate summary: Wanted 1142 Local 0 Mirrors 0 Missed 1142 Current 0 (0% match, 0% complete)#######################################################################################                  | ETA:  0:00:00
Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
ERROR: linux-milkv-duo-dev-1.0-r0 do_compile: oe_runmake failed
ERROR: linux-milkv-duo-dev-1.0-r0 do_compile: Execution of '/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/temp/run.do_compile.2330288' failed with exit code 1
ERROR: Logfile of failure stored in: /yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/temp/log.do_compile.2330288
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: KBUILD_BUILD_TIMESTAMP: Fri Oct  6 23:47:33 UTC 2023
| NOTE: make -j 16 CC=riscv64-oe-linux-musl-gcc  -fuse-ld=bfd -fcanon-prefix-map  -fmacro-prefix-map=/yocto/build/tmp/work-shared/milkv-duo/kernel-source=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/yocto/build/tmp/work-shared/milkv-duo/kernel-source=/usr/src/debug/linux-milkv-duo-dev/1.0  -fmacro-prefix-map=/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/linux-milkv_duo-standard-build=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/linux-milkv_duo-standard-build=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot=  -fmacro-prefix-map=/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot=  -fdebug-prefix-map=/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native=  -fmacro-prefix-map=/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native=  -fdebug-prefix-map=/yocto/build/tmp/work-shared/milkv-duo/kernel-source=/usr/src/kernel -fdebug-prefix-map=/yocto/build/tmp/work-shared/milkv-duo/kernel-build-artifacts=/usr/src/kernel LD=riscv64-oe-linux-musl-ld.bfd  OBJCOPY=riscv64-oe-linux-musl-objcopy  STRIP=riscv64-oe-linux-musl-strip HOSTCC=gcc  HOSTCFLAGS=-isystem/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include -O2 -pipe HOSTLDFLAGS=-L/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/lib                         -L/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/lib                         -Wl,-rpath,/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/lib                         -Wl,-O1 HOSTCPP=gcc  -E HOSTCXX=g++  HOSTCXXFLAGS=-isystem/yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include -O2 -pipe HOSTPKG_CONFIG=pkg-config-native PAHOLE=false -j 16 Image.gz
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c: In function 'display_openssl_errors':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|    46 |         while ((e = ERR_get_error_line(&file, &line))) {
|       |         ^~~~~
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:23:
| /yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/err.h:423:15: note: declared here
|   423 | unsigned long ERR_get_error_line(const char **file, int *line);
|       |               ^~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c: In function 'drain_openssl_errors':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:59:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|    59 |         while (ERR_get_error_line(&file, &line)) {}
|       |         ^~~~~
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:23:
| /yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/err.h:423:15: note: declared here
|   423 | unsigned long ERR_get_error_line(const char **file, int *line);
|       |               ^~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c: In function 'main':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:124:17: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   124 |                 ENGINE_load_builtin_engines();
|       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:24:
| /yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/engine.h:358:28: note: declared here
|   358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
|       |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:126:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   126 |                 e = ENGINE_by_id("pkcs11");
|       |                 ^
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:24:
| /yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/engine.h:336:31: note: declared here
|   336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
|       |                               ^~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:128:17: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   128 |                 if (ENGINE_init(e))
|       |                 ^~
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:24:
| /yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/engine.h:620:27: note: declared here
|   620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
|       |                           ^~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:133:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   133 |                         ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");
|       |                         ^~~
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:24:
| /yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/engine.h:479:5: note: declared here
|   479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
|       |     ^~~~~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:134:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   134 |                 ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);
|       |                 ^~~~~~~~~~~~~~~
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:24:
| /yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/engine.h:450:27: note: declared here
|   450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
|       |                           ^~~~~~~~~~~~~~~
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/arch/riscv/kernel/vmlinux.lds.S:9:
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/arch/riscv/include/asm/page.h:20:9: warning: "LOAD_OFFSET" redefined
|    20 | #define LOAD_OFFSET     0x200000
|       |         ^~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/arch/riscv/kernel/vmlinux.lds.S:7:9: note: this is the location of the previous definition
|     7 | #define LOAD_OFFSET PAGE_OFFSET
|       |         ^~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/arch/riscv/mm/context.c: Assembler messages:
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/arch/riscv/mm/context.c:67: Error: unknown CSR `sptbr'
| make[3]: *** [/yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/Makefile.build:279: arch/riscv/mm/context.o] Error 1
| make[2]: *** [/yocto/build/tmp/work-shared/milkv-duo/kernel-source/scripts/Makefile.build:496: arch/riscv/mm] Error 2
| make[2]: *** Waiting for unfinished jobs....
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/rculist.h:10,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/pid.h:5,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/sched.h:14,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/kernel/locking/semaphore.c:30:
| In function '__list_add',
|     inlined from 'list_add_tail' at /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/list.h:100:2,
|     inlined from '__down_common' at /yocto/build/tmp/work-shared/milkv-duo/kernel-source/kernel/locking/semaphore.c:209:2:
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/list.h:70:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 8).prev' [-Wdangling-pointer=]
|    70 |         next->prev = new;
|       |         ~~~~~~~~~~~^~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/kernel/locking/semaphore.c: In function '__down_common':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here
|   207 |         struct semaphore_waiter waiter;
|       |                                 ^~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/kernel/locking/semaphore.c:204:59: note: 'sem' declared here
|   204 | static inline int __sched __down_common(struct semaphore *sem, long state,
|       |                                         ~~~~~~~~~~~~~~~~~~^~~
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/kernel.h:11,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/list.h:9,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/module.h:12,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:36:
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c: In function 'eth_type_trans':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:167:23: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
|   167 |         if (unlikely(!ether_addr_equal_64bits(eth->h_dest,
|       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|   168 |                                               dev->dev_addr))) {
|       |                                               ~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
|    78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
|       |                                             ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:167:23: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
|   167 |         if (unlikely(!ether_addr_equal_64bits(eth->h_dest,
|       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|   168 |                                               dev->dev_addr))) {
|       |                                               ~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
|    78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
|       |                                             ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:167:23: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'}
|   167 |         if (unlikely(!ether_addr_equal_64bits(eth->h_dest,
|       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|   168 |                                               dev->dev_addr))) {
|       |                                               ~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
|    78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
|       |                                             ^
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:47:
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits'
|   355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2],
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:169:30: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
|   169 |                 if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) {
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
|    78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
|       |                                             ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:169:30: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
|   169 |                 if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) {
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
|    78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
|       |                                             ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits'
|   130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2])
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:170:29: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
|   170 |                         if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast))
|       |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:170:29: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:170:29: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'}
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits'
|   355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2],
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~
| make[1]: *** [/yocto/build/tmp/work-shared/milkv-duo/kernel-source/Makefile:1805: arch/riscv] Error 2
| make[1]: *** Waiting for unfinished jobs....
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/rculist.h:10,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/pid.h:5,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/sched.h:14,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/ratelimit.h:6,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/dev_printk.h:16,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/device.h:15,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/node.h:18,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/cpu.h:17,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/compaction.c:11:
| In function '__list_cut_position',
|     inlined from 'list_cut_position' at /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/list.h:400:3,
|     inlined from 'move_freelist_tail' at /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/compaction.c:1241:3:
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/list.h:370:21: warning: storing the address of local variable 'sublist' in '*&freepage_6(D)->D.12266.D.12211.lru.next' [-Wdangling-pointer=]
|   370 |         entry->next = list;
|       |         ~~~~~~~~~~~~^~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/compaction.c: In function 'move_freelist_tail':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/compaction.c:1238:19: note: 'sublist' declared here
|  1238 |         LIST_HEAD(sublist);
|       |                   ^~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/list.h:24:26: note: in definition of macro 'LIST_HEAD'
|    24 |         struct list_head name = LIST_HEAD_INIT(name)
|       |                          ^~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/compaction.c:1236:61: note: 'freepage' declared here
|  1236 | move_freelist_tail(struct list_head *freelist, struct page *freepage)
|       |                                                ~~~~~~~~~~~~~^~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/core/dev.c: In function 'netif_receive_generic_xdp':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/core/dev.c:4647:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
|  4647 |         orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest);
|       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/core/dev.c:4647:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/core/dev.c:91:
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits'
|   130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2])
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/core/dev.c:4677:28: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
|  4677 |             (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) {
|       |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/net/core/dev.c:4677:28: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits'
|   130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2])
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c: In function 'mem_init_print_info':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7652:9: note: in expansion of macro 'adj_init_size'
|  7652 |         adj_init_size(__init_begin, __init_end, init_data_size,
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: note: use '&__init_begin[0] <= &_sinittext[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7652:9: note: in expansion of macro 'adj_init_size'
|  7652 |         adj_init_size(__init_begin, __init_end, init_data_size,
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7652:9: note: in expansion of macro 'adj_init_size'
|  7652 |         adj_init_size(__init_begin, __init_end, init_data_size,
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: note: use '&_sinittext[0] < &__init_end[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7652:9: note: in expansion of macro 'adj_init_size'
|  7652 |         adj_init_size(__init_begin, __init_end, init_data_size,
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7654:9: note: in expansion of macro 'adj_init_size'
|  7654 |         adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: note: use '&_stext[0] <= &_sinittext[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7654:9: note: in expansion of macro 'adj_init_size'
|  7654 |         adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7654:9: note: in expansion of macro 'adj_init_size'
|  7654 |         adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: note: use '&_sinittext[0] < &_etext[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7654:9: note: in expansion of macro 'adj_init_size'
|  7654 |         adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7655:9: note: in expansion of macro 'adj_init_size'
|  7655 |         adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: note: use '&_sdata[0] <= &__init_begin[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7655:9: note: in expansion of macro 'adj_init_size'
|  7655 |         adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7655:9: note: in expansion of macro 'adj_init_size'
|  7655 |         adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: note: use '&__init_begin[0] < &_edata[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7655:9: note: in expansion of macro 'adj_init_size'
|  7655 |         adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7656:9: note: in expansion of macro 'adj_init_size'
|  7656 |         adj_init_size(_stext, _etext, codesize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: note: use '&_stext[0] <= &__start_rodata[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7656:9: note: in expansion of macro 'adj_init_size'
|  7656 |         adj_init_size(_stext, _etext, codesize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7656:9: note: in expansion of macro 'adj_init_size'
|  7656 |         adj_init_size(_stext, _etext, codesize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: note: use '&__start_rodata[0] < &_etext[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7656:9: note: in expansion of macro 'adj_init_size'
|  7656 |         adj_init_size(_stext, _etext, codesize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7657:9: note: in expansion of macro 'adj_init_size'
|  7657 |         adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: note: use '&_sdata[0] <= &__start_rodata[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7657:9: note: in expansion of macro 'adj_init_size'
|  7657 |         adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7657:9: note: in expansion of macro 'adj_init_size'
|  7657 |         adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: note: use '&__start_rodata[0] < &_edata[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7657:9: note: in expansion of macro 'adj_init_size'
|  7657 |         adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| In file included from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/kernel.h:16,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/clk.h:13,
|                  from /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/mtd/spi-nor/controllers/cvi-spif.c:15:
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/mtd/spi-nor/controllers/cvi-spif.c: In function 'cvi_spif_write':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/mtd/spi-nor/controllers/cvi-spif.c:701:18: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
|   701 |         pr_debug("to 0x%llx, len 0x%x\n", to, len);
|       |                  ^~~~~~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/printk.h:301:21: note: in definition of macro 'pr_fmt'
|   301 | #define pr_fmt(fmt) fmt
|       |                     ^~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:147:9: note: in expansion of macro '__dynamic_func_call'
|   147 |         __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
|   157 |         _dynamic_func_call(fmt, __dynamic_pr_debug,             \
|       |         ^~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
|   424 |         dynamic_pr_debug(fmt, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/mtd/spi-nor/controllers/cvi-spif.c:701:9: note: in expansion of macro 'pr_debug'
|   701 |         pr_debug("to 0x%llx, len 0x%x\n", to, len);
|       |         ^~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/mtd/spi-nor/controllers/cvi-spif.c:701:37: note: format string is defined here
|   701 |         pr_debug("to 0x%llx, len 0x%x\n", to, len);
|       |                                    ~^
|       |                                     |
|       |                                     unsigned int
|       |                                    %lx
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion_alloc.c: In function '_cvi_ion_alloc':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion_alloc.c:45:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
|    45 |         mm_segment_t old_fs = force_uaccess_begin();
|       |         ^~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c: In function 'cvitek_ion_ioctl':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:8:21: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type '__u32' {aka 'unsigned int'} [-Wformat=]
|     8 | #define pr_fmt(fmt) "Ion: " fmt
|       |                     ^~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:129:29: note: in expansion of macro 'pr_fmt'
|   129 |                 func(&id, ##__VA_ARGS__);               \
|       |                             ^~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:147:9: note: in expansion of macro '__dynamic_func_call'
|   147 |         __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
|   157 |         _dynamic_func_call(fmt, __dynamic_pr_debug,             \
|       |         ^~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
|   424 |         dynamic_pr_debug(fmt, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:367:17: note: in expansion of macro 'pr_debug'
|   367 |                 pr_debug("flush addr %#llx, size %zu\n", data.paddr, data.size);
|       |                 ^~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:362:36: warning: unused variable 'pa' [-Wunused-variable]
|   362 |                 unsigned long  va, pa;
|       |                                    ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:362:32: warning: unused variable 'va' [-Wunused-variable]
|   362 |                 unsigned long  va, pa;
|       |                                ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:8:21: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type '__u32' {aka 'unsigned int'} [-Wformat=]
|     8 | #define pr_fmt(fmt) "Ion: " fmt
|       |                     ^~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:129:29: note: in expansion of macro 'pr_fmt'
|   129 |                 func(&id, ##__VA_ARGS__);               \
|       |                             ^~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:147:9: note: in expansion of macro '__dynamic_func_call'
|   147 |         __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
|   157 |         _dynamic_func_call(fmt, __dynamic_pr_debug,             \
|       |         ^~~~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
|   424 |         dynamic_pr_debug(fmt, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:386:17: note: in expansion of macro 'pr_debug'
|   386 |                 pr_debug("invalidate addr %#llx, size %zu\n", data.paddr, data.size);
|       |                 ^~~~~~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:381:36: warning: unused variable 'pa' [-Wunused-variable]
|   381 |                 unsigned long  va, pa;
|       |                                    ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:381:32: warning: unused variable 'va' [-Wunused-variable]
|   381 |                 unsigned long  va, pa;
|       |                                ^~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c: In function 'ion_setup_heap_common':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:111:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
|   111 |                 if (heap->base && heap->size)
|       |                    ^
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:113:9: note: here
|   113 |         case ION_HEAP_TYPE_DMA:
|       |         ^~~~
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/of/of_reserved_mem.c: In function 'early_reserved_size':
| /yocto/build/tmp/work-shared/milkv-duo/kernel-source/drivers/of/of_reserved_mem.c:251:17: warning: ignoring return value of 'kstrtou64' declared with attribute 'warn_unused_result' [-Wunused-result]
|   251 |                 kstrtou64(size, 16, &u64_size);
|       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make: *** [/yocto/build/tmp/work-shared/milkv-duo/kernel-source/Makefile:185: __sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/yocto/meta-riscv/recipes-kernel/linux/linux-milkv-duo-dev.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2129 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /yocto/meta-riscv/recipes-kernel/linux/linux-milkv-duo-dev.bb:do_compile
    log: /yocto/build/tmp/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/temp/log.do_compile.2330288
Summary: There were 4 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
stydxm commented 2 weeks ago

https://github.com/kinsamanka/meta-milkv/blob/master/README.md

also seemed not work

Sstate summary: Wanted 1149 Local 0 Mirrors 0 Missed 1149 Current 0 (0% match, 0% complete)      | ETA:  0:00:00
Initialising tasks: 100% |#######################################################################| Time: 0:00:01
NOTE: Executing Tasks
ERROR: linux-milkv-duo-dev-1.0-r0 do_compile: oe_runmake failed
ERROR: linux-milkv-duo-dev-1.0-r0 do_compile: ExecutionError('/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/temp/run.do_compile.3779843', 1, None, None)
ERROR: Logfile of failure stored in: /home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/temp/log.do_compile.3779843
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: KBUILD_BUILD_TIMESTAMP: Fri Oct  6 23:47:33 UTC 2023
| NOTE: make -j 16 CC=riscv64-oe-linux-musl-gcc  -fuse-ld=bfd -fcanon-prefix-map  -fmacro-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source=/usr/src/debug/linux-milkv-duo-dev/1.0  -fmacro-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/linux-milkv_duo-standard-build=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/linux-milkv_duo-standard-build=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot=  -fmacro-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot=  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native=  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source=/usr/src/kernel -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-build-artifacts=/usr/src/kernel LD=riscv64-oe-linux-musl-ld.bfd  OBJCOPY=riscv64-oe-linux-musl-objcopy  STRIP=riscv64-oe-linux-musl-strip HOSTCC=gcc  HOSTCFLAGS=-isystem/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include -O2 -pipe HOSTLDFLAGS=-L/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/lib                         -L/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/lib                         -Wl,-O1 HOSTCPP=gcc  -E HOSTCXX=g++  HOSTCXXFLAGS=-isystem/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include -O2 -pipe HOSTPKG_CONFIG=pkg-config-native PAHOLE=false -j 16 Image.gz KCFLAGS=-DBOARD_MILKV_DUO
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c: In function 'display_openssl_errors':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|    46 |         while ((e = ERR_get_error_line(&file, &line))) {
|       |         ^~~~~
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:23:
| /home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/err.h:423:15: note: declared here
|   423 | unsigned long ERR_get_error_line(const char **file, int *line);
|       |               ^~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c: In function 'drain_openssl_errors':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:59:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|    59 |         while (ERR_get_error_line(&file, &line)) {}
|       |         ^~~~~
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:23:
| /home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/err.h:423:15: note: declared here
|   423 | unsigned long ERR_get_error_line(const char **file, int *line);
|       |               ^~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c: In function 'main':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:124:17: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   124 |                 ENGINE_load_builtin_engines();
|       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:24:
| /home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/engine.h:358:28: note: declared here
|   358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
|       |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:126:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   126 |                 e = ENGINE_by_id("pkcs11");
|       |                 ^
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:24:
| /home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/engine.h:336:31: note: declared here
|   336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
|       |                               ^~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:128:17: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   128 |                 if (ENGINE_init(e))
|       |                 ^~
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:24:
| /home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/engine.h:620:27: note: declared here
|   620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
|       |                           ^~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:133:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   133 |                         ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");
|       |                         ^~~
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:24:
| /home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/engine.h:479:5: note: declared here
|   479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
|       |     ^~~~~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:134:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   134 |                 ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);
|       |                 ^~~~~~~~~~~~~~~
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/scripts/extract-cert.c:24:
| /home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include/openssl/engine.h:450:27: note: declared here
|   450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
|       |                           ^~~~~~~~~~~~~~~
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/arch/riscv/kernel/vmlinux.lds.S:9:
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/arch/riscv/include/asm/page.h:20: warning: "LOAD_OFFSET" redefined
|    20 | #define LOAD_OFFSET     0x200000
|       |
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/arch/riscv/kernel/vmlinux.lds.S:7: note: this is the location of the previous definition
|     7 | #define LOAD_OFFSET PAGE_OFFSET
|       |
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/rculist.h:10,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/pid.h:5,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/sched.h:14,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/kernel/locking/semaphore.c:30:
| In function '__list_add',
|     inlined from 'list_add_tail' at /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/list.h:100:2,
|     inlined from '__down_common' at /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/kernel/locking/semaphore.c:209:2:
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/list.h:70:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 8).prev' [-Wdangling-pointer=]
|    70 |         next->prev = new;
|       |         ~~~~~~~~~~~^~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/kernel/locking/semaphore.c: In function '__down_common':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here
|   207 |         struct semaphore_waiter waiter;
|       |                                 ^~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/kernel/locking/semaphore.c:204:59: note: 'sem' declared here
|   204 | static inline int __sched __down_common(struct semaphore *sem, long state,
|       |                                         ~~~~~~~~~~~~~~~~~~^~~
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/kernel.h:11,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/list.h:9,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/module.h:12,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:36:
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c: In function 'eth_type_trans':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:167:23: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
|   167 |         if (unlikely(!ether_addr_equal_64bits(eth->h_dest,
|       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|   168 |                                               dev->dev_addr))) {
|       |                                               ~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
|    78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
|       |                                             ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:167:23: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
|   167 |         if (unlikely(!ether_addr_equal_64bits(eth->h_dest,
|       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|   168 |                                               dev->dev_addr))) {
|       |                                               ~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
|    78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
|       |                                             ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:167:23: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'}
|   167 |         if (unlikely(!ether_addr_equal_64bits(eth->h_dest,
|       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|   168 |                                               dev->dev_addr))) {
|       |                                               ~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
|    78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
|       |                                             ^
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:47:
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits'
|   355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2],
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:169:30: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
|   169 |                 if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) {
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
|    78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
|       |                                             ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:169:30: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
|   169 |                 if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) {
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
|    78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
|       |                                             ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits'
|   130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2])
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:170:29: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
|   170 |                         if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast))
|       |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:170:29: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/ethernet/eth.c:170:29: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'}
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits'
|   355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2],
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/rculist.h:10,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/pid.h:5,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/sched.h:14,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/ratelimit.h:6,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/dev_printk.h:16,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/device.h:15,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/node.h:18,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/cpu.h:17,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/compaction.c:11:
| In function '__list_cut_position',
|     inlined from 'list_cut_position' at /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/list.h:400:3,
|     inlined from 'move_freelist_tail' at /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/compaction.c:1241:3:
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/list.h:370:21: warning: storing the address of local variable 'sublist' in '*&freepage_6(D)->D.12248.D.12193.lru.next' [-Wdangling-pointer=]
|   370 |         entry->next = list;
|       |         ~~~~~~~~~~~~^~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/compaction.c: In function 'move_freelist_tail':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/compaction.c:1238:19: note: 'sublist' declared here
|  1238 |         LIST_HEAD(sublist);
|       |                   ^~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/list.h:24:26: note: in definition of macro 'LIST_HEAD'
|    24 |         struct list_head name = LIST_HEAD_INIT(name)
|       |                          ^~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/compaction.c:1236:61: note: 'freepage' declared here
|  1236 | move_freelist_tail(struct list_head *freelist, struct page *freepage)
|       |                                                ~~~~~~~~~~~~~^~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/core/dev.c: In function 'netif_receive_generic_xdp':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/core/dev.c:4647:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
|  4647 |         orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest);
|       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/core/dev.c:4647:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/core/dev.c:91:
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits'
|   130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2])
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/core/dev.c:4677:28: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
|  4677 |             (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) {
|       |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/net/core/dev.c:4677:28: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits'
|   130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2])
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c: In function 'mem_init_print_info':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7652:9: note: in expansion of macro 'adj_init_size'
|  7652 |         adj_init_size(__init_begin, __init_end, init_data_size,
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: note: use '&__init_begin[0] <= &_sinittext[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7652:9: note: in expansion of macro 'adj_init_size'
|  7652 |         adj_init_size(__init_begin, __init_end, init_data_size,
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7652:9: note: in expansion of macro 'adj_init_size'
|  7652 |         adj_init_size(__init_begin, __init_end, init_data_size,
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: note: use '&_sinittext[0] < &__init_end[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7652:9: note: in expansion of macro 'adj_init_size'
|  7652 |         adj_init_size(__init_begin, __init_end, init_data_size,
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7654:9: note: in expansion of macro 'adj_init_size'
|  7654 |         adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: note: use '&_stext[0] <= &_sinittext[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7654:9: note: in expansion of macro 'adj_init_size'
|  7654 |         adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7654:9: note: in expansion of macro 'adj_init_size'
|  7654 |         adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: note: use '&_sinittext[0] < &_etext[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7654:9: note: in expansion of macro 'adj_init_size'
|  7654 |         adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7655:9: note: in expansion of macro 'adj_init_size'
|  7655 |         adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: note: use '&_sdata[0] <= &__init_begin[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7655:9: note: in expansion of macro 'adj_init_size'
|  7655 |         adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7655:9: note: in expansion of macro 'adj_init_size'
|  7655 |         adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: note: use '&__init_begin[0] < &_edata[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7655:9: note: in expansion of macro 'adj_init_size'
|  7655 |         adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7656:9: note: in expansion of macro 'adj_init_size'
|  7656 |         adj_init_size(_stext, _etext, codesize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: note: use '&_stext[0] <= &__start_rodata[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7656:9: note: in expansion of macro 'adj_init_size'
|  7656 |         adj_init_size(_stext, _etext, codesize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7656:9: note: in expansion of macro 'adj_init_size'
|  7656 |         adj_init_size(_stext, _etext, codesize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: note: use '&__start_rodata[0] < &_etext[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7656:9: note: in expansion of macro 'adj_init_size'
|  7656 |         adj_init_size(_stext, _etext, codesize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7657:9: note: in expansion of macro 'adj_init_size'
|  7657 |         adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:27: note: use '&_sdata[0] <= &__start_rodata[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                           ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7657:9: note: in expansion of macro 'adj_init_size'
|  7657 |         adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: warning: comparison between two arrays [-Warray-compare]
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7657:9: note: in expansion of macro 'adj_init_size'
|  7657 |         adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7648:41: note: use '&__start_rodata[0] < &_edata[0]' to compare the addresses
|  7648 |                 if (start <= pos && pos < end && size > adj) \
|       |                                         ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/mm/page_alloc.c:7657:9: note: in expansion of macro 'adj_init_size'
|  7657 |         adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize);
|       |         ^~~~~~~~~~~~~
| In file included from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/kernel.h:16,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/clk.h:13,
|                  from /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/mtd/spi-nor/controllers/cvi-spif.c:15:
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/mtd/spi-nor/controllers/cvi-spif.c: In function 'cvi_spif_write':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/mtd/spi-nor/controllers/cvi-spif.c:701:18: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
|   701 |         pr_debug("to 0x%llx, len 0x%x\n", to, len);
|       |                  ^~~~~~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/printk.h:301:21: note: in definition of macro 'pr_fmt'
|   301 | #define pr_fmt(fmt) fmt
|       |                     ^~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:147:9: note: in expansion of macro '__dynamic_func_call'
|   147 |         __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
|   157 |         _dynamic_func_call(fmt, __dynamic_pr_debug,             \
|       |         ^~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
|   424 |         dynamic_pr_debug(fmt, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/mtd/spi-nor/controllers/cvi-spif.c:701:9: note: in expansion of macro 'pr_debug'
|   701 |         pr_debug("to 0x%llx, len 0x%x\n", to, len);
|       |         ^~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/mtd/spi-nor/controllers/cvi-spif.c:701:37: note: format string is defined here
|   701 |         pr_debug("to 0x%llx, len 0x%x\n", to, len);
|       |                                    ~^
|       |                                     |
|       |                                     unsigned int
|       |                                    %lx
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c: In function 'cvitek_ion_ioctl':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:8:21: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type '__u32' {aka 'unsigned int'} [-Wformat=]
|     8 | #define pr_fmt(fmt) "Ion: " fmt
|       |                     ^~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:129:29: note: in expansion of macro 'pr_fmt'
|   129 |                 func(&id, ##__VA_ARGS__);               \
|       |                             ^~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:147:9: note: in expansion of macro '__dynamic_func_call'
|   147 |         __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
|   157 |         _dynamic_func_call(fmt, __dynamic_pr_debug,             \
|       |         ^~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
|   424 |         dynamic_pr_debug(fmt, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:367:17: note: in expansion of macro 'pr_debug'
|   367 |                 pr_debug("flush addr %#llx, size %zu\n", data.paddr, data.size);
|       |                 ^~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:362:36: warning: unused variable 'pa' [-Wunused-variable]
|   362 |                 unsigned long  va, pa;
|       |                                    ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:362:32: warning: unused variable 'va' [-Wunused-variable]
|   362 |                 unsigned long  va, pa;
|       |                                ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:8:21: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type '__u32' {aka 'unsigned int'} [-Wformat=]
|     8 | #define pr_fmt(fmt) "Ion: " fmt
|       |                     ^~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:129:29: note: in expansion of macro 'pr_fmt'
|   129 |                 func(&id, ##__VA_ARGS__);               \
|       |                             ^~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:147:9: note: in expansion of macro '__dynamic_func_call'
|   147 |         __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/dynamic_debug.h:157:9: note: in expansion of macro '_dynamic_func_call'
|   157 |         _dynamic_func_call(fmt, __dynamic_pr_debug,             \
|       |         ^~~~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/include/linux/printk.h:424:9: note: in expansion of macro 'dynamic_pr_debug'
|   424 |         dynamic_pr_debug(fmt, ##__VA_ARGS__)
|       |         ^~~~~~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:386:17: note: in expansion of macro 'pr_debug'
|   386 |                 pr_debug("invalidate addr %#llx, size %zu\n", data.paddr, data.size);
|       |                 ^~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:381:36: warning: unused variable 'pa' [-Wunused-variable]
|   381 |                 unsigned long  va, pa;
|       |                                    ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:381:32: warning: unused variable 'va' [-Wunused-variable]
|   381 |                 unsigned long  va, pa;
|       |                                ^~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c: In function 'ion_setup_heap_common':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:111:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
|   111 |                 if (heap->base && heap->size)
|       |                    ^
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion.c:113:9: note: here
|   113 |         case ION_HEAP_TYPE_DMA:
|       |         ^~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion_alloc.c: In function '_cvi_ion_alloc':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/staging/android/ion/cvitek/cvitek_ion_alloc.c:45:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
|    45 |         mm_segment_t old_fs = force_uaccess_begin();
|       |         ^~~~~~~~~~~~
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/of/of_reserved_mem.c: In function 'early_reserved_size':
| /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/drivers/of/of_reserved_mem.c:251:17: warning: ignoring return value of 'kstrtou64' declared with attribute 'warn_unused_result' [-Wunused-result]
|   251 |                 kstrtou64(size, 16, &u64_size);
|       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NOTE: make -j 16 CC=riscv64-oe-linux-musl-gcc  -fuse-ld=bfd -fcanon-prefix-map  -fmacro-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source=/usr/src/debug/linux-milkv-duo-dev/1.0  -fmacro-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/linux-milkv_duo-standard-build=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/linux-milkv_duo-standard-build=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot=  -fmacro-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot=  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native=  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source=/usr/src/kernel -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-build-artifacts=/usr/src/kernel LD=riscv64-oe-linux-musl-ld.bfd  OBJCOPY=riscv64-oe-linux-musl-objcopy  STRIP=riscv64-oe-linux-musl-strip HOSTCC=gcc  HOSTCFLAGS=-isystem/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include -O2 -pipe HOSTLDFLAGS=-L/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/lib                         -L/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/lib                         -Wl,-O1 HOSTCPP=gcc  -E HOSTCXX=g++  HOSTCXXFLAGS=-isystem/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native/usr/include -O2 -pipe HOSTPKG_CONFIG=pkg-config-native PAHOLE=false cvitek/milkv_duo_sd.dtb CC=riscv64-oe-linux-musl-gcc  -fuse-ld=bfd -fcanon-prefix-map  -fmacro-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source=/usr/src/debug/linux-milkv-duo-dev/1.0  -fmacro-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/linux-milkv_duo-standard-build=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/linux-milkv_duo-standard-build=/usr/src/debug/linux-milkv-duo-dev/1.0  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot=  -fmacro-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot=  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work/milkv_duo-oe-linux-musl/linux-milkv-duo-dev/1.0/recipe-sysroot-native=  -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source=/usr/src/kernel -fdebug-prefix-map=/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-build-artifacts=/usr/src/kernel   LD=riscv64-oe-linux-musl-ld.bfd  OBJCOPY=riscv64-oe-linux-musl-objcopy  STRIP=riscv64-oe-linux-musl-strip KCFLAGS=-DBOARD_MILKV_DUO
| Error: /home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/arch/riscv/boot/dts/cvitek/cv180x_base_riscv.dtsi:95.15-16 syntax error
| FATAL ERROR: Unable to parse input tree
| make[2]: *** [scripts/Makefile.lib:326: arch/riscv/boot/dts/cvitek/milkv_duo_sd.dtb] Error 1
| make[1]: *** [/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/Makefile:1338: cvitek/milkv_duo_sd.dtb] Error 2
| make: *** [/home/qtj/code/oe/build/tmp-musl/work-shared/milkv-duo/kernel-source/Makefile:185: __sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/qtj/code/oe/meta-riscv/recipes-kernel/linux/linux-milkv-duo-dev.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2167 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/qtj/code/oe/meta-riscv/recipes-kernel/linux/linux-milkv-duo-dev.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.
2024-11-07 02:34:25 - ERROR    - Command returned non-zero exit status 1