The LICENSE variable in the gcc ebuilds is currently "GPL-2 LGPL-2.1". The compiler itself is definitely GPL-2, I haven't checked for LGPL-2.1 components, but notable two items are missing: Firstly, libgcc is distributed under the GPL with an exception: In addition to the permissions in the GNU General Public License, the Free Software Foundation gives you unlimited permission to link the compiled version of this file into combinations with other programs, and to distribute those combinations without any restriction coming from the use of this file. (The General Public License restrictions do apply in other respects; for example, they cover modification of the file, and distribution when not linked into a combine executable.) libstdc++ also has a slightly different exception: // As a special exception, you may use this file as part of a free software // library without restriction. Specifically, if other files instantiate // templates or use macros or inline functions from this file, or you compile // this file and link it with other files to produce an executable, this // file does not by itself cause the resulting executable to be covered by // the GNU General Public License. This exception does not however // invalidate any other reasons why the executable file might be covered by // the GNU General Public License.
*** Bug 195572 has been marked as a duplicate of this bug. ***
Added those licenses, and the gcc library runtime exception license for gcc-4.4. This should be all done now.
*** Bug 223335 has been marked as a duplicate of this bug. ***
*** Bug 264339 has been marked as a duplicate of this bug. ***