Created
January 30, 2025 00:17
pw928724-p13952038
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Full log: | |
W: Support for running offline not available (unshare: unshare failed: Operation not permitted) | |
tuxmake --download-all-korg-gcc-toolchains --target-arch=riscv --kconfig=rv32_defconfig --toolchain=llvm --wrapper=ccache --environment=KBUILD_BUILD_TIMESTAMP=@1621270510 --environment=KBUILD_BUILD_USER=tuxmake --environment=KBUILD_BUILD_HOST=tuxmake --environment=KCFLAGS=-ffile-prefix-map=/build/tmp.jTi5nxy1aU/build/= --runtime=null --image=docker.io/tuxmake/riscv_clang CROSS_COMPILE=riscv64-linux- config default kernel xipkernel modules dtbs dtbs-legacy debugkernel headers | |
make --silent --keep-going --jobs=48 O=/build/tmp.jTi5nxy1aU/build ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' rv32_defconfig | |
Using .config as base | |
Merging /build/tmpgsycou2m/arch/riscv/configs/32-bit.config | |
Value of CONFIG_PORTABLE is redefined by fragment /build/tmpgsycou2m/arch/riscv/configs/32-bit.config: | |
Previous value: CONFIG_PORTABLE=y | |
New value: # CONFIG_PORTABLE is not set | |
Value of CONFIG_NONPORTABLE is redefined by fragment /build/tmpgsycou2m/arch/riscv/configs/32-bit.config: | |
Previous value: # CONFIG_NONPORTABLE is not set | |
New value: CONFIG_NONPORTABLE=y | |
# | |
# merged configuration written to .config (needs make) | |
# | |
make --silent --keep-going --jobs=48 O=/build/tmp.jTi5nxy1aU/build ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:415:33: error: use of undeclared identifier 'pmu_hw_event_map'; did you mean 'pmu_hw_event_sbi_map'? | |
415 | for (int i = 0; i < ARRAY_SIZE(pmu_hw_event_map); i++) | |
| ^~~~~~~~~~~~~~~~ | |
| pmu_hw_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:33: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:169:34: note: 'pmu_hw_event_sbi_map' declared here | |
169 | static struct sbi_pmu_event_data pmu_hw_event_sbi_map[] = { | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:415:33: error: use of undeclared identifier 'pmu_hw_event_map'; did you mean 'pmu_hw_event_sbi_map'? | |
415 | for (int i = 0; i < ARRAY_SIZE(pmu_hw_event_map); i++) | |
| ^~~~~~~~~~~~~~~~ | |
| pmu_hw_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:48: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:169:34: note: 'pmu_hw_event_sbi_map' declared here | |
169 | static struct sbi_pmu_event_data pmu_hw_event_sbi_map[] = { | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:415:33: error: use of undeclared identifier 'pmu_hw_event_map'; did you mean 'pmu_hw_event_sbi_map'? | |
415 | for (int i = 0; i < ARRAY_SIZE(pmu_hw_event_map); i++) | |
| ^~~~~~~~~~~~~~~~ | |
| pmu_hw_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:75: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:249:65: note: expanded from macro '__must_be_array' | |
249 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(__same_type((a), &(a)[0]), "must be array") | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler_types.h:483:63: note: expanded from macro '__same_type' | |
483 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:245:79: note: expanded from macro '__BUILD_BUG_ON_ZERO_MSG' | |
245 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:169:34: note: 'pmu_hw_event_sbi_map' declared here | |
169 | static struct sbi_pmu_event_data pmu_hw_event_sbi_map[] = { | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:415:33: error: use of undeclared identifier 'pmu_hw_event_map'; did you mean 'pmu_hw_event_sbi_map'? | |
415 | for (int i = 0; i < ARRAY_SIZE(pmu_hw_event_map); i++) | |
| ^~~~~~~~~~~~~~~~ | |
| pmu_hw_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:75: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:249:71: note: expanded from macro '__must_be_array' | |
249 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(__same_type((a), &(a)[0]), "must be array") | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler_types.h:483:74: note: expanded from macro '__same_type' | |
483 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:245:79: note: expanded from macro '__BUILD_BUG_ON_ZERO_MSG' | |
245 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:169:34: note: 'pmu_hw_event_sbi_map' declared here | |
169 | static struct sbi_pmu_event_data pmu_hw_event_sbi_map[] = { | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:416:26: error: use of undeclared identifier 'pmu_hw_event_map'; did you mean 'pmu_hw_event_sbi_map'? | |
416 | rvpmu_sbi_check_event(&pmu_hw_event_map[i]); | |
| ^~~~~~~~~~~~~~~~ | |
| pmu_hw_event_sbi_map | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:169:34: note: 'pmu_hw_event_sbi_map' declared here | |
169 | static struct sbi_pmu_event_data pmu_hw_event_sbi_map[] = { | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:418:33: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
418 | for (int i = 0; i < ARRAY_SIZE(pmu_cache_event_map); i++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:33: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:418:33: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
418 | for (int i = 0; i < ARRAY_SIZE(pmu_cache_event_map); i++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:48: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:418:33: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
418 | for (int i = 0; i < ARRAY_SIZE(pmu_cache_event_map); i++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:75: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:249:65: note: expanded from macro '__must_be_array' | |
249 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(__same_type((a), &(a)[0]), "must be array") | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler_types.h:483:63: note: expanded from macro '__same_type' | |
483 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:245:79: note: expanded from macro '__BUILD_BUG_ON_ZERO_MSG' | |
245 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:418:33: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
418 | for (int i = 0; i < ARRAY_SIZE(pmu_cache_event_map); i++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:75: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:249:71: note: expanded from macro '__must_be_array' | |
249 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(__same_type((a), &(a)[0]), "must be array") | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler_types.h:483:74: note: expanded from macro '__same_type' | |
483 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:245:79: note: expanded from macro '__BUILD_BUG_ON_ZERO_MSG' | |
245 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:419:34: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
419 | for (int j = 0; j < ARRAY_SIZE(pmu_cache_event_map[i]); j++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:33: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:419:34: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
419 | for (int j = 0; j < ARRAY_SIZE(pmu_cache_event_map[i]); j++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:48: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:419:34: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
419 | for (int j = 0; j < ARRAY_SIZE(pmu_cache_event_map[i]); j++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:75: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:249:65: note: expanded from macro '__must_be_array' | |
249 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(__same_type((a), &(a)[0]), "must be array") | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler_types.h:483:63: note: expanded from macro '__same_type' | |
483 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:245:79: note: expanded from macro '__BUILD_BUG_ON_ZERO_MSG' | |
245 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:419:34: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
419 | for (int j = 0; j < ARRAY_SIZE(pmu_cache_event_map[i]); j++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:75: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:249:71: note: expanded from macro '__must_be_array' | |
249 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(__same_type((a), &(a)[0]), "must be array") | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler_types.h:483:74: note: expanded from macro '__same_type' | |
483 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:245:79: note: expanded from macro '__BUILD_BUG_ON_ZERO_MSG' | |
245 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:420:35: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
420 | for (int k = 0; k < ARRAY_SIZE(pmu_cache_event_map[i][j]); k++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:33: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:420:35: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
420 | for (int k = 0; k < ARRAY_SIZE(pmu_cache_event_map[i][j]); k++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:48: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:420:35: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
420 | for (int k = 0; k < ARRAY_SIZE(pmu_cache_event_map[i][j]); k++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:75: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:249:65: note: expanded from macro '__must_be_array' | |
249 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(__same_type((a), &(a)[0]), "must be array") | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler_types.h:483:63: note: expanded from macro '__same_type' | |
483 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:245:79: note: expanded from macro '__BUILD_BUG_ON_ZERO_MSG' | |
245 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:420:35: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
420 | for (int k = 0; k < ARRAY_SIZE(pmu_cache_event_map[i][j]); k++) | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/include/linux/array_size.h:11:75: note: expanded from macro 'ARRAY_SIZE' | |
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:249:71: note: expanded from macro '__must_be_array' | |
249 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(__same_type((a), &(a)[0]), "must be array") | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler_types.h:483:74: note: expanded from macro '__same_type' | |
483 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | |
| ^ | |
/build/tmpgsycou2m/include/linux/compiler.h:245:79: note: expanded from macro '__BUILD_BUG_ON_ZERO_MSG' | |
245 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:421:28: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
421 | rvpmu_sbi_check_event(&pmu_cache_event_map[i][j][k]); | |
| ^~~~~~~~~~~~~~~~~~~ | |
| pmu_cache_event_sbi_map | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:203:34: note: 'pmu_cache_event_sbi_map' declared here | |
203 | static struct sbi_pmu_event_data pmu_cache_event_sbi_map[PERF_COUNT_HW_CACHE_MAX] | |
| ^ | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:1527:4: error: expected identifier or '(' | |
1527 | } else { | |
| ^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[5]: *** [/build/tmpgsycou2m/scripts/Makefile.build:194: drivers/perf/riscv_pmu_dev.o] Error 1 | |
make[5]: Target 'drivers/perf/' not remade because of errors. | |
make[4]: *** [/build/tmpgsycou2m/scripts/Makefile.build:440: drivers/perf] Error 2 | |
make[4]: Target 'drivers/' not remade because of errors. | |
make[3]: *** [/build/tmpgsycou2m/scripts/Makefile.build:440: drivers] Error 2 | |
make[3]: Target './' not remade because of errors. | |
make[2]: *** [/build/tmpgsycou2m/Makefile:1989: .] Error 2 | |
make[2]: Target '__all' not remade because of errors. | |
make[1]: *** [/build/tmpgsycou2m/Makefile:251: __sub-make] Error 2 | |
make[1]: Target '__all' not remade because of errors. | |
make: *** [Makefile:251: __sub-make] Error 2 | |
make: Target '__all' not remade because of errors. | |
rm -rf /build/tmp.jTi5nxy1aU/build/modinstall | |
make --silent --keep-going --jobs=48 O=/build/tmp.jTi5nxy1aU/build INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=/build/tmp.jTi5nxy1aU/build/modinstall ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' modules_install | |
make[3]: *** No rule to make target 'modules.order', needed by '/build/tmp.jTi5nxy1aU/build/modinstall/lib/modules/6.13.0-rc2-g29b2588c5859/modules.order'. | |
I: config: PASS in 0:00:07.323733 | |
I: default: FAIL in 0:01:32.690987 | |
I: kernel: SKIP in 0:00:00.000008 | |
I: xipkernel: SKIP in 0:00:00.000003 | |
I: modules: FAIL in 0:00:00.052259 | |
I: dtbs: PASS in 0:00:01.062381 | |
I: dtbs-legacy: SKIP in 0:00:00.002712 | |
I: debugkernel: SKIP in 0:00:00.000003 | |
I: headers: PASS in 0:00:01.049380 | |
I: build output in /build/tmp.jTi5nxy1aU | |
make[3]: *** No rule to make target 'modules.builtin', needed by '/build/tmp.jTi5nxy1aU/build/modinstall/lib/modules/6.13.0-rc2-g29b2588c5859/modules.builtin'. | |
make[3]: *** No rule to make target 'modules.builtin.modinfo', needed by '/build/tmp.jTi5nxy1aU/build/modinstall/lib/modules/6.13.0-rc2-g29b2588c5859/modules.builtin.modinfo'. | |
make[3]: Target '__modinst' not remade because of errors. | |
make[2]: *** [/build/tmpgsycou2m/Makefile:1895: modules_install] Error 2 | |
make[1]: *** [/build/tmpgsycou2m/Makefile:251: __sub-make] Error 2 | |
make[1]: Target 'modules_install' not remade because of errors. | |
make: *** [Makefile:251: __sub-make] Error 2 | |
make: Target 'modules_install' not remade because of errors. | |
make --silent --keep-going --jobs=48 O=/build/tmp.jTi5nxy1aU/build INSTALL_DTBS_PATH=/build/tmp.jTi5nxy1aU/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' dtbs | |
rm -rf /build/tmp.jTi5nxy1aU/build/dtbsinstall | |
mkdir -p /build/tmp.jTi5nxy1aU/build/dtbsinstall/dtbs | |
make --silent --keep-going --jobs=48 O=/build/tmp.jTi5nxy1aU/build INSTALL_DTBS_PATH=/build/tmp.jTi5nxy1aU/build/dtbsinstall/dtbs ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' dtbs_install | |
tar --sort=name --owner=tuxmake:1000 --group=tuxmake:1000 --mtime=@1738153197 --clamp-mtime -caf /build/tmp.jTi5nxy1aU/build/dtbs.tar -C /build/tmp.jTi5nxy1aU/build/dtbsinstall dtbs | |
rm -rf /build/tmp.jTi5nxy1aU/build/install_hdr | |
make --silent --keep-going --jobs=48 O=/build/tmp.jTi5nxy1aU/build INSTALL_HDR_PATH=/build/tmp.jTi5nxy1aU/build/install_hdr/ ARCH=riscv CROSS_COMPILE=riscv64-linux- LLVM=1 'CC=ccache clang' 'HOSTCC=ccache clang' headers_install | |
tar --sort=name --owner=tuxmake:1000 --group=tuxmake:1000 --mtime=@1738153197 --clamp-mtime -caf /build/tmp.jTi5nxy1aU/build/headers.tar -C /build/tmp.jTi5nxy1aU/build/install_hdr . | |
warnings/errors: | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:415:33: error: use of undeclared identifier 'pmu_hw_event_map'; did you mean 'pmu_hw_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:415:33: error: use of undeclared identifier 'pmu_hw_event_map'; did you mean 'pmu_hw_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:415:33: error: use of undeclared identifier 'pmu_hw_event_map'; did you mean 'pmu_hw_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:415:33: error: use of undeclared identifier 'pmu_hw_event_map'; did you mean 'pmu_hw_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:416:26: error: use of undeclared identifier 'pmu_hw_event_map'; did you mean 'pmu_hw_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:418:33: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:418:33: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:418:33: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:418:33: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:419:34: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:419:34: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:419:34: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:419:34: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:420:35: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:420:35: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:420:35: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:420:35: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:421:28: error: use of undeclared identifier 'pmu_cache_event_map'; did you mean 'pmu_cache_event_sbi_map'? | |
/build/tmpgsycou2m/drivers/perf/riscv_pmu_dev.c:1527:4: error: expected identifier or '(' | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment