Tasp

Stripped kernel leads to std::out_of_range exception

Discussion created by Tasp on Aug 27, 2010
Latest reply on Aug 31, 2010 by quadboon

Hello,

I've got an ATI RV770 and following these instructions:

http://developer.amd.com/support/KnowledgeBase/Lists/KnowledgeBase/DispForm.aspx?ID=115

leads to

terminate called after throwing an instance of 'std:: out_of_range'
  what():  basic_string::substr
Aborted

Unstripped kernel works, machine code is: 0x3ee (GPU), 0x7d2 (CPU)

Stripped kernel for CPU works too.

*edit*

If I remove the '-R .amdil' it works so I guess this section is actually importat?!!

 

The other sections (.source, .llvmir, .amdil) are not used during normal application execution and it is recommended that you remove them before distributing your application.


Outcomes