Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Regular Contributor
prathipa84
Posts: 55
Registered: ‎03-14-2012
My Device: RDJ21WW
My Carrier: none

{standard input}: Assembler messages - Error :bad instruction

Hi,

While executing the make command in the comand prompt to execute the Qt app in QNX for windows got the error message as :

 

../../../Qt/4.8.0/include/QtCore/../../src/corelib/tools/qstring.h:84: note: the
mangling of 'va_list' has changed in GCC 4.4
{standard input}: Assembler messages:
{standard input}:45: Error: bad instruction `lock'
{standard input}:46: Error: bad instruction `incl [r3,#0]'
{standard input}:47: Error: bad instruction `setne [fp,#-5]'
{standard input}:88: Error: bad instruction `lock'
{standard input}:89: Error: bad instruction `decl [r3,#0]'
{standard input}:90: Error: bad instruction `setne [fp,#-5]'
make: *** [armle-v7/QNXGUI.o] Error 1

 

Any one know solution for this problem?

Thanks.

Please use plain text.
Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: {standard input}: Assembler messages - Error :bad instruction

"in QNX for windows" - this phrase puzzled me. Anyway I don't think ARM family has these instructions that'w why you get errors.

Please use plain text.
Developer
borceg
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: {standard input}: Assembler messages - Error :bad instruction

[ Edited ]

either you're using wrong compiler/toolchain or it's bug in bb Qt port

Please use plain text.
Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: {standard input}: Assembler messages - Error :bad instruction

What is "bb qnx port" ? -)

Please use plain text.
Developer
borceg
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: {standard input}: Assembler messages - Error :bad instruction

oh my god, I mean Qt

Please use plain text.