This patch comments out the inclusion of the inorder TLBUnit which is
only used in the 9-stage pipeline. With the TLBUnit present, gcc >=
4.6 in combination with LTO ends up throwing away the definition of
the TLBUnit destructor, and consequently fail to link. See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 for more details
about the bug, and http://gcc.gnu.org/ml/gcc/2012-06/msg00397.html for
the discussion thread that also touches on similar issues seen with
clang.
#include "cpu/inorder/resources/graduation_unit.hh"
#include "cpu/inorder/resources/inst_buffer.hh"
#include "cpu/inorder/resources/mult_div_unit.hh"
-#include "cpu/inorder/resources/tlb_unit.hh"
+// The TLBUnit is only needed with the 9-stage pipe and is
+// triggering a gcc LTO bug
+//#include "cpu/inorder/resources/tlb_unit.hh"
#include "cpu/inorder/resources/use_def.hh"
#endif