Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

ipo: warning #11021: unresolved symbols referenced a dynamic library

$
0
0

Reference number: DPD200411050

Product versions:
    Intel® Parallel Studio XE 2015

OS affected:
    Linux*

Problem description:

During the final linkage stage of an application built with option "-ipo" there may be warning messages like:

ipo: warning #11021: unresolved hwloc_get_obj_by_depth
        Referenced in /usr/lib64/openmpi/lib/libmpi.so
ipo: warning #11021: unresolved hwloc_topology_get_depth
        Referenced in /usr/lib64/openmpi/lib/libmpi.so

All the unresolved symbols in the #11021 warning messages are from dynamic libraries which are not explicitly provided in the linkage command line by option "-l". They are indirectly referenced by the application through another dynamic library. The executable still can be generated and run.

 

Solution:

This issue is known, and we are working on fixing it. When the fix is available, this article will be updated with the information.

A workaround to eliminate those warning message is explicitly adding the dynamic library containing the unresolved symbols to the command line by option "-l".

 


Viewing all articles
Browse latest Browse all 3384

Trending Articles



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