riscv-software-src / opensbi

RISC-V Open Source Supervisor Binary Interface
Other
1.04k stars 513 forks source link

undefined reference to `__stack_chk_guard' #220

Open ramprakashb opened 3 years ago

ramprakashb commented 3 years ago

I am trying to emulate a RISCV Virt board and I have followed the toolchain setup according to the bootlin slides available here:

https://bootlin.com/pub/conferences/2021/fosdem/opdenacker-embedded-linux-45minutes-riscv/opdenacker-embedded-linux-45minutes-riscv.pdf https://www.youtube.com/watch?v=cIkTh3Xp3dA

But when I try to build OpenSBI using command: make PLATFORM=generic FW_PAYLOAD_PATH=../u-boot-2021.01/u-boot.bin

I get the following error. Can someone help me in fixing it?

/home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_init.o): in function sbi_init': /home/ram/Documents/opensbi/lib/sbi/sbi_init.c:290: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_ipi.o): in function sbi_ipi_send_many': /home/ram/Documents/opensbi/lib/sbi/sbi_ipi.c:77: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_ipi.c:90: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_tlb.o): in functionsbi_tlb_entry_process': /home/ram/Documents/opensbi/lib/sbi/sbi_tlb.c:212: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_tlb.o): in functionsbi_tlb_process': /home/ram/Documents/opensbi/lib/sbi/sbi_tlb.c:241: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_tlb.c:244: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_tlb.o): in function sbi_tlb_process_count': /home/ram/Documents/opensbi/lib/sbi/sbi_tlb.c:222: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_trap.o): in function sbi_trap_handler': /home/ram/Documents/opensbi/lib/sbi/sbi_trap.c:213: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_trap.c:261: undefined reference to `stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(platform.o): in function fw_platform_init': /home/ram/Documents/opensbi/platform/generic/platform.c:73: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/platform/generic/platform.c:118: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(riscv_asm.o): in functionmisa_string': /home/ram/Documents/opensbi/lib/sbi/riscv_asm.c:53: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/riscv_asm.c:70: undefined reference to__stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_console.o): in function prints': /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:116: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_console.o): in function printi': /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:168: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_console.o): in function print': /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:178: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:325: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:288: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_console.o): in functionsbi_platform_console_getc': /home/ram/Documents/opensbi/include/sbi/sbi_platform.h:522: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_console.o): in functionsbi_sprintf': /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:342: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:342: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_console.o): in function sbi_snprintf': /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:354: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:354: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_console.o): in functionsbi_printf': /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:366: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:366: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_console.o): in function sbi_dprintf': /home/ram/Documents/opensbi/lib/sbi/sbi_console.c:380: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_ecall.o): in function sbi_ecall_handler': /home/ram/Documents/opensbi/lib/sbi/sbi_ecall.c:96: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_ecall.c:126: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_ecall_legacy.o): in functionsbi_load_hart_mask_unpriv': /home/ram/Documents/opensbi/lib/sbi/sbi_ecall_legacy.c:28: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_ecall_legacy.c:36: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_ecall_legacy.o): in function sbi_ecall_legacy_handler': /home/ram/Documents/opensbi/lib/sbi/sbi_ecall_legacy.c:46: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_ecall_legacy.c:85: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_ecall_replace.o): in functionsbi_ecall_rfence_handler': /home/ram/Documents/opensbi/lib/sbi/sbi_ecall_replace.c:47: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_ecall_replace.c:70: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_hart.o): in function sbi_hart_pmp_dump': /home/ram/Documents/opensbi/lib/sbi/sbi_hart.c:157: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_hart.c:182: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_hart.c:185: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_hart.o): in function sbi_hart_pmp_check_addr': /home/ram/Documents/opensbi/lib/sbi/sbi_hart.c:202: undefined reference to__stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_hart.o): in function sbi_hart_get_features_str': /home/ram/Documents/opensbi/lib/sbi/sbi_hart.c:339: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_hart.o): in function sbi_hart_init': /home/ram/Documents/opensbi/lib/sbi/sbi_hart.c:418: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_illegal_insn.o): in function truly_illegal_insn': /home/ram/Documents/opensbi/lib/sbi/sbi_illegal_insn.c:22: undefined reference to__stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_illegal_insn.c:32: undefined reference to `stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_illegal_insn.o): in function system_opcode_insn': /home/ram/Documents/opensbi/lib/sbi/sbi_illegal_insn.c:35: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_illegal_insn.c:56: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_illegal_insn.c:80: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_illegal_insn.o): in function sbi_illegal_insn_handler': /home/ram/Documents/opensbi/lib/sbi/sbi_illegal_insn.c:125: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_misaligned_ldst.o): in function sbi_misaligned_load_handler': /home/ram/Documents/opensbi/lib/sbi/sbi_misaligned_ldst.c:26: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_misaligned_ldst.c:95: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_misaligned_ldst.o): in functionsbi_misaligned_store_handler': /home/ram/Documents/opensbi/lib/sbi/sbi_misaligned_ldst.c:144: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/sbi/sbi_misaligned_ldst.c:201: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(sbi_system.o): in function sbi_system_reset': /home/ram/Documents/opensbi/lib/sbi/sbi_system.c:21: undefined reference to__stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_timer.o): in function fdt_timer_init': /home/ram/Documents/opensbi/lib/utils/timer/fdt_timer.c:102: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_timer.o): in function fdt_timer_cold_init': /home/ram/Documents/opensbi/lib/utils/timer/fdt_timer.c:91: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_serial.o): in function fdt_serial_init': /home/ram/Documents/opensbi/lib/utils/serial/fdt_serial.c:56: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/serial/fdt_serial.c:72: undefined reference to `stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_serial_shakti.o): in function serial_shakti_init': /home/ram/Documents/opensbi/lib/utils/serial/fdt_serial_shakti.c:14: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/serial/fdt_serial_shakti.c:23: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_serial_sifive.o): in functionserial_sifive_init': /home/ram/Documents/opensbi/lib/utils/serial/fdt_serial_sifive.c:16: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/serial/fdt_serial_sifive.c:25: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_serial_uart8250.o): in function serial_uart8250_init': /home/ram/Documents/opensbi/lib/utils/serial/fdt_serial_uart8250.c:16: undefined reference to__stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/serial/fdt_serial_uart8250.c:26: undefined reference to `stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_reset.o): in function fdt_reset_init': /home/ram/Documents/opensbi/lib/utils/reset/fdt_reset.c:32: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/reset/fdt_reset.c:54: undefined reference to `stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_reset_sifive.o): in function sifive_test_reset_init': /home/ram/Documents/opensbi/lib/utils/reset/fdt_reset_sifive.c:17: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/reset/fdt_reset_sifive.c:26: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt.o): in functionfdt_check_propoffset': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt.c:197: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt.o): in function fdt_next_node': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt.c:231: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt.c:208: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt.o): in functionfdt_first_subnode': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt.c:246: undefined reference to `stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt.c:251: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt.o): in functionfdt_next_subnode': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt.c:262: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in functionnextprop_': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:188: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:198: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_get_name': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:320: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_subnode_offset_namelen': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:228: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_first_property_offset': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:331: undefined reference to__stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt32_ld': /home/ram/Documents/opensbi/lib/utils/libfdt/libfdt.h:132: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_get_property_namelen': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:416: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_getprop_namelen': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:441: undefined reference to__stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt32_ld': /home/ram/Documents/opensbi/lib/utils/libfdt/libfdt.h:132: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/libfdt.h:134: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/libfdt.h:132: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_getprop': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:484: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_get_phandle': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:502: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_find_max_phandle': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:105: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_path_offset_namelen': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:279: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_get_path': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:571: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:571: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:547: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:549: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_supernode_atdepth_offset': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:575: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:575: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:586: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:604: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_node_depth': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:614: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_node_offset_by_prop_value': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:650: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_node_offset_by_phandle': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:675: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:680: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_getprop': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:484: undefined reference to__stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_stringlist_count': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:708: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_stringlist_search': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:735: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:738: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_stringlist_get': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:757: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:777: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ro.o): in function fdt_node_offset_by_compatible': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_ro.c:817: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_irqchip.o): in function fdt_irqchip_init': /home/ram/Documents/opensbi/lib/utils/irqchip/fdt_irqchip.c:64: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_irqchip.o): in function fdt_irqchip_cold_init': /home/ram/Documents/opensbi/lib/utils/irqchip/fdt_irqchip.c:53: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_irqchip_plic.o): in function irqchip_plic_cold_init': /home/ram/Documents/opensbi/lib/utils/irqchip/fdt_irqchip_plic.c:82: undefined reference to__stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/irqchip/fdt_irqchip_plic.c:100: undefined reference to `stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ipi.o): in function fdt_ipi_init': /home/ram/Documents/opensbi/lib/utils/ipi/fdt_ipi.c:91: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_ipi.o): in function fdt_ipi_cold_init': /home/ram/Documents/opensbi/lib/utils/ipi/fdt_ipi.c:80: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_helper.o): in function fdt_get_node_addr_size': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:76: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:112: undefined reference to `stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:112: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_helper.o): in functionfdt_parse_hart_id': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:140: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:140: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_helper.o): in function fdt_parse_max_hart_id': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:158: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:168: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_helper.o): in function fdt_parse_shakti_uart_node': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:195: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_helper.o): in function fdt32_to_cpu': /home/ram/Documents/opensbi/lib/utils/libfdt/libfdt_env.h:62: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_helper.o): in function fdt_parse_sifive_uart_node': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:229: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:230: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_helper.o): in function fdt_parse_uart8250_node': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:273: undefined reference to__stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_helper.o): in function fdt32_to_cpu': /home/ram/Documents/opensbi/lib/utils/libfdt/libfdt_env.h:62: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_helper.o): in function fdt_parse_plic_node': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:313: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:322: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_helper.o): in function fdt_parse_clint_node': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_helper.c:363: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_fixup.o): in function fdt_resv_memory_update_node': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_fixup.c:74: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/fdt/fdt_fixup.c:108: undefined reference to `stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/fdt/fdt_fixup.c:128: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_fixup.o): in functionfdt_cpu_fixup': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_fixup.c:41: undefined reference to `stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/fdt/fdt_fixup.c:35: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_fixup.o): in functionfdt32_to_cpu': /home/ram/Documents/opensbi/lib/utils/libfdt/libfdt_env.h:62: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_fixup.o): in functionfdt_plic_fixup': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_fixup.c:65: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_fixup.o): in functionfdt_reserved_memory_fixup': /home/ram/Documents/opensbi/lib/utils/fdt/fdt_fixup.c:202: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_addresses.o): in functionfdt_cells': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_addresses.c:15: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_addresses.c:25: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_addresses.o): in function fdt_appendprop_addrrange': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_addresses.c:59: undefined reference to__stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_addresses.o): in function fdt_size_cells': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_addresses.c:50: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_rw.o): in function fdt_del_mem_rsv': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:164: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_rw.o): in function fdt_set_name': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:241: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:228: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_rw.o): in function fdt_resize_property_': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:180: undefined reference to__stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_rw.o): in function cpu_to_fdt32': /home/ram/Documents/opensbi/lib/utils/libfdt/libfdt_env.h:66: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_rw.o): in function fdt_setprop_placeholder': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:254: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_rw.o): in function fdt_setprop': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:263: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_rw.o): in function fdt_appendprop': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:287: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:287: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:295: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:301: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_rw.o): in function fdt_add_subnode_namelen': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:333: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_rw.o): in function fdt_add_subnode': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:360: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_rw.o): in function fdt_open_into': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_rw.c:461: undefined reference to__stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_wip.o): in function fdt_setprop_inplace_namelen_partial': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_wip.c:17: undefined reference tostack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_wip.c:24: undefined reference to __stack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_wip.o): in functionfdt_setprop_inplace': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_wip.c:35: undefined reference to __stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_wip.c:49: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_wip.c:44: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_wip.o): in function fdt_nop_property': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_wip.c:71: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_wip.c:66: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_wip.o): in function fdt_node_end_offset_': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_wip.c:77: undefined reference tostack_chk_fail' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_wip.c:81: undefined reference to `stack_chk_guard' /home/ram/Documents/toolchain/riscv64-buildroot-linux-musl_sdk-buildroot/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /home/ram/Documents/opensbi/build/platform/generic/lib/libplatsbi.a(fdt_wip.o): in function fdt_nop_node': /home/ram/Documents/opensbi/lib/utils/libfdt/fdt_wip.c:93: undefined reference to__stack_chk_fail' collect2: error: ld returned 1 exit status Makefile:317: recipe for target '/home/ram/Documents/opensbi/build/platform/generic/firmware/fw_dynamic.elf' failed make: *** [/home/ram/Documents/opensbi/build/platform/generic/firmware/fw_dynamic.elf] Error 1

Cuicunhao commented 2 years ago

Hello, I met the same problem as you. Have you solved it?

riggy2013 commented 2 years ago

add CFLAGS += -fno-stack-protector in Makefile can solve the issue.