Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2746

Convenience libraries, ipo, and unresolved references

$
0
0

I am attempting to recompile code that was written using GNU tools, including autotools. In the makefiles, I make a lot of use of so-called convenience libraries, or local static libraries that are only used as compilation stages, and which are not installed. This is a fairly common practice with autotools, but doing so leads to unresolved references at link time when -ipo is specified on the command line. If I don't use -ipo, everything is fine. The problem only occurs with -ipo. 

Is there an easy workaround that does not involve removing the convenience libraries? 


Viewing all articles
Browse latest Browse all 2746

Trending Articles



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