From owner-freebsd-java@FreeBSD.ORG Thu Jan 30 03:39:34 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 157C48E7 for ; Thu, 30 Jan 2014 03:39:34 +0000 (UTC) Received: from blu0-omc1-s6.blu0.hotmail.com (blu0-omc1-s6.blu0.hotmail.com [65.55.116.17]) by mx1.freebsd.org (Postfix) with ESMTP id D558F1B6D for ; Thu, 30 Jan 2014 03:39:33 +0000 (UTC) Received: from BLU179-W52 ([65.55.116.7]) by blu0-omc1-s6.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 29 Jan 2014 19:38:26 -0800 X-TMN: [TfhETYu+ks8fxr1twnsqljewn3FRAwAm] X-Originating-Email: [brunolauze@msn.com] Message-ID: From: =?iso-8859-1?B?QnJ1bm8gTGF1euk=?= To: "freebsd-java@freebsd.org" Subject: openjdk7 Date: Wed, 29 Jan 2014 22:38:25 -0500 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 30 Jan 2014 03:38:26.0226 (UTC) FILETIME=[BBD8E120:01CF1D6C] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 03:39:34 -0000 I am trying to resolve a problem with adlc / refresh_adfiles rule Here's the build output. It seems gcc cannot preprocess bsd_x86_64.ad file.= Anyone have an ideas on this? Could someone send me the files generated in this rule: In /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/hotspot/outputdir/= generated/adfiles/ ad_x86_64.cppdfa_x86_64.cppad_x86_64.hpp Making adlcg++46 -m64 -Xlinker -O1 -m64 -Xlinker -export-dynamic -o ../gene= rated/adfiles/adlc ../generated/adfiles/adlparse.o ../generated/adfiles/arc= hDesc.o ../generated/awk '{ if (CUR_FN !=3D FILENAME) { CUR_FN=3DFILENAME= =3B NR_BASE=3DNR-1=3B need_lineno=3D1 } if (need_lineno && $0 !~ /\/\//) { = print "\n\n#line " (NR-NR_BASE) " \"" FILENAMcp /wrkdirs/usr/ports/java/ope= njdk7/work/openjdk/hotspot/make/bsd/adlc_updater adlc_updater=3B chmod +x a= dlc_updater../generated/adfiles/adlc -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64= -q -T -g -D_LP64 ../generated/adfiles/bsd_x86_64.ad \ -c../generated/adfi= les/mktmp90481/ad_x86_64.cpp -h../generated/adfiles/mktmp90481/ad_x86_64.hp= p -a../generated/adfiles/mktmp90481/dfa_x86_64.cpp -v../generated || { r= m -rf ../generated/adfiles/mktmp90481=3B exit 1=3B }../generated/adfiles/bs= d_x86_64.ad(26) Syntax Error: :integer expected at 2 Error Context: >>>2<<<4 "/wrkdirs/usr/ports/java/openjdk7/work/openjdk/hot= spot/src/cpu/x86/vm/x86_64.ad"Error Context: >>>4<<<4 "/wrkdirs/usr/ports/= java/openjdk7/work/openjdk/hotspot/src/cpu/x86/vm/x86_64.ad"../generated/ad= files/bsd_x86_64.ad(4430) Syntax Error: :integer expected at 3 Error Context: >>>3<<<=3B // Up to 3 instructions per bundleError Contex= t: >>>=3B<<< // Up to 3 instructions per bundleError Context: >>><<< = // Up to 3 instructions per bundleError Context: >>>i<<>><<<= instruction_fetch_unit_size =3D 16=3B // The processor fetches one lineE= rror Context: >>><<< instruction_fetch_unit_size =3D 16=3B // The proces= sor fetches one lineError Context: >>><<< instruction_fetch_units =3D 1= =3B // of 16 bytesError Context: >>> <<<=3D 1=3B // of 16 byte= s../generated/adfiles/bsd_x86_64.ad(4431) Syntax Error: :expected one of - = instruct=2C operand=2C ins_attrib=2C op_attrib=2C source=2C register=2C pip= eline=2C encode Found nnstruction_unit_sizeError Context: >>> <<<=3D 1= =3B // An instruction is 1 bytes long instruction_fetch_unit_size= =3D 16=3B // The processor fetches one line instruction_fetch../generat= ed/adfiles/bsd_x86_64.ad(4434) Syntax Error: :expected one of - instruct=2C= operand=2C ins_attrib=2C op_attrib=2C source=2C register=2C pipeline=2C en= code Found nopsError Context: >>>(<<< MachNop )=3B../generated/adfiles= /bsd_x86_64.ad(4435) Syntax Error: :identifier expected at % Error Context: >>>%<<<}../generated/adfiles/bsd_x86_64.ad(4445) Syntax Err= or: :expected one of - instruct=2C operand=2C ins_attrib=2C op_attrib=2C so= urce=2C register=2C pipeline=2C encode Found resourcesError Context: >= >>(<<< D0=2C D1=2C D2=2C DECODE =3D D0 | D1 | D2=2C../generated/adfiles/bsd= _x86_64.ad(4446) Syntax Error: :expected one of - instruct=2C operand=2C in= s_attrib=2C op_attrib=2C source=2C register=2C pipeline=2C encode Found= MS0Error Context: >>>=2C<<< MS1=2C MS2=2C MEM =3D MS0 | MS1 | MS2=2C../ge= nerated/adfiles/bsd_x86_64.ad(4447) Syntax Error: :expected one of - instru= ct=2C operand=2C ins_attrib=2C op_attrib=2C source=2C register=2C pipeline= =2C encode Found BRError Context: >>>=2C<<< FPU=2C../generated/adfiles= /bsd_x86_64.ad(4448) Syntax Error: :expected one of - instruct=2C operand= =2C ins_attrib=2C op_attrib=2C source=2C register=2C pipeline=2C encode = Found ALU0 =