Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OpenSBI; Linux Kernel Payload
$ make CROSS_COMPILE=riscv64-unknown-elf- PLATFORM=qemu/virt FW_PAYLOAD_PATH=../linux-stable/arch/riscv/boot/Image
CC lib/sbi/riscv_asm.o
CC lib/sbi/riscv_atomic.o
AS lib/sbi/riscv_hardfp.o
CC lib/sbi/riscv_locks.o
CC lib/sbi/riscv_unpriv.o
CC lib/sbi/sbi_console.o
CC lib/sbi/sbi_ecall.o
CC lib/sbi/sbi_emulate_csr.o
CC lib/sbi/sbi_fifo.o
CC lib/sbi/sbi_hart.o
CC lib/sbi/sbi_illegal_insn.o
CC lib/sbi/sbi_init.o
CC lib/sbi/sbi_ipi.o
CC lib/sbi/sbi_misaligned_ldst.o
CC lib/sbi/sbi_scratch.o
CC lib/sbi/sbi_system.o
CC lib/sbi/sbi_timer.o
CC lib/sbi/sbi_tlb.o
CC lib/sbi/sbi_trap.o
CC lib/sbi/sbi_string.o
AR lib/libsbi.a
CC lib/utils/sys/clint.o
CC lib/utils/serial/uart8250.o
CC lib/utils/serial/sifive-uart.o
CC lib/utils/libfdt/fdt.o
CC lib/utils/libfdt/fdt_ro.o
CC lib/utils/libfdt/fdt_wip.o
CC lib/utils/libfdt/fdt_rw.o
CC lib/utils/libfdt/fdt_sw.o
CC lib/utils/libfdt/fdt_strerror.o
CC lib/utils/libfdt/fdt_empty_tree.o
CC lib/utils/irqchip/plic.o
AR lib/libsbiutils.a
CC platform/qemu/virt/platform.o
AR platform/qemu/virt/lib/libplatsbi.a
AS platform/qemu/virt/firmware/payloads/test_head.o
CC platform/qemu/virt/firmware/payloads/test_main.o
MERGE platform/qemu/virt/firmware/payloads/test.o
ELF platform/qemu/virt/firmware/payloads/test.elf
OBJCOPY platform/qemu/virt/firmware/payloads/test.bin
AS platform/qemu/virt/firmware/fw_dynamic.o
ELF platform/qemu/virt/firmware/fw_dynamic.elf
OBJCOPY platform/qemu/virt/firmware/fw_dynamic.bin
AS platform/qemu/virt/firmware/fw_jump.o
ELF platform/qemu/virt/firmware/fw_jump.elf
OBJCOPY platform/qemu/virt/firmware/fw_jump.bin
AS platform/qemu/virt/firmware/fw_payload.o
ELF platform/qemu/virt/firmware/fw_payload.elf
OBJCOPY platform/qemu/virt/firmware/fw_payload.bin
$ make -n CROSS_COMPILE=riscv64-unknown-elf- PLATFORM=qemu/virt FW_PAYLOAD_PATH=../linux-stable/arch/riscv/boot/Image | tr ';' '\n' | sed -e 's/^ //g' | grep -Ev '^mkdir'
echo " CC lib/sbi/riscv_asm.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=riscv_asm -c /home/vagrant/opensbi/lib/sbi/riscv_asm.c -o /home/vagrant/opensbi/build/lib/sbi/riscv_asm.o
echo " CC lib/sbi/riscv_atomic.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=riscv_atomic -c /home/vagrant/opensbi/lib/sbi/riscv_atomic.c -o /home/vagrant/opensbi/build/lib/sbi/riscv_atomic.o
echo " AS lib/sbi/riscv_hardfp.o"
riscv64-unknown-elf-gcc -g -Wall -nostdlib -D__ASSEMBLY__ -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=riscv_hardfp -c /home/vagrant/opensbi/lib/sbi/riscv_hardfp.S -o /home/vagrant/opensbi/build/lib/sbi/riscv_hardfp.o
echo " CC lib/sbi/riscv_locks.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=riscv_locks -c /home/vagrant/opensbi/lib/sbi/riscv_locks.c -o /home/vagrant/opensbi/build/lib/sbi/riscv_locks.o
echo " CC lib/sbi/riscv_unpriv.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=riscv_unpriv -c /home/vagrant/opensbi/lib/sbi/riscv_unpriv.c -o /home/vagrant/opensbi/build/lib/sbi/riscv_unpriv.o
echo " CC lib/sbi/sbi_console.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_console -c /home/vagrant/opensbi/lib/sbi/sbi_console.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_console.o
echo " CC lib/sbi/sbi_ecall.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_ecall -c /home/vagrant/opensbi/lib/sbi/sbi_ecall.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_ecall.o
echo " CC lib/sbi/sbi_emulate_csr.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_emulate_csr -c /home/vagrant/opensbi/lib/sbi/sbi_emulate_csr.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_emulate_csr.o
echo " CC lib/sbi/sbi_fifo.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_fifo -c /home/vagrant/opensbi/lib/sbi/sbi_fifo.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_fifo.o
echo " CC lib/sbi/sbi_hart.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_hart -c /home/vagrant/opensbi/lib/sbi/sbi_hart.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_hart.o
echo " CC lib/sbi/sbi_illegal_insn.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_illegal_insn -c /home/vagrant/opensbi/lib/sbi/sbi_illegal_insn.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_illegal_insn.o
echo " CC lib/sbi/sbi_init.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_init -c /home/vagrant/opensbi/lib/sbi/sbi_init.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_init.o
echo " CC lib/sbi/sbi_ipi.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_ipi -c /home/vagrant/opensbi/lib/sbi/sbi_ipi.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_ipi.o
echo " CC lib/sbi/sbi_misaligned_ldst.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_misaligned_ldst -c /home/vagrant/opensbi/lib/sbi/sbi_misaligned_ldst.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_misaligned_ldst.o
echo " CC lib/sbi/sbi_scratch.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_scratch -c /home/vagrant/opensbi/lib/sbi/sbi_scratch.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_scratch.o
echo " CC lib/sbi/sbi_system.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_system -c /home/vagrant/opensbi/lib/sbi/sbi_system.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_system.o
echo " CC lib/sbi/sbi_timer.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_timer -c /home/vagrant/opensbi/lib/sbi/sbi_timer.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_timer.o
echo " CC lib/sbi/sbi_tlb.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_tlb -c /home/vagrant/opensbi/lib/sbi/sbi_tlb.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_tlb.o
echo " CC lib/sbi/sbi_trap.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_trap -c /home/vagrant/opensbi/lib/sbi/sbi_trap.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_trap.o
echo " CC lib/sbi/sbi_string.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_string -c /home/vagrant/opensbi/lib/sbi/sbi_string.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_string.o
echo " AR lib/libsbi.a"
riscv64-unknown-elf-ar rcs /home/vagrant/opensbi/build/lib/libsbi.a /home/vagrant/opensbi/build/lib/sbi/riscv_asm.o /home/vagrant/opensbi/build/lib/sbi/riscv_atomic.o /home/vagrant/opensbi/build/lib/sbi/riscv_hardfp.o /home/vagrant/opensbi/build/lib/sbi/riscv_locks.o /home/vagrant/opensbi/build/lib/sbi/riscv_unpriv.o /home/vagrant/opensbi/build/lib/sbi/sbi_console.o /home/vagrant/opensbi/build/lib/sbi/sbi_ecall.o /home/vagrant/opensbi/build/lib/sbi/sbi_emulate_csr.o /home/vagrant/opensbi/build/lib/sbi/sbi_fifo.o /home/vagrant/opensbi/build/lib/sbi/sbi_hart.o /home/vagrant/opensbi/build/lib/sbi/sbi_illegal_insn.o /home/vagrant/opensbi/build/lib/sbi/sbi_init.o /home/vagrant/opensbi/build/lib/sbi/sbi_ipi.o /home/vagrant/opensbi/build/lib/sbi/sbi_misaligned_ldst.o /home/vagrant/opensbi/build/lib/sbi/sbi_scratch.o /home/vagrant/opensbi/build/lib/sbi/sbi_system.o /home/vagrant/opensbi/build/lib/sbi/sbi_timer.o /home/vagrant/opensbi/build/lib/sbi/sbi_tlb.o /home/vagrant/opensbi/build/lib/sbi/sbi_trap.o /home/vagrant/opensbi/build/lib/sbi/sbi_string.o
echo " CC lib/utils/sys/clint.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/sys -D__OBJNAME__=clint -c /home/vagrant/opensbi/lib/utils/sys/clint.c -o /home/vagrant/opensbi/build/lib/utils/sys/clint.o
echo " CC lib/utils/serial/uart8250.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/serial -D__OBJNAME__=uart8250 -c /home/vagrant/opensbi/lib/utils/serial/uart8250.c -o /home/vagrant/opensbi/build/lib/utils/serial/uart8250.o
echo " CC lib/utils/serial/sifive-uart.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/serial -D__OBJNAME__=sifive_uart -c /home/vagrant/opensbi/lib/utils/serial/sifive-uart.c -o /home/vagrant/opensbi/build/lib/utils/serial/sifive-uart.o
echo " CC lib/utils/libfdt/fdt.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt -c /home/vagrant/opensbi/lib/utils/libfdt/fdt.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt.o
echo " CC lib/utils/libfdt/fdt_ro.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_ro -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_ro.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_ro.o
echo " CC lib/utils/libfdt/fdt_wip.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_wip -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_wip.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_wip.o
echo " CC lib/utils/libfdt/fdt_rw.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_rw -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_rw.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_rw.o
echo " CC lib/utils/libfdt/fdt_sw.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_sw -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_sw.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_sw.o
echo " CC lib/utils/libfdt/fdt_strerror.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_strerror -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_strerror.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_strerror.o
echo " CC lib/utils/libfdt/fdt_empty_tree.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_empty_tree -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_empty_tree.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_empty_tree.o
echo " CC lib/utils/irqchip/plic.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/irqchip -D__OBJNAME__=plic -c /home/vagrant/opensbi/lib/utils/irqchip/plic.c -o /home/vagrant/opensbi/build/lib/utils/irqchip/plic.o
echo " AR lib/libsbiutils.a"
riscv64-unknown-elf-ar rcs /home/vagrant/opensbi/build/lib/libsbiutils.a /home/vagrant/opensbi/build/lib/sbi/riscv_asm.o /home/vagrant/opensbi/build/lib/sbi/riscv_atomic.o /home/vagrant/opensbi/build/lib/sbi/riscv_hardfp.o /home/vagrant/opensbi/build/lib/sbi/riscv_locks.o /home/vagrant/opensbi/build/lib/sbi/riscv_unpriv.o /home/vagrant/opensbi/build/lib/sbi/sbi_console.o /home/vagrant/opensbi/build/lib/sbi/sbi_ecall.o /home/vagrant/opensbi/build/lib/sbi/sbi_emulate_csr.o /home/vagrant/opensbi/build/lib/sbi/sbi_fifo.o /home/vagrant/opensbi/build/lib/sbi/sbi_hart.o /home/vagrant/opensbi/build/lib/sbi/sbi_illegal_insn.o /home/vagrant/opensbi/build/lib/sbi/sbi_init.o /home/vagrant/opensbi/build/lib/sbi/sbi_ipi.o /home/vagrant/opensbi/build/lib/sbi/sbi_misaligned_ldst.o /home/vagrant/opensbi/build/lib/sbi/sbi_scratch.o /home/vagrant/opensbi/build/lib/sbi/sbi_system.o /home/vagrant/opensbi/build/lib/sbi/sbi_timer.o /home/vagrant/opensbi/build/lib/sbi/sbi_tlb.o /home/vagrant/opensbi/build/lib/sbi/sbi_trap.o /home/vagrant/opensbi/build/lib/sbi/sbi_string.o /home/vagrant/opensbi/build/lib/utils/sys/clint.o /home/vagrant/opensbi/build/lib/utils/serial/uart8250.o /home/vagrant/opensbi/build/lib/utils/serial/sifive-uart.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_ro.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_wip.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_rw.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_sw.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_strerror.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_empty_tree.o /home/vagrant/opensbi/build/lib/utils/irqchip/plic.o
echo " CC platform/qemu/virt/platform.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/platform/qemu/virt -D__OBJNAME__=platform -c /home/vagrant/opensbi/platform/qemu/virt/platform.c -o /home/vagrant/opensbi/build/platform/qemu/virt/platform.o
echo " AR platform/qemu/virt/lib/libplatsbi.a"
riscv64-unknown-elf-ar rcs /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a /home/vagrant/opensbi/build/lib/sbi/riscv_asm.o /home/vagrant/opensbi/build/lib/sbi/riscv_atomic.o /home/vagrant/opensbi/build/lib/sbi/riscv_hardfp.o /home/vagrant/opensbi/build/lib/sbi/riscv_locks.o /home/vagrant/opensbi/build/lib/sbi/riscv_unpriv.o /home/vagrant/opensbi/build/lib/sbi/sbi_console.o /home/vagrant/opensbi/build/lib/sbi/sbi_ecall.o /home/vagrant/opensbi/build/lib/sbi/sbi_emulate_csr.o /home/vagrant/opensbi/build/lib/sbi/sbi_fifo.o /home/vagrant/opensbi/build/lib/sbi/sbi_hart.o /home/vagrant/opensbi/build/lib/sbi/sbi_illegal_insn.o /home/vagrant/opensbi/build/lib/sbi/sbi_init.o /home/vagrant/opensbi/build/lib/sbi/sbi_ipi.o /home/vagrant/opensbi/build/lib/sbi/sbi_misaligned_ldst.o /home/vagrant/opensbi/build/lib/sbi/sbi_scratch.o /home/vagrant/opensbi/build/lib/sbi/sbi_system.o /home/vagrant/opensbi/build/lib/sbi/sbi_timer.o /home/vagrant/opensbi/build/lib/sbi/sbi_tlb.o /home/vagrant/opensbi/build/lib/sbi/sbi_trap.o /home/vagrant/opensbi/build/lib/sbi/sbi_string.o /home/vagrant/opensbi/build/lib/utils/sys/clint.o /home/vagrant/opensbi/build/lib/utils/serial/uart8250.o /home/vagrant/opensbi/build/lib/utils/serial/sifive-uart.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_ro.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_wip.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_rw.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_sw.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_strerror.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_empty_tree.o /home/vagrant/opensbi/build/lib/utils/irqchip/plic.o /home/vagrant/opensbi/build/platform/qemu/virt/platform.o
echo " AS platform/qemu/virt/firmware/payloads/test_head.o"
riscv64-unknown-elf-gcc -g -Wall -nostdlib -D__ASSEMBLY__ -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -I/home/vagrant/opensbi/firmware/payloads -D__OBJNAME__=test_head -c /home/vagrant/opensbi/firmware/payloads/test_head.S -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test_head.o
echo " CC platform/qemu/virt/firmware/payloads/test_main.o"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/firmware/payloads -D__OBJNAME__=test_main -c /home/vagrant/opensbi/firmware/payloads/test_main.c -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test_main.o
echo " MERGE platform/qemu/virt/firmware/payloads/test.o"
riscv64-unknown-elf-ld -r -b elf64-littleriscv -m elf64lriscv /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test_head.o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test_main.o -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.o
echo " ELF platform/qemu/virt/firmware/payloads/test.elf"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.o /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a -Wl,--build-id=none -N -static-libgcc -lgcc -Wl,-T/home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.elf.ld -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.elf
echo " OBJCOPY platform/qemu/virt/firmware/payloads/test.bin"
riscv64-unknown-elf-objcopy -S -O binary /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.elf /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.bin
echo " AS platform/qemu/virt/firmware/fw_dynamic.o"
riscv64-unknown-elf-gcc -g -Wall -nostdlib -D__ASSEMBLY__ -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -I/home/vagrant/opensbi/firmware -D__OBJNAME__=fw_dynamic -c /home/vagrant/opensbi/firmware/fw_dynamic.S -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.o
echo " ELF platform/qemu/virt/firmware/fw_dynamic.elf"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.o /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a -Wl,--build-id=none -N -static-libgcc -lgcc -Wl,-T/home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.elf.ld -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.elf
echo " OBJCOPY platform/qemu/virt/firmware/fw_dynamic.bin"
riscv64-unknown-elf-objcopy -S -O binary /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.elf /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.bin
echo " AS platform/qemu/virt/firmware/fw_jump.o"
riscv64-unknown-elf-gcc -g -Wall -nostdlib -D__ASSEMBLY__ -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -I/home/vagrant/opensbi/firmware -D__OBJNAME__=fw_jump -c /home/vagrant/opensbi/firmware/fw_jump.S -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.o
echo " ELF platform/qemu/virt/firmware/fw_jump.elf"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.o /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a -Wl,--build-id=none -N -static-libgcc -lgcc -Wl,-T/home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.elf.ld -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.elf
echo " OBJCOPY platform/qemu/virt/firmware/fw_jump.bin"
riscv64-unknown-elf-objcopy -S -O binary /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.elf /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.bin
echo " AS platform/qemu/virt/firmware/fw_payload.o"
riscv64-unknown-elf-gcc -g -Wall -nostdlib -D__ASSEMBLY__ -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -I/home/vagrant/opensbi/firmware -D__OBJNAME__=fw_payload -c /home/vagrant/opensbi/firmware/fw_payload.S -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.o
echo " ELF platform/qemu/virt/firmware/fw_payload.elf"
riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.o /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a -Wl,--build-id=none -N -static-libgcc -lgcc -Wl,-T/home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.elf.ld -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.elf
echo " OBJCOPY platform/qemu/virt/firmware/fw_payload.bin"
riscv64-unknown-elf-objcopy -S -O binary /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.elf /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.bin
vagrant@ubuntu-bionic:~/opensbi$ make -n CROSS_COMPILE=riscv64-unknown-elf- PLATFORM=qemu/virt FW_PAYLOAD_PATH=../linux-stable/arch/riscv/boot/Image
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/riscv_asm.o`; echo " CC lib/sbi/riscv_asm.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=riscv_asm -c /home/vagrant/opensbi/lib/sbi/riscv_asm.c -o /home/vagrant/opensbi/build/lib/sbi/riscv_asm.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/riscv_atomic.o`; echo " CC lib/sbi/riscv_atomic.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=riscv_atomic -c /home/vagrant/opensbi/lib/sbi/riscv_atomic.c -o /home/vagrant/opensbi/build/lib/sbi/riscv_atomic.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/riscv_hardfp.o`; echo " AS lib/sbi/riscv_hardfp.o"; riscv64-unknown-elf-gcc -g -Wall -nostdlib -D__ASSEMBLY__ -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=riscv_hardfp -c /home/vagrant/opensbi/lib/sbi/riscv_hardfp.S -o /home/vagrant/opensbi/build/lib/sbi/riscv_hardfp.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/riscv_locks.o`; echo " CC lib/sbi/riscv_locks.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=riscv_locks -c /home/vagrant/opensbi/lib/sbi/riscv_locks.c -o /home/vagrant/opensbi/build/lib/sbi/riscv_locks.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/riscv_unpriv.o`; echo " CC lib/sbi/riscv_unpriv.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=riscv_unpriv -c /home/vagrant/opensbi/lib/sbi/riscv_unpriv.c -o /home/vagrant/opensbi/build/lib/sbi/riscv_unpriv.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_console.o`; echo " CC lib/sbi/sbi_console.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_console -c /home/vagrant/opensbi/lib/sbi/sbi_console.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_console.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_ecall.o`; echo " CC lib/sbi/sbi_ecall.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_ecall -c /home/vagrant/opensbi/lib/sbi/sbi_ecall.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_ecall.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_emulate_csr.o`; echo " CC lib/sbi/sbi_emulate_csr.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_emulate_csr -c /home/vagrant/opensbi/lib/sbi/sbi_emulate_csr.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_emulate_csr.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_fifo.o`; echo " CC lib/sbi/sbi_fifo.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_fifo -c /home/vagrant/opensbi/lib/sbi/sbi_fifo.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_fifo.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_hart.o`; echo " CC lib/sbi/sbi_hart.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_hart -c /home/vagrant/opensbi/lib/sbi/sbi_hart.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_hart.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_illegal_insn.o`; echo " CC lib/sbi/sbi_illegal_insn.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_illegal_insn -c /home/vagrant/opensbi/lib/sbi/sbi_illegal_insn.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_illegal_insn.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_init.o`; echo " CC lib/sbi/sbi_init.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_init -c /home/vagrant/opensbi/lib/sbi/sbi_init.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_init.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_ipi.o`; echo " CC lib/sbi/sbi_ipi.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_ipi -c /home/vagrant/opensbi/lib/sbi/sbi_ipi.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_ipi.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_misaligned_ldst.o`; echo " CC lib/sbi/sbi_misaligned_ldst.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_misaligned_ldst -c /home/vagrant/opensbi/lib/sbi/sbi_misaligned_ldst.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_misaligned_ldst.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_scratch.o`; echo " CC lib/sbi/sbi_scratch.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_scratch -c /home/vagrant/opensbi/lib/sbi/sbi_scratch.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_scratch.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_system.o`; echo " CC lib/sbi/sbi_system.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_system -c /home/vagrant/opensbi/lib/sbi/sbi_system.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_system.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_timer.o`; echo " CC lib/sbi/sbi_timer.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_timer -c /home/vagrant/opensbi/lib/sbi/sbi_timer.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_timer.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_tlb.o`; echo " CC lib/sbi/sbi_tlb.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_tlb -c /home/vagrant/opensbi/lib/sbi/sbi_tlb.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_tlb.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_trap.o`; echo " CC lib/sbi/sbi_trap.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_trap -c /home/vagrant/opensbi/lib/sbi/sbi_trap.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_trap.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/sbi/sbi_string.o`; echo " CC lib/sbi/sbi_string.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/sbi -D__OBJNAME__=sbi_string -c /home/vagrant/opensbi/lib/sbi/sbi_string.c -o /home/vagrant/opensbi/build/lib/sbi/sbi_string.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/libsbi.a`; echo " AR lib/libsbi.a"; riscv64-unknown-elf-ar rcs /home/vagrant/opensbi/build/lib/libsbi.a /home/vagrant/opensbi/build/lib/sbi/riscv_asm.o /home/vagrant/opensbi/build/lib/sbi/riscv_atomic.o /home/vagrant/opensbi/build/lib/sbi/riscv_hardfp.o /home/vagrant/opensbi/build/lib/sbi/riscv_locks.o /home/vagrant/opensbi/build/lib/sbi/riscv_unpriv.o /home/vagrant/opensbi/build/lib/sbi/sbi_console.o /home/vagrant/opensbi/build/lib/sbi/sbi_ecall.o /home/vagrant/opensbi/build/lib/sbi/sbi_emulate_csr.o /home/vagrant/opensbi/build/lib/sbi/sbi_fifo.o /home/vagrant/opensbi/build/lib/sbi/sbi_hart.o /home/vagrant/opensbi/build/lib/sbi/sbi_illegal_insn.o /home/vagrant/opensbi/build/lib/sbi/sbi_init.o /home/vagrant/opensbi/build/lib/sbi/sbi_ipi.o /home/vagrant/opensbi/build/lib/sbi/sbi_misaligned_ldst.o /home/vagrant/opensbi/build/lib/sbi/sbi_scratch.o /home/vagrant/opensbi/build/lib/sbi/sbi_system.o /home/vagrant/opensbi/build/lib/sbi/sbi_timer.o /home/vagrant/opensbi/build/lib/sbi/sbi_tlb.o /home/vagrant/opensbi/build/lib/sbi/sbi_trap.o /home/vagrant/opensbi/build/lib/sbi/sbi_string.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/sys/clint.o`; echo " CC lib/utils/sys/clint.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/sys -D__OBJNAME__=clint -c /home/vagrant/opensbi/lib/utils/sys/clint.c -o /home/vagrant/opensbi/build/lib/utils/sys/clint.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/serial/uart8250.o`; echo " CC lib/utils/serial/uart8250.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/serial -D__OBJNAME__=uart8250 -c /home/vagrant/opensbi/lib/utils/serial/uart8250.c -o /home/vagrant/opensbi/build/lib/utils/serial/uart8250.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/serial/sifive-uart.o`; echo " CC lib/utils/serial/sifive-uart.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/serial -D__OBJNAME__=sifive_uart -c /home/vagrant/opensbi/lib/utils/serial/sifive-uart.c -o /home/vagrant/opensbi/build/lib/utils/serial/sifive-uart.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/libfdt/fdt.o`; echo " CC lib/utils/libfdt/fdt.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt -c /home/vagrant/opensbi/lib/utils/libfdt/fdt.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_ro.o`; echo " CC lib/utils/libfdt/fdt_ro.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_ro -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_ro.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_ro.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_wip.o`; echo " CC lib/utils/libfdt/fdt_wip.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_wip -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_wip.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_wip.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_rw.o`; echo " CC lib/utils/libfdt/fdt_rw.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_rw -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_rw.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_rw.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_sw.o`; echo " CC lib/utils/libfdt/fdt_sw.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_sw -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_sw.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_sw.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_strerror.o`; echo " CC lib/utils/libfdt/fdt_strerror.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_strerror -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_strerror.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_strerror.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_empty_tree.o`; echo " CC lib/utils/libfdt/fdt_empty_tree.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/libfdt -D__OBJNAME__=fdt_empty_tree -c /home/vagrant/opensbi/lib/utils/libfdt/fdt_empty_tree.c -o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_empty_tree.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/utils/irqchip/plic.o`; echo " CC lib/utils/irqchip/plic.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/lib/utils/irqchip -D__OBJNAME__=plic -c /home/vagrant/opensbi/lib/utils/irqchip/plic.c -o /home/vagrant/opensbi/build/lib/utils/irqchip/plic.o
mkdir -p `dirname /home/vagrant/opensbi/build/lib/libsbiutils.a`; echo " AR lib/libsbiutils.a"; riscv64-unknown-elf-ar rcs /home/vagrant/opensbi/build/lib/libsbiutils.a /home/vagrant/opensbi/build/lib/sbi/riscv_asm.o /home/vagrant/opensbi/build/lib/sbi/riscv_atomic.o /home/vagrant/opensbi/build/lib/sbi/riscv_hardfp.o /home/vagrant/opensbi/build/lib/sbi/riscv_locks.o /home/vagrant/opensbi/build/lib/sbi/riscv_unpriv.o /home/vagrant/opensbi/build/lib/sbi/sbi_console.o /home/vagrant/opensbi/build/lib/sbi/sbi_ecall.o /home/vagrant/opensbi/build/lib/sbi/sbi_emulate_csr.o /home/vagrant/opensbi/build/lib/sbi/sbi_fifo.o /home/vagrant/opensbi/build/lib/sbi/sbi_hart.o /home/vagrant/opensbi/build/lib/sbi/sbi_illegal_insn.o /home/vagrant/opensbi/build/lib/sbi/sbi_init.o /home/vagrant/opensbi/build/lib/sbi/sbi_ipi.o /home/vagrant/opensbi/build/lib/sbi/sbi_misaligned_ldst.o /home/vagrant/opensbi/build/lib/sbi/sbi_scratch.o /home/vagrant/opensbi/build/lib/sbi/sbi_system.o /home/vagrant/opensbi/build/lib/sbi/sbi_timer.o /home/vagrant/opensbi/build/lib/sbi/sbi_tlb.o /home/vagrant/opensbi/build/lib/sbi/sbi_trap.o /home/vagrant/opensbi/build/lib/sbi/sbi_string.o /home/vagrant/opensbi/build/lib/utils/sys/clint.o /home/vagrant/opensbi/build/lib/utils/serial/uart8250.o /home/vagrant/opensbi/build/lib/utils/serial/sifive-uart.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_ro.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_wip.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_rw.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_sw.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_strerror.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_empty_tree.o /home/vagrant/opensbi/build/lib/utils/irqchip/plic.o
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/platform.o`; echo " CC platform/qemu/virt/platform.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/platform/qemu/virt -D__OBJNAME__=platform -c /home/vagrant/opensbi/platform/qemu/virt/platform.c -o /home/vagrant/opensbi/build/platform/qemu/virt/platform.o
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a`; echo " AR platform/qemu/virt/lib/libplatsbi.a"; riscv64-unknown-elf-ar rcs /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a /home/vagrant/opensbi/build/lib/sbi/riscv_asm.o /home/vagrant/opensbi/build/lib/sbi/riscv_atomic.o /home/vagrant/opensbi/build/lib/sbi/riscv_hardfp.o /home/vagrant/opensbi/build/lib/sbi/riscv_locks.o /home/vagrant/opensbi/build/lib/sbi/riscv_unpriv.o /home/vagrant/opensbi/build/lib/sbi/sbi_console.o /home/vagrant/opensbi/build/lib/sbi/sbi_ecall.o /home/vagrant/opensbi/build/lib/sbi/sbi_emulate_csr.o /home/vagrant/opensbi/build/lib/sbi/sbi_fifo.o /home/vagrant/opensbi/build/lib/sbi/sbi_hart.o /home/vagrant/opensbi/build/lib/sbi/sbi_illegal_insn.o /home/vagrant/opensbi/build/lib/sbi/sbi_init.o /home/vagrant/opensbi/build/lib/sbi/sbi_ipi.o /home/vagrant/opensbi/build/lib/sbi/sbi_misaligned_ldst.o /home/vagrant/opensbi/build/lib/sbi/sbi_scratch.o /home/vagrant/opensbi/build/lib/sbi/sbi_system.o /home/vagrant/opensbi/build/lib/sbi/sbi_timer.o /home/vagrant/opensbi/build/lib/sbi/sbi_tlb.o /home/vagrant/opensbi/build/lib/sbi/sbi_trap.o /home/vagrant/opensbi/build/lib/sbi/sbi_string.o /home/vagrant/opensbi/build/lib/utils/sys/clint.o /home/vagrant/opensbi/build/lib/utils/serial/uart8250.o /home/vagrant/opensbi/build/lib/utils/serial/sifive-uart.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_ro.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_wip.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_rw.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_sw.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_strerror.o /home/vagrant/opensbi/build/lib/utils/libfdt/fdt_empty_tree.o /home/vagrant/opensbi/build/lib/utils/irqchip/plic.o /home/vagrant/opensbi/build/platform/qemu/virt/platform.o
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test_head.o`; echo " AS platform/qemu/virt/firmware/payloads/test_head.o"; riscv64-unknown-elf-gcc -g -Wall -nostdlib -D__ASSEMBLY__ -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -I/home/vagrant/opensbi/firmware/payloads -D__OBJNAME__=test_head -c /home/vagrant/opensbi/firmware/payloads/test_head.S -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test_head.o
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test_main.o`; echo " CC platform/qemu/virt/firmware/payloads/test_main.o"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie -I/home/vagrant/opensbi/firmware/payloads -D__OBJNAME__=test_main -c /home/vagrant/opensbi/firmware/payloads/test_main.c -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test_main.o
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.o`; echo " MERGE platform/qemu/virt/firmware/payloads/test.o"; riscv64-unknown-elf-ld -r -b elf64-littleriscv -m elf64lriscv /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test_head.o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test_main.o -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.o
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.elf`; echo " ELF platform/qemu/virt/firmware/payloads/test.elf"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.o /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a -Wl,--build-id=none -N -static-libgcc -lgcc -Wl,-T/home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.elf.ld -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.elf
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.bin`; echo " OBJCOPY platform/qemu/virt/firmware/payloads/test.bin"; riscv64-unknown-elf-objcopy -S -O binary /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.elf /home/vagrant/opensbi/build/platform/qemu/virt/firmware/payloads/test.bin
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.o`; echo " AS platform/qemu/virt/firmware/fw_dynamic.o"; riscv64-unknown-elf-gcc -g -Wall -nostdlib -D__ASSEMBLY__ -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -I/home/vagrant/opensbi/firmware -D__OBJNAME__=fw_dynamic -c /home/vagrant/opensbi/firmware/fw_dynamic.S -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.o
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.elf`; echo " ELF platform/qemu/virt/firmware/fw_dynamic.elf"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.o /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a -Wl,--build-id=none -N -static-libgcc -lgcc -Wl,-T/home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.elf.ld -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.elf
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.bin`; echo " OBJCOPY platform/qemu/virt/firmware/fw_dynamic.bin"; riscv64-unknown-elf-objcopy -S -O binary /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.elf /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_dynamic.bin
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.o`; echo " AS platform/qemu/virt/firmware/fw_jump.o"; riscv64-unknown-elf-gcc -g -Wall -nostdlib -D__ASSEMBLY__ -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -I/home/vagrant/opensbi/firmware -D__OBJNAME__=fw_jump -c /home/vagrant/opensbi/firmware/fw_jump.S -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.o
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.elf`; echo " ELF platform/qemu/virt/firmware/fw_jump.elf"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.o /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a -Wl,--build-id=none -N -static-libgcc -lgcc -Wl,-T/home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.elf.ld -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.elf
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.bin`; echo " OBJCOPY platform/qemu/virt/firmware/fw_jump.bin"; riscv64-unknown-elf-objcopy -S -O binary /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.elf /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_jump.bin
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.o`; echo " AS platform/qemu/virt/firmware/fw_payload.o"; riscv64-unknown-elf-gcc -g -Wall -nostdlib -D__ASSEMBLY__ -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -I/home/vagrant/opensbi/firmware -D__OBJNAME__=fw_payload -c /home/vagrant/opensbi/firmware/fw_payload.S -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.o
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.elf`; echo " ELF platform/qemu/virt/firmware/fw_payload.elf"; riscv64-unknown-elf-gcc -g -Wall -Werror -nostdlib -fno-strict-aliasing -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -mno-save-restore -mstrict-align -mabi=lp64 -march=rv64imafdc -mcmodel=medany -I/home/vagrant/opensbi/platform/qemu/virt/include -I/home/vagrant/opensbi/include -DOPENSBI_VERSION_GIT="\"v0.5\"" -I/home/vagrant/opensbi/lib/utils/libfdt/ -DFW_TEXT_START=0x80000000 -DFW_JUMP_ADDR=0x80200000 -DFW_JUMP_FDT_ADDR=0x82200000 -DFW_PAYLOAD_PATH=\"../linux-stable/arch/riscv/boot/Image\" -DFW_PAYLOAD_OFFSET=0x200000 -DFW_PAYLOAD_FDT_ADDR=0x82200000 -fno-pie -no-pie /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.o /home/vagrant/opensbi/build/platform/qemu/virt/lib/libplatsbi.a -Wl,--build-id=none -N -static-libgcc -lgcc -Wl,-T/home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.elf.ld -o /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.elf
mkdir -p `dirname /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.bin`; echo " OBJCOPY platform/qemu/virt/firmware/fw_payload.bin"; riscv64-unknown-elf-objcopy -S -O binary /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.elf /home/vagrant/opensbi/build/platform/qemu/virt/firmware/fw_payload.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.