From patchwork Mon May 19 12:37:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Nevill X-Patchwork-Id: 30382 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B8C8120CB3 for ; Mon, 19 May 2014 12:38:02 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id hr9sf29471423vcb.2 for ; Mon, 19 May 2014 05:38:02 -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=5676STxHBn6RgSLpnXRHb5LhCyhznfqIzcWNdJqPrY4=; b=GfNqEIhticEKae1KNc/Gsu4754BxIge3rmNbC3lhmXIcrwdgJuXv6FsPHovCxHLYZx /oSp2JjNLAPnlAt1mi3ZyeS+D4WidEaMQVky2ze4SsAp7cnHgQoG0dxAy56m9Dsionzc tn7LnO8t3HJCVFGFqOjP4iZjleNSeZs3DsvFGRn5yCXsbOfz6QKXdfFqYTOQTEIVgMuI WbzhMaa5rbjqJlRxynvdJAMNsAXaOzX1QkD9Cf5oP9CSmPpYwqkS66XeAYNd4zYJgXu2 hgXOkgUglT8A4DcFXoxmhPSxXXmCXh4TSjw15p0N8/2o+SiqSSgOIR8qIMqUgGeQApkd /Y0g== X-Gm-Message-State: ALoCoQnG0l5VXYFGzMCc30SjHz4o5c5Niro2vuP7Q2VLuFLNb0xW0Mbluf0pCn1J38pzV3BSuQC8 X-Received: by 10.224.147.72 with SMTP id k8mr15127765qav.5.1400503082496; Mon, 19 May 2014 05:38:02 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.24.42 with SMTP id 39ls1645416qgq.26.gmail; Mon, 19 May 2014 05:38:02 -0700 (PDT) X-Received: by 10.220.106.7 with SMTP id v7mr148264vco.46.1400503082411; Mon, 19 May 2014 05:38:02 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id sj5si500882vdc.155.2014.05.19.05.38.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 May 2014 05:38:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.182 as permitted sender) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id sa20so6331451veb.13 for ; Mon, 19 May 2014 05:38:02 -0700 (PDT) X-Received: by 10.52.93.201 with SMTP id cw9mr79331vdb.80.1400503082263; Mon, 19 May 2014 05:38:02 -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.220.221.72 with SMTP id ib8csp233743vcb; Mon, 19 May 2014 05:38:01 -0700 (PDT) X-Received: by 10.180.105.72 with SMTP id gk8mr12835145wib.32.1400503080811; Mon, 19 May 2014 05:38:00 -0700 (PDT) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by mx.google.com with ESMTPS id pu1si8829939wjc.139.2014.05.19.05.38.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 May 2014 05:38:00 -0700 (PDT) Received-SPF: pass (google.com: domain of edward.nevill@linaro.org designates 74.125.82.42 as permitted sender) client-ip=74.125.82.42; Received: by mail-wg0-f42.google.com with SMTP id y10so7677044wgg.13 for ; Mon, 19 May 2014 05:38:00 -0700 (PDT) X-Received: by 10.194.60.211 with SMTP id j19mr17872494wjr.51.1400503080178; Mon, 19 May 2014 05:38:00 -0700 (PDT) Received: from [10.0.7.5] ([88.98.47.97]) by mx.google.com with ESMTPSA id pj5sm14859370wic.20.2014.05.19.05.37.59 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 19 May 2014 05:37:59 -0700 (PDT) Message-ID: <1400503078.9093.4.camel@localhost.localdomain> Subject: RFR: JDK9: Add missing aarch64 platform files From: Edward Nevill Reply-To: edward.nevill@linaro.org To: "aarch64-port-dev@openjdk.java.net" Cc: patches@linaro.org Date: Mon, 19 May 2014 13:37:58 +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.128.182 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 aarch64 platform specific files seem to be missing in the jdk9 tree. hotspot/make/linux/makefiles/aarch64.make hotspot/make/linux/platform_aarch64 jdk/src/solaris/bin/aarch64/jvm.cfg It does not build natively, or x-compiled without them. Ok to push? Ed. --- CUT HERE --- # HG changeset patch # User Edward Nevill edward.nevill@linaro.org # Date 1400502685 -3600 # Mon May 19 13:31:25 2014 +0100 # Node ID ccec36f8fb8c943c471fe83b755506d27cc9e1e0 # Parent a1363bc1be1dbe8a3bbe72732c30a27487753ed6 Add missing aarch64 platform files diff -r a1363bc1be1d -r ccec36f8fb8c make/linux/makefiles/aarch64.make --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/linux/makefiles/aarch64.make Mon May 19 13:31:25 2014 +0100 @@ -0,0 +1,38 @@ +# +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# +# + +# The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized +OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT) +# The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized +OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT) +# Must also specify if CPU is little endian +CFLAGS += -DVM_LITTLE_ENDIAN + +ifeq ($(BUILTIN_SIM), true) +CFLAGS += -DBUILTIN_SIM -DALLOW_OPERATOR_NEW_USAGE +endif + +# CFLAGS += -D_LP64=1 + +OPT_CFLAGS/compactingPermGenGen.o = -O1 diff -r a1363bc1be1d -r ccec36f8fb8c make/linux/platform_aarch64 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/linux/platform_aarch64 Mon May 19 13:31:25 2014 +0100 @@ -0,0 +1,15 @@ +os_family = linux + +arch = aarch64 + +arch_model = aarch64 + +os_arch = linux_aarch64 + +os_arch_model = linux_aarch64 + +lib_arch = aarch64 + +compiler = gcc + +sysdefs = -DLINUX -D_GNU_SOURCE -DAARCH64 --- CUT HERE --- --- CUT HERE --- # HG changeset patch # User Edward Nevill edward.nevill@linaro.org # Date 1400502736 -3600 # Mon May 19 13:32:16 2014 +0100 # Node ID eb1b4daa7e45e3caa7d8032d2fe2d2fd437337a3 # Parent 4dfa2ea6a6e7bfe71d0a0a23a88da70cf7373619 Add missing jvm.cfg diff -r 4dfa2ea6a6e7 -r eb1b4daa7e45 src/solaris/bin/aarch64/jvm.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/solaris/bin/aarch64/jvm.cfg Mon May 19 13:32:16 2014 +0100 @@ -0,0 +1,38 @@ +# +# +# +# Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# +# +# List of JVMs that can be used as an option to java, javac, etc. +# Order is important -- first in this list is the default JVM. +# NOTE that this both this file and its format are UNSUPPORTED and +# WILL GO AWAY in a future release. +# +# You may also select a JVM in an arbitrary location with the +# "-XXaltjvm=" option, but that too is unsupported +# and may not be available in a future release. +# +-server KNOWN +-client IGNORE --- CUT HERE ---