perf loongarch: Fix build failure with CONFIG_LIBDW_DWARF_UNWIND
Subsystems (2)
PATCH 1/1 perf loongarch: Fix build failure with CONFIG_LIBDW_DWARF_UNWIND
Building perf for LoongArch fails when CONFIG_LIBDW_DWARF_UNWIND is enabled because unwind-libdw.o is still referenced in arch/loongarch/util/Build.
--- tools/perf/arch/loongarch/util/Build | 1 - 1 file changed, 1 deletion(-)
tools/perf/arch/loongarch/util/Build +0 -1
@@ -1,4 +1,3 @@ perf-util-y += header.o perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o -perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o
Signature · 1 line
2.53.0
Quoted 22 lines · jiny L
Quoted 18 lines · WANG Rui
Building perf for LoongArch fails when
CONFIG_LIBDW_DWARF_UNWINDis enabled because unwind-libdw.o is still referenced inarch/loongarch/util/Build.Fixes e62fae9d9e8 ("perf unwind-libdw: Fix a cross-arch unwinding bug")Signed-off-by WANG Rui <[email protected]>--- tools/perf/arch/loongarch/util/Build | 1 - 1 file changed, 1 deletion(-)tools/perf/arch/loongarch/util/Build +0
-0@@ -1,4 +1,3 @@ perf-util-y += header.o
Quoted 8 lines
Quoted 6 lines
tools/perf/arch/loongarch/util/Build +0
-2perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o -perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o --2.53.0
I happened to have the same build issue on linux 7.0 and I found there is already a patch fixing this https://lore.kernel.org/lkml/[email protected]/
Thanks for the reference.
Rui
Namhyung Kim
maintainerQuoted 32 lines · hev
Quoted 22 lines · jiny L
Quoted 18 lines · WANG Rui
Building perf for LoongArch fails when
CONFIG_LIBDW_DWARF_UNWINDis enabled because unwind-libdw.o is still referenced inarch/loongarch/util/Build.Fixes e62fae9d9e8 ("perf unwind-libdw: Fix a cross-arch unwinding bug")Signed-off-by WANG Rui <[email protected]>--- tools/perf/arch/loongarch/util/Build | 1 - 1 file changed, 1 deletion(-)tools/perf/arch/loongarch/util/Build +0
-0@@ -1,4 +1,3 @@ perf-util-y += header.oQuoted 8 lines
Quoted 6 lines
tools/perf/arch/loongarch/util/Build +0
-2perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o -perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o --2.53.0
I happened to have the same build issue on linux 7.0 and I found there is already a patch fixing this https://lore.kernel.org/lkml/[email protected]/
Quoted 2 lines
Thanks for the reference.
Rui
As the Ian's series is still under review, I'd pick this one instead.
Thanks,
Namhyung
Quoted 7 lines · WANG Rui
Building perf for LoongArch fails when
CONFIG_LIBDW_DWARF_UNWINDis enabled because unwind-libdw.o is still referenced inarch/loongarch/util/Build.Fixes e62fae9d9e8 ("perf unwind-libdw: Fix a cross-arch unwinding bug")Signed-off-by WANG Rui <[email protected]>
Quoted 17 lines
--- tools/perf/arch/loongarch/util/Build | 1 - 1 file changed, 1 deletion(-)tools/perf/arch/loongarch/util/Build +0
-2@@ -1,4 +1,3 @@ perf-util-y += header.o perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o -perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o --2.53.0
Quoted 5 lines · WANG Rui
Building perf for LoongArch fails when
CONFIG_LIBDW_DWARF_UNWINDis enabled because unwind-libdw.o is still referenced inarch/loongarch/util/Build.
Applied to perf-tools-next, thanks!
Best regards,
Namhyung