After installing the SDK, I've tried building any example/hello world with it and it doesn't work. The compiler seems to output an error that I found associated online with an older build of LLVM.
https://llvm.org/bugs/show_bug.cgi?id=13755
Are others having this same issue or is there another build that is updated with this fixed?
llvm compiler seems broken
Posted: Tue, 2015-09-22 08:43
What version of the SDK and what version of the Hexagon Tools are you using?
When installing the SDK the tool installer will run and ask you a few questions, did you choose offline or online install and for either did the tool installer report any errors? If so you can find the logs here: C:\Qualcomm\HEXAGON_Tools\6.4.03\Uninstall_Hexagon_Tools\Logs
I chose offline install and I didn't notice any errors during install. Hexagon tools are version 6.4.03 and SDK is version 2.0.
Have you tried building the ./examples/common/calculator example?
cd examples/common/calculator
make tree V=hexagon_Debug_dynamic
This does not build. Any attempt to compile code with llvm crashes due to that bug.
Using a newer 7.2.x tools does not have this problem now.
That's strange, we test all the examples in the SDK so for us the examples build successfully with 6.4. Something else must be happening here. Any else you may have changed from the default SDK install?
I'm not sure what was happening, but I'm fairly certain I followed the instructions on setup. It's also interesting because the new builds I got included also 6.4.06 along with 7.2 and those examples also compile now with that incremental 6.4.x update. Now that I have a working compiler, I'm going to just move forward.