Thanks Pierre!
I tried your Github branch and unfortunately it still fails for me:
[exec] cc -DMACOSX -DMACOSX_X86_64 -DHYX86_64 -DIPv6_FUNCTION_SUPPORT
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -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 -O1 -DNDEBUG -fPIC
-fno-common -arch x86_64 -mmacosx-version-min=10.5 -Werror -c -o
/usr/local/harmony/target/build/classlib/portlib/native/port/hyshsem.o hyshsem.c
[exec] cc -DMACOSX -DMACOSX_X86_64 -DHYX86_64 -DIPv6_FUNCTION_SUPPORT
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -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 -O1 -DNDEBUG -fPIC
-fno-common -arch x86_64 -mmacosx-version-min=10.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/portlib/native/port/libhyprt.dylib'.
Stop.
BUILD FAILED
/usr/local/harmony/build.xml:480: The following error occurred while executing
this line:
/usr/local/harmony/classlib/build.xml:340: 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:413: exec returned: 2
Total time: 2 minutes 37 seconds
This was achieved by running:
ant -Dauto.fetch=true -Dhy.no.thr=false all
Here is my GCC:
[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-checking
--enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10-
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)
Thanks!
Cheers,
Chris
On Jan 20, 2011, at 4:43 PM, Pierre Queinnec wrote:
> Hi Mark, Chris,
>
> On Jan 19, 2011, at 9:43 AM, Mark Hindess wrote:
>
>>
>> In message <[email protected]>,
>> "Mattmann, Chris A (388J)" writes:
>>>
>>> Thanks Mark.
>>>
>>> I will try with the options that you mention below. I'm not sure how
>>> to stub out the .s and .c files -- any suggestions would be
>>> helpful...
>>
>> Take a look in the ia64 directory. (Sorry, I'd have mentioned this
>> yesterday but I'd forgotten about these files.)
>
>
> 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.
>
> 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'.
>
> 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_!
>
> Cheers,
> --
> Pierre Queinnec
> CTO, Zenika
>
> Office: +33 1 45 26 19 15
> Mobile: +33 6 66 27 10 71
>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: [email protected]
WWW: http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++