From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B354259CAF for ; Sat, 9 Apr 2016 18:15:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3386B21C01D; Sat, 9 Apr 2016 18:15:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C014521C01D for ; Sat, 9 Apr 2016 18:15:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A2FF0340C33 for ; Sat, 9 Apr 2016 18:15:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89AF02C9 for ; Sat, 9 Apr 2016 18:15:41 +0000 (UTC) From: "NP Hardass" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "NP Hardass" Message-ID: <1460225728.72f76cae15de74cb99a604303de297fb5412d68f.np-hardass@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/wine/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/wine/wine-1.8.1.ebuild app-emulation/wine/wine-1.8.ebuild app-emulation/wine/wine-1.9.4.ebuild app-emulation/wine/wine-1.9.5.ebuild app-emulation/wine/wine-1.9.6.ebuild app-emulation/wine/wine-9999.ebuild X-VCS-Directories: app-emulation/wine/ X-VCS-Committer: np-hardass X-VCS-Committer-Name: NP Hardass X-VCS-Revision: 72f76cae15de74cb99a604303de297fb5412d68f X-VCS-Branch: master Date: Sat, 9 Apr 2016 18:15:41 +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-Archives-Salt: 4c38cf65-bdda-48db-8657-73ea064c98e6 X-Archives-Hash: 405e13c2671fc4b4d7bc806234beec85 commit: 72f76cae15de74cb99a604303de297fb5412d68f Author: NP-Hardass gentoo org> AuthorDate: Sat Apr 9 18:01:59 2016 +0000 Commit: NP Hardass gentoo org> CommitDate: Sat Apr 9 18:15:28 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f76cae app-emulation/wine: Change GCC 5.3 warning, per mgorny request. Package-Manager: portage-2.2.26 app-emulation/wine/wine-1.8.1.ebuild | 4 ++-- app-emulation/wine/wine-1.8.ebuild | 13 +++++++++++++ app-emulation/wine/wine-1.9.4.ebuild | 9 ++++----- app-emulation/wine/wine-1.9.5.ebuild | 4 ++-- app-emulation/wine/wine-1.9.6.ebuild | 4 ++-- app-emulation/wine/wine-9999.ebuild | 4 ++-- 6 files changed, 25 insertions(+), 13 deletions(-) diff --git a/app-emulation/wine/wine-1.8.1.ebuild b/app-emulation/wine/wine-1.8.1.ebuild index 1d2d4c8..8823448 100644 --- a/app-emulation/wine/wine-1.8.1.ebuild +++ b/app-emulation/wine/wine-1.8.1.ebuild @@ -182,8 +182,8 @@ wine_build_environment_check() { # Compile in subshell to prevent "Aborted" message if ! ( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 || false ) >/dev/null 2>&1; then eerror "Wine cannot be built with this version of gcc-5.3" - eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild," - eerror "or use gcc-config to select a different compiler version." + eerror "due to compiler bugs; please use gcc-config to select a" + eerror "different compiler version." eerror "See https://bugs.gentoo.org/574044" eerror return 1 diff --git a/app-emulation/wine/wine-1.8.ebuild b/app-emulation/wine/wine-1.8.ebuild index 4c1b6f4..d28d9ba 100644 --- a/app-emulation/wine/wine-1.8.ebuild +++ b/app-emulation/wine/wine-1.8.ebuild @@ -177,6 +177,19 @@ wine_build_environment_check() { return 1 fi fi + # bug #574044 + if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then + einfo "Checking for gcc-5-3 stack realignment compiler bug ..." + # Compile in subshell to prevent "Aborted" message + if ! ( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 || false ) >/dev/null 2>&1; then + eerror "Wine cannot be built with this version of gcc-5.3" + eerror "due to compiler bugs; please use gcc-config to select a" + eerror "different compiler version." + eerror "See https://bugs.gentoo.org/574044" + eerror + return 1 + fi + fi if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then eerror "You need gcc-4.4+ to build 64-bit wine" diff --git a/app-emulation/wine/wine-1.9.4.ebuild b/app-emulation/wine/wine-1.9.4.ebuild index e47fe62..70ad728 100644 --- a/app-emulation/wine/wine-1.9.4.ebuild +++ b/app-emulation/wine/wine-1.9.4.ebuild @@ -177,12 +177,11 @@ wine_build_environment_check() { # bug #574044 if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then einfo "Checking for gcc-5-3 stack realignment compiler bug ..." - $(tc-getCC) -O2 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 || die - # Run in subshell to prevent "Aborted" message - if ! ( "${T}"/69140 || false ) >/dev/null 2>&1; then + # Compile in subshell to prevent "Aborted" message + if ! ( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 || false ) >/dev/null 2>&1; then eerror "Wine cannot be built with this version of gcc-5.3" - eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild," - eerror "or use gcc-config to select a different compiler version." + eerror "due to compiler bugs; please use gcc-config to select a" + eerror "different compiler version." eerror "See https://bugs.gentoo.org/574044" eerror return 1 diff --git a/app-emulation/wine/wine-1.9.5.ebuild b/app-emulation/wine/wine-1.9.5.ebuild index 509dbfe..6f64997 100644 --- a/app-emulation/wine/wine-1.9.5.ebuild +++ b/app-emulation/wine/wine-1.9.5.ebuild @@ -179,8 +179,8 @@ wine_build_environment_check() { # Compile in subshell to prevent "Aborted" message if ! ( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 || false ) >/dev/null 2>&1; then eerror "Wine cannot be built with this version of gcc-5.3" - eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild," - eerror "or use gcc-config to select a different compiler version." + eerror "due to compiler bugs; please use gcc-config to select a" + eerror "different compiler version." eerror "See https://bugs.gentoo.org/574044" eerror return 1 diff --git a/app-emulation/wine/wine-1.9.6.ebuild b/app-emulation/wine/wine-1.9.6.ebuild index e735b28..8a68ba0 100644 --- a/app-emulation/wine/wine-1.9.6.ebuild +++ b/app-emulation/wine/wine-1.9.6.ebuild @@ -180,8 +180,8 @@ wine_build_environment_check() { # Compile in subshell to prevent "Aborted" message if ! ( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 || false ) >/dev/null 2>&1; then eerror "Wine cannot be built with this version of gcc-5.3" - eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild," - eerror "or use gcc-config to select a different compiler version." + eerror "due to compiler bugs; please use gcc-config to select a" + eerror "different compiler version." eerror "See https://bugs.gentoo.org/574044" eerror return 1 diff --git a/app-emulation/wine/wine-9999.ebuild b/app-emulation/wine/wine-9999.ebuild index e735b28..8a68ba0 100644 --- a/app-emulation/wine/wine-9999.ebuild +++ b/app-emulation/wine/wine-9999.ebuild @@ -180,8 +180,8 @@ wine_build_environment_check() { # Compile in subshell to prevent "Aborted" message if ! ( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 || false ) >/dev/null 2>&1; then eerror "Wine cannot be built with this version of gcc-5.3" - eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild," - eerror "or use gcc-config to select a different compiler version." + eerror "due to compiler bugs; please use gcc-config to select a" + eerror "different compiler version." eerror "See https://bugs.gentoo.org/574044" eerror return 1