g++ compiler not working after Sierra update
The issue comes from the fact that you're combining the GNU C++ compiler with the Clang assembler.

The Clang assembler expects you to use the new section names, and will warn you that you're using deprecated names.

However, please note that these are only warnings. You're free to ignore them and your program will work as before.

Your options are basically:


Ignore the warnings
Patch g++ with the patch found in this bugreport 
Use a different assembler


Or you could just use the system supplied c++ compiler instead of compiling your own.