From patchwork Wed Sep 17 11:57:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Nevill X-Patchwork-Id: 37515 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9D6F32057E for ; Wed, 17 Sep 2014 11:57:43 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id l4sf172525lbv.4 for ; Wed, 17 Sep 2014 04:57:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:subject:from:reply-to:to :cc:date:organization:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=TPxL3y4WS/6NPH91ZdV1hDp+Kx6KkuXleUxWMbTRMcA=; b=Iu7DQzmxVmw0MJBkRuFJk+kN8Zl/oAELPNSN1nCRlCxIL2kG1pPsGu0Y+wSnpwjHrY 49czhGOtsMAlascWQmG7v8/t3CiYTyOYF0vCEBv4A/NzyeNarflljp2fLlbW8/IeuP2j O/I20IcK8U2+PA5ZjuiZERckaUdKAC90C5godQgXTjMrn+dHphEccL8xv03iEKsxNb/Y DW54mobKFqqpSWu2n/55Gc+tEbWVVJHLiDQuZ3nvMKclL3+jfclo1+jiQOpCKulLy+mc FdqjfNF3ndArfLlqIKP7ncF00gh43/G8qouyiIix8PieSHWi0QV5s0hrekM89FPVOJX9 dEpA== X-Gm-Message-State: ALoCoQl/b5mLIO8lUN3pLexJtzqW9hXqdCsA8TAgGRSPapfSpE0F2SJyK8Opk7qN11mdgdAHrEsy X-Received: by 10.112.137.230 with SMTP id ql6mr368029lbb.13.1410955062448; Wed, 17 Sep 2014 04:57:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.9 with SMTP id o9ls88572lao.97.gmail; Wed, 17 Sep 2014 04:57:42 -0700 (PDT) X-Received: by 10.112.138.226 with SMTP id qt2mr22977528lbb.14.1410955062318; Wed, 17 Sep 2014 04:57:42 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) by mx.google.com with ESMTPS id xx3si28223123lbb.122.2014.09.17.04.57.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Sep 2014 04:57:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by mail-la0-f48.google.com with SMTP id ty20so1700787lab.35 for ; Wed, 17 Sep 2014 04:57:41 -0700 (PDT) X-Received: by 10.112.4.33 with SMTP id h1mr40369689lbh.67.1410955061880; Wed, 17 Sep 2014 04:57:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.130.169 with SMTP id of9csp560517lbb; Wed, 17 Sep 2014 04:57:41 -0700 (PDT) X-Received: by 10.180.211.197 with SMTP id ne5mr5095844wic.29.1410955061229; Wed, 17 Sep 2014 04:57:41 -0700 (PDT) Received: from mail-we0-f173.google.com (mail-we0-f173.google.com [74.125.82.173]) by mx.google.com with ESMTPS id n7si6300672wix.83.2014.09.17.04.57.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Sep 2014 04:57:41 -0700 (PDT) Received-SPF: pass (google.com: domain of edward.nevill@linaro.org designates 74.125.82.173 as permitted sender) client-ip=74.125.82.173; Received: by mail-we0-f173.google.com with SMTP id u56so1305562wes.18 for ; Wed, 17 Sep 2014 04:57:40 -0700 (PDT) X-Received: by 10.194.84.175 with SMTP id a15mr2355064wjz.12.1410955060602; Wed, 17 Sep 2014 04:57:40 -0700 (PDT) Received: from [10.0.7.5] ([88.98.47.97]) by mx.google.com with ESMTPSA id hm5sm21939826wjb.2.2014.09.17.04.57.39 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 17 Sep 2014 04:57:39 -0700 (PDT) Message-ID: <1410955058.2899.14.camel@localhost.localdomain> Subject: RFR: jdk8: work around problem with gcc 4.8.x From: Edward Nevill Reply-To: edward.nevill@linaro.org To: "aarch64-port-dev@openjdk.java.net" Cc: Patch Tracking Date: Wed, 17 Sep 2014 12:57:38 +0100 Organization: Linaro X-Mailer: Evolution 3.8.5 (3.8.5-2.fc19) Mime-Version: 1.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: edward.nevill@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Hi, The following patch works around a problem with gcc 4.8.x compiling ciEnv.cpp, OK to push in jdk8? Ed. --- CUT HERE --- # HG changeset patch # User Edward Nevill edward.nevill@linaro.org # Date 1410954800 -3600 # Wed Sep 17 12:53:20 2014 +0100 # Node ID 05c84f4cec3e49b04ce42faa0995da5dd254665a # Parent a6df78e590bb97446250ac5466f5d59a86161c43 Work around problem with gcc 4.8.x diff -r a6df78e590bb -r 05c84f4cec3e make/linux/makefiles/gcc.make --- a/make/linux/makefiles/gcc.make Wed Sep 10 10:42:58 2014 -0400 +++ b/make/linux/makefiles/gcc.make Wed Sep 17 12:53:20 2014 +0100 @@ -267,6 +267,12 @@ ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 3), 1) OPT_CFLAGS/mulnode.o += $(OPT_CFLAGS/NOOPT) endif + # Work around problem with 4.8 series building ciEnv on aarch64 + ifeq ($(BUILDARCH), aarch64) + ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 8), 1) + OPT_CFLAGS/ciEnv.o += $(OPT_CFLAGS/NOOPT) + endif + endif endif # Flags for generating make dependency flags. --- CUT HERE ---