Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by www.NetBSD.org (Postfix) with ESMTP id D200163B87A for ; Sun, 19 Dec 2010 08:27:21 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id AB31419D53B; Sun, 19 Dec 2010 08:27:21 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 39F1C19D4B2 for ; Sun, 19 Dec 2010 08:27:18 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 28EB2175DD; Sun, 19 Dec 2010 08:27:18 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sun, 19 Dec 2010 08:27:18 +0000 From: "Ignatios Souvatzis" Subject: CVS commit: pkgsrc/lang/ocaml To: pkgsrc-changes@NetBSD.org Reply-To: is@netbsd.org X-Mailer: log_accum Message-Id: <20101219082718.28EB2175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: is Date: Sun Dec 19 08:27:17 UTC 2010 Modified Files: pkgsrc/lang/ocaml: Makefile Makefile.common distinfo pkgsrc/lang/ocaml/patches: patch-at Added Files: pkgsrc/lang/ocaml/patches: patch-bw patch-bx Log Message: - Enable native compilation for arm. - to do this, and make the result runnable on pre-thumb arm, change upstreams assembler snippets and stubs to use "mov pc,reg" instead of the return/call-to-thumb-friendly "bx reg", which is not available in non-thumb-enabled arm CPUs. Whether this is the way to go, or a seperate "armt" architecture for ocaml is needed, needs to be discussed with upstream. Resulting compiler, when running its selftest suite, has 6 errors less than the same on i386. Unison compiled natively with this passes its self-test. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 pkgsrc/lang/ocaml/Makefile cvs rdiff -u -r1.27 -r1.28 pkgsrc/lang/ocaml/Makefile.common cvs rdiff -u -r1.52 -r1.53 pkgsrc/lang/ocaml/distinfo cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/ocaml/patches/patch-at cvs rdiff -u -r0 -r1.1 pkgsrc/lang/ocaml/patches/patch-bw \ pkgsrc/lang/ocaml/patches/patch-bx Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.