Compile error in Qurvo UWB demo of twr_demo_nRF52840 "TLS sections are not adjacent"

Hi,

When I builded the UWB demo project "twr_demo_nRF52840" in Qurvo, the build fail happened as following.

Please let us know the solution of this issue.

8> Linking twr_demo_nRF52840.elf
8> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 7.22/gcc/arm-none-eabi/bin/ld: C:/work/twr_demo/NRF_Juniper/twr_demo/Output/Debug/Exe/twr_demo_nRF52840.elf: TLS sections are not adjacent:
8> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 7.22/gcc/arm-none-eabi/bin/ld: TLS: .tdata
8> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 7.22/gcc/arm-none-eabi/bin/ld: non-TLS: .bss
8> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 7.22/gcc/arm-none-eabi/bin/ld: TLS: .tbss
8> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 7.22/gcc/arm-none-eabi/bin/ld: map sections to segments failed: bad value
8> Build failed
Build failed

Environment is following.

- SEGGER Embedded Studio for ARM V7.22

- 16.0.0  nRF5 SDK (nRF5SDK160098a08e2)

- nRF52840

- nRF52840_Murata_EVB_2AB

Best Regards,

Tsutsumi

Related