Jump to content
  • Advertisement
BirdGB

Error compiling

This topic is 406 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

   When I tried to compile the code::blocks using gcc 5 angelscript 2.32.2 in release target,  I am getting the following error -

  Error: CFI instruction used without previous .cfi_startproc

 Debug target compiles fine.  How to resolve it?

 

Edited by BirdGB

Share this post


Link to post
Share on other sites
Advertisement

The error is probably due to gnuc optimizing out some parts, but since it cannot optimize the inline assembler this could be causing the conflict.

Please show me the gnuc compiler arguments that you use when compiling for release mode. 

Also, are you compiling for 32bit or 64bit? 

 

 

Share this post


Link to post
Share on other sites

I did not changed anything from my side. I used the code::blocks file that you provided and tried to compile it directly. I could compile debug but not release. It is for 32bit.

Share this post


Link to post
Share on other sites

OK. Thanks for the confirmation.

I'll see if I can reproduce the problem. It's been a while since I used Code::Blocks. Perhaps I need to upgrade to the latest version.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!