Solved by dashesy in post #3 
              
              
                For the next person hitting this issue :–) 
the environment was a little odd, it was Ubuntu14, and even though 
$ gcc --version
gcc (Ubuntu 5.4.1-2ubuntu1~14.04) 5.4.1 2016090

I had 
$ x86_64-linux-gnu-gcc --version
x86_64-linux-gnu-gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4

It took some time to se…