Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 63946 invoked from network); 19 Mar 2009 13:44:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2009 13:44:14 -0000 Received: (qmail 83652 invoked by uid 500); 19 Mar 2009 13:44:12 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 83619 invoked by uid 500); 19 Mar 2009 13:44:12 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 83608 invoked by uid 99); 19 Mar 2009 13:44:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2009 06:44:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sean.xx.qiu@gmail.com designates 209.85.200.174 as permitted sender) Received: from [209.85.200.174] (HELO wf-out-1314.google.com) (209.85.200.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2009 13:44:04 +0000 Received: by wf-out-1314.google.com with SMTP id 23so654226wfg.24 for ; Thu, 19 Mar 2009 06:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=O6F2XzR9zFZuiYIwwe3EV1AEY9/UoFpB+LVspp9B1bs=; b=KBUqQJTFVprmPVT1N4WF1+9OqoeHUAfTT93sOQOFIDaa0H0RMeUhg7RK/xsS8Vfjxj 90w8kLgxyzaAYLXqMBzKrCB50RCzMXPzMrUxqTmXudmT66PxMgHCBK7B4oQp0/GSHe1S +Xxfq2WzX68nt1uxGBTmUokmIUmoUgB82zd94= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=KyKqKW0TRR7wkViAzym6ob5xxL7jIvU59soxXI/vsW0uksqU3npGXfuKDkoHv5YI1v tkXvRwo/rWkB07swi81DltvNCxAA+tlENIs0DQSHmDj3JwC0a/B6AWSYJ6tnYWqCA7jI DF4QnkzRgxgnBxaEFNalOmcLLsj2NPl+N2HrM= MIME-Version: 1.0 Received: by 10.142.144.9 with SMTP id r9mr950413wfd.91.1237470223402; Thu, 19 Mar 2009 06:43:43 -0700 (PDT) In-Reply-To: <94d710af0903190202n730f046cq4e46510683a6e160@mail.gmail.com> References: <94d710af0903182148y48a23bcbs5bd33ec5b3050840@mail.gmail.com> <200903190848.n2J8mpUE012611@d12av02.megacenter.de.ibm.com> <94d710af0903190202n730f046cq4e46510683a6e160@mail.gmail.com> Date: Thu, 19 Mar 2009 21:43:43 +0800 Message-ID: <94d710af0903190643j2495c0b4i7dbee0744b8df8fc@mail.gmail.com> Subject: Re: [java6] Build error about HYTHR 0.2 From: Sean Qiu To: dev@harmony.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Mark had helped me with this issue. Seems it is a PEBKAC[1] :-( Please ignore it. [1]http://catb.org/jargon/html/P/PEBKAC.html 2009/3/19 Sean Qiu : > 2009/3/19 Mark Hindess >> >> In message <94d710af0903182148y48a23bcbs5bd33ec5b3050840@mail.gmail.com>= , >> Sean Qiu writes: >> > >> > Hi, All >> > >> > I'm trying to merge latest updates in M9 to our Java6 branch. >> >> Cool. =A0I'd started doing this but I'd only tested the classlib build s= o >> far. =A0(In fact, I'm not even sure how the java6 federation builds are >> setup. =A0I assume you manually svn switch working_classlib to the branc= h?) >> > > You're right. :-) > >> > I get following error messages while building =A0hdk. >> > >> > 1. ant -Dhy.no.thr=3Dtrue >> > I got following error while running the test, >> > >> > /hdk/jdk/jre/bin/libhythr.so: version `HYTHR_0.2' not found (required = by >> > /hdk/jdk/jre/bin/libhyprt.so) >> > failed to open hyprt library. >> >> This is to be expected. =A0DRLVM does not support the 0.2 thread api (ye= t?). > >> >> > 2. ant >> > I can't build the classlib at all, it got following >> > >> > =A0 =A0 =A0[exec] =A0 =A0 ../shared/main.o ../shared/cmain.o >> > ../shared/launcher_copyright.o ../shared/strbuf.o ../shared/libhlp.o >> > -Xlinker --start-group >> > -L/home/xiaoxia/checkout/hdk6/working_classlib/deploy/lib/ >> > -L/home/xiaoxia/checkout/hdk6/working_classlib/deploy/jdk/jre/bin/ >> > /home/xiaoxia/checkout/hdk6/working_classlib/deploy/lib/libhycommon.a >> > -lhythr -lhyprt -Xlinker --end-group -o ../java -lc -lm -ldl \ >> > =A0 =A0 =A0[exec] =A0 =A0 -Xlinker -z -Xlinker origin -Xlinker -rpath = -Xlinker >> > \$ORIGIN/ -Xlinker -rpath-link -Xlinker >> > -L/home/xiaoxia/checkout/hdk6/working_classlib/deploy/jdk/jre/bin >> > =A0 =A0 =A0[exec] ../shared/main.o: In function `addDirsToPath': >> > =A0 =A0 =A0[exec] >> > /home/xiaoxia/checkout/hdk6/working_classlib/modules/luni/src/main/nat= ive/lau >> > ncher/unix/../shared/main.c:1071: >> > undefined reference to `main_get_executable_name' >> > > Yes, it could be successfully built with -Dhy.no.thread=3Dtrue as I > indicated in 1. > >> The main_* functions are only defined/required if you built the .o files= with >> HY_NO_THR defined. =A0But this should only happen if you set -Dhy.no.thr= ead=3Dtrue. >> You'd probably get this kind of error if you tried to build with >> -Dhy.no.thread=3Dtrue and then build with -Dhy.no.thread=3Dfalse without= doing a > > Is that what we do while building federated build? > The solution seems unnatural to me... > > Since HYTHR_0.2 is not supported yet, we'd better make sure the > default building script can be successful at least. > Does it make sense? =A0Or am I missing something? > > >> clean. >> h >> Regards, >> =A0Mark. >> >> >> >> > > > > -- > Best Regards > Sean, Xiao Xia Qiu > --=20 Best Regards Sean, Xiao Xia Qiu