This is the only link error, no other error message appears.
I also downloaded and checked the source code for binutils-2.25.1, but I can’t see any assertion at line 8316 in elf32-xtensa.c
What is the meaning of this link error?
How to fix this error?
Please kindly give me advice.
Thanks
Code: Select all
LD my-esp32.elf
/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: BFD (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 2.25.1 assertion fail /Users/ivan/e/ESPTools/crosstool-NG/.build/src/binutils-2.25.1/bfd/elf32-xtensa.c:8316
/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: BFD (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 2.25.1 assertion fail /Users/ivan/e/ESPTools/crosstool-NG/.build/src/binutils-2.25.1/bfd/elf32-xtensa.c:8316
/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: BFD (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 2.25.1 assertion fail /Users/ivan/e/ESPTools/crosstool-NG/.build/src/binutils-2.25.1/bfd/elf32-xtensa.c:8316
/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: BFD (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 2.25.1 assertion fail /Users/ivan/e/ESPTools/crosstool-NG/.build/src/binutils-2.25.1/bfd/elf32-xtensa.c:8316
/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: BFD (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 2.25.1 assertion fail /Users/ivan/e/ESPTools/crosstool-NG/.build/src/binutils-2.25.1/bfd/elf32-xtensa.c:8316
/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: BFD (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 2.25.1 assertion fail /Users/ivan/e/ESPTools/crosstool-NG/.build/src/binutils-2.25.1/bfd/elf32-xtensa.c:8316
/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: BFD (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 2.25.1 assertion fail /Users/ivan/e/ESPTools/crosstool-NG/.build/src/binutils-2.25.1/bfd/elf32-xtensa.c:8316
/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: BFD (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 2.25.1 assertion fail /Users/ivan/e/ESPTools/crosstool-NG/.build/src/binutils-2.25.1/bfd/elf32-xtensa.c:8316
.
.
.
.
/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: BFD (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 2.25.1 assertion fail /Users/ivan/e/ESPTools/crosstool-NG/.build/src/binutils-2.25.1/bfd/elf32-xtensa.c:8316
collect2: error: ld returned 1 exit status