From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eu1sys200aog119.obsmtp.com ([207.126.144.147]) by metis.ext.pengutronix.de with smtp (Exim 4.72) (envelope-from ) id 1XRyWk-0005DM-6G for ptxdist@pengutronix.de; Thu, 11 Sep 2014 09:10:46 +0200 Received: by mail-wg0-f51.google.com with SMTP id k14so4686274wgh.34 for ; Thu, 11 Sep 2014 00:10:45 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 11 Sep 2014 09:10:44 +0200 Message-ID: From: Martin Hejnfelt Content-Type: multipart/mixed; boundary=047d7bfcedf2014c550502c4de32 Subject: [ptxdist] Updating java runtime environment Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --047d7bfcedf2014c550502c4de32 Content-Type: multipart/alternative; boundary=047d7bfcedf2014c510502c4de30 --047d7bfcedf2014c510502c4de30 Content-Type: text/plain; charset=UTF-8 Hi guys, I noticed the java runtime environment included in ptxdist is quite old (6u2), so I took the liberty of creating a new ruleset to update to 7u67 (should be easy to change to other versions), and supports x64 binary download too. In order to download the file it makes a little cookie cheat, and I don't know if that somehow should be added through the menuconfig in order to "properly acknowledge the license" or whatever... Note however that the current x86 glibc (2.18) included in ptxdist has a flaw that causes segfault in the java executable. This is apparently a known error and can be fixed by applying this patch to the glibc in the toolchain: https://github.com/funtoo/funtoo-overlay/blob/master/sys-libs/glibc/files/2.18/glibc-2.18-strstr-hackfix.patch The patch was created by Arch Linux maintainers. I have not tried updating to 2.19 to see if that changes anything. I don't know if this list is the right place to send this stuff, if so feel free to shout at me. Give it a look :) -- Mvh. / Kind regards Martin Hejnfelt --047d7bfcedf2014c510502c4de30 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi guys,

I noticed the java runtime env= ironment included in ptxdist is quite old (6u2), so I took the liberty of c= reating a new ruleset to update to 7u67 (should be easy to change to other = versions), and supports x64 binary download too. In order to download the f= ile it makes a little cookie cheat, and I don't know if that somehow sh= ould be added through the menuconfig in order to "properly acknowledge= the license" or whatever...

Note however tha= t the current x86 glibc (2.18) included in ptxdist has a flaw that causes s= egfault in the java executable. This is apparently a known error and can be= fixed by applying this patch to the glibc in the toolchain:

=

The patch was created = by Arch Linux maintainers. I have not tried updating to 2.19 to see if that= changes anything.

I don't know if this list i= s the right place to send this stuff, if so feel free to shout at me.

Give it a look :)
--
Mvh. / Kind r= egards
Martin Hejnfelt

--047d7bfcedf2014c510502c4de30-- --047d7bfcedf2014c550502c4de32 Content-Type: application/octet-stream; name="oracle-java7-jre.in" Content-Disposition: attachment; filename="oracle-java7-jre.in" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hzxrb9oi0 IyMgU0VDVElPTj1ieXRlY29kZV9lbmdpbmVzCgptZW51Y29uZmlnIE9SQUNMRV9KQVZBN19KUkUK CXRyaXN0YXRlCgkKCXByb21wdCAib3JhY2xlIGphdmE3IGpyZSAgICAgICAgICAgICAgIgoJaGVs cAoJIE9yYWNsZVt0bV0gSmF2YSBSdW50aW1lIEVudmlyb25tZW50IDcKCSBUaGlzIGRvd25sb2Fk cyB0aGUgYmluYXJ5IGRpc3RyaWJ1dGlvbgoJIGFuZCBleHRyYWN0cyBpbnRvIHRoZSB0YXJnZXQg cHJlZml4LgoKY29uZmlnIE9SQUNMRV9KQVZBN19KUkVfVEFSR0VUX1BSRUZJWAoJc3RyaW5nCglk ZXBlbmRzIG9uIE9SQUNMRV9KQVZBN19KUkUKCWRlZmF1bHQgIi91c3IvbGliL2p2bSIKCXByb21w dCAiUFJFRklYIGZvciBKUkUgNyIKCWhlbHAKCSAgV2hlcmUgc2hvdWxkIHRoZSBKUkUgYmUgaW5z dGFsbGVkLgoKY29uZmlnIE9SQUNMRV9KQVZBN19KUkVfQVJDSFg2NAoJYm9vbGVhbgoJZGVwZW5k cyBvbiBPUkFDTEVfSkFWQTdfSlJFCglwcm9tcHQgIkpSRTcgeDY0IGJpbmFyeSIKCWhlbHAKCSAg RG93bmxvYWRzIHRoZSB4NjQgYmluYXJ5IGluc3RlYWQK --047d7bfcedf2014c550502c4de32 Content-Type: application/octet-stream; name="oracle-java7-jre.make" Content-Disposition: attachment; filename="oracle-java7-jre.make" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hzxrb9oz1 IyAtKi1tYWtlZmlsZS0qLQojCiMgQ29weXJpZ2h0IChDKSAyMDE0IGJ5IE9yYWNsZQojCiMgU2Vl IENSRURJVFMgZm9yIGRldGFpbHMgYWJvdXQgd2hvIGhhcyBjb250cmlidXRlZCB0byB0aGlzIHBy b2plY3QuCiMKIyBGb3IgZnVydGhlciBpbmZvcm1hdGlvbiBhYm91dCB0aGUgUFRYZGlzdCBwcm9q ZWN0IGFuZCBsaWNlbnNlIGNvbmRpdGlvbnMKIyBzZWUgdGhlIFJFQURNRSBmaWxlLgojCgojCiMg V2UgcHJvdmlkZSB0aGlzIHBhY2thZ2UKIwpQQUNLQUdFUy0kKFBUWENPTkZfT1JBQ0xFX0pBVkE3 X0pSRSkgKz0gb3JhY2xlLWphdmE3LWpyZQoKIwojIFBhdGhzIGFuZCBuYW1lcwojCmlmZGVmIFBU WENPTkZfT1JBQ0xFX0pBVkE3X0pSRV9BUkNIWDY0Ck9SQUNMRV9KQVZBN19KUkVfQVJDSAkJOj0g eDY0CmVsc2UKT1JBQ0xFX0pBVkE3X0pSRV9BUkNICQk6PSBpNTg2CmVuZGlmCgpPUkFDTEVfSkFW QTdfSlJFX1ZFUlNJT04JOj0gN3U2NwpPUkFDTEVfSkFWQTdfSlJFX01ENQkJOj0KT1JBQ0xFX0pB VkE3X0pSRQkJOj0ganJlLSQoT1JBQ0xFX0pBVkE3X0pSRV9WRVJTSU9OKS1saW51eC0kKE9SQUNM RV9KQVZBN19KUkVfQVJDSCkKT1JBQ0xFX0pBVkE3X0pSRV9TVUZGSVgJCTo9IH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S1qYXZhNy1qcmUuY2xlYW46CiMJQCQoY2FsbCB0YXJnZXRpbmZvKQojCUAkKGNh bGwgY2xlYW5fcGtnLCBPUkFDTEVfSkFWQTdfSlJFKQoKIyB2aW06IHN5bnRheD1tYWtlCg== --047d7bfcedf2014c550502c4de32 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --047d7bfcedf2014c550502c4de32--