From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id E0F8B800DB for ; Fri, 10 Mar 2017 18:03:02 +0100 (CET) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=mshinwell@janestreet.com; spf=Pass smtp.mailfrom=mshinwell@janestreet.com; spf=None smtp.helo=postmaster@mxout3.mail.janestreet.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of mshinwell@janestreet.com) identity=pra; client-ip=38.105.200.229; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mshinwell@janestreet.com"; x-sender="mshinwell@janestreet.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of mshinwell@janestreet.com designates 38.105.200.229 as permitted sender) identity=mailfrom; client-ip=38.105.200.229; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mshinwell@janestreet.com"; x-sender="mshinwell@janestreet.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mxout3.mail.janestreet.com) identity=helo; client-ip=38.105.200.229; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mshinwell@janestreet.com"; x-sender="postmaster@mxout3.mail.janestreet.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3ArSJS8x8sMp3G7f9uRHKM819IXTAuvvDOBiVQ1KB+?= =?us-ascii?q?2uwcTK2v8tzYMVDF4r011RmSDNidt6IP2rGe8/i5HzdfsdDZ6DFKWacPfiFGoP?= =?us-ascii?q?1epxYnDs+BBB+zB9/RRAt+Iv5/UkR49WqwK0lfFZW2TVTTpnqv8WxaQU2nZkJD?= =?us-ascii?q?HfnuAoPZk+iw0umz/dWTP1QJ13KBZuZ3KxKtqhnansYTiIpmbK02z0jnuHxNLs?= =?us-ascii?q?Ff32AgHlKSmQnx4sP4qJt48yVWpP8l8+ZCWKP3ZLgiQLFESj8hNjZmt4XQqRDf?= =?us-ascii?q?QF7XtTMnWWIMn08UUgU=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0C2AAA328JYfeXIaSZdGwEBAQMBAQEJA?= =?us-ascii?q?QEBFQEBAQECAQEBAQgBAQEBhAeBCgeDWYoOc5BdgjqFU4wPgRyCDiqFeAKCOgc?= =?us-ascii?q?/GAEBAQEBAQEBAQEBEgEBCRYIV4IzBAMDHYI8AQIDIwQZAQEsCwEPCwsNAgIJG?= =?us-ascii?q?gMCAiEBEgEFAQoBERkSiVYDFQMLpR4/ixtogWw6gwgBAQWEKwMKgyMBAQEBAQE?= =?us-ascii?q?BAQIBAQEBAQEBAQEBFggSeYVDhG+CUSWEZIJfh0QMlDc6hnaHF4QrgXtUhFGKB?= =?us-ascii?q?IpUhyQUH4EVH4E7OB9UFwWEKoIPdYhfgTsBAQE?= X-IPAS-Result: =?us-ascii?q?A0C2AAA328JYfeXIaSZdGwEBAQMBAQEJAQEBFQEBAQECAQE?= =?us-ascii?q?BAQgBAQEBhAeBCgeDWYoOc5BdgjqFU4wPgRyCDiqFeAKCOgc/GAEBAQEBAQEBA?= =?us-ascii?q?QEBEgEBCRYIV4IzBAMDHYI8AQIDIwQZAQEsCwEPCwsNAgIJGgMCAiEBEgEFAQo?= =?us-ascii?q?BERkSiVYDFQMLpR4/ixtogWw6gwgBAQWEKwMKgyMBAQEBAQEBAQIBAQEBAQEBA?= =?us-ascii?q?QEBFggSeYVDhG+CUSWEZIJfh0QMlDc6hnaHF4QrgXtUhFGKBIpUhyQUH4EVH4E?= =?us-ascii?q?7OB9UFwWEKoIPdYhfgTsBAQE?= X-IronPort-AV: E=Sophos;i="5.36,141,1486422000"; d="scan'208";a="264070170" Received: from mxout3.mail.janestreet.com ([38.105.200.229]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2017 18:03:01 +0100 Received: from tot-qpr-mailcore1.delacy.com ([172.27.56.68] helo=tot-qpr-mailcore1) by mxout3.mail.janestreet.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cmNwS-0003iY-Mi for caml-list@inria.fr; Fri, 10 Mar 2017 12:03:00 -0500 X-JS-Flow: external X-JS-Scanner-attachment: (ok) No attachments Received: by tot-qpr-mailcore1 with JS-mailcore (0.1) (envelope-from ) id BYwtxE-AAADHw-V0; 2017-03-10 12:03:00.699665-05:00 Received: from mail-wm0-f71.google.com ([74.125.82.71]) by mxgoog1.mail.janestreet.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84_2) (envelope-from ) id 1cmNwS-0001SV-Iy for caml-list@inria.fr; Fri, 10 Mar 2017 12:03:00 -0500 Received: by mail-wm0-f71.google.com with SMTP id b140so4912141wme.3 for ; Fri, 10 Mar 2017 09:03:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2M+XRQFfBoLv9M2fTWGtgNEz0cyyBJttQidqYp2TgZU=; b=Rz6ldgP9wCi36hpWB09iODvp+JIrIPhtIyZF7aIGO1F70M40XWLixRTAnl0ncuW23C bgr9RsdP3AxB9lS9Sv4olMZEQs9QQ9cW3wVfsbmPrDz1J1P7stseO47pyvTqLmbh8pfs TK8Ksi2n5bDpUlRMEL+5dCPZ3IncnxJWHjZp8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2M+XRQFfBoLv9M2fTWGtgNEz0cyyBJttQidqYp2TgZU=; b=CdrvsMCye16UOrMAEPLAVtDQYchdhTUPpd1OZihQ7lvOPWthkSr3UxnZfeCBFz1tJB X+ijM+OuOE67vVM2my1CsQ9jqdIL/qeZyeDMLgvpybC79+Qw9DSxva2Qzc7vmA+RXBhI SzRqYVpdp0IA5++22zQYjZmP2FR2yU9F2OA0iu4AKYI3lEYfkchqprz0ilTHvtmGqV/u 8gffAWj/7WxgzMVwWdFMeec0wddIkPfrYgL1CpUwRbbq4js++lu3pHrSvCYGVfPzp8Sh +3a23/+kVEMRgHHu4epRX9g2pAElvCLjcTDgxcLOkX10kLOsvKps2n0lq3hz90yMQb0o 6/cw== X-Gm-Message-State: AFeK/H0pykBxeCngY8wVd8fgTZOVEl7d2RX+QWiSIcdhO6OPuyjODbHgz8nctwUz4sxjGRhmJmbpt+v4aBHF8RoZ7UZPt9cR2z+kNlBJFnk8fFH9vDp9zRMK8lOGv/+QG5o18Py9auiS+3sdT0kS X-Received: by 10.28.13.80 with SMTP id 77mr3074276wmn.88.1489165379625; Fri, 10 Mar 2017 09:02:59 -0800 (PST) X-Received: by 10.28.13.80 with SMTP id 77mr3074248wmn.88.1489165379334; Fri, 10 Mar 2017 09:02:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.154.226 with HTTP; Fri, 10 Mar 2017 09:02:58 -0800 (PST) In-Reply-To: References: <87tw71ulal.fsf@gmail.com> From:Mark Shinwell Date: Fri, 10 Mar 2017 17:02:58 +0000 Message-ID: To:moosotc@gmail.com Cc:caml Content-Type: text/plain; charset=UTF-8 X-JS-Processed-by: mailcore X-Validation-by: mshinwell@janestreet.com Subject: Re: [Caml-list] Native compiler liveness failure If you could also please try the following (from tip of trunk, without reverting 9e81b0fb): diff --git a/asmcomp/spill.ml b/asmcomp/spill.ml index 1df2ef3..a02b0c3 100644 --- a/asmcomp/spill.ml +++ b/asmcomp/spill.ml @@ -328,7 +328,7 @@ let rec spill i finally = let before1 = Reg.diff_set_array after i.res in let before = match i.desc with - Iop Icall_ind _ | Iop(Icall_imm _) | Iop(Iextcall _) + Iop Icall_ind _ | Iop(Icall_imm _) | Iop(Iextcall _) | Iop(Ialloc _) | Iop(Iintop (Icheckbound _)) | Iop(Iintop_imm((Icheckbound _), _)) -> Reg.Set.union before1 !spill_at_raise | _ -> On 10 March 2017 at 16:59, Mark Shinwell wrote: > This may be related to a recent change which is supposed to fix some > problems relating to liveness information calculations. I can > investigate if that is the case on Monday, but in the meantime, please > try backing out 8801274af34f0c9889269524521e878a5d63d3b9 from your > checkout and see if that works from a clean build. Thanks. > > Mark > > On 10 March 2017 at 16:52, wrote: >> >> Not being sure how to fill a proper bug report in this case posting the >> problem description here. >> >> When trying to build llpp [1] with native code ocaml compiler (git >> 9e81b0fb4be4a2dc9114efb630fea192c7d04e1e) I'm getting a compiler error: >> >> ocamlopt -c -I ./lablGL -I build-ocaml-git/lablGL -I build-ocaml-git -I build-ocaml-git/wsi/x11 -o build-ocaml-git/main.cmx ./main.ml >> File "_none_", line 1: >> Warning 58: no cmx file was found in path for module Wsi, and its interface was not compiled with -opaque >> spilled-cmd/75 >>>> Fatal error: Liveness.fundecl >> Fatal error: exception Misc.Fatal_error >> Raised at file "utils/misc.ml", line 21, characters 54-71 >> Called from file "asmcomp/asmgen.ml" (inlined), line 31, characters 2-29 >> Called from file "asmcomp/asmgen.ml", line 118, characters 46-60 >> Called from file "utils/misc.ml", line 28, characters 20-27 >> Re-raised at file "utils/misc.ml", line 28, characters 50-57 >> Called from file "asmcomp/asmgen.ml" (inlined), line 102, characters 15-18 >> Called from file "asmcomp/asmgen.ml", line 107, characters 2-659 >> Called from file "list.ml", line 100, characters 12-15 >> Called from file "utils/misc.ml", line 28, characters 20-27 >> Re-raised at file "utils/misc.ml", line 28, characters 50-57 >> Called from file "asmcomp/asmgen.ml" (inlined), line 102, characters 15-18 >> Called from file "asmcomp/asmgen.ml", line 179, characters 2-118 >> Called from file "asmcomp/asmgen.ml", line 154, characters 6-12 >> Re-raised at file "asmcomp/asmgen.ml", line 159, characters 6-15 >> Re-raised at file "asmcomp/asmgen.ml", line 170, characters 4-13 >> Called from file "driver/optcompile.ml" (inlined), line 67, characters 15-18 >> Called from file "driver/optcompile.ml", line 127, characters 16-303 >> Called from file "utils/misc.ml", line 28, characters 20-27 >> Re-raised at file "utils/misc.ml", line 28, characters 50-57 >> Called from file "driver/optcompile.ml" (inlined), line 67, characters 15-18 >> Called from file "driver/optcompile.ml", line 121, characters 10-622 >> Called from file "driver/optcompile.ml", line 139, characters 8-68 >> Re-raised at file "driver/optcompile.ml", line 144, characters 6-13 >> Called from file "utils/misc.ml", line 28, characters 20-27 >> Re-raised at file "utils/misc.ml", line 28, characters 50-57 >> Called from file "driver/compenv.ml", line 561, characters 6-35 >> Called from file "list.ml", line 100, characters 12-15 >> Called from file "driver/compenv.ml", line 637, characters 2-61 >> Called from file "driver/optmain.ml", line 246, characters 6-164 >> Re-raised at file "parsing/location.ml", line 456, characters 14-25 >> Re-raised at file "parsing/location.ml", line 456, characters 14-25 >> Re-raised at file "parsing/location.ml", line 456, characters 14-25 >> >> Build command lines that produced this partiuclar ocamlopt invocation was: >> >> OCAMLRUNPARAM=b PATH=/home/malc/tmp/ocaml-git/bin:$PATH native=yes sh -x build.sh build-ocaml-git >> >> [1] https://github.com/moosotc/llpp/ >> | http://repo.or.cz/w/llpp.git >> >> -- >> mailto:moosotc@gmail.com >> >> -- >> Caml-list mailing list. Subscription management and archives: >> https://sympa.inria.fr/sympa/arc/caml-list >> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >> Bug reports: http://caml.inria.fr/bin/caml-bugs