Skip to content

Build Envs

Will Jhun edited this page Apr 30, 2020 · 12 revisions

Build Envs that are Known to Work:

GNU Make 4.1
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
glibc 2.24-11+deb9u3 
golang 1.11.1
golang 1.11.5 - 'make runtests' passes (tested on 2/21/19 - dd93f35)
NASM version 2.12.01
qemu 2.5 from https://github.com/qemu/qemu.git, tag v2.5.0

(arch) w/older qemu

glibc: 2.28
gcc: 8.20
qemu: 2.5

[https://github.com/deferpanic/uniboot/wiki/qemu-build-patch-instructions](build instructions for qemu 2.5 on arch)

From @francescolavra, regarding the inclusion of 64-bit code in boot/service32.s:

For the record, this requires the assembler to support 64-bit code with elf32 output format, which is not the case with NASM version 2.11.08 and older. If you get "error: elf32 output format does not support 64-bit code", update NASM to a newer version (2.13.02 has been verified to work).

Build Envs Known Not to Work Yet:

(arch)

glibc: 2.28
gcc: 8.20
qemu: 2.12.1

(lkurusa: This now works?)

(Debian)

golang: 1.7.4
Clone this wiki locally