Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • F fedora-license-data
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 73
    • Issues 73
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fedorafedora
  • Fedora Legal
  • fedora-license-data
  • Issues
  • #271

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".

Assignee
Assign to
Time tracking