I'm trying to use golioth and after some warning that I fixed, I have this error that I don't know where to start to fix. I'm usign the lastest golioth sdk which use ncs 2.2.0.
I need help 'cause I'm in hurry.
I'm trying to use golioth and after some warning that I fixed, I have this error that I don't know where to start to fix. I'm usign the lastest golioth sdk which use ncs 2.2.0.
I need help 'cause I'm in hurry.
Hi,
I tried this, and was unsuccessful in recreating the errors, until I tried a similar toolchain as you have.
With "arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi" I get these errors as well:
/opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v8-m.main/nofp/libc_nano.a(libc_a-closer.o): in function `_close_r': closer.c:(.text._close_r+0xc): warning: _close is not implemented and will always fail /opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v8-m.main/nofp/libc_nano.a(libc_a-lseekr.o): in function `_lseek_r': lseekr.c:(.text._lseek_r+0x10): warning: _lseek is not implemented and will always fail /opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v8-m.main/nofp/libc_nano.a(libc_a-readr.o): in function `_read_r': readr.c:(.text._read_r+0x10): warning: _read is not implemented and will always fail /opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v8-m.main/nofp/libc_nano.a(libc_a-writer.o): in function `_write_r': writer.c:(.text._write_r+0x10): warning: _write is not implemented and will always fail /opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: warning: bin/tfm_s.axf has a LOAD segment with RWX permissions /opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: warning: bin/tfm_s.axf has a LOAD segment with RWX permissions collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
This issue does not appear with zephyr-sdk, or older arm-none-eabi (v10)
Could you try to use the zephyr-sdk?
https://github.com/zephyrproject-rtos/sdk-ng/releases
This is also the toolchain bundled with the NCS toolchain manager.
Kind regards,
Håkon