From owner-freebsd-threads@FreeBSD.ORG Sat Jan 1 08:21:41 2011 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7222106566B for ; Sat, 1 Jan 2011 08:21:41 +0000 (UTC) (envelope-from freebsdml@marino.st) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) by mx1.freebsd.org (Postfix) with ESMTP id 8A0A08FC1D for ; Sat, 1 Jan 2011 08:21:41 +0000 (UTC) Received: from [192.168.1.33] (78.red-79-158-163.staticip.rima-tde.net [79.158.163.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 3D0EF435A3; Sat, 1 Jan 2011 02:21:37 -0600 (CST) Message-ID: <4D1EE410.8000102@marino.st> Date: Sat, 01 Jan 2011 09:21:36 +0100 From: John Marino User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Daniel Eischen References: <4D1DC299.2090808@marino.st> <20101231122225.GK90883@deviant.kiev.zoral.com.ua> <4D1DCE02.3050601@marino.st> <20101231125215.GL90883@deviant.kiev.zoral.com.ua> <4D1DD5CF.5020305@marino.st> <20101231132706.GN90883@deviant.kiev.zoral.com.ua> <4D1DDC99.7000400@marino.st> <20101231134418.GO90883@deviant.kiev.zoral.com.ua> <4D1E30EA.7050308@marino.st> <20101231194619.GS90883@deviant.kiev.zoral.com.ua> <4D1E3AE8.8090907@marino.st> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-threads@freebsd.org Subject: Re: AMD64 version of GNAT Ada compiler broken due to libthr X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 08:21:41 -0000 Hi Daniel, First, thanks for the offer. I might come back to you on that. Secondly, I should have mentioned that the majority of my patches are GNAT specific, and very few are like this one which might apply to all FreeBSD/GCC users. I have already created 7 new FreeBSD ports that include this "GNAT AUX", the GNAT Programming Studio, and the Ada Web Server. I will work with the FreeBSD ports people shortly to get these ports into the tree, and also to prune some of the previous GNAT ports, such as gnat-gcc44. If I recall, your port was GNAT GPL, which is a different beast. Anyway, the FreeBSD/Ada users will have the benefit of my work shortly. So maybe we should only focus on non-Ada patches. I don't have very many on those, and the majority are on other BSD systems, not FreeBSD. John Daniel Eischen wrote: > On Fri, 31 Dec 2010, John Marino wrote: > >> Ah, interesting. I didn't realize the ramifications of AMD64-only >> application of mprotect(). It's easy enough to apply the same macro >> to both architectures. >> >> As far as pushing it upstream, I've got literally a few dozen patches, >> and the majority of them should be contributed back. I haven't gone >> through the absurdly difficult and time-consuming process of assigning >> copyright over to the FSF, partly because I reside in France with a >> Dutch employer and nobody I work for would sign the legal documents >> FSF requests (if I even wanted to share with my employers what I do in >> my own time.) >> >> I may go through the process some day if we can leave my employers out >> of it, but it's not a priority at this moment. I'm not >> philosophically opposed to giving back, although I am dismayed at the >> number of offered patches that are never reviewed by the gcc >> developers and die on the vine. If I could find a way to "fast-track" >> these patches in where I wouldn't be wasting my time, I'd do it. It's >> a pain to maintain a parallel fork and I'd love to reduce the number >> of differences between the code bases. >> >> Obviously if you have any ideas that get my FreeBSD work into the gcc >> efficiently, I'm all ears. > > I've got FSF paperwork on file, specifically to submit my original > FreeBSD and VxWorks GNAT ports to AdaCore (which they then upstreamed > to GCC). It's been a few years since I submitted the paperwork, > however, and I'm not sure if they require resubmittal at periodic > intervals. It may be possible for you to explain your changes to > me, without me looking at your original code or changes. > From owner-freebsd-threads@FreeBSD.ORG Sat Jan 1 17:41:27 2011 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0723F106566B for ; Sat, 1 Jan 2011 17:41:27 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id B3B968FC17 for ; Sat, 1 Jan 2011 17:41:26 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.4/8.14.4/NETPLEX) with ESMTP id p01HfPhm011088; Sat, 1 Jan 2011 12:41:25 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.6 (mail.netplex.net [204.213.176.10]); Sat, 01 Jan 2011 12:41:25 -0500 (EST) Date: Sat, 1 Jan 2011 12:41:25 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: John Marino In-Reply-To: <4D1EE410.8000102@marino.st> Message-ID: References: <4D1DC299.2090808@marino.st> <20101231122225.GK90883@deviant.kiev.zoral.com.ua> <4D1DCE02.3050601@marino.st> <20101231125215.GL90883@deviant.kiev.zoral.com.ua> <4D1DD5CF.5020305@marino.st> <20101231132706.GN90883@deviant.kiev.zoral.com.ua> <4D1DDC99.7000400@marino.st> <20101231134418.GO90883@deviant.kiev.zoral.com.ua> <4D1E30EA.7050308@marino.st> <20101231194619.GS90883@deviant.kiev.zoral.com.ua> <4D1E3AE8.8090907@marino.st> <4D1EE410.8000102@marino.st> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-threads@freebsd.org Subject: Re: AMD64 version of GNAT Ada compiler broken due to libthr X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 17:41:27 -0000 On Sat, 1 Jan 2011, John Marino wrote: > Hi Daniel, > First, thanks for the offer. I might come back to you on that. > Secondly, I should have mentioned that the majority of my patches are GNAT > specific, and very few are like this one which might apply to all FreeBSD/GCC > users. Well, it doesn't matter if they are GNAT or GCC specific, I believe you need FSF paperwork on file for either of them to be upstreamed. There really isn't much of a difference between the GPL version of GNAT (from AdaCore) or the GCC GNAT - the GPL version is released from some stable GCC version. AdaCore eventually upstreams all of their changes into GCC. If you notice, the FreeBSD port of GNAT-GPL no longer has any run time files as local patches because they have been upstreamed. There are only small patches to change the binary names (e.g., gcc -> gnatgcc) or other minor configuration changes. Anyway, it would be really nice to upstream your changes, to make the ports simpler, and so that GNAT-GPL will also eventually inherit AMD64 support. But regardless, thank you for your work! -- DE