Project:Toolchain/GCC-6 porting

Here are some hints how to fix packages that fail build with gcc-6. Please extend and improve!