concerning GCC GPLv2 vs. GPLv3

Alexander Best arundel at freebsd.org
Thu Aug 26 13:27:51 UTC 2010


hi there,

the FreeBSD base GCC version is dated 20070719 which is the release date of
GCC 4.2.1.
after this release the 4.2 branch got GPLv3'ed which is the reason anything
after 20070719 in the 4.2 branch cannot be imported into the FreeBSD. Also all
the other branches > 4.2 are GPLv3'ed too.

however i noticed a lot of commits to the 4.2 and later branches have been
backported into the 4.1 branch which is still licensed under GPLv2.

the last snapshot of the 4.1 branch is dated 29/06/2008 [1], so it's possible to
import all those backported changes into the FreeBSD source tree without any
legal issues. i'm not sure how many problems that would fix though.

one of them is PR 118188.

i've attached an excerpt of the 4.1 branches Changelog file which documents the
commits to that branch which aren't in the FreeBSD source tree yet.

cheers.
alex

[1] ftp://ftp.fu-berlin.de/unix/languages/gcc/snapshots/4.1-20080630/

-- 
a13x
-------------- next part --------------
2008-05-29  Eric Botcazou  <ebotcazou at adacore.com>

	* gcc.dg/nested-func-6.c: New test.

2008-04-08  Richard Guenther  <rguenther at suse.de>

	* gcc.c-torture/execute/20080408-1.c: New testcase.

2008-03-25  Richard Guenther  <rguenther at suse.de>

	Backport from mainline:
	2008-02-12  Richard Guenther  <rguenther at suse.de>

	PR middle-end/35163
	* gcc.c-torture/execute/pr35163.c: New testcase.

2008-02-13  Kaveh R. Ghazi  <ghazi at caip.rutgers.edu>

	Backport:
	2005-11-30  Richard Guenther  <rguenther at suse.de>

	PR tree-optimization/21655
	* g++.dg/tree-ssa/pr14814.C: Remove XFAIL.

2008-02-12  Kaveh R. Ghazi  <ghazi at caip.rutgers.edu>

	* obj-c++.dg/bitfield-1.mm: Expect failures.
	* obj-c++.dg/bitfield-4.mm: Likewise.
	* obj-c++.dg/cxx-ivars-2.mm: Likewise.
	* obj-c++.dg/encode-8.mm: Likewise.
	* obj-c++.dg/isa-field-1.mm: Likewise.
	* obj-c++.dg/layout-1.mm: Likewise.
	* obj-c++.dg/lookup-2.mm: Likewise.
	* obj-c++.dg/try-catch-2.mm: Likewise.
	* obj-c++.dg/try-catch-9.mm: Likewise.

2008-02-12  Kaveh R. Ghazi  <ghazi at caip.rutgers.edu>

	PR objc++/34193
	* obj-c++.dg/gnu-runtime-2.mm: Fix signature of function main().

2008-02-10  Kaveh R. Ghazi  <ghazi at caip.rutgers.edu>

	PR objc++/27232

	Backport:
	2006-09-22  Mike Stump  <mrs at apple.com>

	* obj-c++.dg/encode-3.mm: Fix for 64-bit support.

2008-02-04  Richard Guenther  <rguenther at suse.de>

	PR middle-end/33631
	* gcc.c-torture/execute/pr33631.c: New testcase.

2008-01-31  Andreas Krebbel  <krebbel1 at de.ibm.com>

	* gcc.dg/tf_to_di-1.c: New testcase.

2008-01-24  Kaveh R. Ghazi  <ghazi at caip.rutgers.edu>

	Backport:
	2008-01-10  Kaveh R. Ghazi  <ghazi at caip.rutgers.edu>

	* gcc.dg/pr33826.c: Require nonpic.

	2007-11-08  Kenneth Zadeck <zadeck at naturalbridge.com>

	PR middle-end/33826
	* gcc.dg/pr33826.c: New.
	* gcc.dg/tree-ssa/20030714-1.c: Removed two tests that depend on
	recursive functions being marked pure or const.

2008-01-22  Kaveh R. Ghazi  <ghazi at caip.rutgers.edu>

	* gcc.dg/vect/vect-ifcvt-9.c: Use inline.

2008-01-19  John David Anglin  <dave.anglin at nrc-cnrc.gc.ca>

	* g++.dg/eh/ia64-2.C: Add "dg-require-weak" statement.  Place
	"dg-do run" statement before "dg-require-weak" statement.
	* g++.dg/eh/weak1.C: Likewise.

2008-01-19  Kaveh R. Ghazi  <ghazi at caip.rutgers.edu>

	Backport:
	2007-03-21  Richard Sandiford  <richard at codesourcery.com>

	* gcc.target/i386/pr21291.c: Require nonpic or ! ilp32.

2008-01-17  Eric Botcazou  <ebotcazou at adacore.com>

	* gcc.c-torture/compile/20080114-1.c: Use empty asm statements.

2008-01-14  Eric Botcazou  <ebotcazou at adacore.com>

	* gcc.c-torture/compile/20080114-1.c: New test.

2008-01-09  Kaveh R. Ghazi  <ghazi at caip.rutgers.edu>

	* gcc.c-torture/execute/builtins/chk.h: Don't check !__PIE__.
	Also check __pic__.
	* lib/target-supports.exp (check_effective_target_nonpic): Likewise.
	* gcc.dg/assign-warn-3.c: Use "static inline" instead of "inline".

	Backport:

	2007-03-21  Richard Sandiford  <richard at codesourcery.com>
	* gcc.c-torture/execute/builtins/chk.h (LOCAL): Define.
	* gcc.c-torture/execute/builtins/sprintf-chk.c (s1): Make LOCAL.
	* gcc.c-torture/execute/builtins/stpcpy-chk.c (s1): Likewise.
	* gcc.c-torture/execute/builtins/strcpy-chk.c (s1): Likewise.

	2007-07-26  Nathan Froyd  <froydnj at codesourcery.com>
	PR/19232
	* gcc.dg/assign-warn-3.c (f0): Declare as inline.
	(f1): Likewise.

	2007-01-15  Dale Johannesen  <dalej at apple.com>
	* gcc.dg/tree-ssa/loop-3.c:  Disable with -fpic or -fPIC.

	2007-03-21  Richard Sandiford  <richard at codesourcery.com>
	* lib/target-supports.exp (check_effective_target_nonpic): New
	procedure.

2007-12-20  Jakub Jelinek  <jakub at redhat.com>

	PR bootstrap/34003
	* gcc.dg/pr34003-1.c: New test.
	* gcc.dg/pr34003-2.c: New.

2007-12-19  Richard Sandiford  <rsandifo at nildram.co.uk>

	PR rtl-optimization/34456
	* gcc.c-torture/execute/pr34456.c: New test.

2007-11-29  Matthias Klose  <doko at ubuntu.com>

	Backport from mainline:
	2007-11-17  Richard Guenther  <rguenther at suse.de>

	PR middle-end/34130
	* gcc.c-torture/execute/pr34130.c: New testcase.

2007-11-16  Richard Guenther  <rguenther at suse.de>

	PR middle-end/34030
	* gcc.c-torture/compile/pr34030.c: New testcase.

2007-11-07  Eric Botcazou  <ebotcazou at libertysurf.fr>

	* gcc.dg/out-of-bounds-1.c: New test.

2007-11-02  Eric Botcazou  <ebotcazou at libertysurf.fr>

	PR rtl-optimization/28062
	* gcc.c-torture/compile/20071102-1.c: New test.

2007-10-26  Jakub Jelinek  <jakub at redhat.com>

	PR c++/33744
	* g++.dg/template/arg6.C: New test.

2007-09-06  David Daney  <ddaney at avtrex.com>
	    Richard Sandiford  <richard at codesourcery.com>

	PR target/33256
	* gcc.target/mips/mips.exp (setup_mips_tests): Set mips_forced_le.
	(dg-mips-options): Skip -EB and -meb tests when $mips_forced_le.
	* gcc.target/mips/pr33256.c: New test.

2007-08-31  Paolo Carlini  <pcarlini at suse.de>

	PR c++/32113
	* g++.dg/template/crash70.C: New.

2007-08-24  Jakub Jelinek  <jakub at redhat.com>

	PR middle-end/32912
	* gcc.dg/pr32912-1.c: New test.
	* gcc.dg/pr32912-2.c: New test.

	PR c++/31941
	* g++.dg/parse/crash37.C: New test.

2007-08-22  Richard Guenther  <rguenther at suse.de>

	PR tree-optimization/33142
	* gcc.c-torture/execute/pr33142.c: New testcase.

2007-08-20  Jakub Jelinek  <jakub at redhat.com>

	PR c++/32992
	* g++.dg/opt/nrv14.C: New test.

2007-08-18  Paolo Carlini  <pcarlini at suse.de>

	PR c++/32112
	* g++.dg/template/error26.C: New.

2007-08-10  Paolo Carlini  <pcarlini at suse.de>

	PR c++/17763
	* g++.dg/other/error16.C: New.

2007-08-01  Andreas Krebbel  <krebbel1 at de.ibm.com>

	* gcc.dg/20070801-1.c: New testcase.

2007-07-21  Kaveh R. Ghazi  <ghazi at caip.rutgers.edu>

	* gcc.dg/c99-math-double-1.c: Mark test variables as volatile.
	Test negative numbers also.
	* gcc.dg/c99-math-float-1.c: Likewise.
	* gcc.dg/c99-math-long-double-1.c: Likewise.
	* gcc.dg/c99-math.h: Check for FP exceptions.  Update for negative
	test inputs.


More information about the freebsd-current mailing list