License Review: GPL-2.0-or-later WITH GCC-exception-2.0
License Review Request
License name
GPL-2.0-or-later WITH GCC-exception-2.0
Text of license
Used in various source files, for example:
https://gcc.gnu.org/git/?p=gcc.git;a=blob_plain;f=libiberty/cp-demangle.c;hb=HEAD
Specifically, this text:
This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
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 combined executable.)
Package name and link to source
Used by the following packages: gcc, binutils, gdb, annobin
Examples: https://gcc.gnu.org/git/?p=gcc.git;a=blob_plain;f=libiberty/cp-demangle.c;hb=HEAD https://sourceware.org/git/?p=binutils-gdb.git;a=blob_plain;f=libiberty/cp-demangle.h;hb=HEAD https://sourceware.org/cgit/annobin/plain/annocheck/libiberty/d-demangle.c
Is this license on the SPDX License List?
Yes: https://spdx.org/licenses/GPL-2.0-or-later.html https://spdx.org/licenses/GCC-exception-2.0.html
Reason for license review
Some of the files in the libiberty library used by projects such as annobin use the referenced license:
https://bugzilla.redhat.com/show_bug.cgi?id=2226961
Note: the fedora-license-data database already allows: "GPL-2.0-only WITH GCC-exception-2.0" but not, currently, the extended version: "GPL-2.0-or-later WITH GCC-exception-2.0".