|
楼主 |
发表于 2022-8-5 18:41:05
|
显示全部楼层
本帖最后由 风火轮用户mo1Q5 于 2022-8-5 19:04 编辑
出现了新的错误。。。。
使用 https://github.com/TinkerBoard2/kernel 内核 linux4.4-rk3399 分支
- >>> linux-tools Building
- PATH="/home/evler/tinker_board_2/buildroot/output/host/bin:/home/evler/tinker_board_2/buildroot/output/host/sbin:/home/evler/git-repo:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin" /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -I/home/evler/tinker_board_2/buildroot/output/host/include -L/home/evler/tinker_board_2/buildroot/output/host/lib -Wl,-rpath,/home/evler/tinker_board_2/buildroot/output/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/home/evler/tinker_board_2/buildroot/output/target CROSS_COMPILE="/home/evler/tinker_board_2/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-" DEPMOD=/home/evler/tinker_board_2/buildroot/output/host/sbin/depmod INSTALL_MOD_STRIP=1 JOBS=5 ARCH=arm64 DESTDIR=/home/evler/tinker_board_2/buildroot/output/target prefix=/usr WERROR=0 NO_LIBAUDIT=1 NO_NEWT=1 NO_GTK2=1 NO_LIBPERL=1 NO_LIBPYTHON=1 NO_LIBBIONIC=1 NO_SLANG=1 NO_LIBUNWIND=1 NO_LIBNUMA=1 NO_LIBELF=1 NO_DWARF=1 NO_LZMA=1 -C /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf O=/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/
- BUILD: Doing 'make -j5' parallel build
- Auto-detecting system features:
- ... dwarf: [ OFF ]
- ... glibc: [ on ]
- ... gtk2: [ OFF ]
- ... libaudit: [ OFF ]
- ... libbfd: [ OFF ]
- ... libelf: [ OFF ]
- ... libnuma: [ OFF ]
- ... numa_num_possible_cpus: [ OFF ]
- ... libperl: [ OFF ]
- ... libpython: [ OFF ]
- ... libslang: [ OFF ]
- ... libunwind: [ OFF ]
- ... libdw-dwarf-unwind: [ OFF ]
- ... zlib: [ on ]
- ... lzma: [ OFF ]
- ... get_cpuid: [ OFF ]
- ... bpf: [ on ]
- config/Makefile:351: Disabling post unwind, no support found.
- config/Makefile:489: Python support disabled by user
- GEN /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/common-cmds.h
- CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/util/abspath.o
- MKDIR /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fd/
- CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fd/array.o
- CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/event-parse.o
- CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/event-plugin.o
- LD /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fd/libapi-in.o
- MKDIR /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/
- CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/fs.o
- CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/util/alias.o
- CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/util/annotate.o
- In file included from /home/evler/tinker_board_2/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/string.h:494,
- from fs/fs.c:7:
- 在函数‘strncpy’中,
- 内联自‘fs__env_override’于 fs/fs.c:191:2,
- 内联自‘fs__get_mountpoint’于 fs/fs.c:197:6:
- /home/evler/tinker_board_2/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:106:10: 错误:‘__builtin_strncpy’ specified bound 4096 equals destination size [-Werror=stringop-truncation]
- 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/list.h:5,
- from util/sort.h:8,
- from util/annotate.c:12:
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h: 在函数‘__list_add_valid’中:
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:37:55: 警告:unused parameter ‘new’ [-Wunused-parameter]
- 37 | static inline bool __list_add_valid(struct list_head *new,
- | ~~~~~~~~~~~~~~~~~~^~~
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:38:23: 警告:unused parameter ‘prev’ [-Wunused-parameter]
- 38 | struct list_head *prev,
- | ~~~~~~~~~~~~~~~~~~^~~~
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:39:23: 警告:unused parameter ‘next’ [-Wunused-parameter]
- 39 | struct list_head *next)
- | ~~~~~~~~~~~~~~~~~~^~~~
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h: 在函数‘__list_del_entry_valid’中:
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:43:61: 警告:unused parameter ‘entry’ [-Wunused-parameter]
- 43 | static inline bool __list_del_entry_valid(struct list_head *entry)
- | ~~~~~~~~~~~~~~~~~~^~~~~
- cc1:所有的警告都被当作是错误
- MKDIR /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/
- CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/tracing_path.o
- CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/arch/common.o
- In file included from /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/list.h:5,
- from arch/../util/map.h:6,
- from arch/../util/event.h:8,
- from arch/../util/debug.h:7,
- from arch/common.c:4:
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h: 在函数‘__list_add_valid’中:
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:37:55: 警告:unused parameter ‘new’ [-Wunused-parameter]
- 37 | static inline bool __list_add_valid(struct list_head *new,
- | ~~~~~~~~~~~~~~~~~~^~~
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:38:23: 警告:unused parameter ‘prev’ [-Wunused-parameter]
- 38 | struct list_head *prev,
- | ~~~~~~~~~~~~~~~~~~^~~~
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:39:23: 警告:unused parameter ‘next’ [-Wunused-parameter]
- 39 | struct list_head *next)
- | ~~~~~~~~~~~~~~~~~~^~~~
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h: 在函数‘__list_del_entry_valid’中:
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:43:61: 警告:unused parameter ‘entry’ [-Wunused-parameter]
- 43 | static inline bool __list_del_entry_valid(struct list_head *entry)
- | ~~~~~~~~~~~~~~~~~~^~~~~
- LD /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/libapi-in.o
- /home/evler/tinker_board_2/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ld: 找不到 /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/fs.o: 没有那个文件或目录
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/build/Makefile.build:131: recipe for target '/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/libapi-in.o' failed
- make[6]: *** [/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/libapi-in.o] Error 1
- /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/build/Makefile.build:126: recipe for target 'fs' failed
- make[5]: *** [fs] Error 2
- Makefile:34: recipe for target '/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/libapi-in.o' failed
- make[4]: *** [/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/libapi-in.o] Error 2
- Makefile.perf:445: recipe for target '/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/libapi.a' failed
- make[3]: *** [/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/libapi.a] Error 2
- make[3]: *** 正在等待未完成的任务....
复制代码
|
|