This is an old revision of the document!


Things you just have to know

Various things that aren't documented anywhere else.

  • Generally, cross-builds via qemu are only feasible for the arm and mips variants. Specifically, attempts to use powerpc64 and sparc64 under qemu simply hang.
  • If you use release.sh, you may use any value of WORLDDIR you wish, as long as that value is and only is /usr/src.
  • If you want to build for -CURRENT, you must build from -CURRENT. You cannot build from xyz-STABLE.
  • If your -CURRENT builds crash because of jemalloc, sprinkle the following magic pixie dust into /etc/make.conf: MALLOC_PRODUCTION=“<any_value_here>”
  • AFAICT the armv7 changes have not been MFCed to -STABLE.
  • Once you have your tiny system up and going, do not put anything in the dos partition, such as a dmesg.txt to try to debug things. You will no longer be able to boot.
  • marklinimon/crossbuildingtips.1512176211.txt.gz
  • Last modified: 2017/12/02 00:56
  • by MarkLinimon