esp32-c6 Error in idf compil

watchdog40
Posts: 22
Joined: Fri Jun 26, 2026 2:20 pm

esp32-c6 Error in idf compil

Postby watchdog40 » Mon Aug 10, 2026 2:07 pm

Hello.
I'm getting this error on a new project.
I don't know the reason, and I have no idea how to fix this problem.
Can anyone help me?

Executing "ninja all"...
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\Principal\e...6/projets/debut/debutint3/build/bootloader/bootloader.bin"
Bootloader binary size 0x5820 bytes. 0x27e0 bytes (31%) free.
[7/9] Linking CXX executable debut1.elf
FAILED: debut1.elf
C:\Windows\system32\cmd.exe /C "cd . && C:\Espressif\tools\riscv32-esp-elf\esp-15.2.0_20251204\riscv32-esp-elf\bin\riscv32-esp-elf-g++.exe @"C:/Principal/esp32c6/projets/debut/debutint3/build/toolchain/cxxflags" @"C:/Principal/esp32c6/projets/debut/debutint3/build/toolchain/ldflags" -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32C6=0 -Wl,--Map=C:/Principal/esp32c6/projets/debut/debutint3/build/debut1.map -Wl,--no-warn-rwx-segments -Wl,--orphan-handling=error -fno-lto -Wl,--gc-sections -Wl,--warn-common -T rom.api.ld -T esp32c6.peripherals.ld -T esp32c6.rom.ld -T esp32c6.rom.api.ld -T esp32c6.rom.rvfp.ld -T esp32c6.rom.systimer.ld -T esp32c6.rom.version.ld -T esp32c6.rom.phy.ld -T esp32c6.rom.coexist.ld -T esp32c6.rom.net80211.ld -T esp32c6.rom.pp.ld -T esp32c6.rom.libc.ld -T esp32c6.rom.heap.ld -T memory.ld -T sections.ld -T rom.wdt.ld @CMakeFiles\debut1.elf.rsp -o debut1.elf && cd ."
C:/Espressif/tools/riscv32-esp-elf/esp-15.2.0_20251204/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/15.2.0/../../../../riscv32-esp-elf/bin/ld.exe: section .flash.text VMA [42000100,4201094f] overlaps section .flash_rodata_dummy VMA [42000020,4201801f]
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the C:\Principal\esp32c6\projets\debut\debutint3\build\log\idf_py_stderr_output_8808 and C:\Principal\esp32c6\projets\debut\debutint3\build\log\idf_py_stdout_output_8808

Who is online

Users browsing this forum: ChatGPT-User, Google [Bot], PerplexityBot, Qwantbot and 1 guest