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 25BF513852D for ; Thu, 24 Jun 2021 22:56:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42C8BE086C; Thu, 24 Jun 2021 22:56:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 143DBE086C for ; Thu, 24 Jun 2021 22:56:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 541A1335D17 for ; Thu, 24 Jun 2021 22:56:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B91EC797 for ; Thu, 24 Jun 2021 22:56:19 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1624575376.8bfac183230c31f95a3ae809d8647f87eacfae38.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/erlang/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/erlang/erlang-24.0.2.ebuild X-VCS-Directories: dev-lang/erlang/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8bfac183230c31f95a3ae809d8647f87eacfae38 X-VCS-Branch: master Date: Thu, 24 Jun 2021 22:56:19 +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: 6c29c3e6-d921-490d-9804-a35159c711c8 X-Archives-Hash: eac9233a6a51430ee1a19c09de85e269 commit: 8bfac183230c31f95a3ae809d8647f87eacfae38 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Jun 24 22:56:06 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Jun 24 22:56:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bfac183 dev-lang/erlang: add -fno-strict-aliasing workaround Reported-by: Jonathan Davies Closes: https://bugs.gentoo.org/797886 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> dev-lang/erlang/erlang-24.0.2.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-lang/erlang/erlang-24.0.2.ebuild b/dev-lang/erlang/erlang-24.0.2.ebuild index 01313ebc6b1..40a0d0afa21 100644 --- a/dev-lang/erlang/erlang-24.0.2.ebuild +++ b/dev-lang/erlang/erlang-24.0.2.ebuild @@ -54,6 +54,11 @@ src_prepare() { default tc-export AR CPP CXX LD + + # bug #797886: erlang's VM does unsafe casts for ints + # to pointers and back. This breaks on gcc-11 -flto. + append-flags -fno-strict-aliasing + ./otp_build autoconf || die }