public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/61152] New: Missing GCC Runtime Library Exception in some files that are included in libgcc
@ 2014-05-12 10:13 gjl at gcc dot gnu.org
  2014-05-27  8:42 ` [Bug libgcc/61152] " gjl at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gjl at gcc dot gnu.org @ 2014-05-12 10:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152

            Bug ID: 61152
           Summary: Missing GCC Runtime Library Exception in some files
                    that are included in libgcc
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gjl at gcc dot gnu.org

libgcc sources are not yet separated completey from the compiler, i.e. it
includes tm.h which in turn will include files from the compiler backend like
arm.h.

As such files go into libgcc, they should contain the GCC Runtime Library
Exception (RLE) in their license headers.

I know that these files actually don't add executable code to libgcc and that
the FSF is fine without RLE in these files, yet there are potential users of
GCC that are very concerned about linking their code against libgcc and about
the non-RLE files that are part of the libgcc sources: as soon as a single file
that goes into libgcc (e.g. by include) is GPL but does not contain the RLE,
they won't use GCC as a whole.

Thus, adding RLE to these files can greatly increase acceptance of GCC/libgcc.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcc/61152] Missing GCC Runtime Library Exception in some files that are included in libgcc
  2014-05-12 10:13 [Bug libgcc/61152] New: Missing GCC Runtime Library Exception in some files that are included in libgcc gjl at gcc dot gnu.org
@ 2014-05-27  8:42 ` gjl at gcc dot gnu.org
  2014-05-27  9:05 ` gjl at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gjl at gcc dot gnu.org @ 2014-05-27  8:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Tue May 27 08:41:24 2014
New Revision: 210959

URL: http://gcc.gnu.org/viewcvs?rev=210959&root=gcc&view=rev
Log:
    PR libgcc/61152
    * config/arm/arm-opts.h (License): Add GCC Runtime Library Exception.
    * config/arm/arm-cores.def (License): Same.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm-cores.def
    trunk/gcc/config/arm/arm-opts.h


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcc/61152] Missing GCC Runtime Library Exception in some files that are included in libgcc
  2014-05-12 10:13 [Bug libgcc/61152] New: Missing GCC Runtime Library Exception in some files that are included in libgcc gjl at gcc dot gnu.org
  2014-05-27  8:42 ` [Bug libgcc/61152] " gjl at gcc dot gnu.org
@ 2014-05-27  9:05 ` gjl at gcc dot gnu.org
  2014-05-27 11:38 ` gjl at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gjl at gcc dot gnu.org @ 2014-05-27  9:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152

--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Tue May 27 09:05:12 2014
New Revision: 210960

URL: http://gcc.gnu.org/viewcvs?rev=210960&root=gcc&view=rev
Log:
gcc/
    Backport from 2014-05-12 mainline r210322.
    Backport from 2014-05-27 mainline r210959.
    PR libgcc/61152
    * config/arm/arm.h (License): Add GCC Runtime Library Exception.
    * config/arm/arm-cores.def (License): Same.
    * config/arm/arm-opts.h (License): Same.
    * config/arm/aout.h (License): Same.
    * config/arm/bpabi.h (License): Same.
    * config/arm/elf.h (License): Same.
    * config/arm/linux-elf.h (License): Same.
    * config/arm/linux-gas.h (License): Same.
    * config/arm/netbsd-elf.h (License): Same.
    * config/arm/uclinux-eabi.h (License): Same.
    * config/arm/uclinux-elf.h (License): Same.
    * config/arm/vxworks.h (License): Same.
libgcc/
    Backport from 2014-05-27 mainline r210322.
    PR libgcc/61152
    * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.


Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/arm/aout.h
    branches/gcc-4_9-branch/gcc/config/arm/arm-cores.def
    branches/gcc-4_9-branch/gcc/config/arm/arm-opts.h
    branches/gcc-4_9-branch/gcc/config/arm/arm.h
    branches/gcc-4_9-branch/gcc/config/arm/bpabi.h
    branches/gcc-4_9-branch/gcc/config/arm/elf.h
    branches/gcc-4_9-branch/gcc/config/arm/linux-elf.h
    branches/gcc-4_9-branch/gcc/config/arm/linux-gas.h
    branches/gcc-4_9-branch/gcc/config/arm/netbsd-elf.h
    branches/gcc-4_9-branch/gcc/config/arm/uclinux-eabi.h
    branches/gcc-4_9-branch/gcc/config/arm/uclinux-elf.h
    branches/gcc-4_9-branch/gcc/config/arm/vxworks.h
    branches/gcc-4_9-branch/libgcc/ChangeLog
    branches/gcc-4_9-branch/libgcc/config/arm/bpabi-lib.h


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcc/61152] Missing GCC Runtime Library Exception in some files that are included in libgcc
  2014-05-12 10:13 [Bug libgcc/61152] New: Missing GCC Runtime Library Exception in some files that are included in libgcc gjl at gcc dot gnu.org
  2014-05-27  8:42 ` [Bug libgcc/61152] " gjl at gcc dot gnu.org
  2014-05-27  9:05 ` gjl at gcc dot gnu.org
@ 2014-05-27 11:38 ` gjl at gcc dot gnu.org
  2014-05-27 11:42 ` gjl at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gjl at gcc dot gnu.org @ 2014-05-27 11:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152

--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Tue May 27 11:37:49 2014
New Revision: 210969

URL: http://gcc.gnu.org/viewcvs?rev=210969&root=gcc&view=rev
Log:
    PR libgcc/61152
    * config/arm/arm.h (License): Add note to COPYING.RUNTIME.
    * config/arm/arm-cores.def (License): Same.
    * config/arm/arm-opts.h (License): Same.
    * config/arm/aout.h (License): Same.
    * config/arm/bpabi.h (License): Same.
    * config/arm/elf.h (License): Same.
    * config/arm/linux-elf.h (License): Same.
    * config/arm/linux-gas.h (License): Same.
    * config/arm/netbsd-elf.h (License): Same.
    * config/arm/uclinux-eabi.h (License): Same.
    * config/arm/uclinux-elf.h (License): Same.
    * config/arm/vxworks.h (License): Same.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/aout.h
    trunk/gcc/config/arm/arm-cores.def
    trunk/gcc/config/arm/arm-opts.h
    trunk/gcc/config/arm/arm.h
    trunk/gcc/config/arm/bpabi.h
    trunk/gcc/config/arm/elf.h
    trunk/gcc/config/arm/linux-elf.h
    trunk/gcc/config/arm/linux-gas.h
    trunk/gcc/config/arm/netbsd-elf.h
    trunk/gcc/config/arm/uclinux-eabi.h
    trunk/gcc/config/arm/uclinux-elf.h
    trunk/gcc/config/arm/vxworks.h


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcc/61152] Missing GCC Runtime Library Exception in some files that are included in libgcc
  2014-05-12 10:13 [Bug libgcc/61152] New: Missing GCC Runtime Library Exception in some files that are included in libgcc gjl at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-05-27 11:38 ` gjl at gcc dot gnu.org
@ 2014-05-27 11:42 ` gjl at gcc dot gnu.org
  2014-05-28  9:33 ` gjl at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gjl at gcc dot gnu.org @ 2014-05-27 11:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152

--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Tue May 27 11:42:10 2014
New Revision: 210971

URL: http://gcc.gnu.org/viewcvs?rev=210971&root=gcc&view=rev
Log:
    PR libgcc/61152
    * config/arm/arm.h (License): Add note to COPYING.RUNTIME.
    * config/arm/arm-cores.def (License): Same.
    * config/arm/arm-opts.h (License): Same.
    * config/arm/aout.h (License): Same.
    * config/arm/bpabi.h (License): Same.
    * config/arm/elf.h (License): Same.
    * config/arm/linux-elf.h (License): Same.
    * config/arm/linux-gas.h (License): Same.
    * config/arm/netbsd-elf.h (License): Same.
    * config/arm/uclinux-eabi.h (License): Same.
    * config/arm/uclinux-elf.h (License): Same.
    * config/arm/vxworks.h (License): Same.


Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/arm/aout.h
    branches/gcc-4_9-branch/gcc/config/arm/arm-cores.def
    branches/gcc-4_9-branch/gcc/config/arm/arm-opts.h
    branches/gcc-4_9-branch/gcc/config/arm/arm.h
    branches/gcc-4_9-branch/gcc/config/arm/bpabi.h
    branches/gcc-4_9-branch/gcc/config/arm/elf.h
    branches/gcc-4_9-branch/gcc/config/arm/linux-elf.h
    branches/gcc-4_9-branch/gcc/config/arm/linux-gas.h
    branches/gcc-4_9-branch/gcc/config/arm/netbsd-elf.h
    branches/gcc-4_9-branch/gcc/config/arm/uclinux-eabi.h
    branches/gcc-4_9-branch/gcc/config/arm/uclinux-elf.h
    branches/gcc-4_9-branch/gcc/config/arm/vxworks.h


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcc/61152] Missing GCC Runtime Library Exception in some files that are included in libgcc
  2014-05-12 10:13 [Bug libgcc/61152] New: Missing GCC Runtime Library Exception in some files that are included in libgcc gjl at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-05-27 11:42 ` gjl at gcc dot gnu.org
@ 2014-05-28  9:33 ` gjl at gcc dot gnu.org
  2014-05-28  9:35 ` gjl at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gjl at gcc dot gnu.org @ 2014-05-28  9:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152

--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Wed May 28 09:33:04 2014
New Revision: 211004

URL: http://gcc.gnu.org/viewcvs?rev=211004&root=gcc&view=rev
Log:
gcc/
    PR libgcc/61152
    * config/dbx.h (License): Add Runtime Library Exception.
    * config/newlib-stdint.h (License): Same.
    * config/rtems.h (License): Same
    * config/initfini-array.h (License): Same
    * config/v850/v850.h (License): Same.
    * config/v850/v850-opts.h (License): Same
    * config/v850/rtems.h (License): Same.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/dbx.h
    trunk/gcc/config/initfini-array.h
    trunk/gcc/config/newlib-stdint.h
    trunk/gcc/config/rtems.h
    trunk/gcc/config/v850/rtems.h
    trunk/gcc/config/v850/v850-opts.h
    trunk/gcc/config/v850/v850.h


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcc/61152] Missing GCC Runtime Library Exception in some files that are included in libgcc
  2014-05-12 10:13 [Bug libgcc/61152] New: Missing GCC Runtime Library Exception in some files that are included in libgcc gjl at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2014-05-28  9:33 ` gjl at gcc dot gnu.org
@ 2014-05-28  9:35 ` gjl at gcc dot gnu.org
  2022-11-20  2:17 ` law at gcc dot gnu.org
  2022-11-20  2:21 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: gjl at gcc dot gnu.org @ 2014-05-28  9:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152

--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Wed May 28 09:35:19 2014
New Revision: 211005

URL: http://gcc.gnu.org/viewcvs?rev=211005&root=gcc&view=rev
Log:
gcc/
    PR libgcc/61152
    * config/dbx.h (License): Add Runtime Library Exception.
    * config/newlib-stdint.h (License): Same.
    * config/rtems.h (License): Same
    * config/initfini-array.h (License): Same
    * config/v850/v850.h (License): Same.
    * config/v850/v850-opts.h (License): Same
    * config/v850/rtems.h (License): Same.


Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/dbx.h
    branches/gcc-4_9-branch/gcc/config/initfini-array.h
    branches/gcc-4_9-branch/gcc/config/newlib-stdint.h
    branches/gcc-4_9-branch/gcc/config/rtems.h
    branches/gcc-4_9-branch/gcc/config/v850/rtems.h
    branches/gcc-4_9-branch/gcc/config/v850/v850-opts.h
    branches/gcc-4_9-branch/gcc/config/v850/v850.h


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcc/61152] Missing GCC Runtime Library Exception in some files that are included in libgcc
  2014-05-12 10:13 [Bug libgcc/61152] New: Missing GCC Runtime Library Exception in some files that are included in libgcc gjl at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2014-05-28  9:35 ` gjl at gcc dot gnu.org
@ 2022-11-20  2:17 ` law at gcc dot gnu.org
  2022-11-20  2:21 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: law at gcc dot gnu.org @ 2022-11-20  2:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152

Jeffrey A. Law <law at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |law at gcc dot gnu.org

--- Comment #13 from Jeffrey A. Law <law at gcc dot gnu.org> ---
More importantly, we should _not_ be adding the runtime exception to files in
GCC proper.  That exception is for the runtime.  The fact that files in libgcc
are #including tm.h and thus backend files from gcc proper is not a good reason
to be changing those copyrights.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcc/61152] Missing GCC Runtime Library Exception in some files that are included in libgcc
  2014-05-12 10:13 [Bug libgcc/61152] New: Missing GCC Runtime Library Exception in some files that are included in libgcc gjl at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2022-11-20  2:17 ` law at gcc dot gnu.org
@ 2022-11-20  2:21 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-20  2:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152

--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jeffrey A. Law from comment #13)
> More importantly, we should _not_ be adding the runtime exception to files
> in GCC proper.  That exception is for the runtime.  The fact that files in
> libgcc are #including tm.h and thus backend files from gcc proper is not a
> good reason to be changing those copyrights.

I really should finish up the removal of the tm.h includes from libobjc too. I
had a patch set years ago but I dropped it, i cant remember if it was pre-svn
or post svb. Maybe it is still in git somewhere.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-20  2:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-12 10:13 [Bug libgcc/61152] New: Missing GCC Runtime Library Exception in some files that are included in libgcc gjl at gcc dot gnu.org
2014-05-27  8:42 ` [Bug libgcc/61152] " gjl at gcc dot gnu.org
2014-05-27  9:05 ` gjl at gcc dot gnu.org
2014-05-27 11:38 ` gjl at gcc dot gnu.org
2014-05-27 11:42 ` gjl at gcc dot gnu.org
2014-05-28  9:33 ` gjl at gcc dot gnu.org
2014-05-28  9:35 ` gjl at gcc dot gnu.org
2022-11-20  2:17 ` law at gcc dot gnu.org
2022-11-20  2:21 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).