Use RHEL developer toolset to allow using recent compilers and linking with older libstdc++ #4
Description
Prior to releasing node v0.12.0, some changes were made to node's C++ layer and to libuv's build configuration so that it would not use features from relatively recent versions of the C++ runtime.
The goal was to allow node to run on older systems with older libstdc++ libraries. This required to float one patch on libuv, which makes the process of upgrading libuv less straightforward. There's another solution to that problem: using RHEL developer toolset. This is the solution that has been used in io.js for a while.
This toolset provides the more recent C++ runtime's features as a static library that is linked into binaries built using this toolset. As a result, one can run binaries generated by recent compilers on older systems.
The setup of the CentOS Jenkins agent (notably the environment variables that set the compiler to use) will need to be updated too.