There are multiple gcc releases upon which gm2 can be grafted. The gcc-8.2.0 is the most recent release which gm2 is known to build upon. See next but one section for building details.