So, I am set up a little differently. I have an armv7 host and have a complete armv6 image running in a chroot. I have been using this to build armv6 packages for a number of years until the armv6 updates freom arch arm stopped in February. In the meantime, I have been updating this image bit by bit as I have needed to to continue building specific packages for our purpose.
I have updated makepkg and gcc and many libs by taking the PKGBUILD and associated files form thje archARM and regular Arch Linux package information. I get the current file info from
https://archlinux.org/packages/ and when a package does not build, I then build the missing pre-reqs and install then then try again. I was able to build gcc 12.2 and install it and the gcc libs for armv6 in the chroot
Currently, my biggest issue is that makepkg will not build llvm. It builds a binary, but then fails when building the tests then never makes the package. I need this package to build the latest mpd.
When I start it, I get lots of failed to distribute on the build image, and on the x86 machine I get lots of:
$this->bbcode_second_pass_code('', '/llvm-14.0.6.src/unittests/tools/llvm-exegesis/PowerPC/TargetTest.cpp
distccd[925197] (dcc_check_client) connection from 192.168.1.199:52154
distccd[925197] compile from gmock-all.cc to gmock-all.cc.o
distccd[925197] (dcc_r_file_timed) 2650222 bytes received in 0.023329s, rate 110939kB/s
distccd[925611] (dcc_execvp) ERROR: failed to exec c++: No such file or directory
distccd[925611] (dcc_exit) exit: code 110; self: 0.000198 user 0.000000 sys; children: 0.000000 user 0.000000 sys
distccd[925197] (dcc_collect_child) cc times: user 0.000000s, system 0.000000s, 0 minflt, 0 majflt
distccd[925197] c++ /Rune_dev/armv6/llvm-libs/src/llvm-14.0.6.src/utils/unittest/googlemock/src/gmock-all.cc on localhost failed with exit code 110
distccd[925197] job complete
distccd[925197] (dcc_job_summary) client: 192.168.1.199:52154 COMPILE_ERROR exit:110 sig:0 core:0 ret:0 time:726ms c++ /Rune_dev/armv6/llvm-libs/src/llvm-14.0.6.src/utils/unittest/googlemock/src/gmock-all.cc
')
Do I need to build and install more libs and pre-reqs to get this to work?