From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-vk0-x234.google.com ([2607:f8b0:400c:c05::234]) by metis.ext.pengutronix.de with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1bUslO-0003EN-H8 for ptxdist@pengutronix.de; Wed, 03 Aug 2016 11:46:58 +0200 Received: by mail-vk0-x234.google.com with SMTP id n129so141551882vke.3 for ; Wed, 03 Aug 2016 02:46:58 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20160803093730.mdkkudinj7inrwjm@pengutronix.de> References: <20160803080437.GG11824@pengutronix.de> <20160803093730.mdkkudinj7inrwjm@pengutronix.de> From: Guillermo Rodriguez Garcia Date: Wed, 3 Aug 2016 11:46:51 +0200 Message-ID: Subject: Re: [ptxdist] Patched glibc in a ptxdist BSP List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0818010701==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" --===============0818010701== Content-Type: multipart/alternative; boundary=94eb2c094e68837955053927b606 --94eb2c094e68837955053927b606 Content-Type: text/plain; charset=UTF-8 2016-08-03 11:37 GMT+02:00 Robert Schwebel : > On Wed, Aug 03, 2016 at 10:04:37AM +0200, Michael Olbrich wrote: > > On Tue, Aug 02, 2016 at 07:06:55PM +0200, Guillermo Rodriguez Garcia > wrote: > > > I need to include a patched version of glibc in a ptxdist BSP. I know > that > > > glibc itself is not compiled as part of the BSP, but as part of the > > > toolchain. What is the best way to generate a patched glibc without > > > recompiling the toolchain ? Is there a recommended procedure for this? > > > > There is no procedure for this. The libc is part of toolchain, and mixing > > different versions is not a good idea. > > And at least with an OSELAS.Toolchain, rebuilding it isn't really a > > problem. It's just a PTXdist project. > > Can you elaborate why you need to patch the toolchain? If it's of > general interest, we might be interested in the patches. > Hi Robert, I need to deploy a hotfix for a known glibc bug that affected glibc-2.16. This will not be needed for more recent glibc versions. Guillermo Rodriguez Garcia guille.rodriguez@gmail.com --94eb2c094e68837955053927b606 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2016-08-03 11:37 GMT+02:00 Robert Schwebel <r.schwebel@pengutr= onix.de>:
= On Wed, Aug 03, 2016 at 10:04:37AM +0200, Michael Olbrich wrote:
> On Tue, Aug 02, 2016 at 07:06:55PM +0200, Guillermo Rodriguez Garcia w= rote:
> > I need to include a patched version of glibc in a ptxdist BSP. I = know that
> > glibc itself is not compiled as part of the BSP, but as part of t= he
> > toolchain. What is the best way to generate a patched glibc witho= ut
> > recompiling the toolchain ? Is there a recommended procedure for = this?
>
> There is no procedure for this. The libc is part of toolchain, and mix= ing
> different versions is not a good idea.
> And at least with an OSELAS.Toolchain, rebuilding it isn't really = a
> problem. It's just a PTXdist project.

Can you elaborate why you need to patch the toolchain? If it's o= f
general interest, we might be interested in the patches.

Hi Robert,

I need to deploy a ho= tfix for a known glibc bug that affected glibc-2.16. This will not be neede= d for more recent glibc versions.

Guillermo Rodriguez Garc= ia
guill= e.rodriguez@gmail.com
--94eb2c094e68837955053927b606-- --===============0818010701== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0818010701==--