This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Proprietary software with modified version of libstdc++..


Let me try this again. Send html version by mistake.

On Wed, Nov 5, 2014 at 7:24 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 6 November 2014 02:41, Pankaj Chauhan wrote:
>> Hi,
>>
>> I wanted to get your opinion about shipping proprietary software built with
>> a version of libstdc++ that we had to modify to address the bug below.
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17215
>>
>> This has hit us really hard, manifesting in multiple, painful to debug
>> crashes.
>
> Why do you need to use such an ancient version then?

Hi,

Apologies if I didn't make it clear. We're using gcc 4.8 series. The
bug we're hitting was actually introduced by the EINTR loop around
fclose (thus the double fclose that it entails), and our modification
is to restore it to the version prior to this bug fix.

>
>> Does the GPL+exceptions license of libstdc++ allow use to ship our software,
>> where we have modified the version of fstream? If not, it effectively means
>> we have to invent our own fstream, or use plain C style file I/O.
>
> Ask a lawyer and read http://www.gnu.org/licenses/gcc-exception-faq.html
>

Thanks for pointing this out. I had read
https://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html, but not
this more detailed FAQ.


> Assuming your modified version is GPL-compatible this is relevant:
> "So, if you use GCC, with or without GPL-compatible enhancements, that
> would be an Eligible Compilation Process."

It sounds like we'll be in the clear, as long as we distribute the
patch to fstream, along with our software. We'll get it run by the
lawyer as well.

Regards,

Pankaj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]