[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240604093223.1934236-1-leo.yan@arm.com>
Date: Tue, 4 Jun 2024 10:32:17 +0100
From: Leo Yan <leo.yan@....com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Mark Rutland <mark.rutland@....com>,
James Clark <james.clark@....com>,
Ian Rogers <irogers@...gle.com>,
"Liang, Kan" <kan.liang@...ux.intel.com>,
Nick Terrell <terrelln@...com>,
Thomas Richter <tmricht@...ux.ibm.com>,
Changbin Du <changbin.du@...wei.com>,
Fangrui Song <maskray@...gle.com>,
"Mateusz Kowalczyk" <fuuzetsu@...zetsu.co.uk>,
linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org
Cc: Leo Yan <leo.yan@....com>
Subject: [PATCH v1 0/6] perf: build: Fix cross compilation
This patch series fixes cross compilation issues.
The first two patches address the package configuration issue. It sets
the package path so the compiler can find the architecture's package.
The patch 03 sets the Python configuration path and renames the .so to
reflect the build target.
The last three patches fix the static build failures. Patch 04 is to fix
the issue caused by newer version's elfutils, and the last patches fix
the building failure for feature detecting binaries.
This patch series is tested for building perf on x86_64 host for Arm64
target.
Leo Yan (6):
perf: build: Setup PKG_CONFIG_LIBDIR for cross compilation
perf: build: Append libtraceevent path in PKG_CONFIG_LIBDIR
perf: build: Set Python configuration for cross compilation
perf: build: Only link libebl.a for old libdw
perf: build: Link lib 'lzma' for static build
perf: build: Link lib 'zstd' for static build
tools/build/feature/Makefile | 42 +++++++++++++++++++++++++++---------
tools/perf/Makefile.config | 25 +++++++++++++++++++--
tools/perf/Makefile.perf | 15 ++++++++++++-
3 files changed, 69 insertions(+), 13 deletions(-)
--
2.34.1
Powered by blists - more mailing lists