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 on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Convenience libraries, ipo, and unresolved references

Jack_S_1
Beginner
621 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
621 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
622 Views
If you use e.g. ar to make those libraries you switch to xiar to support ipo
0 Kudos
Jack_S_1
Beginner
621 Views

Yep, that worked. Thanks. 

0 Kudos
Reply