Andrea Posted March 4 Posted March 4 Hi all, Armbian v23.11 build fails while compiling ATF, reporting weird "cannot find cr" message: https://paste.next.armbian.com/evewilodap Can you please help? Thanks in advance! 0 Quote
Igor Posted March 4 Posted March 4 3 hours ago, Andrea said: Can you please help? Use v24.02 or take commit id from there. 0 Quote
SteeMan Posted March 4 Posted March 4 @Andrea in general, old branches are not maintained and builds on old branches are not repeatable. There are references out to third party sources that change over time. So as @Igor suggested , you should try with something more recent. (We hope in the future to make builds reproducible, there is work recently to that effect) 0 Quote
rymut Posted April 2 Posted April 2 @Andrea if i remember correctly this issue can be resolved using simple patch From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: John Doe <john.doe@somewhere.on.planet> Date: Sat, 9 Mar 2024 18:20:14 +0100 Subject: Patching atf sunxi64 files make_helpers/build_macros.mk Signed-off-by: John Doe <john.doe@somewhere.on.planet> --- make_helpers/build_macros.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk index a99d51669..cc1270cd8 100644 --- a/make_helpers/build_macros.mk +++ b/make_helpers/build_macros.mk @@ -491,11 +491,11 @@ endif all: ${LIB_DIR}/lib$(1).a ${LIB_DIR}/lib$(1).a: $(OBJS) $$(ECHO) " AR $$@" - $$(Q)$($(ARCH)-ar) cr $$@ $$? + $$(Q)$($(ARCH))-ar cr $$@ $$? endef # Generate the path to one or more preprocessed linker scripts given the paths # of their sources. # -- Created with Armbian build tools https://github.com/armbian/build Error is due to value $($(ARCH)-ar) being set to platform gcc command and not platform ar command. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.