Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doug65536/9192200c850b78a598d2cc0a3346d93f to your computer and use it in GitHub Desktop.
Save doug65536/9192200c850b78a598d2cc0a3346d93f to your computer and use it in GitHub Desktop.
/home/doug/code/travisg/toolchain_install/riscv64-elf-10.2.0-Linux-x86_64/bin/riscv64-elf-g++ -o emb-riscv64 obj/arch/riscv64/halt_arch.o obj/arch/riscv64/debug_arch.o obj/arch/riscv64/context_arch.o obj/arch/riscv64/portio_arch.o obj/arch/riscv64/pci_arch.o obj/arch/pci.o obj/dispi.o obj/assert.o obj/debug.o obj/main.o obj/arch/riscv64/entry_arch.o obj/arch/riscv64/exception_arch.o -g -I../emb -W -Wall -Wextra -Wpedantic -Werror -O0 -ffreestanding -fbuiltin -Werror=format -Werror=return-type -Wa,-g -fno-exceptions -fno-asynchronous-unwind-tables -nostdlib -static -fPIE -Wl,--no-dynamic-linker -Wl,-melf64lriscv -fno-common -o emb-riscv64 -Wl,-T,"../emb/arch/riscv64/rom_link_arch.ld" -Wl,-z,max-page-size=64 -Wl,-Map,emb-riscv64.map /home/doug/code/travisg/toolchain_install/riscv64-elf-10.2.0-Linux-x86_64/bin/../lib/gcc/riscv64-elf/10.2.0/libgcc.a
obj/arch/pci.o: in function `.L0 ':
/home/doug/code/emb/build-riscv64-elf/../emb/arch/pci.cc:281:(.text+0x882): relocation truncated to fit: R_RISCV_PCREL_HI20 against symbol `device_count' defined in .bss section in obj/arch/pci.o
Makefile:128: recipe for target 'emb-riscv64' failed
obj/dispi.o: in function `dispi_add_device(unsigned long, unsigned long, unsigned long)':
/home/doug/code/emb/build-riscv64-elf/../emb/dispi.cc:106:(.text+0x14): relocation truncated to fit: R_RISCV_PCREL_HI20 against `display_count'
obj/assert.o: in function `__assert_failed(char const*, char const*, int)':
/home/doug/code/emb/build-riscv64-elf/../emb/assert.cc:9:(.text+0x16): relocation truncated to fit: R_RISCV_PCREL_HI20 against `assert_nest'
collect2: error: ld returned 1 exit status
make: *** [emb-riscv64] Error 1
07:22:37: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project emb (kit: riscv64-elf)
When executing step "Make"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment