Issue is the title, alot of multiple definition errors and some other misc ones. The changes allow phunix to be built with modern compilers.
This also means importing librmt. Change-Id: Ie5b314aeaad28dca46acb64f20f2d70746ea52d0