Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 57766 invoked from network); 17 Jan 2011 09:42:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jan 2011 09:42:59 -0000 Received: (qmail 31764 invoked by uid 500); 17 Jan 2011 09:42:59 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 31556 invoked by uid 500); 17 Jan 2011 09:42:57 -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 31338 invoked by uid 99); 17 Jan 2011 09:42:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 09:42:56 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of pierre.queinnec@zenika.com does not designate 84.16.68.89 as permitted sender) Received: from [84.16.68.89] (HELO smtp1.infomaniak.ch) (84.16.68.89) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 09:42:48 +0000 Received: from [192.168.0.23] (tru75-1-81-57-70-118.fbx.proxad.net [81.57.70.118]) (authenticated bits=0) by smtp1.infomaniak.ch (8.14.2/8.14.2) with ESMTP id p0H9gOEZ022875 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 17 Jan 2011 10:42:27 +0100 Message-Id: From: Pierre Queinnec To: dev@harmony.apache.org In-Reply-To: <07519FD8-0060-4855-B338-4FEACA4DCCB9@jpl.nasa.gov> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [general] Problem building Harmony on Mac OS X 10.6.6 Date: Mon, 17 Jan 2011 10:42:24 +0100 References: <4E9F1972-8415-4182-AEFC-9AD6AE5BC685@jpl.nasa.gov> <5A7C7B60-6171-4111-9786-1FF1367B2C33@jpl.nasa.gov> <07519FD8-0060-4855-B338-4FEACA4DCCB9@jpl.nasa.gov> X-Mailer: Apple Mail (2.936) X-Antivirus: Dr.Web (R) for Mail Servers on smtp1 host X-Antivirus-Code: 100000 X-Virus-Checked: Checked by ClamAV on apache.org Hi Chris, Sorry I didn't say this by mail, the patch is meant to be applied on =20 branches/java6. Cheers, -- Pierre On Jan 17, 2011, at 1:11 AM, Mattmann, Chris A (388J) wrote: > Hi Pierre, > > Thanks, I tried the patch but unfortunately it failed with the same =20= > error. There were like 2 or 3 files where your patch failed to apply =20= > to and several intermediate Hunks that failed too, which may be the =20= > reason it didn't work. I'm on Mac OS X 10.6.6 -- was your patch =20 > intended for that? > > Cheers, > Chris > > On Jan 16, 2011, at 1:25 PM, Pierre Queinnec wrote: > >> My patch PATCH-2011-01-16_3 fixes this. I've since switched to a >> classic build without any hy.skip.thr or hy.no.thr, and I can now >> confirm it builds fine this way with my new patch. It's in JIRA. >> >> As I explain in the issue, it builds but crashes with an LDIE013. >> Hope it helps, >> -- >> Pierre Queinnec >> CTO, Zenika >> >> Office: +33 1 45 26 19 15 >> Mobile: +33 6 66 27 10 71 >> >> >> >> On Jan 16, 2011, at 7:53 PM, Mattmann, Chris A (388J) wrote: >> >>> Hey Guys, >>> >>> I went ahead and updated my Mac Ports, and then ran the compile >>> again hoping it would get rid of the error. Well, it did get rid of >>> the error, but now produced a new one :( >>> >>> Here's what I am seeing: >>> >>> [exec] /usr/local/harmony/target/build/classlib/portlib/native/ >>> port/port_copyright.o /usr/local/harmony/target/build/classlib/ >>> portlib/native/port/hyerror.o /usr/local/harmony/target/build/ >>> classlib/portlib/native/port/hyerrorhelpers.o /usr/local/harmony/ >>> target/build/classlib/portlib/native/port/hyexit.o /usr/local/ >>> harmony/target/build/classlib/portlib/native/port/hyfile.o /usr/ >>> local/harmony/target/build/classlib/portlib/native/port/ >>> hyfiletext.o /usr/local/harmony/target/build/classlib/portlib/=20 >>> native/ >>> port/hygp.o /usr/local/harmony/target/build/classlib/portlib/native/ >>> port/hymem.o /usr/local/harmony/target/build/classlib/portlib/=20 >>> native/ >>> port//hymmap.o /usr/local/harmony/target/build/classlib/portlib/ >>> native/port/hynls.o /usr/local/harmony/target/build/classlib/=20 >>> portlib/ >>> native/port/hynlshelpers.o /usr/local/harmony/target/build/classlib/ >>> portlib/native/port/hyosdump.o /usr/local/harmony/target/build/ >>> classlib/portlib/native/port/hyport.o /usr/local/harmony/target/ >>> build/classlib/portlib/native/port/hyportcontrol.o /usr/local/ >>> harmony/target/build/classlib/portlib/native/port/hyportptb.o /usr/ >>> local/harmony/target/build/classlib/portlib/native/port/ >>> hysharedhelper.o /usr/local/harmony/target/build/classlib/portlib/ >>> native/port/hysl.o /usr/local/harmony/target/build/classlib/portlib/ >>> native/port/hysock.o /usr/local/harmony/target/build/classlib/ >>> portlib/native/port/hystr.o /usr/local/harmony/target/build/=20 >>> classlib/ >>> portlib/native/port/hystrftime.o /usr/local/harmony/target/build/ >>> classlib/portlib/native/port/hystsl.o /usr/local/harmony/target/ >>> build/classlib/portlib/native/port/hysysinfo.o /usr/local/harmony/ >>> target/build/classlib/portlib/native/port/hytime.o /usr/local/ >>> harmony/target/build/classlib/portlib/native/port/hytlshelpers.o / >>> usr/local/harmony/target/build/classlib/portlib/native/port/=20 >>> hytty.o / >>> usr/local/harmony/target/build/classlib/portlib/native/port/=20 >>> hycpu.o / >>> usr/local/harmony/target/build/classlib/portlib/native/port/ >>> hyipcmutex.o /usr/local/harmony/target/build/classlib/portlib/=20 >>> native/ >>> port/hyshmem.o /usr/local/harmony/target/build/classlib/portlib/ >>> native/port/hyshsem.o /usr/local/harmony/target/build/classlib/ >>> portlib/native/port/hyvmem.o -L/usr/local/harmony/target/hdk/lib/ - >>> L/usr/local/harmony/target/hdk/jdk/jre/bin/ /usr/local/harmony/ >>> target/hdk/lib/libhycommon.a -L/opt/local/lib -lc -ldl -liconv >>> [exec] Undefined symbols: >>> [exec] "_hythread_startup_library", referenced from: >>> [exec] _hyport_startup_library in hyport.o >>> [exec] "_hythread_allocate_library", referenced from: >>> [exec] _hyport_startup_library in hyport.o >>> [exec] ld: symbol(s) not found >>> [exec] collect2: ld returned 1 exit status >>> [exec] make: *** [/usr/local/harmony/target/hdk/jdk/jre/bin/ >>> libhyprt.dylib] Error 1 >>> >>> My build command was: >>> >>> ant -Dauto.fetch=3Dtrue -Dhy.no.thr=3Dyes all >>> >>> (note I only added the hy.no.thr property after trying it without, >>> and then getting this error): >>> >>> >>> -build-native-thread: >>> [echo] Making "" in src/main/native/thread/unix >>> [exec] cc -DMACOSX -DMACOSX_X86_64 -DHYX86_64 - >>> DIPv6_FUNCTION_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=3D64 -I/usr/ >>> local/harmony/target/hdk/include -I/usr/local/harmony/target/hdk/=20 >>> jdk/ >>> include -I. -I../shared/ -I/opt/local/include -O1 -DNDEBUG -fPIC - >>> fno-common -arch x86_64 -mmacosx-version-min=3D10.5 -Werror -c -=20= >>> o / >>> usr/local/harmony/target/build/classlib/portlib/native/thread/ >>> thread_copyright.o ../shared/thread_copyright.c >>> [exec] as -arch x86_64 -o /usr/local/harmony/target/build/ >>> classlib/portlib/native/thread/thrhelp.o x86_64/thrhelp.s >>> [exec] x86_64/thrhelp.s:37:Unknown pseudo-op: .type >>> [exec] x86_64/thrhelp.s:37:Rest of line ignored. 1st junk >>> character valued 104 (h). >>> [exec] x86_64/thrhelp.s:39:Unknown pseudo-op: .type >>> [exec] x86_64/thrhelp.s:39:Rest of line ignored. 1st junk >>> character valued 99 (c). >>> [exec] x86_64/thrhelp.s:41:Unknown pseudo-op: .type >>> [exec] x86_64/thrhelp.s:41:Rest of line ignored. 1st junk >>> character valued 104 (h). >>> [exec] x86_64/thrhelp.s:70:Unknown pseudo-op: .size >>> [exec] x86_64/thrhelp.s:70:Rest of line ignored. 1st junk >>> character valued 99 (c). >>> [exec] x86_64/thrhelp.s:95:Unknown pseudo-op: .size >>> [exec] x86_64/thrhelp.s:95:Rest of line ignored. 1st junk >>> character valued 104 (h). >>> [exec] x86_64/thrhelp.s:120:Unknown pseudo-op: .size >>> [exec] x86_64/thrhelp.s:120:Rest of line ignored. 1st junk >>> character valued 104 (h). >>> [exec] make: *** [/usr/local/harmony/target/build/classlib/ >>> portlib/native/thread/thrhelp.o] Error 1 >>> >>> BUILD FAILED >>> /usr/local/harmony/build.xml:480: The following error occurred while >>> executing this line: >>> /usr/local/harmony/classlib/build.xml:339: The following error >>> occurred while executing this line: >>> /usr/local/harmony/classlib/modules/portlib/build.xml:149: The >>> following error occurred while executing this line: >>> /usr/local/harmony/target/hdk/build/ant/properties.xml:412: exec >>> returned: 2 >>> >>> Total time: 1 minute 13 seconds >>> >>> >>> Any thoughts would be appreciated. >>> >>> Cheers, >>> Chris >>> On Jan 16, 2011, at 7:59 AM, Mattmann, Chris A (388J) wrote: >>> >>>> Thanks Charles. >>>> >>>> How do I change the error level? I'm using the Ant build? >>>> >>>> Cheers, >>>> Chris >>>> >>>> On Jan 16, 2011, at 2:09 AM, Charles Lee wrote: >>>> >>>>> Hi Chris, >>>>> >>>>> It seems a warning becoming to an error. Try to change the error >>>>> level. I do >>>>> not have a mac, hoping others will help. >>>>> >>>>> On Sun, Jan 16, 2011 at 11:08 AM, Mattmann, Chris A (388J) < >>>>> chris.a.mattmann@jpl.nasa.gov> wrote: >>>>> >>>>>> Hi Harmony-devs, >>>>>> >>>>>> First off, great work! I am trying to build Harmony from source >>>>>> on Mac OS X >>>>>> 10.6.6 and I am receiving some strange error with iconv, and I >>>>>> can't figure >>>>>> it out. Anyone have any ideas? >>>>>> >>>>>> Here is the build command: >>>>>> >>>>>> ant -Dauto.fetch=3Dtrue -Dhy.no.thr all >>>>>> >>>>>> >>>>>> Here is the error: >>>>>> ....snip >>>>>> [exec] cc -DMACOSX -DMACOSX_X86_64 -DHYX86_64 - >>>>>> DIPv6_FUNCTION_SUPPORT >>>>>> -D_REENTRANT -D_FILE_OFFSET_BITS=3D64 -DHY_NO_THR >>>>>> -I/usr/local/harmony/target/hdk/include >>>>>> -I/usr/local/harmony/target/hdk/jdk/include -I. -I../shared/ >>>>>> -I/opt/local/include -DHYPORT_LIBRARY_DEFINE -Imacosx.x86_64 -=20 >>>>>> O1 - >>>>>> DNDEBUG >>>>>> -fPIC -fno-common -arch x86_64 -mmacosx-version-min=3D10.5 - >>>>>> Werror -c -o >>>>>> /usr/local/harmony/target/build/classlib/portlib/native/port/ >>>>>> hyfile.o >>>>>> hyfile.c >>>>>> [exec] cc1: warnings being treated as errors >>>>>> [exec] hyfiletext.c: In function =91file_write_using_iconv=92: >>>>>> [exec] hyfiletext.c:420: warning: passing argument 2 of >>>>>> =91libiconv=92 from >>>>>> incompatible pointer type >>>>>> [exec] hyfiletext.c: In function =91buf_write_using_iconv=92: >>>>>> [exec] hyfiletext.c:493: warning: passing argument 2 of >>>>>> =91libiconv=92 from >>>>>> incompatible pointer type >>>>>> [exec] make: *** >>>>>> [/usr/local/harmony/target/build/classlib/portlib/native/port/ >>>>>> hyfiletext.o] >>>>>> Error 1 >>>>>> [exec] cc -DMACOSX -DMACOSX_X86_64 -DHYX86_64 - >>>>>> DIPv6_FUNCTION_SUPPORT >>>>>> -D_REENTRANT -D_FILE_OFFSET_BITS=3D64 -DHY_NO_THR >>>>>> -I/usr/local/harmony/target/hdk/include >>>>>> -I/usr/local/harmony/target/hdk/jdk/include -I. -I../shared/ >>>>>> -I/opt/local/include -DHYPORT_LIBRARY_DEFINE -Imacosx.x86_64 -=20 >>>>>> O1 - >>>>>> DNDEBUG >>>>>> -fPIC -fno-common -arch x86_64 -mmacosx-version-min=3D10.5 - >>>>>> Werror -c -o >>>>>> /usr/local/harmony/target/build/classlib/portlib/native/port/ >>>>>> hyfiletext.o >>>>>> hyfiletext.c >>>>>> >>>>>> BUILD FAILED >>>>>> /usr/local/harmony/build.xml:480: The following error occurred >>>>>> while >>>>>> executing this line: >>>>>> /usr/local/harmony/classlib/build.xml:339: The following error >>>>>> occurred >>>>>> while executing this line: >>>>>> /usr/local/harmony/classlib/modules/portlib/build.xml:180: The >>>>>> following >>>>>> error occurred while executing this line: >>>>>> /usr/local/harmony/target/hdk/build/ant/properties.xml:412: exec >>>>>> returned: >>>>>> 2 >>>>>> >>>>>> Total time: 1 minute 20 seconds >>>>>> [chipotle:/usr/local/harmony] mattmann% >>>>>> >>>>>> Here is my config: >>>>>> >>>>>> [chipotle:/usr/local/harmony] mattmann% ant -version >>>>>> Apache Ant version 1.8.1 compiled on September 21 2010 >>>>>> [chipotle:/usr/local/harmony] mattmann% which ant >>>>>> /usr/bin/ant >>>>>> [chipotle:/usr/local/harmony] mattmann% >>>>>> [chipotle:/usr/local/harmony] mattmann% ls /usr/share/ant/lib >>>>>> README ant-apache-resolver.pom ant-jmf.jar >>>>>> ant-nodeps.jar ant.pom >>>>>> ant-antlr.jar ant-apache-xalan2.pom ant-jmf.pom >>>>>> ant-nodeps.pom ecj.jar >>>>>> ant-antlr.pom ant-commons-logging.pom ant-=20 >>>>>> jsch.pom >>>>>> ant-parent.pom libraries.properties >>>>>> ant-apache-bcel.pom ant-commons-net.pom ant-=20 >>>>>> junit.jar >>>>>> ant-swing.jar maven-ant-tasks-2.1.1.jar >>>>>> ant-apache-bsf.pom ant-jai.jar ant-=20 >>>>>> junit.pom >>>>>> ant-swing.pom >>>>>> ant-apache-log4j.pom ant-jai.pom ant- >>>>>> launcher.jar >>>>>> ant-testutil.jar >>>>>> ant-apache-oro.pom ant-javamail.pom ant- >>>>>> launcher.pom >>>>>> ant-testutil.pom >>>>>> ant-apache-regexp.pom ant-jdepend.pom ant- >>>>>> netrexx.pom >>>>>> ant.jar >>>>>> [chipotle:/usr/local/harmony] mattmann% >>>>>> >>>>>> [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 --=20 >>>>>> disable- >>>>>> checking >>>>>> --enable-werror --prefix=3D/usr --mandir=3D/share/man >>>>>> --enable-languages=3Dc,objc,c++,obj-c++ >>>>>> --program-transform-name=3D/^[cg][^.-]*$/s/$/-4.2/ = --with-slibdir=3D/ >>>>>> usr/lib >>>>>> --build=3Di686-apple-darwin10 = --program-prefix=3Di686-apple-darwin10- >>>>>> --host=3Dx86_64-apple-darwin10 --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) >>>>>> [chipotle:/usr/local/harmony] mattmann% >>>>>> >>>>>> [chipotle:/usr/local/harmony] mattmann% echo $ANT_OPTS >>>>>> -Xms256m -Xmx512m >>>>>> [chipotle:/usr/local/harmony] mattmann% >>>>>> >>>>>> Any ideas would be greatly appreciated as I wanted to try out >>>>>> Harmony with >>>>>> some of my existing projects to test it out. >>>>>> >>>>>> Thanks! >>>>>> >>>>>> Cheers, >>>>>> Chris >>>>>> >>>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=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/ >>>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=20= >>>>>> ++ >>>>>> Adjunct Assistant Professor, Computer Science Department >>>>>> University of Southern California, Los Angeles, CA 90089 USA >>>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=20= >>>>>> ++ >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Yours sincerely, >>>>> Charles Lee >>>> >>>> >>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>>> 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 >>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>>> >>> >>> >>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>> 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 >>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>> >> > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 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 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >