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 E2F827EE51 for ; Wed, 22 May 2013 16:39:39 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of monnier.florent@gmail.com) identity=pra; client-ip=209.85.212.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="monnier.florent@gmail.com"; x-sender="monnier.florent@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of monnier.florent@gmail.com designates 209.85.212.172 as permitted sender) identity=mailfrom; client-ip=209.85.212.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="monnier.florent@gmail.com"; x-sender="monnier.florent@gmail.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@mail-wi0-f172.google.com) identity=helo; client-ip=209.85.212.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="monnier.florent@gmail.com"; x-sender="postmaster@mail-wi0-f172.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArkBANTXnFHRVdSsk2dsb2JhbABbgzjCaggWDgEBAQEHCwsJFAQkgmoBOQMNBQULXRIBBQEiiA4DD5sQgnaPPIUNJw2IRwEFDJJsA5c4gSmOMhYpgV2CWDw X-IPAS-Result: ArkBANTXnFHRVdSsk2dsb2JhbABbgzjCaggWDgEBAQEHCwsJFAQkgmoBOQMNBQULXRIBBQEiiA4DD5sQgnaPPIUNJw2IRwEFDJJsA5c4gSmOMhYpgV2CWDw X-IronPort-AV: E=Sophos;i="4.87,721,1363129200"; d="scan'208";a="18517689" Received: from mail-wi0-f172.google.com ([209.85.212.172]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 22 May 2013 16:39:39 +0200 Received: by mail-wi0-f172.google.com with SMTP id m6so44150wiv.11 for ; Wed, 22 May 2013 07:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=qKSGrt7tHR6TC0i4A6sWQqIx3DwXsuhXfY14BZalcTg=; b=0+SJcCbxoW2dviXL2R9G6TEYbI8WVuENBH8nRt8XdMAsAKjH2+P2RWL3wPJ2DnqPpZ RT6Cvsk7S90nl69hDgNo6kTuCPx/srIDaSJkOB3QcozdlDwwiIjugLbAt1TH9lHYQXCC Td+ENuAtGS8+YbonU7n6tX2nyn3Sy90tEATYIetTKrtTbxSM+WhbuXbqTCfwHAAp7ycu +cPUtVES8eTO/hr1paW4ORUKJbevPDIDAnfueiqbzKgzbjjLWrMnJOoGCl7PgICC8ZNz 7f0YrotonrWQ9CKuM2i73+WqzZaupcTkbRQxO4UCBOct/6P95K7i7AFJMPm4bsuUCSqG u6UA== MIME-Version: 1.0 X-Received: by 10.181.12.1 with SMTP id em1mr34313454wid.4.1369233579149; Wed, 22 May 2013 07:39:39 -0700 (PDT) Sender: monnier.florent@gmail.com Received: by 10.194.108.6 with HTTP; Wed, 22 May 2013 07:39:39 -0700 (PDT) Date: Wed, 22 May 2013 14:39:39 +0000 X-Google-Sender-Auth: TfBTMeyuDfpX4AIlBwn9b1HsAt8 Message-ID: From: Florent Monnier To: Caml List Content-Type: text/plain; charset=ISO-8859-1 X-Validation-by: fmonnier@linux-nantes.org Subject: Re: [Caml-list] [rpi] opam switch to get ocamlopt on RPi with raspbian 2013/5/22, Anil Madhavapeddy: > On 22 May 2013, at 12:30, Florent Monnier wrote: [...] >> So I thought to try to: >> opam switch 4.00.1 > > 4.00.1 (released) is not the same as 4.01. Try: > > $ opam switch 4.01.0dev+trunk > > ...which will give you a trunk compiler with all of the ARM fixes included. > Benedikt has committed several more fixes since the original one, so trunk > is generally in much better shape. These changes will be in OCaml-4.1 when > it's released. So this is what I tryed, but got this error: pi@raspberrypi ~ $ opam switch 4.01.0dev+trunk [...] boot/ocamlrun boot/ocamlc -nostdlib -I boot -strict-sequence -w +33..39 -warn-error A -I utils -I parsing -I typing -I bytecomp -I asmcomp -I driver -I toplevel -c asmcomp/closure.ml boot/ocamlrun boot/ocamlc -nostdlib -I boot -strict-sequence -w +33..39 -warn-error A -I utils -I parsing -I typing -I bytecomp -I asmcomp -I driver -I toplevel -c asmcomp/cmmgen.mli boot/ocamlrun boot/ocamlc -nostdlib -I boot -strict-sequence -w +33..39 -warn-error A -I utils -I parsing -I typing -I bytecomp -I asmcomp -I driver -I toplevel -c asmcomp/cmmgen.ml make[2]: Leaving directory `/home/pi/.opam/4.01.0dev+trunk/build/ocaml' make[1]: Leaving directory `/home/pi/.opam/4.01.0dev+trunk/build/ocaml' ### stderr ### ...[truncated] be selected if the type becomes unknown. File "asmcomp/cmmgen.ml", line 458, characters 23-35: Warning 40: Record_float was selected from type Types.record_representation. It is not visible in the current scope, and will not be selected if the type becomes unknown. File "asmcomp/cmmgen.ml", line 1: Error: Error-enabled warnings (2 occurrences) make[2]: *** [asmcomp/cmmgen.cmo] Error 2 make[1]: *** [opt-core] Error 2 make: *** [world.opt] Error 2 -- Thanks in advance