svn commit: r235623 - in head/contrib/gcc: . config/rs6000 config/sparc

Pedro Giffuni pfg at
Tue May 22 19:30:29 UTC 2012

Hi David;

On 05/22/12 13:27, David O'Brien wrote:
> On Fri, May 18, 2012 at 07:02:40PM +0000, Pedro F. Giffuni wrote:
>> Log:
>>    Bring in a subset of gcc fixes that were back ported to
>>    the GCC 4.1 branch and are available under GPLv2.
> I do not understand this -- We're using GCC 4.2.1 @r127959, but you
> are bringing in patches that are against 4.1.
> What version of GCC were the changes back ported from if not 4.2.0 or
> 4.2.1?

Most of them originated in gcc 4.3 branch and were backported to
gcc > 4.2.2 under the GPLv3. Those patches were further backported
to gcc 4.1.x which continued to be released under GPLv2.

Technically I cannot take patches from the gcc 4.2.x where x >=2 so
I took them from the gcc 4.1 branch.

> BTW, these also should have been imported into ^/vendor/gcc/ and then
> merged into ^/head/contrib/gcc as there are commercial users of FreeBSD
> that have to modify their compiler to be able to consume FreeBSD source
> code.  And provenance and licensing matters to these folks.

This was discussed in private with mm@, as he brought some GPLv2
changes from the gcc 4.3 branch. We don't carry gcc 4.3 or 4.1 in
the vendors area and the code from those branches that we can
merge is relatively small. (We do keep a changelog for gcc4.3
changes for reference.)

FWIW, we also merged the complete libstdc++ from gcc 4.2.4 as
libstdc++ remained under LGPLv2 for all the gcc 4.2 branch.


More information about the svn-src-head mailing list