- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I try to replace gcc with icc for a commertial product. Having tool compiled without ipo I get ~ same performance.
The onlOnce I set ipo tool starts crashing. I can't figure out code -> sigsegv relationship. It looks like this pointer within a method call is broken.
Valrgind reports several UMR and then ABW causes sigsegv.
Once I switch off ipo valgrind shows nothing.
Are there any guidelines to debug such case?
Thanks,
Alex
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IPO definitely aggravates the effects of storing data outside defined regions. As you say, it doesn't necessarily improve performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tim18
IPO definitely aggravates the effects of storing data outside defined regions. As you say, it doesn't necessarily improve performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have a buffer overflow, it will have worse consequences with IPO set. RTFM is don't set IPO until your code is clean.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page