packaging: Add more BuildRequires to build perf 69/317169/1
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 26 Dec 2024 07:00:35 +0000 (16:00 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 26 Dec 2024 07:00:35 +0000 (16:00 +0900)
commite8c2a2ec1f6642a4d3c93a0df4fefc12fd02a513
tree3f94b9f6c0e9a3b2d25bcc2d103ff58b1b770651
parentc4ac7e7c164a090bd3783cb0a5c9ce6d373de594
packaging: Add more BuildRequires to build perf

Some packages are existing on tizen repo.
To remove Warning message, add the BuildRequires and -fPIC options to
build perf tool.

[  941s] Makefile.config:914: Missing python setuptools, the python binding won't be built, please install python3-setuptools or equivalent
[  942s] Makefile.config:994: No libllvm 13+ found, slower source file resolution, please install llvm-devel/llvm-dev
[  942s] Makefile.config:1040: No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR

[  858s] /usr/lib64/gcc/aarch64-tizen-linux-gnu/14.2.0/../../../../aarch64-tizen-linux-gnu/bin/ld: /home/abuild/rpmbuild/BUILD/linux-amlogic-6.12/tools/perf/libsubcmd/libsubcmd.a(libsubcmd-in.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cmdname_compare' which may bind externally can not be used when making a shared object; recompile with -fPIC
[  858s] /home/abuild/rpmbuild/BUILD/linux-amlogic-6.12/tools/perf/libsubcmd/libsubcmd.a(libsubcmd-in.o): in function `load_command_list':
[  858s] /home/abuild/rpmbuild/BUILD/linux-amlogic-6.12/tools/lib/subcmd/help.c:225:(.text+0x1034): dangerous relocation: unsupported relocation
[  858s] /usr/lib64/gcc/aarch64-tizen-linux-gnu/14.2.0/../../../../aarch64-tizen-linux-gnu/bin/ld: /home/abuild/rpmbuild/BUILD/linux-amlogic-6.12/tools/perf/libsubcmd/libsubcmd.a(libsubcmd-in.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `cmdname_compare' which may bind externally can not be used when making a shared object; recompile with -fPIC

Change-Id: I18cd1f65b3acee2a9ef87d602a495837c3e85e8c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
packaging/linux-amlogic.spec