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 9886E139694 for ; Wed, 31 May 2017 20:39:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C7AB21C09B; Wed, 31 May 2017 20:39:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E202521C09B for ; Wed, 31 May 2017 20:39:01 +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 A1B65341730 for ; Wed, 31 May 2017 20:39:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1756E7449 for ; Wed, 31 May 2017 20:38:59 +0000 (UTC) From: "Jory Pratt" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jory Pratt" Message-ID: <1496263116.b991ecbf4b64801c61eb85687e55ce4078159c4a.anarchy@gentoo> Subject: [gentoo-commits] proj/mozilla:master commit in: eclass/ X-VCS-Repository: proj/mozilla X-VCS-Files: eclass/mozcoreconf-v5.eclass X-VCS-Directories: eclass/ X-VCS-Committer: anarchy X-VCS-Committer-Name: Jory Pratt X-VCS-Revision: b991ecbf4b64801c61eb85687e55ce4078159c4a X-VCS-Branch: master Date: Wed, 31 May 2017 20:38:59 +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: 57ef0e92-b0b5-47c4-969c-6d406666ce75 X-Archives-Hash: f661476a55190428fc2b9a4f29a6929e commit: b991ecbf4b64801c61eb85687e55ce4078159c4a Author: Jory A. Pratt gentoo org> AuthorDate: Wed May 31 20:38:36 2017 +0000 Commit: Jory Pratt gentoo org> CommitDate: Wed May 31 20:38:36 2017 +0000 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=b991ecbf Revert "Revert "Revert "eclass/mozcoreconf-v5: Work around broken optimization level of -Os""" This reverts commit bd950bc8aaa8170b0495f46218a77912396d0046. Maybe it will not revert the revert this time around eclass/mozcoreconf-v5.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass index 854b3cb..4ecfbd8 100644 --- a/eclass/mozcoreconf-v5.eclass +++ b/eclass/mozcoreconf-v5.eclass @@ -158,8 +158,8 @@ mozconfig_init() { # Set optimization level if [[ ${ARCH} == hppa ]]; then mozconfig_annotate "more than -O0 causes a segfault on hppa" --enable-optimize=-O0 - elif [[ ${ARCH} =~ (x86|amd64) ]]; then - mozconfig_annotate "Work around broken gcc optimization level" --enable-optimize=-O2 + elif [[ ${ARCH} == x86 ]]; then + mozconfig_annotate "less then -O2 causes a segfault on x86" --enable-optimize=-O2 elif use custom-optimization || [[ ${ARCH} =~ (alpha|ia64) ]]; then # Set optimization level based on CFLAGS if is-flag -O0; then