[SOLVED]Firmware build with GCC fails on "#include <functional>"

Off course, just after posting I found this post: How to install the spark toolchain in Ubuntu 14.04 :expressionless:

After replacing the gcc-arm-none-eabi from the repos as indicated, it builds.