Replace Boost lockfree queue with a std::deque plus spinlock, just to see if it's that which is the cause of the GCC 4.6 failures.