User reported build failure: https://gist.githubusercontent.com/ivabus/9945c01f08c991f27f984efa8d3a43cd/raw/4a4847face6f4bf550556d054e3109b400ca84ba/gistfile1.txt
I thought it was fallout from my aarch64-clang patching. I dived in x265 git and supposedly there was fix, partially applicable to our patched x265. Can anyone test on aarch64 gcc - I tested with termux/clang and it patches and builds .... full git clone was done this way git clone https://bitbucket.org/multicoreware/x265_git/ then I looked for specific commit git checkout -b aarch64 0b75c44c10e605fe9e9ebed58f04a46271131827 and extracted single commit git format-patch 931178347b3f73e40798fd5180209654536bbaa5 and then removed last part because this file was already changed between that we have and git at that point. Commit was found by looking at this bugreport https://github.com/markus-perl/ffmpeg-build-script/pull/180/files may be we can test recent x265 git, too ...
From 4ca0b6325f01b2a3827583f1c585fa35df378fe5 Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <randrianas...@gmail.com> Date: Thu, 8 Jun 2023 10:48:17 +0300 Subject: [PATCH] =?UTF-8?q?May=20be=20f=C3=ACx=20aarch64=20x265=20=20gcc?= =?UTF-8?q?=20build=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cinelerra-5.1/thirdparty/src/x265_3.5.patch1 | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 cinelerra-5.1/thirdparty/src/x265_3.5.patch1 diff --git a/cinelerra-5.1/thirdparty/src/x265_3.5.patch1 b/cinelerra-5.1/thirdparty/src/x265_3.5.patch1 new file mode 100644 index 00000000..e7acbec8 --- /dev/null +++ b/cinelerra-5.1/thirdparty/src/x265_3.5.patch1 @@ -0,0 +1,37 @@ +From 0b75c44c10e605fe9e9ebed58f04a46271131827 Mon Sep 17 00:00:00 2001 +From: mahesh pittala <mah...@multicorewareinc.com> +Date: Tue, 13 Sep 2022 09:12:28 +0530 +Subject: [PATCH] Fix 32bit and 64bit builds generation for ARM + +--- + build/aarch64-linux/crosscompile.cmake | 2 +- + build/arm-linux/make-Makefiles.bash | 2 +- + source/common/version.cpp | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/build/aarch64-linux/crosscompile.cmake b/build/aarch64-linux/crosscompile.cmake +index 41c8217f2..17f1d3bb5 100644 +--- a/build/aarch64-linux/crosscompile.cmake ++++ b/build/aarch64-linux/crosscompile.cmake +@@ -3,7 +3,7 @@ + # Please report bugs on bitbucket + # Run cmake with: cmake -DCMAKE_TOOLCHAIN_FILE=crosscompile.cmake -G "Unix Makefiles" ../../source && ccmake ../../source + +-set(CROSS_COMPILE_ARM 1) ++set(CROSS_COMPILE_ARM64 1) + set(CMAKE_SYSTEM_NAME Linux) + set(CMAKE_SYSTEM_PROCESSOR aarch64) + +diff --git a/build/arm-linux/make-Makefiles.bash b/build/arm-linux/make-Makefiles.bash +index cd88c4180..c9582da0a 100644 +--- a/build/arm-linux/make-Makefiles.bash ++++ b/build/arm-linux/make-Makefiles.bash +@@ -1,4 +1,4 @@ + #!/bin/bash + # Run this from within a bash shell + +-cmake -G "Unix Makefiles" ../../source && ccmake ../../source ++cmake -DCMAKE_TOOLCHAIN_FILE="crosscompile.cmake" -G "Unix Makefiles" ../../source && ccmake ../../source +-- +2.41.0 + -- 2.41.0
-- Cin mailing list Cin@lists.cinelerra-gg.org https://lists.cinelerra-gg.org/mailman/listinfo/cin