The Windows hexagon-ar.exe from the 7.2.08 HEXAGON_Tools keeps crashing. Using the hexagon-ar.exe from an older version of the Hexagon_tools (say 5.0.14) works fine for older Hexagon architectures. However, it results in the following when trying to compile with V_ARCH=v60:
Unsupported machine architecure 0
BFD: BFD (Sourcery QuIC Lite 5.0-447) 2.20 20091016 internal error, aborting at /scratch/jwlemke/b4/quic-5_0-elf-1/obj/b
inutils-src-5.0-447-hexagon-i686-mingw32/bfd/elf32-hexagon.c line 885 in hexagon_elf_object_p
BFD: Please report this bug.
5.0.14 hexagon-ar does not recognize v60 , can you make sure that you are using 7.2.08 hexagon-ar for v60, provide the crash details with 7.2.08 hexagon-ar
The only reason I tried the hexagon-ar.exe from 5.0.14 tools was to see if that one didn't crash.
I just switched to the 7.2.12 tools and the hexagon-ar.exe is still crashing.
Are you running it on windows 8 ? Hexagon tools are not officially supported on windows 8/10
I'm using Windows 8.1.
I'd be a little surprised if hexagon-ar.exe needs anything that wouldn't work on Windows 8.1. The older hexagon-ar.exe works on Windows 8.1. It just doesn't support the new Hexagon versions.
Has anyone found a solution to this? Please?! I am facing this issue running V.7.2.12 and I am living in the year 2018. No chance in switching back to Win7.
Pretty annoying. Lost half of the day due to this issue.
In case someone is still facing issues with hexagon-ar.exe in recent Windows Versions, here is how to fix it:
1. Download the MinGW
2. Rename the hexagon-ar.exe to _hexagon-ar.exe in the hexagon tools/bin folder (or delete it)
3. Copy the C:\MinGW\bin\ar.exe utility to the hexagon Tools\bin\ and rename it to hexagon-ar.exe