<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Hey folks, </div><div><br></div><div>I am migrating our huge <b><u>Android</u></b> code base from GCC(Eclipse IDE) to clang(Android Studio). </div><div><br></div><div>Error: SIGILL (signal SIGILL: illegal instruction)<br></div><div><br></div><div>At a weird line in the code, I am getting this error. which points to a closing curly bracket of an if condition. After googling, I am assuming it is some kind of architecture flag issue. I am using same flags which were used for GCC. </div><div><br></div><div><b><u>Note:</u></b> I am currently working on Arm build. </div><div><br></div><div>Here are the architecture flags for ARM7:</div><div><br></div><div><div>-march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -mthumb -DTARGET_THUMB2</div></div><div><br></div><div>Can anyone help me debug this issue? Is there any issue with the flags with clang?</div><div><br></div><div>Thanks,</div><div>Rohit Kumar</div><div><br></div></div>
</div><br></div>