bochs-2.2.6 failed to compile with the latest version of gcc. This commit
fixes the problem
cat $PINTOSDIR/src/misc/bochs-2.2.6-page-fault-segv.patch | patch -p1
cat $PINTOSDIR/src/misc/bochs-2.2.6-paranoia.patch | patch -p1
cat $PINTOSDIR/src/misc/bochs-2.2.6-gdbstub-ENN.patch | patch -p1
+cat $PINTOSDIR/src/misc/bochs-2.2.6-namespace.patch | patch -p1
if test "`uname -s`" = "SunOS"; then
cat $PINTOSDIR/src/misc/bochs-2.2.6-solaris-link.patch | patch -p1
fi
--- /dev/null
+--- bochs-2.2.6/bx_debug/symbols.cc 2011-08-19 11:04:11.760139836 -0600
++++ bochs-2.2.6-patched/bx_debug/symbols.cc 2011-08-19 11:04:04.980139837 -0600
+@@ -92,6 +92,7 @@
+ #endif
+
+ using namespace std;
++namespace std { using namespace __gnu_cxx; }
+
+ struct symbol_entry_t
+ {