Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 92577 invoked from network); 24 Jan 2011 04:03:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jan 2011 04:03:17 -0000 Received: (qmail 4894 invoked by uid 500); 24 Jan 2011 04:03:17 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 4663 invoked by uid 500); 24 Jan 2011 04:03:14 -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 4654 invoked by uid 99); 24 Jan 2011 04:03:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 04:03:13 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [128.149.139.106] (HELO mail.jpl.nasa.gov) (128.149.139.106) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 04:03:04 +0000 Received: from mail.jpl.nasa.gov (altvirehtstap02.jpl.nasa.gov [128.149.137.73]) by smtp.jpl.nasa.gov (Switch-3.4.3/Switch-3.4.3) with ESMTP id p0O42fKD028014 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified FAIL) for ; Sun, 23 Jan 2011 20:02:41 -0800 Received: from ALTPHYEMBEVSP20.RES.AD.JPL ([128.149.137.82]) by ALTVIREHTSTAP02.RES.AD.JPL ([128.149.137.73]) with mapi; Sun, 23 Jan 2011 20:02:41 -0800 From: "Mattmann, Chris A (388J)" To: "dev@harmony.apache.org" Date: Sun, 23 Jan 2011 20:02:39 -0800 Subject: Re: [general] Problem building Harmony on Mac OS X 10.6.6 Thread-Topic: [general] Problem building Harmony on Mac OS X 10.6.6 Thread-Index: Acu7e4tJ+6QB1PhxSQKBb+pTf4KQVg== Message-ID: <58B0294D-1FD8-4A33-A3E5-5B376F6F4110@jpl.nasa.gov> References: <4E9F1972-8415-4182-AEFC-9AD6AE5BC685@jpl.nasa.gov> <5A7C7B60-6171-4111-9786-1FF1367B2C33@jpl.nasa.gov> <201101182102.p0IL2wBe026597@d06av07.portsmouth.uk.ibm.com> <201101190843.p0J8h8HH032129@d06av10.portsmouth.uk.ibm.com> <7E2580AA-3915-498A-85A5-9EE285DF19AD@zenika.com> <7A384249-B460-4BEC-BE18-F3E61FDCA4BD@zenika.com> In-Reply-To: <7A384249-B460-4BEC-BE18-F3E61FDCA4BD@zenika.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Source-IP: altvirehtstap02.jpl.nasa.gov [128.149.137.73] X-Source-Sender: chris.a.mattmann@jpl.nasa.gov X-AUTH: Authorized X-Virus-Checked: Checked by ClamAV on apache.org Thanks Pierre, I tried this out, still doesn't work: [exec] cc -DMACOSX -DMACOSX_X86_64 -DHYX86_64 -DIPv6_FUNCTION_SUPPORT = -D_REENTRANT -D_FILE_OFFSET_BITS=3D64 -I/usr/local/harmony/target/hdk/inclu= de -I/usr/local/harmony/target/hdk/jdk/include -I. -I../shared/ -I/opt/loca= l/include -DHYPORT_LIBRARY_DEFINE -Imacosx.x86_64 -O1 -DNDEBUG -fPIC -fno-c= ommon -arch x86_64 -mmacosx-version-min=3D10.5 -Werror -c -o /usr/local= /harmony/target/build/classlib/portlib/native/port/hyvmem.o macosx/hyvmem.c [exec] make: *** No rule to make target `/usr/local/harmony/target/hdk= /lib/libhythr.dylib', needed by `/usr/local/harmony/target/build/classlib/p= ortlib/native/port/libhyprt.dylib'. Stop. BUILD FAILED /usr/local/harmony/build.xml:480: The following error occurred while execut= ing this line: /usr/local/harmony/classlib/build.xml:340: The following error occurred whi= le executing this line: /usr/local/harmony/classlib/modules/portlib/build.xml:180: The following er= ror occurred while executing this line: /usr/local/harmony/target/hdk/build/ant/properties.xml:413: exec returned: = 2 Total time: 1 minute 43 seconds Cheers, Chris On Jan 23, 2011, at 2:16 PM, Pierre Queinnec wrote: > Hi Chris, >=20 > My new branch named 'osx-10.6' probably will make your 10.6 compile. =20 > It won't run though. I'm currently investigating why. > Cheers, > -- Pierre >=20 >=20 > On Jan 21, 2011, at 5:27 PM, Mattmann, Chris A (388J) wrote: >=20 >> Thanks Pierre! >>=20 >> I tried your Github branch and unfortunately it still fails for me: >>=20 >> [exec] cc -DMACOSX -DMACOSX_X86_64 -DHYX86_64 -=20 >> DIPv6_FUNCTION_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=3D64 -=20 >> DHY_NO_THR -I/usr/local/harmony/target/hdk/include -I/usr/local/=20 >> harmony/target/hdk/jdk/include -I. -I../shared/ -I/opt/local/include =20 >> -DHYPORT_LIBRARY_DEFINE -Imacosx.x86_64 -O1 -DNDEBUG -fPIC -fno-=20 >> common -arch x86_64 -mmacosx-version-min=3D10.5 -Werror -c -o /usr/= =20 >> local/harmony/target/build/classlib/portlib/native/port/hyshsem.o =20 >> hyshsem.c >> [exec] cc -DMACOSX -DMACOSX_X86_64 -DHYX86_64 -=20 >> DIPv6_FUNCTION_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=3D64 -=20 >> DHY_NO_THR -I/usr/local/harmony/target/hdk/include -I/usr/local/=20 >> harmony/target/hdk/jdk/include -I. -I../shared/ -I/opt/local/include =20 >> -DHYPORT_LIBRARY_DEFINE -Imacosx.x86_64 -O1 -DNDEBUG -fPIC -fno-=20 >> common -arch x86_64 -mmacosx-version-min=3D10.5 -Werror -c -o /usr/= =20 >> local/harmony/target/build/classlib/portlib/native/port/hyvmem.o =20 >> macosx/hyvmem.c >> [exec] make: *** No rule to make target `/usr/local/harmony/=20 >> target/hdk/lib/libhythr.dylib', needed by `/usr/local/harmony/target/=20 >> build/classlib/portlib/native/port/libhyprt.dylib'. Stop. >>=20 >> BUILD FAILED >> /usr/local/harmony/build.xml:480: The following error occurred while =20 >> executing this line: >> /usr/local/harmony/classlib/build.xml:340: The following error =20 >> occurred while executing this line: >> /usr/local/harmony/classlib/modules/portlib/build.xml:180: The =20 >> following error occurred while executing this line: >> /usr/local/harmony/target/hdk/build/ant/properties.xml:413: exec =20 >> returned: 2 >>=20 >> Total time: 2 minutes 37 seconds >>=20 >> This was achieved by running: >>=20 >> ant -Dauto.fetch=3Dtrue -Dhy.no.thr=3Dfalse all >>=20 >> Here is my GCC: >>=20 >> [chipotle:/usr/local/harmony] mattmann% gcc -v >> Using built-in specs. >> Target: i686-apple-darwin10 >> Configured with: /var/tmp/gcc/gcc-5664~89/src/configure --disable-=20 >> checking --enable-werror --prefix=3D/usr --mandir=3D/share/man --enable-= =20 >> languages=3Dc,objc,c++,obj-c++ --program-transform-name=3D/^[cg][^.-]*$/= =20 >> s/$/-4.2/ --with-slibdir=3D/usr/lib --build=3Di686-apple-darwin10 --=20 >> program-prefix=3Di686-apple-darwin10- --host=3Dx86_64-apple-darwin10 --= =20 >> target=3Di686-apple-darwin10 --with-gxx-include-dir=3D/include/c++/4.2.1 >> Thread model: posix >> gcc version 4.2.1 (Apple Inc. build 5664) >>=20 >> Thanks! >>=20 >> Cheers, >> Chris >>=20 >> On Jan 20, 2011, at 4:43 PM, Pierre Queinnec wrote: >>=20 >>> Hi Mark, Chris, >>>=20 >>> On Jan 19, 2011, at 9:43 AM, Mark Hindess wrote: >>>=20 >>>>=20 >>>> In message , >>>> "Mattmann, Chris A (388J)" writes: >>>>>=20 >>>>> Thanks Mark. >>>>>=20 >>>>> I will try with the options that you mention below. I'm not sure =20 >>>>> how >>>>> to stub out the .s and .c files -- any suggestions would be >>>>> helpful... >>>>=20 >>>> Take a look in the ia64 directory. (Sorry, I'd have mentioned this >>>> yesterday but I'd forgotten about these files.) >>>=20 >>>=20 >>> Thanks for the tip. Actually it turns out it's even easier to comment >>> things out than stubbing it. As I wrote in Issue 5114, I forked the >>> java6 branch on GitHub to be able to test patching and building on >>> different machines without scp'ing patchfiles all along. Chris, I >>> fixed the thrhelp.s and thrspinlock.s issues for 10.6 in my repo, if >>> you want to check it out. >>>=20 >>> On my 10.6 machine, GCC is at '4.2.1 (Apple Inc. build 5664)' and as >>> is at 'cctools-782~33, GNU assembler version 1.38'. >>>=20 >>> I didn't finish the patch as it's running pretty late already here. >>> I'll let you know if you're interested. By the way let us all thank >>> Mark for all the work on FreeBSD, this obviously helped me _a lot_! >>>=20 >>> Cheers, >>> -- >>> Pierre Queinnec >>> CTO, Zenika >>>=20 >>> Office: +33 1 45 26 19 15 >>> Mobile: +33 6 66 27 10 71 >>>=20 >>=20 >>=20 >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> Chris Mattmann, Ph.D. >> Senior Computer Scientist >> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA >> Office: 171-266B, Mailstop: 171-246 >> Email: chris.a.mattmann@nasa.gov >> WWW: http://sunset.usc.edu/~mattmann/ >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> Adjunct Assistant Professor, Computer Science Department >> University of Southern California, Los Angeles, CA 90089 USA >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>=20 >=20 >=20 > -- > Pierre Queinnec > CTO, Zenika >=20 > Office: +33 1 45 26 19 15 > Mobile: +33 6 66 27 10 71 >=20 >=20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.a.mattmann@nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++