Open
Description
In Windows' cmd.exe
prompt run the following commands (inspired by msys2/MINGW-packages#7890 (comment)):
touch empty.c
arc-elf32-gcc -c -o empty.o empty.c
arc-elf32-ar -rc libempty.a empty.o
And see the following window pop-up:
Saying:
...\lib\bfd-plugins\libdep.dll.a is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f.
Based on discussions in MinGW issue tracker here msys2/MINGW-packages#7890 that's by now a well-known problem, though nobody ever went that far to really figure out that's wrong with that BFD plugin, instead since it is an optional plugin people tend to just remove it from pre-built packages.
Some additional notes:
- The problem only happens in
cmd.exe
. In PowerShell or git shell all works normally - It only happens with Binutils starting from version 2.26
- Dismissing the error message allows to proceed with project building