Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - build error: (2 Items)
   
build error  
Hi,
 
I am trying to setup development environment for a atmel evk using QNX® Momentics on windows
I downloaded QNX development platform 6.6 and bsp-atmel-atsama5d3x-ek.zip from QNX.

Here is the error that I observe at the end of build.

C:\Users\MALEXA~1\AppData\Local\Temp\2qccYJU9L9\intr.s:102: Error: thumb conditional instruction should be in IT block -
- `wfene'
C:\Users\MALEXA~1\AppData\Local\Temp\2qccYJU9L9\intr.s:102: Error: thumb conditional instruction should be in IT block -
- `strexeq r0,r3,[r2]'
C:\Users\MALEXA~1\AppData\Local\Temp\2qccYJU9L9\intr.s:102: Error: thumb conditional instruction should be in IT block -
- `teqeq r0,#0'
make[4]: Leaving directory `C:/Users/malexander/ide-5.0-workspace/bsp-atmel-atsama5d3x-ek/src/hardware/devc/serdebug'
make[3]: Leaving directory `C:/Users/malexander/ide-5.0-workspace/bsp-atmel-atsama5d3x-ek/src/hardware/devc'
make[2]: Leaving directory `C:/Users/malexander/ide-5.0-workspace/bsp-atmel-atsama5d3x-ek/src/hardware'
cc: C:/qnx660/host/win32/x86/usr/bin/arm-unknown-nto-qnx6.6.0eabi-as caught signal 1
make[1]: Leaving directory `C:/Users/malexander/ide-5.0-workspace/bsp-atmel-atsama5d3x-ek/src'
make[6]: *** [intr.o] Error 1
make[5]: *** [install] Error 2
make[4]: *** [install] Error 2
make[3]: *** [install] Error 2
make[2]: *** [install] Error 2
make[1]: *** [install] Error 2
make: *** [install] Error 2

Any help on this topic is appreciated.

Thanks,
Manoj
Re: build error  
On 14-09-24 06:08 PM, manoj thayilthekkathil wrote:
> Hi,
>
> I am trying to setup development environment for a atmel evk using QNX® Momentics on windows
> I downloaded QNX development platform 6.6 and bsp-atmel-atsama5d3x-ek.zip from QNX.
>
> Here is the error that I observe at the end of build.
>
> C:\Users\MALEXA~1\AppData\Local\Temp\2qccYJU9L9\intr.s:102: Error: thumb conditional instruction should be in IT block
 -- `wfene'
> C:\Users\MALEXA~1\AppData\Local\Temp\2qccYJU9L9\intr.s:102: Error: thumb conditional instruction should be in IT block
 -- `strexeq r0,r3,[r2]'
> C:\Users\MALEXA~1\AppData\Local\Temp\2qccYJU9L9\intr.s:102: Error: thumb conditional instruction should be in IT block
 -- `teqeq r0,#0'
> make[4]: Leaving directory `C:/Users/malexander/ide-5.0-workspace/bsp-atmel-atsama5d3x-ek/src/hardware/devc/serdebug'
> make[3]: Leaving directory `C:/Users/malexander/ide-5.0-workspace/bsp-atmel-atsama5d3x-ek/src/hardware/devc'
> make[2]: Leaving directory `C:/Users/malexander/ide-5.0-workspace/bsp-atmel-atsama5d3x-ek/src/hardware'
> cc: C:/qnx660/host/win32/x86/usr/bin/arm-unknown-nto-qnx6.6.0eabi-as caught signal 1
> make[1]: Leaving directory `C:/Users/malexander/ide-5.0-workspace/bsp-atmel-atsama5d3x-ek/src'

The BSP is for QNX 6.5.0SP1. It needs to be updated for QNX 6.6. 
Specifically, the definition of __inline_InterruptLock in the 
arm/neutrino.h packaged with the BSP is missing a "iteet ne" instruction 
before the wfene instruction (this has been update in the official QNX 
6.6 arm/neutrino.h. While modifying the bsp header, or adding -marm when 
compiling would fix the build issue, I can't comment on whether there 
would be any runtime issues as I don't believe it has  been tested with 6.6.

Regards,

Ryan Mansfield