cpu: Avoid including inorder TLBUnit to avoid gcc LTO bug
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 20 Mar 2013 10:41:23 +0000 (06:41 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 20 Mar 2013 10:41:23 +0000 (06:41 -0400)
commit2ca42cd62666f4d13eab259290b6cde5fe677862
tree0ccc459f1e62366b9d6029325b1539fc9189b5ea
parente28e6246fc106569909124ada78603ae1507a972
cpu: Avoid including inorder TLBUnit to avoid gcc LTO bug

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.
src/cpu/inorder/resources/resource_list.hh