Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

icpc generates invalid symbol

$
0
0

I am using icpc 11.1.073. I have seen this same behavior with other versions as well. In my cross compilation env, building for SLES11 SP1, icpc generates the following symbol:  _ZNSi5seekgElSt12_Ios_Seekdir 

I link w/ libstdc++ and all is well.

If I use the same compiler and build for RHEL 6.2.0, icpc generates the following symbol for the same source code:

_ZNSi5seekgExSt12_Ios_Seekdir. 

This symbol is not found in libstdc++.  Strangely, this definition is used in the 32bit version of libstdc++.

All compilation is done for 64-bit output.

Any ideas what might cause this discrepancy?

 

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>