Building infinite loop

Hi, 

I am currently finishing the intermediate SDK course of yours and suddenly I got a really strange behavior.

The build just endlessly enters a loop in Found GnuLd as the screenshot shows. I have already tried restarting my computer and SDK and also tried touching VScode with a different SDK version. None worked. 

Any idea? 

João.

SDK version: 2.6.0

Build target: nRF5340 Audio DK

OS: MacOS Sonoma 14.1.2

Parents Reply Children
  • Yes the same issue occurs.  GnuLd stalls and spins forever.  

    I also tried the steps @Antonio provided below, where I removed all extensions and SDK/toolchain, then reinstall all from within VSCode.  However that did not resolve the issue.  GnuLd still continues to stall and spin forever.

  • Ok I finally got this worked out.  I think there's a few steps missing from the solutions others provided above.  I believe what was happening is when the GnuLD gets into a state where it's stalls and remains spinning, canceling the build does not terminate its stall.  So trying to remove and reinstall the toolchain and SDK does not do any good while it remains running in the background.

    Here was the steps:

    1. Restart the machine.

    2. Remove nRF Toolchain Manager

    3. Remove nRF Connect for Desktop

    4. Restart the machine

    5. From VSCode remove the SDK, then remove the toolchain.

    6. Remove the nRF VSCode extensions.

    7. Restart again.

    8. Install nRF VSCode extensions.

    9. From VSCode, reinstall the ncs 2.6.0 toolchain.

    10. From VSCode reinstall the ncs 2.6.0 SDK.

    Only after this was I able to build with ncs 2.6.0.  Not sure what the root cause was, but it appears there's some issue with the nRF Connect for Desktop application and the nRF Toolchain Manager application and its initial installation of the ncs 2.6.0 SDK. 

    Please fix this issue with ncs 2.6.0.  This caused a week of disrupted development time.

Related