Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

Convenience libraries, ipo, and unresolved references

Jack_S_1
Beginner
734 Views

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? 

0 Kudos
1 Solution
TimP
Honored Contributor III
734 Views
If you use e.g. ar to make those libraries you switch to xiar to support ipo

View solution in original post

0 Kudos
2 Replies
TimP
Honored Contributor III
735 Views
If you use e.g. ar to make those libraries you switch to xiar to support ipo
0 Kudos
Jack_S_1
Beginner
734 Views

Yep, that worked. Thanks. 

0 Kudos
Reply