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 5D0B51382C5 for ; Wed, 10 Jun 2020 20:41:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85A95E08D6; Wed, 10 Jun 2020 20:41:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 6C4A3E08D6 for ; Wed, 10 Jun 2020 20:41:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 7F0B634F1AF for ; Wed, 10 Jun 2020 20:41:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E20EF9C for ; Wed, 10 Jun 2020 20:41:43 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1591821685.75e37a97489d145e67b8da33359ecfc667691e2b.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/icedtea/icedtea-3.16.0.ebuild X-VCS-Directories: dev-java/icedtea/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 75e37a97489d145e67b8da33359ecfc667691e2b X-VCS-Branch: master Date: Wed, 10 Jun 2020 20:41:43 +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: c57d02ee-8582-4275-83a6-34284c818635 X-Archives-Hash: 6596f3358ebd45818bd68079c760f01b commit: 75e37a97489d145e67b8da33359ecfc667691e2b Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Jun 10 20:40:53 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Jun 10 20:41:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e37a97 dev-java/icedtea: add gcc10 workarounds Bug: https://bugs.gentoo.org/723102 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev gentoo.org> dev-java/icedtea/icedtea-3.16.0.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-java/icedtea/icedtea-3.16.0.ebuild b/dev-java/icedtea/icedtea-3.16.0.ebuild index de38d49e593..0d8a40ccf22 100644 --- a/dev-java/icedtea/icedtea-3.16.0.ebuild +++ b/dev-java/icedtea/icedtea-3.16.0.ebuild @@ -10,7 +10,7 @@ EAPI="6" SLOT="8" -inherit check-reqs flag-o-matic java-pkg-2 java-vm-2 multiprocessing pax-utils prefix versionator xdg-utils +inherit check-reqs flag-o-matic java-pkg-2 java-vm-2 multiprocessing pax-utils prefix toolchain-funcs versionator xdg-utils ICEDTEA_VER=$(get_version_component_range 1-3) ICEDTEA_BRANCH=$(get_version_component_range 1-2) @@ -195,8 +195,11 @@ src_unpack() { } src_configure() { - # GCC10/-fno-common handling - append-flags -fcommon + # GCC10/-fno-common handling, #723102 + if [[ $(gcc-major-version) -ge 10 ]]; then + append-flags -fcommon + append-flags -fno-delete-null-pointer-checks -fno-lifetime-dse + fi # For bootstrap builds as the sandbox control file might not yet exist. addpredict /proc/self/coredump_filter #nowarn