also a weak power supply may be the cause tooit will probably reboot from compiling stress too. it may have a cooling problem
the easiest but not the fastest is to run a freebsd arm64 image in qemu on a powerfull x86 box
you can get many cores, lots of ram and fast disk. emulated cpu is not that fast but you may achive 1:1 with a rk3999 if you have a fast enough x86 box
There is a Building Packages Through Emulation wiki page, using poudrier (ports-mgmt/poudriere , ports-mgmt/poudriere-devel)Do you have a nice tutorial to share where I can learn how to cross compile chromium for arm64 on X64 bit ?
...
package name: indexinfo-0.3.1_1
building for: FreeBSD 142aarch64-default-job-01 14.2-RELEASE-p3 FreeBSD 14.2-RELEASE-p3 arm64
...
Host OSVERSION: 1402000
Jail OSVERSION: 1402000
...
---Begin Environment---
...
UNAME_m=arm64
UNAME_p=aarch64
UNAME_r=14.2-RELEASE-p3
...
build time: 00:00:11
...
package name: indexinfo-0.3.1_1
building for: FreeBSD 142amd64-default-job-01 14.2-RELEASE-p3 FreeBSD 14.2-RELEASE-p3 amd64
...
build time: 00:00:01
I haven't tried it myself, if you are interested ZioMario in arm64/QEMU , have a look.the easiest but not the fastest is to run a freebsd arm64 image in qemu on a powerfull x86 box
There is a Building Packages Through Emulation wiki page, using poudrier (ports-mgmt/poudriere , ports-mgmt/poudriere-devel)
I've tried it, port build time results are not promising, on my test hardware at least (AMD 5700U 1,9 GHz Turbo Core 4.1 GHz).
Here is a comparison between 142amd64 poudriere jail and 142aarch64 jail, qemu-user-mode emulation. A test build of print/indexinfo (distfile is 3853 Byte) took on the 142aarch64 more than 10 times to build (aarch64 11 seconds, amd64 1 second).
The dependencies build alone of pkg and ccache took 15 minutes on aarch64 jail (less than a 1 minute on amd64).
From indexinfo build log
poudriere jail 142aarch64
Rich (BB code):... package name: indexinfo-0.3.1_1 building for: FreeBSD 142aarch64-default-job-01 14.2-RELEASE-p3 FreeBSD 14.2-RELEASE-p3 arm64 ... Host OSVERSION: 1402000 Jail OSVERSION: 1402000 ... ---Begin Environment--- ... UNAME_m=arm64 UNAME_p=aarch64 UNAME_r=14.2-RELEASE-p3 ... build time: 00:00:11
poudriere jail 142amd64
Rich (BB code):... package name: indexinfo-0.3.1_1 building for: FreeBSD 142amd64-default-job-01 14.2-RELEASE-p3 FreeBSD 14.2-RELEASE-p3 amd64 ... build time: 00:00:01
I haven't tried it myself, if you are interested ZioMario in arm64/QEMU , have a look.
See also How to build and use QEMU User Mode on FreeBSD (wiki outdated, last edited 2017-08-22)
/usr/local/bin/python3.11:
can't open file '/usr/ports/www/chromium/work/chromium-136.0.7103.113/./build/linux/unbundle/replace_gn_files.py" :
Error 2 : No such file or directory.
# cd /usr/ports/www/chromium/
# make build-depends-list | cut -c 12- | xargs pkg install -A -y
# make NO_CHECKSUM MAKE_JOBS_UNSAFE=yes install
# portmaster www/chromium
Code:/usr/local/bin/python3.11: can't open file '/usr/ports/www/chromium/work/chromium-136.0.7103.113/./build/linux/unbundle/replace_gn_files.py" : Error 2 : No such file or directory.
probably yes. but it probably won't be any faster than the emulation from x86 (because the x86 host would be much faster)
ill try to see what performance i get on my apple silicon mac (running freebsd arm64)