From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uC1xCLwW8V5HSAAA0tVLHw (envelope-from ) for ; Mon, 22 Jun 2020 20:38:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2GBPBLwW8V5WfgAA1q6Kng (envelope-from ) for ; Mon, 22 Jun 2020 20:38:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5A17F940225 for ; Mon, 22 Jun 2020 20:38:19 +0000 (UTC) Received: from localhost ([::1]:47104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnTCq-0003Bl-Hj for larch@yhetil.org; Mon, 22 Jun 2020 16:38:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnTCd-000396-OC for guix-patches@gnu.org; Mon, 22 Jun 2020 16:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnTCc-00059r-7V for guix-patches@gnu.org; Mon, 22 Jun 2020 16:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jnTCc-0001X5-4B for guix-patches@gnu.org; Mon, 22 Jun 2020 16:38:02 -0400 Subject: bug#41748: [PATCH 0/1] Fix JamVM to work with current gcc and glibc Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 22 Jun 2020 20:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41748 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon South , 41748-done@debbugs.gnu.org Cc: Simon South Mail-Followup-To: 41748@debbugs.gnu.org, marius@gnu.org, simon@simonsouth.net Received: via spool by 41748-done@debbugs.gnu.org id=D41748.15928582405838 (code D ref 41748); Mon, 22 Jun 2020 20:38:01 +0000 Received: (at 41748-done) by debbugs.gnu.org; 22 Jun 2020 20:37:20 +0000 Received: from localhost ([127.0.0.1]:34676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnTBw-0001W5-K1 for submit@debbugs.gnu.org; Mon, 22 Jun 2020 16:37:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnTBs-0001Vp-LQ for 41748-done@debbugs.gnu.org; Mon, 22 Jun 2020 16:37:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48681) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnTBk-0004oR-7k; Mon, 22 Jun 2020 16:37:10 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:58364 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jnTBj-0004XF-3S; Mon, 22 Jun 2020 16:37:07 -0400 From: Marius Bakke In-Reply-To: <20200607151709.21821-1-simon@simonsouth.net> References: <20200607151709.21821-1-simon@simonsouth.net> Date: Mon, 22 Jun 2020 22:37:03 +0200 Message-ID: <87bllabzww.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: k6DVMTSnlAFJ --=-=-= Content-Type: text/plain Simon South writes: > This patch allows JamVM 2.0.0 to be built without using outdated versions of > gcc and glibc, by disabling the branch-patching optimization JamVM normally > applies to code it has inlined. > > I've successfully built IcedTea 1.13.13 on x86_64 with this patch applied, > without encountering any "Invalid instruction" errors. It also seems to work > fine on aarch64. Thanks a lot for this patch, and the brilliant analysis. I have applied the updated version and will push shortly. I modified it to also remove the (gnu packages gcc) import from java.scm. \o/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7xFm8ACgkQoqBt8qM6 VPpS6AgAxLCzzByJwscvZVkAF7DhFqsoPU55JrjAJqkTQKwK1WCMmEBSuIEsYrfx scJvskqZcdbWOtdndiapzvgA3ifa36Oi5l/Lk383JIrMnuXACZIyLPEdQ13nyebs gT2UHo+ebMG9a3dFjC5jRydCfMptD12YboqiKOS3/MwFDzfkIs1XDYfTEBm9dqFZ Io7KBcBQ3xfpa3IE9lhcpEsl1a7FpZ4Skz/HKy8e/f6zgvwr36oysV/PSWZidSMv wBuV8xTZK9iZh04l8bx6GT98FShqNVWJf5zeDV7d0V1L9GabwkcIaYY8eRSf35zk yDYNq9Vx/coZlCxgXnsxTgKDoDP+kw== =rbjk -----END PGP SIGNATURE----- --=-=-=--