Benjamin, apparently the framework isn't passing -std=gnu++0x (I suspect isn't passing -pthread either). Can you have a look?
--
Summary: performance/30_threads/future/polling.cc fails at
compile time
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: paolo dot carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42491
