Hello,
I am getting this error when I try to build Hexagon module for calculator. This is using Hexagon SDK 3.0 and Hexagon tools 7.2.12.
C:\Qualcomm\Hexagon_SDK\3.0\examples\common\calculator>make tree V=hexagon_Debug_dynamic
making ../../../libs/common/atomic
make[1]: *** [hexagon_Debug_dynamic/atomic.a] Error -1073741701
ERROR making ../../../libs/common/atomic
make[1]: Entering directory `C:/Qualcomm/Hexagon_SDK/3.0/libs/common/atomic'
"C:/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin/hexagon-ar" -rsc -D hexagon_Debug_dynamic/atomic.a hexagon_Debug_dynamic/atomic.o hexagon_Debug_dynamic/cae.o
make[1]: Leaving directory `C:/Qualcomm/Hexagon_SDK/3.0/libs/common/atomic'
make: *** [MAKE_D_2_LIBDIR_MAKE_D_2_LIBDIR] Error 1
I also get this windows error dialog http://postimg.org/image/dkob6hcu3/.
Thanks
Are you running on windows 8 or 10
Hexagon Tools 7.2.12 are not officially supported on windows 8 and 10
Thanks for the reply. I am running it on windows 10. It worked with Hexagon 2.0 and Hexagon Tools 6.4.03. So, should I work on Windows 7 then?
the problem is with 7.x hexagon-ar.exe on windows 8 and 10. SDK 3.0 uses 7.x tools, So you should use windows 7 to avoid this hexagon-ar.exe crash
...and several years later this problem continues.
Running build script for openssc_5.0 as suggested in the user guide fails with 4 pop-up messages "hexagon-ar. has stopped working". Attaching a debugger reveals an access violation (msvcr120.dll).
Error in Logfile shows that this happens during archieving:
=== Archiving C:\Qualcomm\Snapdragon_SCEP.GEN5.0_OpenSSC_5\slpi_proc\core\systemdrivers\timetick\build\ssc_slpi_user\qdsp6\AAAAAAAA\uTimetick.lib
scons: *** [C:\Qualcomm\Snapdragon_SCEP.GEN5.0_OpenSSC_5\slpi_proc\core\systemdrivers\clock\build\ssc_slpi_user\qdsp6\AAAAAAAA\hw\msm8996\build\ssc_slpi_user\qdsp6\AAAAAAAA\ClockIsland.lib] Error -1073741819
...
Running hexagon-ar.exe in compatibility mode for Win 7 or Vista does not help. Anyone with a solution? I hardly can switch my company development PCs back to Win7.
Not really the greatest tools I have ever seen :-s
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
As mention you can use a different ar.
However, if you use the one from MinGW I do not think it can handle the object files if you emit bitcode.
As I have a need for ar supporting LLVM bitcode I downloaded and compiled LLVM myself (Hexagon support is in mainline) and copied the ar binary from that build (so still using the "offical build" for the rest of the toolchain.