From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13756 invoked by alias); 19 Jan 2018 10:10:54 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 13728 invoked by uid 89); 19 Jan 2018 10:10:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AFFECTIONATE_BODY,AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=no version=3.3.2 spammy=colleagues, Hx-languages-length:1850, H*r:PST, offer X-HELO: relay1.mentorg.com From: Thomas Schwinge To: Joseph Myers CC: Florian Weimer , GNU C Library , , Samuel Thibault , David Michael Subject: Re: Upstreaming the glibc Hurd port In-Reply-To: References: <20180118124537.yampmyfjsbi6wvia@var.youpi.perso.aquilenet.fr> <20180118135758.xqla2yevcrjjk7si@var.youpi.perso.aquilenet.fr> <87mv1btffy.fsf@hertz.schwinge.homeip.net> <20180118151446.zqlmpbmgg4kvs2y3@var.youpi.perso.aquilenet.fr> <20180118154251.ynfyugkmog7kujom@var.youpi.perso.aquilenet.fr> <20180118165923.ymreisuzexxz4gt3@var.youpi.perso.aquilenet.fr> <20180118235924.r4z4ppvj7xlvmmfp@var.youpi.perso.aquilenet.fr> User-Agent: Notmuch/0.9-125-g4686d11 (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu) Date: Fri, 19 Jan 2018 10:10:00 -0000 Message-ID: <87a7xaupjx.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-01/txt/msg00653.txt.bz2 Hi Joseph! On Fri, 19 Jan 2018 00:34:42 +0000, Joseph Myers = wrote: > On Fri, 19 Jan 2018, Samuel Thibault wrote: >=20 > > Joseph Myers, on jeu. 18 janv. 2018 23:15:59 +0000, wrote: > > > Thanks for the changes pushed to sthibaul/hurd-builds so far (I reali= se=20 > > > there will be more to get it into a buildable state, e.g. the actual= =20 > > > libpthread implementation). > >=20 > > What I have pushed is basically only missing the libpthread > > implementation, so you already have an idea of the minimal set of > > modifications to get something building (and IIRC essentially passing > > the testsuite). >=20 > I'd still like to have the libpthread implementation there (with a view t= o=20 > seeing if I can get build-many-glibcs.py working for Hurd with this branc= h=20 Many thanks for your offer! As far as I'm aware indeed nobody from the Hurd team has spent time on that yet. > - if the branch has sources that build for Hurd, I should have some chanc= e=20 > of using=20 > https://git.savannah.gnu.org/cgit/hurd/incubator.git/tree/cross-gnu?h=3Dc= ross-gnu/master=20 > to figure out how to do the Hurd-specific pieces that will need adding to= =20 > build-many-glibcs.py). Beware that this script is from many years ago -- from times before my dear CodeSourcery colleagues taught be how to ;-) properly build cross-compilers. But yes, cross-gnu did work back then. Another thing to look into nowadays is David's (CCed) gnuxc, "Scripts to build a Hurd distro", "GNU OS Cross-Compiler". (I have not yet looked into that one myself.) And, the Guix/Hurd effort also is capable of cross-compilation, as far as I remember. But probably cross-gnu/gnuxc will already give you enough pointers of what needs to be done. Gr=C3=BC=C3=9Fe Thomas