From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 34B4B158086 for ; Sat, 16 Oct 2021 10:14:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 702DAE0826; Sat, 16 Oct 2021 10:14:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52EB8E0826 for ; Sat, 16 Oct 2021 10:14:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 001513430B0 for ; Sat, 16 Oct 2021 10:14:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BA1E79 for ; Sat, 16 Oct 2021 10:14:51 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1634379266.04eb86bc87e3a854927784268005115f021188bc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ocaml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/ocaml/ocaml-4.05.0-r7.ebuild dev-lang/ocaml/ocaml-4.05.0-r8.ebuild dev-lang/ocaml/ocaml-4.09.0-r2.ebuild dev-lang/ocaml/ocaml-4.10.2-r2.ebuild dev-lang/ocaml/ocaml-4.11.2-r2.ebuild X-VCS-Directories: dev-lang/ocaml/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 04eb86bc87e3a854927784268005115f021188bc X-VCS-Branch: master Date: Sat, 16 Oct 2021 10:14:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 785a1b2f-c4ce-411a-867a-8be1619af392 X-Archives-Hash: 52f9778daf01eef5e52df582755856af commit: 04eb86bc87e3a854927784268005115f021188bc Author: Sam James gentoo org> AuthorDate: Sat Oct 16 10:14:26 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Oct 16 10:14:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04eb86bc dev-lang/ocaml: filter LTO, no strict aliasing in <4.12 Bug: https://bugs.gentoo.org/818445 Signed-off-by: Sam James gentoo.org> dev-lang/ocaml/ocaml-4.05.0-r7.ebuild | 5 +++++ dev-lang/ocaml/ocaml-4.05.0-r8.ebuild | 5 +++++ dev-lang/ocaml/ocaml-4.09.0-r2.ebuild | 5 +++++ dev-lang/ocaml/ocaml-4.10.2-r2.ebuild | 5 +++++ dev-lang/ocaml/ocaml-4.11.2-r2.ebuild | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/dev-lang/ocaml/ocaml-4.05.0-r7.ebuild b/dev-lang/ocaml/ocaml-4.05.0-r7.ebuild index 7604e5ba353..9ef969d018b 100644 --- a/dev-lang/ocaml/ocaml-4.05.0-r7.ebuild +++ b/dev-lang/ocaml/ocaml-4.05.0-r7.ebuild @@ -66,6 +66,11 @@ src_configure() { # Bug #285993 filter-mfpmath sse + # Broken until 4.12 + # bug #818445 + filter-flags -flto + append-flags -fno-strict-aliasing + # -ggdb3 & co makes it behave weirdly, breaks sexplib replace-flags -ggdb* -ggdb diff --git a/dev-lang/ocaml/ocaml-4.05.0-r8.ebuild b/dev-lang/ocaml/ocaml-4.05.0-r8.ebuild index aab387a1042..707f584fb23 100644 --- a/dev-lang/ocaml/ocaml-4.05.0-r8.ebuild +++ b/dev-lang/ocaml/ocaml-4.05.0-r8.ebuild @@ -67,6 +67,11 @@ src_configure() { # Bug #285993 filter-mfpmath sse + # Broken until 4.12 + # bug #818445 + filter-flags -flto + append-flags -fno-strict-aliasing + # -ggdb3 & co makes it behave weirdly, breaks sexplib replace-flags -ggdb* -ggdb diff --git a/dev-lang/ocaml/ocaml-4.09.0-r2.ebuild b/dev-lang/ocaml/ocaml-4.09.0-r2.ebuild index 23d27276013..b9f00b2cfe0 100644 --- a/dev-lang/ocaml/ocaml-4.09.0-r2.ebuild +++ b/dev-lang/ocaml/ocaml-4.09.0-r2.ebuild @@ -28,6 +28,11 @@ src_prepare() { cp "${FILESDIR}"/ocaml.conf "${T}" || die + # Broken until 4.12 + # bug #818445 + filter-flags -flto + append-flags -fno-strict-aliasing + # OCaml generates textrels on 32-bit arches # We can't do anything about it, but disabling it means that tests # for OCaml-based packages won't fail on unexpected output diff --git a/dev-lang/ocaml/ocaml-4.10.2-r2.ebuild b/dev-lang/ocaml/ocaml-4.10.2-r2.ebuild index 7203dec65d6..69ae1931963 100644 --- a/dev-lang/ocaml/ocaml-4.10.2-r2.ebuild +++ b/dev-lang/ocaml/ocaml-4.10.2-r2.ebuild @@ -26,6 +26,11 @@ src_prepare() { cp "${FILESDIR}"/ocaml.conf "${T}" || die + # Broken until 4.12 + # bug #818445 + filter-flags -flto + append-flags -fno-strict-aliasing + # OCaml generates textrels on 32-bit arches # We can't do anything about it, but disabling it means that tests # for OCaml-based packages won't fail on unexpected output diff --git a/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild b/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild index 464822a6bd4..001fbf26fdf 100644 --- a/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild +++ b/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild @@ -26,6 +26,11 @@ src_prepare() { cp "${FILESDIR}"/ocaml.conf "${T}" || die + # Broken until 4.12 + # bug #818445 + filter-flags -flto + append-flags -fno-strict-aliasing + # OCaml generates textrels on 32-bit arches # We can't do anything about it, but disabling it means that tests # for OCaml-based packages won't fail on unexpected output