User:Jens3/Installing Gentoo on a Raspberry Pi 400

Installing Gentoo on a Raspberry Pi 400
This is work in progress and has not been finished!


 * Hardware: Raspberry Pi 400 with a 64GB micrSD card with A1 standard
 * From Handbook:Main_Page "Note: The arm and arm64 architectures are supported by the Gentoo project but do not yet have Handbooks at their disposal. Please refer to the ARM project and |bug #534376 for more information.
 * since there is no handbook for installing Gentoo on Arm 64, I took the AMD64 handbook
 * base system: Raspberry Pi OS 64bit beta works so far (WiP), optional mirrorselect is missing
 * make.conf: COMMON_FLAGS="-Os -pipe -mcpu=native"
 * profile-config set 2 (default/linux/arm64/17.0/desktop (stable)) brings a loop dependency with harfbuzz. The loop dependecy is documented in use.local.desc: "media-libs/freetype:harfbuzz - Use media-libs/harfbuzz for auto-hinting OpenType fonts. WARNING: may trigger circular dependencies!"
 * /etc/portage/make.conf: MAKEOPTS="-j1" because otherwise compiling gcc leaves the computer unuseable for two hours
 * gcc doesn't get compiled, error has to be analyzed