From msa at allman.ms Mon Mar 1 10:33:52 2010 From: msa at allman.ms (Michael Allman) Date: Mon, 1 Mar 2010 10:33:52 -0800 (PST) Subject: using the sendfile system call on Darwin In-Reply-To: <20100222020650.W69028@p3c0.erirefr.arg> References: <20100126012153.M76715@p3c0.erirefr.arg> <20100128051210.GA62234@misty.eyesbeyond.com> <20100219130719.U28251@p3c0.erirefr.arg> <20100222004737.GA59168@misty.eyesbeyond.com> <20100222020650.W69028@p3c0.erirefr.arg> Message-ID: <20100301103030.R43632@p3c0.erirefr.arg> Hello All, Can someone please run the jtreg test target below ("make jdk_nio2" in jdk/test) on a recent build of OpenJDK 7 and let me know if you get the errors I'm getting? I'd like to know before I start digging, and this is a blocker for my sendfile patch. I will gladly field any questions on running the tests. Thanks. Michael On Mon, 22 Feb 2010, Michael Allman wrote: > On Sun, 21 Feb 2010, Greg Lewis wrote: > >> G'day Michael, >> >> On Fri, Feb 19, 2010 at 01:07:35PM -0800, Michael Allman wrote: >>> Ok, I have a patch. How do I submit it? >> >> Sending it to the list for review (either directly or by putting up a URL >> people can see it at) is a good first step :). > > Before I send it, I have run into a pertinent issue. > > I am testing the jdk using the jdk/test/Makefile target jdk_nio2. Using > the virgin BSD port (i.e. without my patch), I get a whole boatload of > failures that look like > > FAILURE: FileChannel, offset 1, length 7 > Transfers$Failure: Incorrect transfer length: 65533 (expected 7) > at Transfers.testTo(Transfers.java:436) > at Transfers.main(Transfers.java:527) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:613) > at > com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) > at java.lang.Thread.run(Thread.java:717) > > Can someone else try running this test and report back their results? > > I ran it on Mac OS X v. 10.6.2. > > Cheers, > > Michael > From mvfranz at gmail.com Fri Mar 5 14:22:17 2010 From: mvfranz at gmail.com (Michael Franz) Date: Fri, 5 Mar 2010 17:22:17 -0500 Subject: Extra Zero/Shark patches for review In-Reply-To: <061B8A47-6453-46B1-A69F-67FCCA62A1FC@plausible.coop> References: <20091120030846.GA14602@misty.eyesbeyond.com> <20091120032208.A852D5654E@rebar.astron.com> <20091120162750.GA22059@misty.eyesbeyond.com> <4B0B5698.3020706@intricatesoftware.com> <20091125072208.GA16783@misty.eyesbeyond.com> <20091126022912.GA40138@misty.eyesbeyond.com> <2B3DED3E-4E60-4A42-BA34-E342A91D67EE@plausible.coop> <061B8A47-6453-46B1-A69F-67FCCA62A1FC@plausible.coop> Message-ID: Landonf, Sorry to be responding so late on this. Did you have any enhancements to the original post and files? I am just started to investigate this for Haiku. Michael On Sat, Nov 28, 2009 at 8:01 PM, Landon Fuller wrote: > > On Nov 28, 2009, at 4:45 PM, Michael Franz wrote: > > > On Sat, Nov 28, 2009 at 7:29 PM, Landon Fuller wrote: > >> If I have some extra time I might try bootstrapping my PPC iMac. >> >> -landonf >> >> Are all of the zero/shark patches in the repo? > > > I believe so, but building will require (at the least) Christos' last > patch, and the patches I just posted with the Mac atomics additions and > build fixes. > > Do you have a ppc based version of JDK 6 to bootstrap with? > > > I was thinking I'd just use Havard Eidnes's java wrapper scripts to do an > initial bootstrap: > http://freebsd.monkey.org/freebsd-java/200802/msg00002.html > > -landonf > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100305/85762bab/attachment.html From msa at allman.ms Fri Mar 5 18:03:19 2010 From: msa at allman.ms (Michael Allman) Date: Fri, 5 Mar 2010 18:03:19 -0800 (PST) Subject: using the sendfile system call on Darwin In-Reply-To: <20100301103030.R43632@p3c0.erirefr.arg> References: <20100126012153.M76715@p3c0.erirefr.arg> <20100128051210.GA62234@misty.eyesbeyond.com> <20100219130719.U28251@p3c0.erirefr.arg> <20100222004737.GA59168@misty.eyesbeyond.com> <20100222020650.W69028@p3c0.erirefr.arg> <20100301103030.R43632@p3c0.erirefr.arg> Message-ID: <20100305175217.T10394@p3c0.erirefr.arg> I've determined the cause of the Transfers.java test failure. The current implementation of transferTo ignores the count argument. I've attached my sendfile patch. It's very simple. It should resolve this issue while adding sendfile support for Darwin. Hopefully this will pave the way for other *bsd hackers to plug in their own sendfile implementations where possible. Cheers, Michael On Mon, 1 Mar 2010, Michael Allman wrote: > Hello All, > > Can someone please run the jtreg test target below ("make jdk_nio2" in > jdk/test) on a recent build of OpenJDK 7 and let me know if you get the > errors I'm getting? I'd like to know before I start digging, and this is > a blocker for my sendfile patch. > > I will gladly field any questions on running the tests. > > Thanks. > > Michael > > On Mon, 22 Feb 2010, Michael Allman wrote: > >> On Sun, 21 Feb 2010, Greg Lewis wrote: >> >>> G'day Michael, >>> >>> On Fri, Feb 19, 2010 at 01:07:35PM -0800, Michael Allman wrote: >>>> Ok, I have a patch. How do I submit it? >>> >>> Sending it to the list for review (either directly or by putting up a URL >>> people can see it at) is a good first step :). >> >> Before I send it, I have run into a pertinent issue. >> >> I am testing the jdk using the jdk/test/Makefile target jdk_nio2. Using >> the virgin BSD port (i.e. without my patch), I get a whole boatload of >> failures that look like >> >> FAILURE: FileChannel, offset 1, length 7 >> Transfers$Failure: Incorrect transfer length: 65533 (expected 7) >> at Transfers.testTo(Transfers.java:436) >> at Transfers.main(Transfers.java:527) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:613) >> at >> com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) >> at java.lang.Thread.run(Thread.java:717) >> >> Can someone else try running this test and report back their results? >> >> I ran it on Mac OS X v. 10.6.2. >> >> Cheers, >> >> Michael >> > -------------- next part -------------- diff -r be136cb85b3b src/solaris/native/sun/nio/ch/FileChannelImpl.c --- a/src/solaris/native/sun/nio/ch/FileChannelImpl.c Fri Mar 05 17:07:24 2010 -0800 +++ b/src/solaris/native/sun/nio/ch/FileChannelImpl.c Fri Mar 05 17:54:41 2010 -0800 @@ -256,54 +256,22 @@ #endif #ifdef _ALLBSD_SOURCE - /* - * XXXBSD: make sure that we're returning what java class may understand - * - * XXXBSD: I'd prefer to have it implemented with sendfile(), but since - * FreeBSD's sendfile() is only supposed to be used in file->socket - * schema we need to provide some kind of fall-back operation, if - * sendfile() failed with ENOTSOCK error only. - */ - void *buf; - off_t offset = (off_t)position; - int r, w = 0; +#ifdef __APPLE__ + int result = sendfile(srcFD, dstFD, position, &count, NULL, 0); - buf = malloc(4096); - if (buf == NULL) { - JNU_ThrowOutOfMemoryError(env, "heap allocation failed"); - return IOS_THROWN; - } + if (result == 0 || errno == EAGAIN) + return count; - while ((r = pread(srcFD, buf, 4096, offset)) > 0) { - w = write(dstFD, buf, r); - if (w == -1) - break; - offset += w; - } - free(buf); + if (errno == EINTR) + return IOS_INTERRUPTED; - /* - * Similar to solaris if we've transferred any data return - * the number of bytes and ignore any error - */ - if (offset - (off_t)position > 0) - return (offset - (off_t)position); + if (errno == ENOTSOCK) + return IOS_UNSUPPORTED_CASE; - /* - * Deal with NBIO EAGAIN & EINTR the same as solaris. - */ - if (r == -1 || w == -1) { - switch (errno) { - case EAGAIN: - return IOS_UNAVAILABLE; - case EINTR: - return IOS_INTERRUPTED; - default: - JNU_ThrowIOExceptionWithLastError(env, "Transfer failed"); - return IOS_THROWN; - } - } + JNU_ThrowIOExceptionWithLastError(env, "Transfer failed"); + return IOS_THROWN; +#endif - return (0); + return IOS_UNSUPPORTED; #endif } From glewis at eyesbeyond.com Tue Mar 9 09:11:37 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Tue, 09 Mar 2010 17:11:37 +0000 Subject: hg: bsd-port/bsd-port: 2 new changesets Message-ID: <20100309171137.6618D44472@hg.openjdk.java.net> Changeset: 3ddf90b39176 Author: mikejwre Date: 2010-03-04 13:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/3ddf90b39176 Added tag jdk7-b85 for changeset cf26288a114b ! .hgtags Changeset: 417d1a0aa480 Author: Greg Lewis Date: 2010-03-08 21:37 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/417d1a0aa480 Merge from main OpenJDK repository From glewis at eyesbeyond.com Tue Mar 9 09:11:42 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Tue, 09 Mar 2010 17:11:42 +0000 Subject: hg: bsd-port/bsd-port/corba: 2 new changesets Message-ID: <20100309171145.2169B44473@hg.openjdk.java.net> Changeset: 6253e28826d1 Author: mikejwre Date: 2010-03-04 13:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/6253e28826d1 Added tag jdk7-b85 for changeset c67a9df7bc0c ! .hgtags Changeset: 3d27806cf67b Author: Greg Lewis Date: 2010-03-08 21:37 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/3d27806cf67b Merge from main OpenJDK repository From glewis at eyesbeyond.com Tue Mar 9 09:11:53 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Tue, 09 Mar 2010 17:11:53 +0000 Subject: hg: bsd-port/bsd-port/hotspot: 30 new changesets Message-ID: <20100309171327.41C7544474@hg.openjdk.java.net> Changeset: 745c853ee57f Author: johnc Date: 2010-01-29 14:51 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/745c853ee57f 6885297: java -XX:RefDiscoveryPolicy=2 or -XX:TLABWasteTargetPercent=0 cause VM crash Summary: Interval checking is now being performed on the values passed in for these two flags. The current acceptable range for RefDiscoveryPolicy is [0..1], and for TLABWasteTargetPercent it is [1..100]. Reviewed-by: apetrusenko, ysr ! src/share/vm/includeDB_core ! src/share/vm/memory/referenceProcessor.hpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/arguments.hpp Changeset: 6484c4ee11cb Author: ysr Date: 2010-02-01 17:29 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/6484c4ee11cb 6904516: More object array barrier fixes, following up on 6906727 Summary: Fixed missing pre-barrier calls for G1, modified C1 to call pre- and correct post-barrier interfaces, deleted obsolete interface, (temporarily) disabled redundant deferred barrier in BacktraceBuilder. Reviewed-by: coleenp, jmasa, kvn, never ! src/share/vm/c1/c1_Runtime1.cpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/memory/barrierSet.hpp ! src/share/vm/memory/barrierSet.inline.hpp ! src/share/vm/runtime/stubRoutines.cpp Changeset: deada8912c54 Author: johnc Date: 2010-02-02 18:39 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/deada8912c54 6914402: G1: assert(!is_young_card(cached_ptr),"shouldn't get a card in young region") Summary: Invalid assert. Filter cards evicted from the card count cache instead. Reviewed-by: apetrusenko, tonyp ! src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp Changeset: 230fac611b50 Author: johnc Date: 2010-02-08 09:58 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/230fac611b50 Merge ! src/share/vm/c1/c1_Runtime1.cpp ! src/share/vm/includeDB_core Changeset: 455df1b81409 Author: kamg Date: 2010-02-08 13:49 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/455df1b81409 6587322: dtrace probe object__alloc doesn't fire in some situations on amd64 Summary: Fix misplaced probe point Reviewed-by: rasbold, phh Contributed-by: neojia at gmail.com ! src/cpu/x86/vm/templateTable_x86_64.cpp Changeset: 95d21201c29a Author: apangin Date: 2010-02-11 10:48 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/95d21201c29a Merge Changeset: 3f5b7efb9642 Author: never Date: 2010-02-05 11:07 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/3f5b7efb9642 6920293: OptimizeStringConcat causing core dumps Reviewed-by: kvn, twisti ! src/os_cpu/solaris_x86/vm/os_solaris_x86.cpp ! src/share/vm/code/nmethod.cpp ! src/share/vm/opto/stringopts.cpp ! src/share/vm/runtime/sharedRuntime.cpp Changeset: 576e77447e3c Author: kvn Date: 2010-02-07 12:15 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/576e77447e3c 6923002: assert(false,"this call site should not be polymorphic") Summary: Clear the total count when a receiver information is cleared. Reviewed-by: never, jrose ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/sparc/vm/interp_masm_sparc.cpp ! src/cpu/sparc/vm/sharedRuntime_sparc.cpp ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp ! src/cpu/x86/vm/interp_masm_x86_32.cpp ! src/cpu/x86/vm/interp_masm_x86_64.cpp ! src/share/vm/ci/ciMethod.cpp ! src/share/vm/oops/methodDataOop.hpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/runtime.cpp ! src/share/vm/runtime/arguments.cpp Changeset: f516d5d7a019 Author: kvn Date: 2010-02-08 12:20 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/f516d5d7a019 6910605: C2: NullPointerException/ClassCaseException is thrown when C2 with DeoptimizeALot is used Summary: Set the reexecute bit for runtime calls _new_array_Java when they used for _multianewarray bytecode. Reviewed-by: never ! src/share/vm/code/pcDesc.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/parse3.cpp + test/compiler/6910605/Test.java Changeset: f70b0d9ab095 Author: kvn Date: 2010-02-09 01:31 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/f70b0d9ab095 6910618: C2: Error: assert(d->is_oop(),"JVM_ArrayCopy: dst not an oop") Summary: Mark in PcDesc call sites which return oop and save the result oop across objects reallocation during deoptimization. Reviewed-by: never ! src/share/vm/c1/c1_IR.hpp ! src/share/vm/code/debugInfoRec.cpp ! src/share/vm/code/debugInfoRec.hpp ! src/share/vm/code/nmethod.cpp ! src/share/vm/code/pcDesc.hpp ! src/share/vm/code/scopeDesc.cpp ! src/share/vm/code/scopeDesc.hpp ! src/share/vm/includeDB_core ! src/share/vm/opto/output.cpp ! src/share/vm/prims/jvmtiCodeBlobEvents.cpp ! src/share/vm/runtime/deoptimization.cpp + test/compiler/6910618/Test.java Changeset: 4ee1c645110e Author: kvn Date: 2010-02-09 10:21 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/4ee1c645110e 6924097: assert((_type == Type::MEMORY) == (_adr_type != 0),"adr_type for memory phis only") Summary: Use PhiNode::make_blank(r, n) method to construct the phi. Reviewed-by: never ! src/share/vm/opto/loopopts.cpp Changeset: e3a4305c6bc3 Author: kvn Date: 2010-02-12 08:54 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/e3a4305c6bc3 6925249: assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(),"bad tos") Summary: Fix assert since top deoptimized frame has last_sp == interpreter_frame_monitor_begin if there are no expressions. Reviewed-by: twisti ! src/cpu/x86/vm/frame_x86.inline.hpp ! src/share/vm/runtime/deoptimization.cpp ! src/share/vm/runtime/frame.cpp ! src/share/vm/runtime/vframeArray.cpp Changeset: c09ee209b65c Author: kvn Date: 2010-02-12 10:34 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/c09ee209b65c 6926048: Improve Zero performance Summary: Make Zero figure out result types in a similar way to C++ interpreter implementation. Reviewed-by: kvn Contributed-by: gbenson at redhat.com ! src/cpu/zero/vm/cppInterpreter_zero.cpp ! src/cpu/zero/vm/cppInterpreter_zero.hpp Changeset: 7b4415a18c8a Author: kvn Date: 2010-02-12 15:27 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/7b4415a18c8a Merge ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp ! src/share/vm/includeDB_core ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/runtime.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/sharedRuntime.cpp Changeset: 38836cf1d8d2 Author: tonyp Date: 2010-02-05 11:05 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/38836cf1d8d2 6920977: G1: guarantee(k == probe->klass(),"klass should be in dictionary") fails Summary: the guarantee is too strict and the test will fail (incorrectly) if the class is not in the system dictionary but in the placeholders. Reviewed-by: acorn, phh ! src/share/vm/classfile/loaderConstraints.cpp ! src/share/vm/classfile/loaderConstraints.hpp ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/includeDB_core Changeset: 9eee977dd1a9 Author: tonyp Date: 2010-02-08 14:23 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/9eee977dd1a9 6802453: G1: hr()->is_in_reserved(from),"Precondition." Summary: The operations of re-using a RSet component and expanding the same RSet component were not mutually exlusive, and this could lead to RSets getting corrupted and entries being dropped. Reviewed-by: iveresov, johnc ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Changeset: 8859772195c6 Author: johnc Date: 2010-02-09 13:56 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/8859772195c6 6782663: Data produced by PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime is not accurate. Summary: Update and display the timers associated with these flags for all safepoints. Reviewed-by: ysr, jcoomes ! src/share/vm/runtime/vmThread.cpp ! src/share/vm/services/runtimeService.cpp Changeset: 0414c1049f15 Author: iveresov Date: 2010-02-11 15:52 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/0414c1049f15 6923991: G1: improve scalability of RSet scanning Summary: Implemented block-based work stealing. Moved copying during the rset scanning phase to the main copying phase. Made the size of rset table depend on the region size. Reviewed-by: apetrusenko, tonyp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1OopClosures.hpp ! src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp ! src/share/vm/gc_implementation/g1/g1RemSet.cpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp ! src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp ! src/share/vm/gc_implementation/g1/sparsePRT.cpp ! src/share/vm/gc_implementation/g1/sparsePRT.hpp ! src/share/vm/memory/cardTableModRefBS.hpp ! src/share/vm/utilities/globalDefinitions.hpp Changeset: 58add740c4ee Author: johnc Date: 2010-02-16 14:11 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/58add740c4ee Merge ! src/share/vm/includeDB_core Changeset: e7b1cc79bd25 Author: kvn Date: 2010-02-16 16:17 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/e7b1cc79bd25 6926697: "optimized" VM build failed: The type "AdapterHandlerTableIterator" is incomplete Summary: Define AdapterHandlerTableIterator class as non product instead of debug. Reviewed-by: never ! src/share/vm/runtime/sharedRuntime.cpp Changeset: 106f41e88c85 Author: never Date: 2010-02-16 20:07 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/106f41e88c85 6877221: Endless deoptimizations in OSR nmethod Reviewed-by: kvn ! src/share/vm/opto/parse1.cpp Changeset: b4b440360f1e Author: twisti Date: 2010-02-18 11:35 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/b4b440360f1e 6926782: CodeBuffer size too small after 6921352 Summary: After 6921352 the CodeBuffer size was too small. Reviewed-by: kvn, never ! src/share/vm/opto/callGenerator.cpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/compile.hpp ! src/share/vm/opto/output.cpp Changeset: 3b687c53c266 Author: twisti Date: 2010-02-18 06:54 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/3b687c53c266 6927165: Zero S/390 fixes Summary: Fixes two failures on 31-bit S/390. Reviewed-by: twisti Contributed-by: Gary Benson ! src/cpu/zero/vm/globals_zero.hpp ! src/os_cpu/linux_zero/vm/os_linux_zero.hpp Changeset: 72f1840531a4 Author: twisti Date: 2010-02-18 10:44 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/72f1840531a4 Merge Changeset: 1f341bb67b5b Author: trims Date: 2010-02-18 22:15 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1f341bb67b5b Merge Changeset: 6c9796468b91 Author: trims Date: 2010-02-18 22:16 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/6c9796468b91 6927886: Bump the HS17 build number to 10 Summary: Update the HS17 build number to 10 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 418bc80ce139 Author: mikejwre Date: 2010-03-04 13:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/418bc80ce139 Added tag jdk7-b85 for changeset 6c9796468b91 ! .hgtags Changeset: bf823ef06b4f Author: trims Date: 2010-03-08 15:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/bf823ef06b4f Added tag hs17-b10 for changeset 418bc80ce139 ! .hgtags Changeset: c089830905be Author: Greg Lewis Date: 2010-03-08 21:37 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/c089830905be Merge from main OpenJDK repository ! src/cpu/x86/vm/interp_masm_x86_32.cpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/includeDB_core Changeset: 32ebb1c95eca Author: Greg Lewis Date: 2010-03-08 22:20 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/32ebb1c95eca . Keep this in sync with the Linux version. ! src/os_cpu/bsd_zero/vm/os_bsd_zero.hpp From glewis at eyesbeyond.com Tue Mar 9 09:13:34 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Tue, 09 Mar 2010 17:13:34 +0000 Subject: hg: bsd-port/bsd-port/jaxp: 2 new changesets Message-ID: <20100309171334.BD1B444475@hg.openjdk.java.net> Changeset: 81c0f115bbe5 Author: mikejwre Date: 2010-03-04 13:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/81c0f115bbe5 Added tag jdk7-b85 for changeset 6c0ccabb430d ! .hgtags Changeset: e0606659c29d Author: Greg Lewis Date: 2010-03-08 21:37 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/e0606659c29d Merge from main OpenJDK repository From glewis at eyesbeyond.com Tue Mar 9 09:13:39 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Tue, 09 Mar 2010 17:13:39 +0000 Subject: hg: bsd-port/bsd-port/jaxws: 2 new changesets Message-ID: <20100309171339.D83E844476@hg.openjdk.java.net> Changeset: 512b0e924a5a Author: mikejwre Date: 2010-03-04 13:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/512b0e924a5a Added tag jdk7-b85 for changeset 8424512588ff ! .hgtags Changeset: 627efeb83a43 Author: Greg Lewis Date: 2010-03-08 21:38 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/627efeb83a43 Merge from main OpenJDK repository From glewis at eyesbeyond.com Tue Mar 9 09:13:49 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Tue, 09 Mar 2010 17:13:49 +0000 Subject: hg: bsd-port/bsd-port/jdk: 14 new changesets Message-ID: <20100309171814.6E82B44478@hg.openjdk.java.net> Changeset: 2ba381560071 Author: dcherepanov Date: 2010-02-12 19:58 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/2ba381560071 6705345: Enable multiple file selection in AWT FileDialog Reviewed-by: art, anthony, alexp ! src/share/classes/java/awt/FileDialog.java ! src/share/classes/sun/awt/AWTAccessor.java ! src/solaris/classes/sun/awt/X11/XFileDialogPeer.java ! src/windows/classes/sun/awt/windows/WFileDialogPeer.java ! src/windows/native/sun/windows/awt_FileDialog.cpp ! src/windows/native/sun/windows/awt_FileDialog.h + test/java/awt/FileDialog/MultipleMode/MultipleMode.html + test/java/awt/FileDialog/MultipleMode/MultipleMode.java Changeset: d6d2de6ee2d1 Author: lana Date: 2010-02-19 15:13 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/d6d2de6ee2d1 Merge Changeset: 83c34a6b1458 Author: mchung Date: 2010-02-08 23:02 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/83c34a6b1458 6924497: HotSpotDiagnosticsMXBean.getDiagnosticOptions throws NPE Summary: Check if the element in the flags array is non-null to filter unsupported flags Reviewed-by: dcubed ! src/share/classes/sun/management/Flag.java ! src/share/native/sun/management/Flag.c Changeset: ec438f2b6886 Author: chegar Date: 2010-02-10 13:23 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/ec438f2b6886 6693244: Java Web Start app fails on 6u10 beta w/ AssertionError in AuthenticationInfo.requestCompleted Reviewed-by: michaelm ! src/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java ! test/ProblemList.txt ! test/java/net/Authenticator/B4769350.java Changeset: 784e52734b8d Author: mchung Date: 2010-02-10 17:51 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/784e52734b8d 6915413: Module build: building of specified jdk components instead of all Summary: Define new SUBDIRS_* variables for specifying components for one group Reviewed-by: ohair ! make/Makefile ! make/com/Makefile ! make/com/sun/Makefile ! make/com/sun/demo/Makefile ! make/com/sun/demo/jvmti/Makefile ! make/com/sun/inputmethods/Makefile ! make/com/sun/java/Makefile ! make/com/sun/java/browser/Makefile ! make/com/sun/jmx/Makefile ! make/com/sun/jndi/Makefile ! make/com/sun/jndi/rmi/Makefile ! make/com/sun/nio/Makefile ! make/com/sun/org/Makefile ! make/com/sun/org/apache/Makefile ! make/com/sun/security/Makefile ! make/com/sun/tools/Makefile ! make/com/sun/tracing/Makefile ! make/common/Defs.gmk ! make/common/Sanity.gmk + make/common/Subdirs.gmk ! make/common/shared/Sanity.gmk ! make/java/Makefile ! make/java/hpi/Makefile ! make/java/java/Makefile ! make/java/java/genlocales.gmk ! make/java/main/Makefile ! make/java/nio/FILES_java.gmk ! make/java/nio/Makefile + make/java/nio/mxbean/Makefile ! make/java/redist/Makefile - make/java/text/FILES_java.gmk ! make/java/text/Makefile + make/java/text/base/FILES_java.gmk + make/java/text/base/Makefile + make/java/text/bidi/Makefile ! make/javax/Makefile ! make/javax/rmi/Makefile ! make/javax/sound/Makefile ! make/javax/swing/Makefile ! make/jpda/Makefile ! make/jpda/transport/Makefile ! make/mkdemo/Makefile ! make/mkdemo/applets/Makefile ! make/mkdemo/jfc/Makefile ! make/mkdemo/jni/Makefile ! make/mkdemo/jvmti/Makefile ! make/mkdemo/management/Makefile ! make/mkdemo/scripting/Makefile ! make/mksample/Makefile ! make/mksample/jmx/Makefile ! make/mksample/nio/Makefile ! make/mksample/scripting/Makefile ! make/mksample/webservices/Makefile ! make/org/Makefile ! make/org/ietf/Makefile ! make/sun/Makefile ! make/sun/cmm/Makefile ! make/sun/image/Makefile ! make/sun/management/Makefile ! make/sun/net/Makefile ! make/sun/net/spi/Makefile ! make/sun/net/spi/nameservice/Makefile ! make/sun/nio/Makefile ! make/sun/org/Makefile ! make/sun/org/mozilla/Makefile ! make/sun/rmi/Makefile ! make/sun/security/Makefile ! make/sun/tracing/Makefile ! make/tools/Makefile Changeset: d7d8807fca86 Author: weijun Date: 2010-02-12 10:24 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/d7d8807fca86 6925639: keytool -genkeypair -help missing dname option Reviewed-by: mullan ! src/share/classes/sun/security/tools/KeyTool.java Changeset: 74f493fae483 Author: mchung Date: 2010-02-12 11:33 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/74f493fae483 6925868: Eliminate pack200's dependency on logging Summary: Replace j.u.l.Logger with sun.util.logging.PlatformLogger Reviewed-by: alanb, forax ! src/share/classes/com/sun/java/util/jar/pack/PackageReader.java ! src/share/classes/com/sun/java/util/jar/pack/PackageWriter.java ! src/share/classes/com/sun/java/util/jar/pack/Utils.java Changeset: 328c5d3974fe Author: mchung Date: 2010-02-15 10:18 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/328c5d3974fe Merge Changeset: 84792500750c Author: lana Date: 2010-02-17 10:24 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/84792500750c Merge Changeset: e83d9c0d5e95 Author: chegar Date: 2010-02-22 15:27 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/e83d9c0d5e95 6912868: "java.net.useSystemProxies" behavior fails to check "use_same_proxy" in GNOME Reviewed-by: alanb, chegar Contributed-by: damjan.jov at gmail.com ! src/solaris/native/sun/net/spi/DefaultProxySelector.c + test/java/net/ProxySelector/SystemProxies.java Changeset: c96d6cb31723 Author: chegar Date: 2010-02-23 17:08 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/c96d6cb31723 6365587: Proxy-Connection header sent through tunnel Reviewed-by: michaelm ! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java Changeset: b396584a3e64 Author: lana Date: 2010-02-23 10:17 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/b396584a3e64 Merge - make/java/text/FILES_java.gmk Changeset: 03cd9e62961f Author: mikejwre Date: 2010-03-04 13:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/03cd9e62961f Added tag jdk7-b85 for changeset b396584a3e64 ! .hgtags Changeset: 58a5e8d827a0 Author: Greg Lewis Date: 2010-03-08 22:16 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/58a5e8d827a0 Merge from main OpenJDK repository ! make/com/sun/Makefile ! make/com/sun/nio/Makefile ! make/common/Defs.gmk ! make/common/shared/Sanity.gmk ! make/java/Makefile ! make/java/java/Makefile ! make/java/java/genlocales.gmk ! make/java/nio/Makefile ! make/java/redist/Makefile - make/java/text/FILES_java.gmk ! make/javax/sound/Makefile ! src/solaris/native/sun/net/spi/DefaultProxySelector.c From glewis at eyesbeyond.com Tue Mar 9 09:18:21 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Tue, 09 Mar 2010 17:18:21 +0000 Subject: hg: bsd-port/bsd-port/langtools: 12 new changesets Message-ID: <20100309171857.8228544479@hg.openjdk.java.net> Changeset: 7d9e3a15d2b3 Author: jjg Date: 2010-02-15 16:09 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/7d9e3a15d2b3 6926555: 6921979 breaks TreePosTest Reviewed-by: darcy ! test/tools/javac/treepostests/TreePosTest.java Changeset: af18e3956985 Author: darcy Date: 2010-02-15 18:20 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/af18e3956985 6634138: Source generated in last round not compiled Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! test/tools/javac/T6403466.java + test/tools/javac/processing/6634138/Dummy.java + test/tools/javac/processing/6634138/ExerciseDependency.java + test/tools/javac/processing/6634138/T6634138.java Changeset: fe17a9dbef03 Author: darcy Date: 2010-02-15 20:06 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/fe17a9dbef03 6926699: Annotation processing regression tests should typically return SourceVersion.latest Reviewed-by: jjg ! test/tools/javac/6341866/Anno.java ! test/tools/javac/T6406771.java ! test/tools/javac/T6411379.java ! test/tools/javac/T6423583.java ! test/tools/javac/T6855236.java ! test/tools/javac/api/6421111/T6421111.java ! test/tools/javac/api/6468404/T6468404.java ! test/tools/javac/api/T6412669.java ! test/tools/javac/enum/6424358/T6424358.java ! test/tools/javac/processing/6348499/A.java ! test/tools/javac/processing/6414633/A.java ! test/tools/javac/processing/6430209/T6430209.java ! test/tools/javac/processing/6430209/b6341534.java ! test/tools/javac/processing/T6439826.java ! test/tools/javac/processing/model/element/TypeParamBounds.java ! test/tools/javac/processing/model/type/MirroredTypeEx/OverEager.java ! test/tools/javac/processing/model/type/NoTypes.java ! test/tools/javac/processing/model/util/GetTypeElemBadArg.java ! test/tools/javac/processing/model/util/OverridesSpecEx.java Changeset: 631a273dac0f Author: darcy Date: 2010-02-15 20:17 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/631a273dac0f 6926703: apt tests should run with assertions enabled Reviewed-by: jjg ! src/share/classes/com/sun/mirror/util/SourceOrderDeclScanner.java Changeset: 16b9b7f45933 Author: darcy Date: 2010-02-17 14:30 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/16b9b7f45933 6927061: Refactor apt implemenation to use code from JSR 269 Reviewed-by: jjg ! src/share/classes/com/sun/mirror/util/SourceOrderDeclScanner.java ! src/share/classes/com/sun/tools/apt/comp/Apt.java ! src/share/classes/com/sun/tools/apt/main/Main.java ! src/share/classes/com/sun/tools/javac/file/Paths.java ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! src/share/classes/com/sun/tools/javadoc/DocletInvoker.java Changeset: 67f0e05098fa Author: lana Date: 2010-02-17 10:25 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/67f0e05098fa Merge Changeset: 0fce6b64c258 Author: lana Date: 2010-02-17 16:29 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/0fce6b64c258 Merge Changeset: a3be81d385ee Author: jjg Date: 2010-02-18 15:41 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/a3be81d385ee 6927797: langtools/test/tools/javac/EarlyAssert.java fails when run with assertions enabled (-ea) Reviewed-by: darcy ! test/tools/javac/EarlyAssert.java + test/tools/javac/EarlyAssertWrapper.java Changeset: f25efdb55c99 Author: andrew Date: 2010-02-22 21:37 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/f25efdb55c99 6928623: Behaviour of VERBOSE=true on langtools build Summary: VERBOSE=true causes -diagnostics to be passed to ant rather than -debug Reviewed-by: jjg ! make/Makefile Changeset: 136bfc679462 Author: lana Date: 2010-02-23 10:17 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/136bfc679462 Merge Changeset: b816baf594e3 Author: mikejwre Date: 2010-03-04 13:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/b816baf594e3 Added tag jdk7-b85 for changeset 136bfc679462 ! .hgtags Changeset: 3ea5006b7433 Author: Greg Lewis Date: 2010-03-08 21:38 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/3ea5006b7433 Merge from main OpenJDK repository From daniel.kvasnicka.jr at gmail.com Sun Mar 14 10:37:39 2010 From: daniel.kvasnicka.jr at gmail.com (=?UTF-8?Q?Daniel_Kvasni=C4=8Dka?=) Date: Sun, 14 Mar 2010 18:37:39 +0100 Subject: OpenJDK 7 on Mac OS X 10.5 PPC - compilation error Message-ID: <3323A937-A36A-490F-B801-EEC79220C698@gmail.com> Hi guys, first thanks to all the people working on porting JDK to Mac. I'm sure all javists who love their PowerPC beasts love you too :) I tried to compile OpenJDK 7 according to instructions described at http://landonf.bikemonkey.org/code/java/OpenJDK_7_PPC.20091205.html and I'm getting a syntax error (see the attached TXT file). I am using the latest sources (as of yesterday, tried to pull changes today and there were none). Am I doing something wrong or is there really a syntax error? (I want to compile from sources because I need a version without the bug that causes GlassFish v3 admin console to fail when loading) Dan -- http://www.danielkvasnicka.net -- webdesign, programov?n? internetov?ch a intranetov?ch aplikac? | web applications development & design http://blog.danielkvasnicka.net/ -- blog -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: openjdk-syntax-err.txt Url: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100314/afb45b03/openjdk-syntax-err.txt From n3npq at mac.com Sun Mar 14 13:05:54 2010 From: n3npq at mac.com (Jeff Johnson) Date: Sun, 14 Mar 2010 16:05:54 -0400 Subject: OpenJDK 7 on Mac OS X 10.5 PPC - compilation error In-Reply-To: <3323A937-A36A-490F-B801-EEC79220C698@gmail.com> References: <3323A937-A36A-490F-B801-EEC79220C698@gmail.com> Message-ID: On Mar 14, 2010, at 1:37 PM, Daniel Kvasni?ka wrote: > Hi guys, > > first thanks to all the people working on porting JDK to Mac. I'm sure all javists who love their PowerPC beasts love you too :) > > I tried to compile OpenJDK 7 according to instructions described at http://landonf.bikemonkey.org/code/java/OpenJDK_7_PPC.20091205.html and I'm getting a syntax error (see the attached TXT file). > > I am using the latest sources (as of yesterday, tried to pull changes today and there were none). > > Am I doing something wrong or is there really a syntax error? > > (I want to compile from sources because I need a version without the bug that causes GlassFish v3 admin console to fail when loading) > I also am trying to build openjdk per Landon's instructions on a dual G5 running Leopard server. What I'm seeing (with a reproducible procedure) is random rather than reproducible failures. (caveat) I'm still getting up to speed re openjdk and PPC builds, so I can't really say anything definite other than Odd, random failures. Hmmm ... atm. I have logs (if interested), and am trying same build on the PowerBook G4 just in case its a hardware failure or something else ... 73 de Jeff From glewis at eyesbeyond.com Sun Mar 14 21:37:37 2010 From: glewis at eyesbeyond.com (Greg Lewis) Date: Sun, 14 Mar 2010 21:37:37 -0700 Subject: OpenJDK 7 on Mac OS X 10.5 PPC - compilation error In-Reply-To: <3323A937-A36A-490F-B801-EEC79220C698@gmail.com> References: <3323A937-A36A-490F-B801-EEC79220C698@gmail.com> Message-ID: <20100315043737.GA4747@misty.eyesbeyond.com> On Sun, Mar 14, 2010 at 06:37:39PM +0100, Daniel Kvasni??ka wrote: > first thanks to all the people working on porting JDK to Mac. I'm sure > all javists who love their PowerPC beasts love you too :) > > I tried to compile OpenJDK 7 according to instructions described at http://landonf.bikemonkey.org/code/java/OpenJDK_7_PPC.20091205.html > and I'm getting a syntax error (see the attached TXT file). Looks like I partially botched the last merge. Let me see if I can fix that up. > I am using the latest sources (as of yesterday, tried to pull changes > today and there were none). > > Am I doing something wrong or is there really a syntax error? > > (I want to compile from sources because I need a version without the > bug that causes GlassFish v3 admin console to fail when loading) > > Dan > > -- > http://www.danielkvasnicka.net -- webdesign, programov?n? > internetov?ch a intranetov?ch aplikac? | web applications development > & design > http://blog.danielkvasnicka.net/ -- blog > In file included from ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:28: > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: error: syntax error before ???*??? tokenIn file included from ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:30: > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: type defaults to ???int??? in declaration of ???nio_sctp_getladdrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: type defaults to ???int??? in declaration of ???nio_sctp_freeladdrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: type defaults to ???int??? in declaration of ???nio_sctp_getpaddrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: type defaults to ???int??? in declaration of ???nio_sctp_freepaddrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: type defaults to ???int??? in declaration of ???nio_sctp_bindx??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: type defaults to ???int??? in declaration of ???nio_sctp_peeloff??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: syntax error before ???loadSocketExtensionFuncs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: type defaults to ???int??? in declaration of ???loadSocketExtensionFuncs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: data definition has no type or storage class > > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: type defaults to ???int??? in declaration of ???nio_sctp_getladdrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: type defaults to ???int??? in declaration of ???nio_sctp_freeladdrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: type defaults to ???int??? in declaration of ???nio_sctp_getpaddrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: type defaults to ???int??? in declaration of ???nio_sctp_freepaddrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: type defaults to ???int??? in declaration of ???nio_sctp_bindx??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: type defaults to ???int??? in declaration of ???nio_sctp_peeloff??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: syntax error before ???loadSocketExtensionFuncs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: syntax error before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: type defaults to ???int??? in declaration of ???loadSocketExtensionFuncs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:60: error: conflicting types for ???loadSocketExtensionFuncs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: previous declaration of ???loadSocketExtensionFuncs??? was here > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???loadSocketExtensionFuncs???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: ???sctp_getladdrs_func??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: (Each undeclared identifier is reported only once > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: for each function it appears in.) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: syntax error before ???)??? token > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:69: error: syntax error before ???,??? token > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:75: error: syntax error before ???if??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:111: warning: type defaults to ???int??? in declaration of ???funcsLoaded??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:111: error: conflicting types for ???funcsLoaded??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:44: error: previous definition of ???funcsLoaded??? was here > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:111: warning: data definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:112: error: syntax error before ???return??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_socket0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:172: error: storage size of ???event??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:184: error: ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:200: error: ???SCTP_EVENTS??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_bindx???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:237: error: ???SCTP_BINDX_ADD_ADDR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:238: error: ???SCTP_BINDX_REM_ADDR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:238: error: called object ???nio_sctp_bindx??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_getLocalAddresses0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:359: error: called object ???nio_sctp_getladdrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:375: error: called object ???nio_sctp_freeladdrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:396: error: called object ???nio_sctp_freeladdrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:401: error: syntax error before ???sctp_assoc_t??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???getRemoteAddresses???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:410: error: ???fd??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:410: error: ???id??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:410: error: called object ???nio_sctp_getpaddrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:412: error: ???env??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:426: error: called object ???nio_sctp_freepaddrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:447: error: called object ???nio_sctp_freepaddrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???mapSocketOption???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: error: ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: error: ???SCTP_DISABLE_FRAGMENTS??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: warning: missing initializer > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: warning: (near initialization for ???opts[0].level???) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:471: error: ???SCTP_EXPLICIT_EOR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:471: warning: missing initializer > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:471: warning: (near initialization for ???opts[1].level???) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:472: error: ???SCTP_FRAGMENT_INTERLEAVE??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:472: warning: missing initializer > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:472: warning: (near initialization for ???opts[2].level???) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:473: error: ???SCTP_NODELAY??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:473: warning: missing initializer > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:473: warning: (near initialization for ???opts[3].level???) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_getIntOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:558: warning: pointer targets in passing argument 5 of ???NET_GetSockOpt??? differ in signedness > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_getPrimAddrOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:577: error: storage size of ???prim??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:579: error: request for member ???ssp_addr??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:581: error: request for member ???ssp_assoc_id??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:581: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: error: ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: error: ???SCTP_PRIMARY_ADDR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: warning: passing argument 2 of ???getsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: warning: passing argument 3 of ???getsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_setPrimAddrOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:599: error: storage size of ???prim??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:600: error: request for member ???ssp_addr??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:608: error: request for member ???ssp_assoc_id??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:608: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: error: ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: error: ???SCTP_PRIMARY_ADDR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: warning: passing argument 2 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: warning: passing argument 3 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: warning: passing argument 5 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_setPeerPrimAddrOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:623: error: storage size of ???prim??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:632: error: request for member ???sspp_assoc_id??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:632: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:633: error: request for member ???sspp_addr??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:633: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:635: error: ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:635: error: ???SCTP_SET_PEER_PRIMARY_ADDR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:636: warning: passing argument 2 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:636: warning: passing argument 3 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:636: warning: passing argument 5 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_getInitMsgOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:649: error: storage size of ???sctp_initmsg??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:653: error: ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:653: error: ???SCTP_INITMSG??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:654: warning: passing argument 2 of ???getsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:654: warning: passing argument 3 of ???getsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:660: error: request for member ???sinit_max_instreams??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:660: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:661: error: request for member ???sinit_num_ostreams??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:661: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_setInitMsgOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:672: error: storage size of ???sctp_initmsg??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:674: error: request for member ???sinit_max_instreams??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:674: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:675: error: request for member ???sinit_num_ostreams??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:675: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:676: error: request for member ???sinit_max_attempts??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:676: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:677: error: request for member ???sinit_max_init_timeo??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:677: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:679: error: ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:679: error: ???SCTP_INITMSG??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:680: warning: passing argument 2 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:680: warning: passing argument 3 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:680: warning: passing argument 5 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_shutdown0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:696: error: invalid application of ???sizeof??? to incomplete type ???struct sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:697: error: invalid application of ???sizeof??? to incomplete type ???struct sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:720: error: ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:720: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:721: error: ???SCTP_SNDRCV??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:721: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:722: error: invalid application of ???sizeof??? to incomplete type ???struct sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:726: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:726: warning: passing argument 3 of ???memset??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:729: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:729: error: request for member ???sinfo_assoc_id??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:729: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: request for member ???sinfo_flags??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: request for member ???sinfo_flags??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: ???SCTP_EOF??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: invalid operands to binary | > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: warning: statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function ???Java_sun_nio_ch_SctpNet_branch0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:750: error: called object ???nio_sctp_peeloff??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:750: warning: ordered comparison of pointer with integer zero > make[7]: *** [/opt/bsd-port/build/bsd-ppc/tmp/sun/com.sun.nio.sctp/sctp/obj/SctpNet.o] Error 1 > make[7]: *** Waiting for unfinished jobs.... > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function ???getControlData???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: error: ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: error: (Each undeclared identifier is reported only once > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: error: for each function it appears in.) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: error: ???SCTP_SNDRCV??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:157: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:158: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:159: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:159: error: ???SCTP_UNORDERED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:161: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function ???setControlData???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:175: error: ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:176: error: ???SCTP_SNDRCV??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:177: error: invalid application of ???sizeof??? to incomplete type ???struct sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:181: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:184: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:187: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:190: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:190: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:190: error: ???SCTP_UNORDERED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:194: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:205: warning: ???struct sctp_send_failed??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:205: warning: its scope is only this definition or declaration, which is probably not what you want > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function ???handleSendFailed???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:212: error: invalid application of ???sizeof??? to incomplete type ???struct sctp_send_failed??? > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:214: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:217: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:220: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:270: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:271: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:271: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:279: warning: ???struct sctp_assoc_change??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function ???handleAssocChange???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:283: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:284: error: ???SCTP_COMM_UP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:287: error: ???SCTP_COMM_LOST??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:290: error: ???SCTP_RESTART??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:293: error: ???SCTP_SHUTDOWN_COMP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:296: error: ???SCTP_CANT_STR_ASSOC??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:301: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:302: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:302: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:310: warning: ???struct sctp_shutdown_event??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function ???handleShutdown???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:312: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:320: warning: ???struct sctp_paddr_change??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function ???handlePeerAddrChange???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:323: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:326: error: ???SCTP_ADDR_AVAILABLE??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:329: error: ???SCTP_ADDR_UNREACHABLE??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:332: error: ???SCTP_ADDR_REMOVED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:335: error: ???SCTP_ADDR_ADDED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:338: error: ???SCTP_ADDR_MADE_PRIM??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:342: error: ???SCTP_ADDR_CONFIRMED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:347: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:350: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:359: warning: ???union sctp_notification??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:370: warning: ???union sctp_notification??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function ???handleNotification???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:371: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:372: error: ???SCTP_SEND_FAILED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:373: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:376: error: ???SCTP_ASSOC_CHANGE??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:377: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:379: error: ???SCTP_SHUTDOWN_EVENT??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:380: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:382: error: ???SCTP_PEER_ADDR_CHANGE??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:383: error: dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:387: warning: passing argument 1 of ???handleUninteresting??? from incompatible pointer type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function ???Java_sun_nio_ch_SctpChannelImpl_receive0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:431: error: invalid application of ???sizeof??? to incomplete type ???struct sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:467: error: ???MSG_NOTIFICATION??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:487: warning: passing argument 4 of ???handleNotification??? from incompatible pointer type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function ???Java_sun_nio_ch_SctpChannelImpl_send0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:522: error: invalid application of ???sizeof??? to incomplete type ???struct sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:523: error: invalid application of ???sizeof??? to incomplete type ???struct sctp_sndrcvinfo??? > make[7]: *** [/opt/bsd-port/build/bsd-ppc/tmp/sun/com.sun.nio.sctp/sctp/obj/SctpChannelImpl.o] Error 1 > make[6]: *** [library_parallel_compile] Error 2 > make[5]: *** [all] Error 1 > make[4]: *** [all] Error 1 > make[3]: *** [all] Error 1 > make[2]: *** [all] Error 1 > make[1]: *** [jdk-build] Error 2 > make: *** [build_product_image] Error 2 > -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From glewis at eyesbeyond.com Mon Mar 15 05:24:40 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Mon, 15 Mar 2010 12:24:40 +0000 Subject: hg: bsd-port/bsd-port/jdk: . Restore conditional building of the SCTP code removed in the last merge. Message-ID: <20100315122509.DD44044C4F@hg.openjdk.java.net> Changeset: bfd69b3e69d3 Author: Greg Lewis Date: 2010-03-15 05:23 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/bfd69b3e69d3 . Restore conditional building of the SCTP code removed in the last merge. ! make/com/sun/nio/Makefile From daniel.kvasnicka.jr at gmail.com Mon Mar 15 15:59:40 2010 From: daniel.kvasnicka.jr at gmail.com (=?UTF-8?Q?Daniel_Kvasni=C4=8Dka?=) Date: Mon, 15 Mar 2010 23:59:40 +0100 Subject: OpenJDK 7 on Mac OS X 10.5 PPC - compilation error In-Reply-To: <20100315043737.GA4747@misty.eyesbeyond.com> References: <3323A937-A36A-490F-B801-EEC79220C698@gmail.com> <20100315043737.GA4747@misty.eyesbeyond.com> Message-ID: Hi, thanks for fixing it. It compiled OK. Dan -- http://www.danielkvasnicka.net -- webdesign, programov?n? internetov?ch a intranetov?ch aplikac? | web applications development & design http://blog.danielkvasnicka.net/ -- blog On 15.3.2010, at 5:37, Greg Lewis wrote: > On Sun, Mar 14, 2010 at 06:37:39PM +0100, Daniel Kvasni??ka wrote: >> first thanks to all the people working on porting JDK to Mac. I'm >> sure >> all javists who love their PowerPC beasts love you too :) >> >> I tried to compile OpenJDK 7 according to instructions described at http://landonf.bikemonkey.org/code/java/OpenJDK_7_PPC.20091205.html >> and I'm getting a syntax error (see the attached TXT file). > > Looks like I partially botched the last merge. Let me see if I can > fix > that up. > >> I am using the latest sources (as of yesterday, tried to pull changes >> today and there were none). >> >> Am I doing something wrong or is there really a syntax error? >> >> (I want to compile from sources because I need a version without the >> bug that causes GlassFish v3 admin console to fail when loading) >> >> Dan >> >> -- >> http://www.danielkvasnicka.net -- webdesign, programov?n? >> internetov?ch a intranetov?ch aplikac? | web applications development >> & design >> http://blog.danielkvasnicka.net/ -- blog > >> In file included from ../../../../../src/solaris/native/sun/nio/ch/ >> SctpChannelImpl.c:28: >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: error: >> syntax error before ???*??? tokenIn file included >> from ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:30: >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: >> type defaults to ???int??? in declaration of ???nio_sctp_getladdrs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: >> type defaults to ???int??? in declaration of ??? >> nio_sctp_freeladdrs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: >> type defaults to ???int??? in declaration of ???nio_sctp_getpaddrs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: >> type defaults to ???int??? in declaration of ??? >> nio_sctp_freepaddrs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: >> type defaults to ???int??? in declaration of ???nio_sctp_bindx??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: >> type defaults to ???int??? in declaration of ???nio_sctp_peeloff??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: >> syntax error before ???loadSocketExtensionFuncs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: >> type defaults to ???int??? in declaration of ??? >> loadSocketExtensionFuncs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: >> data definition has no type or storage class >> >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: >> type defaults to ???int??? in declaration of ???nio_sctp_getladdrs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: >> type defaults to ???int??? in declaration of ??? >> nio_sctp_freeladdrs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: >> type defaults to ???int??? in declaration of ???nio_sctp_getpaddrs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: >> type defaults to ???int??? in declaration of ??? >> nio_sctp_freepaddrs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: >> type defaults to ???int??? in declaration of ???nio_sctp_bindx??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: >> type defaults to ???int??? in declaration of ???nio_sctp_peeloff??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: >> syntax error before ???loadSocketExtensionFuncs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: >> syntax error before ???*??? token >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: >> type defaults to ???int??? in declaration of ??? >> loadSocketExtensionFuncs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: >> data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:60: error: >> conflicting types for ???loadSocketExtensionFuncs??? >> ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: >> previous declaration of ???loadSocketExtensionFuncs??? was here >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???loadSocketExtensionFuncs???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: >> error: ???sctp_getladdrs_func??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: >> (Each undeclared identifier is reported only once >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: >> for each function it appears in.) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: >> syntax error before ???)??? token >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:69: error: >> syntax error before ???,??? token >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: At top level: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:75: error: >> syntax error before ???if??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:111: >> warning: type defaults to ???int??? in declaration of ??? >> funcsLoaded??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:111: error: >> conflicting types for ???funcsLoaded??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:44: error: >> previous definition of ???funcsLoaded??? was here >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:111: >> warning: data definition has no type or storage class >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:112: error: >> syntax error before ???return??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_socket0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:172: error: >> storage size of ???event??? isn???t known >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:184: >> error: ???IPPROTO_SCTP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:200: >> error: ???SCTP_EVENTS??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_bindx???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:237: >> error: ???SCTP_BINDX_ADD_ADDR??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:238: >> error: ???SCTP_BINDX_REM_ADDR??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:238: error: >> called object ???nio_sctp_bindx??? is not a function >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_getLocalAddresses0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:359: error: >> called object ???nio_sctp_getladdrs??? is not a function >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:375: error: >> called object ???nio_sctp_freeladdrs??? is not a function >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:396: error: >> called object ???nio_sctp_freeladdrs??? is not a function >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: At top level: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:401: error: >> syntax error before ???sctp_assoc_t??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???getRemoteAddresses???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:410: >> error: ???fd??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:410: >> error: ???id??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:410: error: >> called object ???nio_sctp_getpaddrs??? is not a function >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:412: >> error: ???env??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:426: error: >> called object ???nio_sctp_freepaddrs??? is not a function >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:447: error: >> called object ???nio_sctp_freepaddrs??? is not a function >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???mapSocketOption???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: >> error: ???IPPROTO_SCTP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: >> error: ???SCTP_DISABLE_FRAGMENTS??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: >> warning: missing initializer >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: >> warning: (near initialization for ???opts[0].level???) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:471: >> error: ???SCTP_EXPLICIT_EOR??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:471: >> warning: missing initializer >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:471: >> warning: (near initialization for ???opts[1].level???) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:472: >> error: ???SCTP_FRAGMENT_INTERLEAVE??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:472: >> warning: missing initializer >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:472: >> warning: (near initialization for ???opts[2].level???) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:473: >> error: ???SCTP_NODELAY??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:473: >> warning: missing initializer >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:473: >> warning: (near initialization for ???opts[3].level???) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_getIntOption0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:558: >> warning: pointer targets in passing argument 5 of ??? >> NET_GetSockOpt??? differ in signedness >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_getPrimAddrOption0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:577: error: >> storage size of ???prim??? isn???t known >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:579: error: >> request for member ???ssp_addr??? in something not a structure or >> union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:581: error: >> request for member ???ssp_assoc_id??? in something not a structure >> or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:581: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: >> error: ???IPPROTO_SCTP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: >> error: ???SCTP_PRIMARY_ADDR??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: >> warning: passing argument 2 of ???getsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: >> warning: passing argument 3 of ???getsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_setPrimAddrOption0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:599: error: >> storage size of ???prim??? isn???t known >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:600: error: >> request for member ???ssp_addr??? in something not a structure or >> union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:608: error: >> request for member ???ssp_assoc_id??? in something not a structure >> or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:608: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: >> error: ???IPPROTO_SCTP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: >> error: ???SCTP_PRIMARY_ADDR??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: >> warning: passing argument 2 of ???setsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: >> warning: passing argument 3 of ???setsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: >> warning: passing argument 5 of ???setsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_setPeerPrimAddrOption0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:623: error: >> storage size of ???prim??? isn???t known >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:632: error: >> request for member ???sspp_assoc_id??? in something not a structure >> or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:632: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:633: error: >> request for member ???sspp_addr??? in something not a structure or >> union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:633: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:635: >> error: ???IPPROTO_SCTP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:635: >> error: ???SCTP_SET_PEER_PRIMARY_ADDR??? undeclared (first use in >> this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:636: >> warning: passing argument 2 of ???setsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:636: >> warning: passing argument 3 of ???setsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:636: >> warning: passing argument 5 of ???setsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_getInitMsgOption0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:649: error: >> storage size of ???sctp_initmsg??? isn???t known >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:653: >> error: ???IPPROTO_SCTP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:653: >> error: ???SCTP_INITMSG??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:654: >> warning: passing argument 2 of ???getsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:654: >> warning: passing argument 3 of ???getsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:660: error: >> request for member ???sinit_max_instreams??? in something not a >> structure or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:660: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:661: error: >> request for member ???sinit_num_ostreams??? in something not a >> structure or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:661: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_setInitMsgOption0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:672: error: >> storage size of ???sctp_initmsg??? isn???t known >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:674: error: >> request for member ???sinit_max_instreams??? in something not a >> structure or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:674: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:675: error: >> request for member ???sinit_num_ostreams??? in something not a >> structure or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:675: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:676: error: >> request for member ???sinit_max_attempts??? in something not a >> structure or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:676: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:677: error: >> request for member ???sinit_max_init_timeo??? in something not a >> structure or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:677: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:679: >> error: ???IPPROTO_SCTP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:679: >> error: ???SCTP_INITMSG??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:680: >> warning: passing argument 2 of ???setsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:680: >> warning: passing argument 3 of ???setsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:680: >> warning: passing argument 5 of ???setsockopt??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_shutdown0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:696: error: >> invalid application of ???sizeof??? to incomplete type ???struct >> sctp_sndrcvinfo??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:697: error: >> invalid application of ???sizeof??? to incomplete type ???struct >> sctp_sndrcvinfo??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:720: >> error: ???IPPROTO_SCTP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:720: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:721: >> error: ???SCTP_SNDRCV??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:721: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:722: error: >> invalid application of ???sizeof??? to incomplete type ???struct >> sctp_sndrcvinfo??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:726: error: >> dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:726: >> warning: passing argument 3 of ???memset??? makes integer from >> pointer without a cast >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:729: error: >> dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:729: error: >> request for member ???sinfo_assoc_id??? in something not a >> structure or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:729: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: >> dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: >> request for member ???sinfo_flags??? in something not a structure >> or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: >> dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: >> request for member ???sinfo_flags??? in something not a structure >> or union >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: >> error: ???SCTP_EOF??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: >> invalid operands to binary | >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: >> warning: statement with no effect >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In >> function ???Java_sun_nio_ch_SctpNet_branch0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:750: error: >> called object ???nio_sctp_peeloff??? is not a function >> ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:750: >> warning: ordered comparison of pointer with integer zero >> make[7]: *** [/opt/bsd-port/build/bsd-ppc/tmp/sun/com.sun.nio.sctp/ >> sctp/obj/SctpNet.o] Error 1 >> make[7]: *** Waiting for unfinished jobs.... >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In >> function ???getControlData???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: >> error: ???IPPROTO_SCTP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: >> error: (Each undeclared identifier is reported only once >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: >> error: for each function it appears in.) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: >> error: ???SCTP_SNDRCV??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:157: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:158: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:159: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:159: >> error: ???SCTP_UNORDERED??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:161: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In >> function ???setControlData???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:175: >> error: ???IPPROTO_SCTP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:176: >> error: ???SCTP_SNDRCV??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:177: >> error: invalid application of ???sizeof??? to incomplete type ??? >> struct sctp_sndrcvinfo??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:181: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:184: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:187: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:190: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:190: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:190: >> error: ???SCTP_UNORDERED??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:194: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At >> top level: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:205: >> warning: ???struct sctp_send_failed??? declared inside parameter list >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:205: >> warning: its scope is only this definition or declaration, which is >> probably not what you want >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In >> function ???handleSendFailed???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:212: >> error: invalid application of ???sizeof??? to incomplete type ??? >> struct sctp_send_failed??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:214: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:217: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:220: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:270: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:271: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:271: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At >> top level: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:279: >> warning: ???struct sctp_assoc_change??? declared inside parameter >> list >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In >> function ???handleAssocChange???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:283: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:284: >> error: ???SCTP_COMM_UP??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:287: >> error: ???SCTP_COMM_LOST??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:290: >> error: ???SCTP_RESTART??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:293: >> error: ???SCTP_SHUTDOWN_COMP??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:296: >> error: ???SCTP_CANT_STR_ASSOC??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:301: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:302: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:302: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At >> top level: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:310: >> warning: ???struct sctp_shutdown_event??? declared inside parameter >> list >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In >> function ???handleShutdown???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:312: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At >> top level: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:320: >> warning: ???struct sctp_paddr_change??? declared inside parameter >> list >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In >> function ???handlePeerAddrChange???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:323: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:326: >> error: ???SCTP_ADDR_AVAILABLE??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:329: >> error: ???SCTP_ADDR_UNREACHABLE??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:332: >> error: ???SCTP_ADDR_REMOVED??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:335: >> error: ???SCTP_ADDR_ADDED??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:338: >> error: ???SCTP_ADDR_MADE_PRIM??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:342: >> error: ???SCTP_ADDR_CONFIRMED??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:347: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:350: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At >> top level: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:359: >> warning: ???union sctp_notification??? declared inside parameter list >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:370: >> warning: ???union sctp_notification??? declared inside parameter list >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In >> function ???handleNotification???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:371: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:372: >> error: ???SCTP_SEND_FAILED??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:373: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:376: >> error: ???SCTP_ASSOC_CHANGE??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:377: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:379: >> error: ???SCTP_SHUTDOWN_EVENT??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:380: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:382: >> error: ???SCTP_PEER_ADDR_CHANGE??? undeclared (first use in this >> function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:383: >> error: dereferencing pointer to incomplete type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:387: >> warning: passing argument 1 of ???handleUninteresting??? from >> incompatible pointer type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In >> function ???Java_sun_nio_ch_SctpChannelImpl_receive0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:431: >> error: invalid application of ???sizeof??? to incomplete type ??? >> struct sctp_sndrcvinfo??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:467: >> error: ???MSG_NOTIFICATION??? undeclared (first use in this function) >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:487: >> warning: passing argument 4 of ???handleNotification??? from >> incompatible pointer type >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In >> function ???Java_sun_nio_ch_SctpChannelImpl_send0???: >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:522: >> error: invalid application of ???sizeof??? to incomplete type ??? >> struct sctp_sndrcvinfo??? >> ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:523: >> error: invalid application of ???sizeof??? to incomplete type ??? >> struct sctp_sndrcvinfo??? >> make[7]: *** [/opt/bsd-port/build/bsd-ppc/tmp/sun/com.sun.nio.sctp/ >> sctp/obj/SctpChannelImpl.o] Error 1 >> make[6]: *** [library_parallel_compile] Error 2 >> make[5]: *** [all] Error 1 >> make[4]: *** [all] Error 1 >> make[3]: *** [all] Error 1 >> make[2]: *** [all] Error 1 >> make[1]: *** [jdk-build] Error 2 >> make: *** [build_product_image] Error 2 > >> > > > -- > Greg Lewis Email : glewis at eyesbeyond.com > Eyes Beyond Web : http:// > www.eyesbeyond.com > Information Technology FreeBSD : glewis at FreeBSD.org From daniel.kvasnicka.jr at gmail.com Mon Mar 15 16:08:25 2010 From: daniel.kvasnicka.jr at gmail.com (=?UTF-8?Q?Daniel_Kvasni=C4=8Dka?=) Date: Tue, 16 Mar 2010 00:08:25 +0100 Subject: java.lang.UnsupportedOperationException: Cannot create XMLStreamReader or XMLEventReader from a javax.xml.transform.stream.StreamSource Message-ID: Hi people, I'm trying to get GlassFish v3 running on OpenJDK 7 (compiled today, Mac PPC) and when I try to load the admin console it dies on: Caused by: java.lang.UnsupportedOperationException: Cannot create XMLStreamReader or XMLEventReader from a javax.xml.transform.stream.StreamSource at com .sun .xml .internal .stream .XMLInputFactoryImpl .jaxpSourcetoXMLInputSource(XMLInputFactoryImpl.java:283) at com .sun .xml .internal .stream .XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:143) at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:109) at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:104) at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:100) at org .glassfish .admingui.plugin.ConsolePluginService.init(ConsolePluginService.java: 121) at org .glassfish .admingui .plugin .ConsolePluginService.getIntegrationPoints(ConsolePluginService.java: 423) at org .glassfish .admingui .common .handlers.PluginHandlers.getIntegrationPoints(PluginHandlers.java:160) at org .glassfish .admingui .handlers .ThemeHandlers.getThemeFromIntegrationPoints(ThemeHandlers.java:98) I've found a pretty similar issue here http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6909759 It says it's been fixed and delivered somewhen in February. Are fixes like these added to OpenJDK 7 as well? Would it be possible to port it there or should I patch it and compile myself? Thanks, Dan -- http://www.danielkvasnicka.net -- webdesign, programov?n? internetov?ch a intranetov?ch aplikac? | web applications development & design http://blog.danielkvasnicka.net/ -- blog From ahughes at redhat.com Wed Mar 17 08:38:55 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Wed, 17 Mar 2010 15:38:55 +0000 Subject: the trustAnchors parameter must be non-empty for jdk7-jaxp-m5.zip In-Reply-To: References: Message-ID: <17c6771e1003170838y2932a80doa26fb6becfeac94d@mail.gmail.com> On 23 November 2009 04:57, Michael Franz wrote: > Hi, > > I did a new fclone of the bsd repo today.? When running the build I get the > following error: > javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: > java.security.InvalidAlgorithmParameterException: the trustAnchors parameter > must be non-empty > This is because the cacerts keystore doesn't have any certificates in it. All local OpenJDK builds will be like this. You need to do something like: for c in /usr/share/ca-certificates/*/*.crt; do openssl x509 -text -in "${c}" >> all.crt || die done ./generate-cacerts.pl keytool all.crt || die generate-cacerts.pl is available from http://cvs.fedoraproject.org/viewvc/rpms/ca-certificates/F-12/generate-cacerts.pl?revision=1.2 keytool should point to the keytool binary from the JDK you are using to build. > I tried to download the zip file using wget and get the following error: > --2009-11-22 23:53:14-- > https://jaxp.dev.java.net/files/documents/913/144160/jdk7-jaxp-m5.zip > Resolving jaxp.dev.java.net... 204.16.104.198 > Connecting to jaxp.dev.java.net|204.16.104.198|:443... connected. > ERROR: cannot verify jaxp.dev.java.net's certificate, issued by > `/C=US/O=Equifax/OU=Equifax Secure Certificate Authority': > ? Unable to locally verify the issuer's authority. > To connect to jaxp.dev.java.net insecurely, use `--no-check-certificate'. > Unable to establish SSL connection. > > Is anyone else having problems downloading? > > Michael > > > > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From glewis at eyesbeyond.com Sat Mar 20 19:21:06 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 21 Mar 2010 02:21:06 +0000 Subject: hg: bsd-port/bsd-port: 5 new changesets Message-ID: <20100321022107.2AA504447A@hg.openjdk.java.net> Changeset: 4d7419e4b759 Author: ohair Date: 2010-03-06 15:00 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/4d7419e4b759 6928700: Configure top repo for JPRT testing Reviewed-by: alanb, jjg ! make/jprt.properties + test/Makefile Changeset: f3664d6879ab Author: ohair Date: 2010-03-06 15:01 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/f3664d6879ab Merge Changeset: 433a60a9c0bf Author: lana Date: 2010-03-09 15:28 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/433a60a9c0bf Merge Changeset: 6b1069f53fbc Author: mikejwre Date: 2010-03-18 13:52 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/6b1069f53fbc Added tag jdk7-b86 for changeset 433a60a9c0bf ! .hgtags Changeset: 9f250d0d1b40 Author: Greg Lewis Date: 2010-03-20 11:11 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/9f250d0d1b40 Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Mar 20 19:21:12 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 21 Mar 2010 02:21:12 +0000 Subject: hg: bsd-port/bsd-port/corba: 2 new changesets Message-ID: <20100321022116.AF66C4447B@hg.openjdk.java.net> Changeset: 09a41111a401 Author: mikejwre Date: 2010-03-18 13:52 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/09a41111a401 Added tag jdk7-b86 for changeset 6253e28826d1 ! .hgtags Changeset: 705f67709786 Author: Greg Lewis Date: 2010-03-20 11:11 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/705f67709786 Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Mar 20 19:21:23 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 21 Mar 2010 02:21:23 +0000 Subject: hg: bsd-port/bsd-port/hotspot: 2 new changesets Message-ID: <20100321022137.E22E24447C@hg.openjdk.java.net> Changeset: 4b58861a3570 Author: mikejwre Date: 2010-03-18 13:52 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/4b58861a3570 Added tag jdk7-b86 for changeset bf823ef06b4f ! .hgtags Changeset: 1e976d3fd820 Author: Greg Lewis Date: 2010-03-20 11:12 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1e976d3fd820 Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Mar 20 19:21:43 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 21 Mar 2010 02:21:43 +0000 Subject: hg: bsd-port/bsd-port/jaxp: 2 new changesets Message-ID: <20100321022143.C0BED4447D@hg.openjdk.java.net> Changeset: 8b493f1aa136 Author: mikejwre Date: 2010-03-18 13:52 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/8b493f1aa136 Added tag jdk7-b86 for changeset 81c0f115bbe5 ! .hgtags Changeset: f2d75d692e17 Author: Greg Lewis Date: 2010-03-20 11:12 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/f2d75d692e17 Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Mar 20 19:21:49 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 21 Mar 2010 02:21:49 +0000 Subject: hg: bsd-port/bsd-port/jaxws: 2 new changesets Message-ID: <20100321022149.4B33F4447E@hg.openjdk.java.net> Changeset: 3febd6fab2ac Author: mikejwre Date: 2010-03-18 13:52 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/3febd6fab2ac Added tag jdk7-b86 for changeset 512b0e924a5a ! .hgtags Changeset: 5b378b9e8390 Author: Greg Lewis Date: 2010-03-20 11:12 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/5b378b9e8390 Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Mar 20 19:22:01 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 21 Mar 2010 02:22:01 +0000 Subject: hg: bsd-port/bsd-port/jdk: 42 new changesets Message-ID: <20100321023534.4610044482@hg.openjdk.java.net> Changeset: 840601ac5ab7 Author: rkennke Date: 2010-03-03 15:50 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/840601ac5ab7 6892485: Deadlock in SunGraphicsEnvironment / FontManager Summary: Synchronize on correct monitor in SunFontManager. Reviewed-by: igor, prr ! src/share/classes/sun/font/SunFontManager.java Changeset: 1d7db2d5c4c5 Author: minqi Date: 2010-03-08 11:35 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/1d7db2d5c4c5 6918065: Crash in Java2D blit loop (IntArgbToIntArgbPreSrcOverMaskBlit) in 64bit mode Reviewed-by: igor, bae ! src/share/classes/java/awt/AlphaComposite.java + test/java/awt/AlphaComposite/TestAlphaCompositeForNaN.java Changeset: 494f5e4f24da Author: lana Date: 2010-03-09 15:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/494f5e4f24da Merge Changeset: e64331144648 Author: rupashka Date: 2010-02-10 15:15 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/e64331144648 6848475: JSlider does not display the correct value of its BoundedRangeModel Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/basic/BasicSliderUI.java + test/javax/swing/JSlider/6848475/bug6848475.java Changeset: f81c8041ccf4 Author: peytoia Date: 2010-02-11 15:58 +0900 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/f81c8041ccf4 6909002: Remove indicim.jar and thaiim.jar from JRE and move to samples if needed Reviewed-by: okutsu ! make/com/sun/Makefile Changeset: e2b58a45a426 Author: peytoia Date: 2010-02-12 14:38 +0900 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/e2b58a45a426 6921289: (tz) Support tzdata2010b Reviewed-by: okutsu ! make/sun/javazic/tzdata/VERSION ! make/sun/javazic/tzdata/antarctica ! make/sun/javazic/tzdata/asia ! make/sun/javazic/tzdata/australasia ! make/sun/javazic/tzdata/europe ! make/sun/javazic/tzdata/northamerica ! make/sun/javazic/tzdata/zone.tab ! src/share/classes/sun/util/resources/TimeZoneNames.java ! src/share/classes/sun/util/resources/TimeZoneNames_de.java ! src/share/classes/sun/util/resources/TimeZoneNames_es.java ! src/share/classes/sun/util/resources/TimeZoneNames_fr.java ! src/share/classes/sun/util/resources/TimeZoneNames_it.java ! src/share/classes/sun/util/resources/TimeZoneNames_ja.java ! src/share/classes/sun/util/resources/TimeZoneNames_ko.java ! src/share/classes/sun/util/resources/TimeZoneNames_sv.java ! src/share/classes/sun/util/resources/TimeZoneNames_zh_CN.java ! src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java Changeset: e8340332745e Author: malenkov Date: 2010-02-18 17:46 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/e8340332745e 4498236: RFE: Provide a toString method for PropertyChangeEvent and other classes Reviewed-by: peterz ! src/share/classes/java/beans/BeanDescriptor.java ! src/share/classes/java/beans/EventSetDescriptor.java ! src/share/classes/java/beans/FeatureDescriptor.java ! src/share/classes/java/beans/IndexedPropertyChangeEvent.java ! src/share/classes/java/beans/IndexedPropertyDescriptor.java ! src/share/classes/java/beans/MethodDescriptor.java ! src/share/classes/java/beans/PropertyChangeEvent.java ! src/share/classes/java/beans/PropertyDescriptor.java + test/java/beans/Introspector/Test4498236.java Changeset: 5c03237838e1 Author: rupashka Date: 2010-02-27 14:26 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/5c03237838e1 6913758: Specification for SynthViewportUI.paintBorder(...) should mention that this method is never called Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/synth/SynthViewportUI.java Changeset: 96205ed1b196 Author: rupashka Date: 2010-02-27 14:47 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/96205ed1b196 6918447: SynthToolBarUI.setBorderToXXXX() methods don't correspond inherited spec. They do nothing. Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/synth/SynthToolBarUI.java Changeset: 621e921a14cd Author: rupashka Date: 2010-02-27 15:09 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/621e921a14cd 6918861: SynthSliderUI.uninstallDefaults() is not called when UI is uninstalled Reviewed-by: malenkov ! src/share/classes/javax/swing/plaf/basic/BasicSliderUI.java ! src/share/classes/javax/swing/plaf/synth/SynthSliderUI.java + test/javax/swing/JSlider/6918861/bug6918861.java Changeset: 28741de0bb4a Author: rupashka Date: 2010-02-27 16:03 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/28741de0bb4a 6923305: SynthSliderUI paints the slider track when the slider's "paintTrack" property is set to false Reviewed-by: alexp ! src/share/classes/javax/swing/plaf/synth/SynthSliderUI.java + test/javax/swing/JSlider/6923305/bug6923305.java Changeset: 2bf137beb9bd Author: rupashka Date: 2010-02-27 16:14 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/2bf137beb9bd 6929298: The SynthSliderUI#calculateTickRect method should be removed Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/synth/SynthSliderUI.java Changeset: d6b3a07c8752 Author: rupashka Date: 2010-03-03 17:57 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/d6b3a07c8752 6924059: SynthScrollBarUI.configureScrollBarColors() should have spec different from the overridden method Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/synth/SynthScrollBarUI.java + test/javax/swing/JScrollBar/6924059/bug6924059.java Changeset: 30c520bd148f Author: rupashka Date: 2010-03-03 20:08 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/30c520bd148f 6913768: With default SynthLookAndFeel instance installed new JTable creation leads to throwing NPE Reviewed-by: peterz ! src/share/classes/javax/swing/JTable.java ! src/share/classes/javax/swing/plaf/synth/SynthTableUI.java + test/javax/swing/JTable/6913768/bug6913768.java Changeset: f13fc955be62 Author: rupashka Date: 2010-03-03 20:53 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/f13fc955be62 6917744: JScrollPane Page Up/Down keys do not handle correctly html tables with different cells contents Reviewed-by: peterz, alexp ! src/share/classes/javax/swing/text/DefaultEditorKit.java + test/javax/swing/JEditorPane/6917744/bug6917744.java + test/javax/swing/JEditorPane/6917744/test.html Changeset: 0622086d82ac Author: malenkov Date: 2010-03-04 21:17 +0300 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/0622086d82ac 6921644: XMLEncoder generates invalid XML Reviewed-by: peterz ! src/share/classes/java/beans/XMLEncoder.java + test/java/beans/XMLEncoder/Test5023550.java + test/java/beans/XMLEncoder/Test5023557.java + test/java/beans/XMLEncoder/Test6921644.java Changeset: 79a509ac8f35 Author: lana Date: 2010-03-01 18:30 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/79a509ac8f35 Merge ! make/com/sun/Makefile - make/java/text/FILES_java.gmk Changeset: 90248595ec35 Author: lana Date: 2010-03-04 13:07 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/90248595ec35 Merge Changeset: 2fe4e72288ce Author: lana Date: 2010-03-09 15:28 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/2fe4e72288ce Merge Changeset: 38fbb2353a6a Author: alanb Date: 2010-02-23 17:56 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/38fbb2353a6a 6925977: (file) test/java/nio/file/Path/CheckPermissions.java fails if test.src on read-only file system Reviewed-by: chegar ! test/java/nio/file/Path/CheckPermissions.java Changeset: 00abf8c232be Author: alanb Date: 2010-02-23 17:58 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/00abf8c232be 6925932: (file) Path.endsWith can throw ArrayIndexOutOfBoundsException (unx) Reviewed-by: chegar ! src/solaris/classes/sun/nio/fs/UnixPath.java ! test/java/nio/file/Path/PathOps.java Changeset: be5db597f3be Author: alanb Date: 2010-02-23 18:19 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/be5db597f3be 6928960: make modules fails to build class analyzer Reviewed-by: mchung ! make/modules/tools/Makefile Changeset: e94b296b53b4 Author: alanb Date: 2010-02-23 18:21 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/e94b296b53b4 6926800: TEST_BUG: java/nio/file/Files/walk_file_tree.sh fails with newer versions of find(1) Reviewed-by: forax ! test/java/nio/file/Files/PrintFileTree.java ! test/java/nio/file/Files/walk_file_tree.sh Changeset: e842e99b514a Author: darcy Date: 2010-02-24 10:48 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/e842e99b514a 6929382: Various core classes in util and elsewhere are missing @param tags Reviewed-by: dholmes, martin ! src/share/classes/java/lang/Iterable.java ! src/share/classes/java/util/Collection.java ! src/share/classes/java/util/Iterator.java ! src/share/classes/java/util/List.java Changeset: 9929203a8b98 Author: xuelei Date: 2010-02-25 13:32 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/9929203a8b98 6916202: More cases of invalid ldap filters accepted and processed Reviewed-by: vinnie, weijun ! src/share/classes/com/sun/jndi/ldap/Filter.java + test/com/sun/jndi/ldap/InvalidLdapFilters.java Changeset: 77beb60b39c6 Author: alanb Date: 2010-02-27 18:18 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/77beb60b39c6 6929532: (file) WatchService should avoid queuing new modify events when lots of files are changing Reviewed-by: alanb Contributed-by: sebastian.sickelmann at gmx.de ! src/share/classes/sun/nio/fs/AbstractWatchKey.java + test/java/nio/file/WatchService/LotsOfEvents.java - test/java/nio/file/WatchService/OverflowEventIsLoner.java Changeset: b77e94f5a601 Author: alanb Date: 2010-02-27 19:15 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/b77e94f5a601 6929259: Remove double spaces from Dual-pivot quicksort Reviewed-by: alanb Contributed-by: vladimir.yaroslavskiy at sun.com ! src/share/classes/java/util/DualPivotQuicksort.java Changeset: 529d2da0aee2 Author: alanb Date: 2010-02-27 19:26 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/529d2da0aee2 6815768: File.getxxxSpace() methods fail for very large file systems under 32bit Java Reviewed-by: ohair ! src/solaris/native/java/io/UnixFileSystem_md.c Changeset: f7a6eae6e1eb Author: alanb Date: 2010-02-27 19:29 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/f7a6eae6e1eb 6921374: java.lang.String::hashCode() should check for count == 0 to avoid repeated stores hash = 0 Reviewed-by: darcy, ohair ! src/share/classes/java/lang/String.java Changeset: 78d91c4223cb Author: vinnie Date: 2010-03-01 17:54 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/78d91c4223cb 6921001: api/java_security/IdentityScope/IdentityScopeTests.html#getSystemScope fails starting from b78 JDK7 Reviewed-by: mullan ! src/share/classes/java/security/IdentityScope.java ! src/share/lib/security/java.security + test/java/security/IdentityScope/NoDefaultSystemScope.java Changeset: 893034df4ec2 Author: vinnie Date: 2010-03-01 18:00 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/893034df4ec2 Merge - test/java/nio/file/WatchService/OverflowEventIsLoner.java Changeset: cddb43b12d28 Author: alanb Date: 2010-03-03 16:09 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/cddb43b12d28 6931216: TEST_BUG: test/java/nio/file/WatchService/LotsOfEvents.java failed with NPE Reviewed-by: chegar ! test/java/nio/file/WatchService/LotsOfEvents.java Changeset: 507159d8d143 Author: ohair Date: 2010-03-03 11:29 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/507159d8d143 6931763: sanity checks broken with latest cygwin, newer egrep -i option problems Reviewed-by: jjg ! make/common/shared/Sanity.gmk Changeset: 61c298558549 Author: weijun Date: 2010-03-04 10:37 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/61c298558549 6844909: support allow_weak_crypto in krb5.conf Reviewed-by: valeriep ! src/share/classes/sun/security/krb5/internal/crypto/EType.java + test/sun/security/krb5/etype/WeakCrypto.java + test/sun/security/krb5/etype/weakcrypto.conf Changeset: 0f383673ce31 Author: weijun Date: 2010-03-04 10:38 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/0f383673ce31 6923681: Jarsigner crashes during timestamping Reviewed-by: vinnie ! src/share/classes/sun/security/tools/TimestampedSigner.java Changeset: 5e15b70e6d27 Author: weijun Date: 2010-03-04 10:38 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/5e15b70e6d27 6880321: sun.security.provider.JavaKeyStore abuse of OOM Exception handling Reviewed-by: xuelei ! src/share/classes/sun/security/provider/JavaKeyStore.java Changeset: c2d29e5695c2 Author: lana Date: 2010-03-04 13:40 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/c2d29e5695c2 Merge Changeset: 58b44ac0b10d Author: ohair Date: 2010-03-06 14:59 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/58b44ac0b10d 6915983: testing problems, adjusting list of tests, needs some investigation Reviewed-by: alanb ! test/Makefile ! test/ProblemList.txt Changeset: eae6e9ab2606 Author: lana Date: 2010-03-09 15:29 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/eae6e9ab2606 Merge - test/java/nio/file/WatchService/OverflowEventIsLoner.java Changeset: 2cafbbe9825e Author: mikejwre Date: 2010-03-18 13:53 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/2cafbbe9825e Added tag jdk7-b86 for changeset eae6e9ab2606 ! .hgtags Changeset: 49256048dcb9 Author: Greg Lewis Date: 2010-03-20 11:12 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/49256048dcb9 Merge from main OpenJDK repository ! make/com/sun/Makefile ! make/common/shared/Sanity.gmk ! src/share/classes/sun/font/SunFontManager.java ! src/solaris/native/java/io/UnixFileSystem_md.c ! test/Makefile - test/java/nio/file/WatchService/OverflowEventIsLoner.java Changeset: 84dce638a021 Author: Greg Lewis Date: 2010-03-20 19:19 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/84dce638a021 . Define statvfs64 as statvfs on BSD so this compiles. ! src/solaris/native/java/io/UnixFileSystem_md.c From glewis at eyesbeyond.com Sat Mar 20 19:35:43 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 21 Mar 2010 02:35:43 +0000 Subject: hg: bsd-port/bsd-port/langtools: 20 new changesets Message-ID: <20100321023640.B1B1F44483@hg.openjdk.java.net> Changeset: 6eca0895a644 Author: jjg Date: 2010-02-23 18:43 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/6eca0895a644 6511613: javac unexpectedly doesn't fail in some cases if an annotation processor specified Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! src/share/classes/com/sun/tools/javac/util/Log.java + test/tools/javac/processing/6511613/DummyProcessor.java + test/tools/javac/processing/6511613/clss41701.java Changeset: 87eb6edd4f21 Author: jjg Date: 2010-02-25 09:42 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/87eb6edd4f21 4880220: Add a warning when accessing a static method via an reference Reviewed-by: darcy ! make/build.properties ! src/share/classes/com/sun/tools/javac/code/Lint.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties + test/tools/javac/4880220/T4880220.empty.out + test/tools/javac/4880220/T4880220.error.out + test/tools/javac/4880220/T4880220.java + test/tools/javac/4880220/T4880220.warn.out Changeset: 85242c273d31 Author: darcy Date: 2010-02-25 11:04 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/85242c273d31 6929645: Address various findbugs warnings in langtools Reviewed-by: jjg ! src/share/classes/com/sun/tools/apt/comp/Apt.java ! src/share/classes/com/sun/tools/apt/mirror/declaration/AnnotationProxyMaker.java ! src/share/classes/com/sun/tools/apt/mirror/declaration/DeclarationImpl.java ! src/share/classes/com/sun/tools/javac/model/AnnotationProxyMaker.java ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java Changeset: dbcba45123cd Author: jjg Date: 2010-02-25 12:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/dbcba45123cd 6929544: langtools source code uses statics qualified by instance variables Reviewed-by: darcy ! make/build.properties ! src/share/classes/com/sun/tools/apt/main/CommandLine.java ! src/share/classes/com/sun/tools/apt/mirror/type/TypeMirrorImpl.java ! src/share/classes/com/sun/tools/doclets/standard/Standard.java ! src/share/classes/com/sun/tools/javac/Launcher.java ! src/share/classes/com/sun/tools/javac/api/JavacTool.java ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/javac/jvm/Gen.java ! src/share/classes/com/sun/tools/javac/jvm/Items.java ! src/share/classes/com/sun/tools/javac/main/CommandLine.java ! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java Changeset: af75fd6155de Author: jjg Date: 2010-02-25 13:32 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/af75fd6155de 6893943: exit code from javah with no args is 0 Reviewed-by: darcy ! src/share/classes/com/sun/tools/javah/JavahTask.java + test/tools/javah/T6893943.java Changeset: b030706da5b4 Author: jjg Date: 2010-02-26 08:42 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/b030706da5b4 6881645: Unchecked method call on a method declared inside anonymous inner causes javac to crash Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/code/Symbol.java + test/tools/javac/T6881645.java Changeset: 72833a8a6086 Author: jjg Date: 2010-02-26 15:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/72833a8a6086 6930076: "null" can incorrectly appear in error message compiler.err.error.reading.file Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/file/JavacFileManager.java ! src/share/classes/com/sun/tools/javac/file/Paths.java ! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java Changeset: 7b69c7083a97 Author: jjg Date: 2010-02-26 15:30 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/7b69c7083a97 6930032: fix findbugs errors in com.sun.tools.javac.comp Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/comp/Enter.java ! src/share/classes/com/sun/tools/javac/comp/TransTypes.java Changeset: 7c23bbbe0dbd Author: darcy Date: 2010-03-02 14:06 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/7c23bbbe0dbd 6931130: Remove unused AnnotationCollector code from JavacProcessingEnvironment Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java Changeset: 6e1e2738c530 Author: jjg Date: 2010-03-02 16:40 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/6e1e2738c530 6931482: minor findbugs fixes Reviewed-by: darcy ! src/share/classes/com/sun/tools/classfile/ConstantPool.java ! src/share/classes/com/sun/tools/javadoc/DocEnv.java ! src/share/classes/com/sun/tools/javadoc/SeeTagImpl.java Changeset: 235135d61974 Author: jjg Date: 2010-03-02 16:43 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/235135d61974 6931127: strange test class files Reviewed-by: darcy ! test/tools/javac/annotations/neg/Constant.java ! test/tools/javac/generics/Casting.java ! test/tools/javac/generics/Casting3.java ! test/tools/javac/generics/Casting4.java ! test/tools/javac/generics/InnerInterface1.java ! test/tools/javac/generics/InnerInterface2.java ! test/tools/javac/generics/Multibound1.java ! test/tools/javac/generics/MultipleInheritance.java ! test/tools/javac/generics/NameOrder.java ! test/tools/javac/generics/PermuteBound.java ! test/tools/javac/generics/PrimitiveVariant.java Changeset: fc7132746501 Author: darcy Date: 2010-03-03 16:05 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/fc7132746501 6449781: TypeElement.getQualifiedName for anonymous classes returns null instead of an empty name Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java + test/tools/javac/processing/model/element/TestAnonClassNames.java + test/tools/javac/processing/model/element/TestAnonSourceNames.java Changeset: 7f5db2e8b423 Author: jjg Date: 2010-03-03 17:22 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/7f5db2e8b423 6931927: position issues with synthesized anonymous class Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java + test/tools/javac/tree/TestAnnotatedAnonClass.java + test/tools/javac/tree/TreePosTest.java - test/tools/javac/treepostests/TreePosTest.java Changeset: 117c95448ab9 Author: jjg Date: 2010-03-03 19:34 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/117c95448ab9 6931126: jtreg tests not Windows friendly Reviewed-by: darcy ! test/tools/javac/ThrowsIntersection_1.java ! test/tools/javac/ThrowsIntersection_2.java ! test/tools/javac/ThrowsIntersection_3.java ! test/tools/javac/ThrowsIntersection_4.java ! test/tools/javac/generics/NameOrder.java Changeset: c55733ceed61 Author: lana Date: 2010-03-04 13:40 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/c55733ceed61 Merge Changeset: a23282f17d0b Author: jjg Date: 2010-03-05 16:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/a23282f17d0b 6930108: IllegalArgumentException in AbstractDiagnosticFormatter for tools/javac/api/TestJavacTaskScanner.jav Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java ! test/tools/javac/api/TestJavacTaskScanner.java + test/tools/javac/api/TestResolveError.java Changeset: a4f3b97c8028 Author: jjg Date: 2010-03-05 16:13 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/a4f3b97c8028 Merge Changeset: ef07347428f2 Author: lana Date: 2010-03-09 15:29 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/ef07347428f2 Merge - test/tools/javac/treepostests/TreePosTest.java Changeset: 409db93d19c0 Author: mikejwre Date: 2010-03-18 13:53 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/409db93d19c0 Added tag jdk7-b86 for changeset ef07347428f2 ! .hgtags Changeset: 455e979624a6 Author: Greg Lewis Date: 2010-03-20 11:13 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/455e979624a6 Merge from main OpenJDK repository - test/tools/javac/treepostests/TreePosTest.java From glewis at eyesbeyond.com Thu Mar 25 18:27:02 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 26 Mar 2010 01:27:02 +0000 Subject: hg: bsd-port/bsd-port/jdk: . Use sendfile(2) if its available (which it is on MacOS X and FreeBSD). Message-ID: <20100326012714.E1F324437A@hg.openjdk.java.net> Changeset: 62dc2d00133f Author: Greg Lewis Date: 2010-03-24 22:19 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/62dc2d00133f . Use sendfile(2) if its available (which it is on MacOS X and FreeBSD). Otherwise return IOS_UNSUPPORTED and allow the calling code to handle the fallback rather than using our own (buggy) read/write loop here. Submitted by: Michael Allman FreeBSD support by: Greg Lewis ! src/solaris/native/sun/nio/ch/FileChannelImpl.c From kspillner at acm.org Fri Mar 26 14:34:25 2010 From: kspillner at acm.org (Kent R. Spillner) Date: Fri, 26 Mar 2010 16:34:25 -0500 (CDT) Subject: Bootstrapping with Apple's JDK 6 on Snow Leopard Message-ID: <1269639265.549127924@192.168.2.228> Howdy- Is anyone successfully building a 64-bit version of the latest source on Snow Leopard with Apple's JDK 6? I can build a 32-bit version using the Soylatte v1.0.3 32-bit binaries, but I can't successfully build any version of OpenJDK using Apple's JDK 6. I tried following along with http://justanapplication.wordpress.com/2009/11/17/bootstrapping-openjdk-7-on-snow-leopard/ without success (see below). After patching com.sun.tools.javac.jvm.ClassReader.java to fully qualify both references to com.sun.tools.javac.jvm.ClassFile.Version, my langtools build fails during the -def-genstubs Ant target because of an apparent API inconsistency between Apple's com.sun.tools.javac.tree.JCTree and what OpenJDK expects. Might it be possible to work around this problem by pruning the list of jars on the bootclasspath when invoking Apple's javac, or prepending the OpenJDK build output directory containing JCTree to the bootclasspath? Are there any Make variables I can use to explicitly override the bootclasspath? Also, setting ARCH_DATA_MODEL=64 causes the sanity goal to fail with the error: ERROR: FreeType version 2.3.0 or higher is required. \n /Users/sl4mmy/Work/openjdk/build/bsd-amd64/btbins/freetype_versioncheck Failed to build freetypecheck. \n Exiting because of the above error(s). \n make: *** [post-sanity] Error 1 Does anyone know how to build a 64-bit JDK with the version of freetype that ships with Snow Leopard? With the Soylatte v1.0.3 32-bit binaries on Snow Leopard, I'm able to successfully build a 32-bit version of OpenJDK on my MacBook with the command: $ time env -i PATH=/Users/sl4mmy/Downloads/tmp/soylatte16-i386-1.0.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin make ALT_BOOTDIR=/Users/sl4mmy/Downloads/tmp/soylatte16-i386-1.0.3 ALT_FREETYPE_HEADERS_PATH=/usr/X11/include ALT_FREETYPE_LIB_PATH=/usr/X11/lib ALT_CUPS_HEADERS_PATH=/usr/include ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts LIBFFI_CFLAGS="-I/usr/include/ffi" ANT_HOME=/usr/share/ant NO_DOCS=true CC=gcc-4.0 CXX=g++-4.0 [OUTPUT SNIPPED] >>>Making sec-files-win @ Thu Mar 25 14:00:30 CDT 2010 ... >>>Making jgss-files @ Thu Mar 25 14:00:30 CDT 2010 ... >>>Finished making images @ Thu Mar 25 14:00:30 CDT 2010 ... ######################################################################## ##### Leaving jdk for target sanity all images ##### ######################################################################## ######################################################################## Control bsd i586 1.7.0-internal build_product_image build finished: 10-03-25 14:00 Control bsd i586 1.7.0-internal all_product_build build finished: 10-03-25 14:00 Control bsd i586 1.7.0-internal all build finished: 10-03-25 14:00 real 58m24.447s user 42m37.251s sys 9m14.620s $ Thanks in advance! Best, Kent plato:openjdk sl4mmy$ uname -a Darwin plato 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386 plato:openjdk sl4mmy$ hg summary parent: 192:9f250d0d1b40 tip Merge from main OpenJDK repository branch: default commit: (clean) update: (current) plato:openjdk sl4mmy$ hg fstatus [.] [corba] [hotspot] [jaxp] [jaxws] [jdk] [langtools] plato:openjdk sl4mmy$ env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin make ALT_BOOTDIR=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home ALT_FREETYPE_HEADERS_PATH=/usr/X11/include ALT_FREETYPE_LIB_PATH=/usr/X11/lib ALT_CUPS_HEADERS_PATH=/usr/include ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts LIBFFI_CFLAGS="-I/usr/include/ffi" ANT_HOME=/usr/share/ant NO_DOCS=true Control bsd i586 1.7.0-internal all build started: 10-03-25 11:02 ( cd ./jdk/make && \ make sanity HOTSPOT_IMPORT_CHECK=false JDK_TOPDIR=/Users/sl4mmy/Work/openjdk/jdk JDK_MAKE_SHARED_DIR=/Users/sl4mmy/Work/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=internal BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00 FULL_VERSION=1.7.0-internal-sl4mmy_2010_03_25_11_02-b00 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=32 COOKED_BUILD_NUMBER=0 ANT_HOME="/usr/share/ant" ALT_OUTPUTDIR=/Users/sl4mmy/Work/openjdk/build/bsd-i586 ALT_LANGTOOLS_DIST=/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/dist ALT_CORBA_DIST=/Users/sl4mmy/Work/openjdk/build/bsd-i586/corba/dist ALT_JAXP_DIST=/Users/sl4mmy/Work/openjdk/build/bsd-i586/jaxp/dist ALT_JAXWS_DIST=/Users/sl4mmy/Work/openjdk/build/bsd-i586/jaxws/dist ALT_HOTSPOT_IMPORT_PATH=/Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import BUILD_HOTSPOT=true ; ) Build Machine Information: build machine = plato Build Directory Structure: CWD = /Users/sl4mmy/Work/openjdk TOPDIR = . CONTROL_TOPDIR = . LANGTOOLS_TOPDIR = ./langtools JAXP_TOPDIR = ./jaxp JAXWS_TOPDIR = ./jaxws CORBA_TOPDIR = ./corba HOTSPOT_TOPDIR = ./hotspot JDK_TOPDIR = ./jdk Build Directives: BUILD_LANGTOOLS = true BUILD_JAXP = true BUILD_JAXWS = true BUILD_CORBA = true BUILD_HOTSPOT = true BUILD_JDK = true DEBUG_CLASSFILES = DEBUG_BINARIES = Hotspot Settings: \n HOTSPOT_BUILD_JOBS = \n HOTSPOT_OUTPUTDIR = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/outputdir \n HOTSPOT_EXPORT_PATH = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import \n \n \nBootstrap Settings:\n BOOTDIR = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home\n ALT_BOOTDIR = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home\n BOOT_VER = 1.6.0 [requires at least 1.5]\n OUTPUTDIR = /Users/sl4mmy/Work/openjdk/build/bsd-i586\n ALT_OUTPUTDIR = /Users/sl4mmy/Work/openjdk/build/bsd-i586\n ABS_OUTPUTDIR = /Users/sl4mmy/Work/openjdk/build/bsd-i586\n \nBuild Tool Settings:\n SLASH_JAVA = /NOT-SET\n ALT_SLASH_JAVA = \n VARIANT = OPT\n JDK_DEVTOOLS_DIR = /NOT-SET/devtools\n ALT_JDK_DEVTOOLS_DIR = \n ANT_HOME = /usr/share/ant\n UNIXCOMMAND_PATH = /bin/\n ALT_UNIXCOMMAND_PATH = \n COMPILER_PATH = /usr/bin/\n ALT_COMPILER_PATH = \n DEVTOOLS_PATH = /opt/local/bin/\n ALT_DEVTOOLS_PATH = \n COMPILER_NAME = GCC4\n COMPILER_VERSION = GCC4\n CC_VER = 4.2.1 [requires at least 3.2]\n ZIP_VER = 3.0 [requires at least 2.2]\n UNZIP_VER = 5.52 [requires at least 5.12]\n ANT_VER = 1.7.1 [requires at least 1.6.3]\n TEMPDIR = /Users/sl4mmy/Work/openjdk/build/bsd-i586/tmp\n \nBuild Directives:\n OPENJDK = true\n USE_HOTSPOT_INTERPRETER_MODE = \n PEDANTIC = \n DEV_ONLY = \n NO_DOCS = true\n NO_IMAGES = \n TOOLS_ONLY = \n INSANE = \n COMPILE_APPROACH = parallel\n PARALLEL_COMPILE_JOBS = 2\n ALT_PARALLEL_COMPILE_JOBS = \n FASTDEBUG = \n COMPILER_WARNINGS_FATAL = false\n COMPILER_WARNING_LEVEL = \n INCREMENTAL_BUILD = false\n CC_HIGHEST_OPT = \n CC_HIGHER_OPT = \n CC_LOWER_OPT = \n CXXFLAGS = -O2 -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses -m32 -fno-omit-frame-pointer -D_LITTLE_ENDIAN -mstackrealign \n CFLAGS = -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -m32 -fno-omit-frame-pointer -D_LITTLE_ENDIAN -mstackrealign \n BOOT_JAVA_CMD = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m\n BOOT_JAVAC_CMD = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/javac -J-XX:ThreadStackSize=768 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -source 6 -target 6 -XDignore.symbol.file=true\n BOOT_JAR_CMD = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/jar\n BOOT_JARSIGNER_CMD = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/jarsigner\n JAVAC_CMD = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd-i586/bin/javac -J-XX:ThreadStackSize=768 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -source 7 -target 7 -encoding ascii -Xbootclasspath:/Users/sl4mmy/Work/openjdk/build/bsd-i586/classes \n JAVAH_CMD = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd-i586/bin/javah -bootclasspath /Users/sl4mmy/Work/openjdk/build/bsd-i586/classes\n JAVADOC_CMD = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd-i586/bin/javadoc -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -bootclasspath /Users/sl4mmy/Work/openjdk/build/bsd-i586/classes\n \nBuild Platform Settings:\n USER = sl4mmy\n PLATFORM = bsd\n ARCH = i586\n LIBARCH = i386\n ARCH_FAMILY = i586\n ARCH_DATA_MODEL = 32\n ARCHPROP = i386\n OS_VERSION = 10.2.0 [requires at least 8.0]\n OS_VARIANT_NAME = \n OS_VARIANT_VERSION = \n TEMP_FREE_SPACE = 155629664\n FREE_SPACE = 155629664\n MB_OF_MEMORY = 2048\n \nGNU Make Settings:\n MAKE = make\n MAKE_VER = 3.81 [requires at least 3.78]\n MAKECMDGOALS = sanity\n MAKEFLAGS = \n SHELL = /bin/sh\n \nTarget Build Versions:\n JDK_VERSION = 1.7.0\n MILESTONE = internal\n RELEASE = 1.7.0-internal\n FULL_VERSION = 1.7.0-internal-sl4mmy_2010_03_25_11_02-b00\n BUILD_NUMBER = b00\n \nExternal File/Binary Locations:\n USRJDKINSTANCES_PATH = /opt/local\n BUILD_JDK_IMPORT_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries\n ALT_BUILD_JDK_IMPORT_PATH = \n JDK_IMPORT_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd-i586\n ALT_JDK_IMPORT_PATH = \n LANGTOOLS_DIST = \n ALT_LANGTOOLS_DIST = /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/dist\n CORBA_DIST = \n ALT_CORBA_DIST = /Users/sl4mmy/Work/openjdk/build/bsd-i586/corba/dist\n JAXP_DIST = \n ALT_JAXP_DIST = /Users/sl4mmy/Work/openjdk/build/bsd-i586/jaxp/dist\n JAXWS_DIST = \n ALT_JAXWS_DIST = /Users/sl4mmy/Work/openjdk/build/bsd-i586/jaxws/dist\n HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR\n ALT_HOTSPOT_DOCS_IMPORT_PATH = \n HOTSPOT_IMPORT_PATH = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import\n ALT_HOTSPOT_IMPORT_PATH = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import\n HOTSPOT_CLIENT_PATH = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import/jre/lib/i386/client\n ALT_HOTSPOT_CLIENT_PATH = \n HOTSPOT_SERVER_PATH = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import/jre/lib/i386/server\n ALT_HOTSPOT_SERVER_PATH = \n CACERTS_FILE = /System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts\n ALT_CACERTS_FILE = /System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts\n CUPS_HEADERS_PATH = /usr/include\n ALT_CUPS_HEADERS_PATH = /usr/include\n \nOpenJDK-specific settings:\n FREETYPE_HEADERS_PATH = /usr/X11/include\n ALT_FREETYPE_HEADERS_PATH = /usr/X11/include\n FREETYPE_LIB_PATH = /usr/X11/lib\n ALT_FREETYPE_LIB_PATH = /usr/X11/lib\n X11_PATH = /usr/X11R6\n ALT_X11_PATH = \n \nOPENJDK Import Binary Plug Settings:\n IMPORT_BINARY_PLUGS = \n BINARY_PLUGS_JARFILE = /NOT-SET/re/jdk/1.7.0/promoted/latest/openjdk/binaryplugs/bsd-i586/jre/lib/rt-closed.jar\n ALT_BINARY_PLUGS_JARFILE = \n BINARY_PLUGS_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/openjdk/binaryplugs/bsd-i586\n ALT_BINARY_PLUGS_PATH = \n BUILD_BINARY_PLUGS_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/openjdk/binaryplugs\n ALT_BUILD_BINARY_PLUGS_PATH = \n PLUG_LIBRARY_NAMES = \n \nPrevious JDK Settings:\n PREVIOUS_RELEASE_PATH = USING-PREVIOUS_RELEASE_IMAGE\n ALT_PREVIOUS_RELEASE_PATH = \n PREVIOUS_JDK_VERSION = 1.6.0\n ALT_PREVIOUS_JDK_VERSION = \n PREVIOUS_JDK_FILE = \n ALT_PREVIOUS_JDK_FILE = \n PREVIOUS_JRE_FILE = \n ALT_PREVIOUS_JRE_FILE = \n PREVIOUS_RELEASE_IMAGE = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home\n ALT_PREVIOUS_RELEASE_IMAGE = \n WARNING: This build does not include running javadoc.\n Sanity check passed. Control bsd i586 1.7.0-internal all_product_build build started: 10-03-25 11:02 Control bsd i586 1.7.0-internal build_product_image build started: 10-03-25 11:02 make \ SKIP_FASTDEBUG_BUILD=true \ SKIP_DEBUG_BUILD=true \ \ generic_build_repo_series /bin/mkdir -p ./build/bsd-i586 /bin/mkdir -p ./build/bsd-i586/j2sdk-image /bin/mkdir -p /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools ######################################################################## ######################################################################## ##### Entering langtools for target all ##### ######################################################################## (cd ./langtools/make && \ make JDK_TOPDIR=/Users/sl4mmy/Work/openjdk/jdk JDK_MAKE_SHARED_DIR=/Users/sl4mmy/Work/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=internal BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00 FULL_VERSION=1.7.0-internal-sl4mmy_2010_03_25_11_02-b00 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=32 COOKED_BUILD_NUMBER=0 ANT_HOME="/usr/share/ant" ALT_OUTPUTDIR=/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools ALT_BOOTDIR=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home all) JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home ANT_OPTS=-Djava.io.tmpdir='/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/ant-tmp' /usr/share/ant/bin/ant -diagnostics > /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/ant-diagnostics.log JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home ANT_OPTS=-Djava.io.tmpdir='/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/ant-tmp' /usr/share/ant/bin/ant -Djdk.version=1.7.0 -Dfull.version='1.7.0-internal-sl4mmy_2010_03_25_11_02-b00' -Dmilestone=internal -Dbuild.number=b00 -Djavac.target=7 -Djavac.source=7 -Dboot.java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home -Dimport.jdk=/Users/sl4mmy/Work/openjdk/jdk -Dbuild.dir=/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build -Ddist.dir=/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/dist build Buildfile: build.xml -def-pcompile: [mkdir] Created dir: /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/toolclasses [javac] Compiling 2 source files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/toolclasses -def-build-classes: -def-build-bootstrap-classes: -def-build-jar: -def-build-bootstrap-jar: -def-check: -check-boot.java.home: -def-build-tool: -def-build-bootstrap-tool: build-bootstrap-javac: [mkdir] Created dir: /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/gensrc [mkdir] Created dir: /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/classes [pcompile] Generating 7 resource files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/gensrc [copy] Copying 1 file to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/gensrc [pcompile] Generating 1 resource files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/gensrc [javac] Compiling 281 source files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/classes [javac] /Users/sl4mmy/Work/openjdk/langtools/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java:860: reference to Version is ambiguous, both class com.sun.tools.javac.jvm.ClassFile.Version in com.sun.tools.javac.jvm.ClassFile and class com.sun.tools.javac.util.Version in com.sun.tools.javac.util match [javac] AttributeReader(Name name, Version version, Set kinds) { [javac] ^ [javac] /Users/sl4mmy/Work/openjdk/langtools/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java:873: reference to Version is ambiguous, both class com.sun.tools.javac.jvm.ClassFile.Version in com.sun.tools.javac.jvm.ClassFile and class com.sun.tools.javac.util.Version in com.sun.tools.javac.util match [javac] final Version version; [javac] ^ [javac] 2 errors BUILD FAILED /Users/sl4mmy/Work/openjdk/langtools/make/build.xml:242: The following error occurred while executing this line: /Users/sl4mmy/Work/openjdk/langtools/make/build.xml:553: Compile failed; see the compiler error output for details. Total time: 5 seconds make[2]: *** [build] Error 1 make[1]: *** [langtools-build] Error 2 make: *** [build_product_image] Error 2 plato:openjdk sl4mmy$ sed -e "s/Version version/com.sun.tools.javac.jvm.ClassFile.Version version/" -i .orig langtools/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java plato:openjdk sl4mmy$ env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin make ALT_BOOTDIR=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home ALT_FREETYPE_HEADERS_PATH=/usr/X11/include ALT_FREETYPE_LIB_PATH=/usr/X11/lib ALT_CUPS_HEADERS_PATH=/usr/include ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts LIBFFI_CFLAGS="-I/usr/include/ffi" ANT_HOME=/usr/share/ant NO_DOCS=true Control bsd i586 1.7.0-internal all build started: 10-03-25 11:03 ( cd ./jdk/make && \ make sanity HOTSPOT_IMPORT_CHECK=false JDK_TOPDIR=/Users/sl4mmy/Work/openjdk/jdk JDK_MAKE_SHARED_DIR=/Users/sl4mmy/Work/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=internal BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00 FULL_VERSION=1.7.0-internal-sl4mmy_2010_03_25_11_03-b00 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=32 COOKED_BUILD_NUMBER=0 ANT_HOME="/usr/share/ant" ALT_OUTPUTDIR=/Users/sl4mmy/Work/openjdk/build/bsd-i586 ALT_LANGTOOLS_DIST=/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/dist ALT_CORBA_DIST=/Users/sl4mmy/Work/openjdk/build/bsd-i586/corba/dist ALT_JAXP_DIST=/Users/sl4mmy/Work/openjdk/build/bsd-i586/jaxp/dist ALT_JAXWS_DIST=/Users/sl4mmy/Work/openjdk/build/bsd-i586/jaxws/dist ALT_HOTSPOT_IMPORT_PATH=/Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import BUILD_HOTSPOT=true ; ) Build Machine Information: build machine = plato Build Directory Structure: CWD = /Users/sl4mmy/Work/openjdk TOPDIR = . CONTROL_TOPDIR = . LANGTOOLS_TOPDIR = ./langtools JAXP_TOPDIR = ./jaxp JAXWS_TOPDIR = ./jaxws CORBA_TOPDIR = ./corba HOTSPOT_TOPDIR = ./hotspot JDK_TOPDIR = ./jdk Build Directives: BUILD_LANGTOOLS = true BUILD_JAXP = true BUILD_JAXWS = true BUILD_CORBA = true BUILD_HOTSPOT = true BUILD_JDK = true DEBUG_CLASSFILES = DEBUG_BINARIES = Hotspot Settings: \n HOTSPOT_BUILD_JOBS = \n HOTSPOT_OUTPUTDIR = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/outputdir \n HOTSPOT_EXPORT_PATH = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import \n \n \nBootstrap Settings:\n BOOTDIR = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home\n ALT_BOOTDIR = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home\n BOOT_VER = 1.6.0 [requires at least 1.5]\n OUTPUTDIR = /Users/sl4mmy/Work/openjdk/build/bsd-i586\n ALT_OUTPUTDIR = /Users/sl4mmy/Work/openjdk/build/bsd-i586\n ABS_OUTPUTDIR = /Users/sl4mmy/Work/openjdk/build/bsd-i586\n \nBuild Tool Settings:\n SLASH_JAVA = /NOT-SET\n ALT_SLASH_JAVA = \n VARIANT = OPT\n JDK_DEVTOOLS_DIR = /NOT-SET/devtools\n ALT_JDK_DEVTOOLS_DIR = \n ANT_HOME = /usr/share/ant\n UNIXCOMMAND_PATH = /bin/\n ALT_UNIXCOMMAND_PATH = \n COMPILER_PATH = /usr/bin/\n ALT_COMPILER_PATH = \n DEVTOOLS_PATH = /opt/local/bin/\n ALT_DEVTOOLS_PATH = \n COMPILER_NAME = GCC4\n COMPILER_VERSION = GCC4\n CC_VER = 4.2.1 [requires at least 3.2]\n ZIP_VER = 3.0 [requires at least 2.2]\n UNZIP_VER = 5.52 [requires at least 5.12]\n ANT_VER = 1.7.1 [requires at least 1.6.3]\n TEMPDIR = /Users/sl4mmy/Work/openjdk/build/bsd-i586/tmp\n \nBuild Directives:\n OPENJDK = true\n USE_HOTSPOT_INTERPRETER_MODE = \n PEDANTIC = \n DEV_ONLY = \n NO_DOCS = true\n NO_IMAGES = \n TOOLS_ONLY = \n INSANE = \n COMPILE_APPROACH = parallel\n PARALLEL_COMPILE_JOBS = 2\n ALT_PARALLEL_COMPILE_JOBS = \n FASTDEBUG = \n COMPILER_WARNINGS_FATAL = false\n COMPILER_WARNING_LEVEL = \n INCREMENTAL_BUILD = false\n CC_HIGHEST_OPT = \n CC_HIGHER_OPT = \n CC_LOWER_OPT = \n CXXFLAGS = -O2 -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses -m32 -fno-omit-frame-pointer -D_LITTLE_ENDIAN -mstackrealign \n CFLAGS = -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -m32 -fno-omit-frame-pointer -D_LITTLE_ENDIAN -mstackrealign \n BOOT_JAVA_CMD = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m\n BOOT_JAVAC_CMD = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/javac -J-XX:ThreadStackSize=768 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -source 6 -target 6 -XDignore.symbol.file=true\n BOOT_JAR_CMD = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/jar\n BOOT_JARSIGNER_CMD = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/jarsigner\n JAVAC_CMD = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd-i586/bin/javac -J-XX:ThreadStackSize=768 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -source 7 -target 7 -encoding ascii -Xbootclasspath:/Users/sl4mmy/Work/openjdk/build/bsd-i586/classes \n JAVAH_CMD = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd-i586/bin/javah -bootclasspath /Users/sl4mmy/Work/openjdk/build/bsd-i586/classes\n JAVADOC_CMD = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd-i586/bin/javadoc -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -bootclasspath /Users/sl4mmy/Work/openjdk/build/bsd-i586/classes\n \nBuild Platform Settings:\n USER = sl4mmy\n PLATFORM = bsd\n ARCH = i586\n LIBARCH = i386\n ARCH_FAMILY = i586\n ARCH_DATA_MODEL = 32\n ARCHPROP = i386\n OS_VERSION = 10.2.0 [requires at least 8.0]\n OS_VARIANT_NAME = \n OS_VARIANT_VERSION = \n TEMP_FREE_SPACE = 155629664\n FREE_SPACE = 155629664\n MB_OF_MEMORY = 2048\n \nGNU Make Settings:\n MAKE = make\n MAKE_VER = 3.81 [requires at least 3.78]\n MAKECMDGOALS = sanity\n MAKEFLAGS = \n SHELL = /bin/sh\n \nTarget Build Versions:\n JDK_VERSION = 1.7.0\n MILESTONE = internal\n RELEASE = 1.7.0-internal\n FULL_VERSION = 1.7.0-internal-sl4mmy_2010_03_25_11_03-b00\n BUILD_NUMBER = b00\n \nExternal File/Binary Locations:\n USRJDKINSTANCES_PATH = /opt/local\n BUILD_JDK_IMPORT_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries\n ALT_BUILD_JDK_IMPORT_PATH = \n JDK_IMPORT_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd-i586\n ALT_JDK_IMPORT_PATH = \n LANGTOOLS_DIST = \n ALT_LANGTOOLS_DIST = /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/dist\n CORBA_DIST = \n ALT_CORBA_DIST = /Users/sl4mmy/Work/openjdk/build/bsd-i586/corba/dist\n JAXP_DIST = \n ALT_JAXP_DIST = /Users/sl4mmy/Work/openjdk/build/bsd-i586/jaxp/dist\n JAXWS_DIST = \n ALT_JAXWS_DIST = /Users/sl4mmy/Work/openjdk/build/bsd-i586/jaxws/dist\n HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR\n ALT_HOTSPOT_DOCS_IMPORT_PATH = \n HOTSPOT_IMPORT_PATH = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import\n ALT_HOTSPOT_IMPORT_PATH = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import\n HOTSPOT_CLIENT_PATH = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import/jre/lib/i386/client\n ALT_HOTSPOT_CLIENT_PATH = \n HOTSPOT_SERVER_PATH = /Users/sl4mmy/Work/openjdk/build/bsd-i586/hotspot/import/jre/lib/i386/server\n ALT_HOTSPOT_SERVER_PATH = \n CACERTS_FILE = /System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts\n ALT_CACERTS_FILE = /System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts\n CUPS_HEADERS_PATH = /usr/include\n ALT_CUPS_HEADERS_PATH = /usr/include\n \nOpenJDK-specific settings:\n FREETYPE_HEADERS_PATH = /usr/X11/include\n ALT_FREETYPE_HEADERS_PATH = /usr/X11/include\n FREETYPE_LIB_PATH = /usr/X11/lib\n ALT_FREETYPE_LIB_PATH = /usr/X11/lib\n X11_PATH = /usr/X11R6\n ALT_X11_PATH = \n \nOPENJDK Import Binary Plug Settings:\n IMPORT_BINARY_PLUGS = \n BINARY_PLUGS_JARFILE = /NOT-SET/re/jdk/1.7.0/promoted/latest/openjdk/binaryplugs/bsd-i586/jre/lib/rt-closed.jar\n ALT_BINARY_PLUGS_JARFILE = \n BINARY_PLUGS_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/openjdk/binaryplugs/bsd-i586\n ALT_BINARY_PLUGS_PATH = \n BUILD_BINARY_PLUGS_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/openjdk/binaryplugs\n ALT_BUILD_BINARY_PLUGS_PATH = \n PLUG_LIBRARY_NAMES = \n \nPrevious JDK Settings:\n PREVIOUS_RELEASE_PATH = USING-PREVIOUS_RELEASE_IMAGE\n ALT_PREVIOUS_RELEASE_PATH = \n PREVIOUS_JDK_VERSION = 1.6.0\n ALT_PREVIOUS_JDK_VERSION = \n PREVIOUS_JDK_FILE = \n ALT_PREVIOUS_JDK_FILE = \n PREVIOUS_JRE_FILE = \n ALT_PREVIOUS_JRE_FILE = \n PREVIOUS_RELEASE_IMAGE = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home\n ALT_PREVIOUS_RELEASE_IMAGE = \n WARNING: This build does not include running javadoc.\n Sanity check passed. Control bsd i586 1.7.0-internal all_product_build build started: 10-03-25 11:03 Control bsd i586 1.7.0-internal build_product_image build started: 10-03-25 11:03 make \ SKIP_FASTDEBUG_BUILD=true \ SKIP_DEBUG_BUILD=true \ \ generic_build_repo_series /bin/mkdir -p ./build/bsd-i586 /bin/mkdir -p ./build/bsd-i586/j2sdk-image /bin/mkdir -p /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools ######################################################################## ######################################################################## ##### Entering langtools for target all ##### ######################################################################## (cd ./langtools/make && \ make JDK_TOPDIR=/Users/sl4mmy/Work/openjdk/jdk JDK_MAKE_SHARED_DIR=/Users/sl4mmy/Work/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=internal BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00 FULL_VERSION=1.7.0-internal-sl4mmy_2010_03_25_11_03-b00 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=32 COOKED_BUILD_NUMBER=0 ANT_HOME="/usr/share/ant" ALT_OUTPUTDIR=/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools ALT_BOOTDIR=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home all) JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home ANT_OPTS=-Djava.io.tmpdir='/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/ant-tmp' /usr/share/ant/bin/ant -diagnostics > /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/ant-diagnostics.log JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home ANT_OPTS=-Djava.io.tmpdir='/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/ant-tmp' /usr/share/ant/bin/ant -Djdk.version=1.7.0 -Dfull.version='1.7.0-internal-sl4mmy_2010_03_25_11_03-b00' -Dmilestone=internal -Dbuild.number=b00 -Djavac.target=7 -Djavac.source=7 -Dboot.java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home -Dimport.jdk=/Users/sl4mmy/Work/openjdk/jdk -Dbuild.dir=/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build -Ddist.dir=/Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/dist build Buildfile: build.xml -def-pcompile: -def-build-classes: -def-build-bootstrap-classes: -def-build-jar: -def-build-bootstrap-jar: -def-check: -check-boot.java.home: -def-build-tool: -def-build-bootstrap-tool: build-bootstrap-javac: [javac] Compiling 281 source files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/classes [copy] Copying 4 files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/classes [mkdir] Created dir: /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/lib [jar] Building jar: /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/lib/javac.jar [mkdir] Created dir: /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/bin [copy] Copying 1 file to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/bin build-bootstrap-javadoc: [pcompile] Generating 3 resource files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/gensrc [javac] Compiling 72 source files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/classes [jar] Building jar: /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/lib/javadoc.jar [copy] Copying 1 file to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/bin build-bootstrap-doclets: [pcompile] Generating 6 resource files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/gensrc [javac] Compiling 131 source files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/classes [copy] Copying 2 files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/classes [jar] Building jar: /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/lib/doclets.jar build-bootstrap-javah: [pcompile] Generating 3 resource files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/gensrc [javac] Compiling 15 source files to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/classes [jar] Building jar: /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/lib/javah.jar [copy] Copying 1 file to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/bootstrap/bin build-bootstrap-tools: -def-genstubs: [javac] Compiling 1 source file to /Users/sl4mmy/Work/openjdk/build/bsd-i586/langtools/build/toolclasses [javac] /Users/sl4mmy/Work/openjdk/langtools/make/tools/GenStubs/GenStubs.java:301: cannot find symbol [javac] symbol : method getTag() [javac] location: class com.sun.tools.javac.tree.JCTree [javac] if (def.getTag() == JCTree.IMPORT) { [javac] ^ [javac] /Users/sl4mmy/Work/openjdk/langtools/make/tools/GenStubs/GenStubs.java:303: cannot find symbol [javac] symbol : method getTag() [javac] location: class com.sun.tools.javac.tree.JCTree [javac] if (imp.qualid.getTag() == JCTree.SELECT) { [javac] ^ [javac] 2 errors BUILD FAILED /Users/sl4mmy/Work/openjdk/langtools/make/build.xml:628: Compile failed; see the compiler error output for details. Total time: 13 seconds make[2]: *** [build] Error 1 make[1]: *** [langtools-build] Error 2 make: *** [build_product_image] Error 2 plato:openjdk sl4mmy$ From christos at zoulas.com Fri Mar 26 14:50:50 2010 From: christos at zoulas.com (Christos Zoulas) Date: Fri, 26 Mar 2010 17:50:50 -0400 Subject: Bootstrapping with Apple's JDK 6 on Snow Leopard In-Reply-To: <1269639265.549127924@192.168.2.228> from "Kent R. Spillner" (Mar 26, 4:34pm) Message-ID: <20100326215051.09D0956425@rebar.astron.com> On Mar 26, 4:34pm, kspillner at acm.org ("Kent R. Spillner") wrote: -- Subject: Bootstrapping with Apple's JDK 6 on Snow Leopard | Howdy- | | Is anyone successfully building a 64-bit version of the latest source on Snow Leopard with Apple's JDK 6? I can build a 32-bit version using the Soylatte v1.0.3 32-bit binaries, but I can't successfully build any version of OpenJDK using Apple's JDK 6. | | I tried following along with http://justanapplication.wordpress.com/2009/11/17/bootstrapping-openjdk-7-on-snow-leopard/ without success (see below). After patching com.sun.tools.javac.jvm.ClassReader.java to fully qualify both references to com.sun.tools.javac.jvm.ClassFile.Version, my langtools build fails during the -def-genstubs Ant target because of an apparent API inconsistency between Apple's com.sun.tools.javac.tree.JCTree and what OpenJDK expects. | | Might it be possible to work around this problem by pruning the list of jars on the bootclasspath when invoking Apple's javac, or prepending the OpenJDK build output directory containing JCTree to the bootclasspath? Are there any Make variables I can use to explicitly override the bootclasspath? | | Also, setting ARCH_DATA_MODEL=64 causes the sanity goal to fail with the error: | ERROR: FreeType version 2.3.0 or higher is required. \n /Users/sl4mmy/Work/openjdk/build/bsd-amd64/btbins/freetype_versioncheck | Failed to build freetypecheck. \n | Exiting because of the above error(s). \n | make: *** [post-sanity] Error 1 | | Does anyone know how to build a 64-bit JDK with the version of freetype that ships with Snow Leopard? | | With the Soylatte v1.0.3 32-bit binaries on Snow Leopard, I'm able to successfully build a 32-bit version of OpenJDK on my MacBook with the command: | $ time env -i PATH=/Users/sl4mmy/Downloads/tmp/soylatte16-i386-1.0.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin make ALT_BOOTDIR=/Users/sl4mmy/Downloads/tmp/soylatte16-i386-1.0.3 ALT_FREETYPE_HEADERS_PATH=/usr/X11/include ALT_FREETYPE_LIB_PATH=/usr/X11/lib ALT_CUPS_HEADERS_PATH=/usr/include ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts LIBFFI_CFLAGS="-I/usr/include/ffi" ANT_HOME=/usr/share/ant NO_DOCS=true CC=gcc-4.0 CXX=g++-4.0 Are you using the correct version of jibx? christos From kspillner at acm.org Fri Mar 26 21:28:23 2010 From: kspillner at acm.org (Kent R. Spillner) Date: Fri, 26 Mar 2010 23:28:23 -0500 (CDT) Subject: Bootstrapping with Apple's JDK 6 on Snow Leopard In-Reply-To: <20100326215051.09D0956425@rebar.astron.com> References: <20100326215051.09D0956425@rebar.astron.com> Message-ID: <1269664103.317332623@192.168.2.228> Howdy- > Are you using the correct version of jibx? *shrug* Is JIBX still necessary? Some web pages state JIBX is no longer needed to build the BSD port; for example, this page (linked from the wiki at http://wikis.sun.com/display/OpenJDK/BSDPort): http://www.javarants.com/2009/11/01/building-openjdk-1-7-0-for-mac-os-x-10-6-snow-leopard/ Best, Kent From ekrichardson at gmail.com Sat Mar 27 20:20:31 2010 From: ekrichardson at gmail.com (Eric Richardson) Date: Sat, 27 Mar 2010 20:20:31 -0700 Subject: Bootstrapping with Apple's JDK 6 on Snow Leopard In-Reply-To: <1269664103.317332623@192.168.2.228> References: <20100326215051.09D0956425@rebar.astron.com> <1269664103.317332623@192.168.2.228> Message-ID: <860cb0121003272020i46a049a4v65a73a37323714fe@mail.gmail.com> Kent, Michael Franz and I were attempting to use the Apple JDK to bootstrap Icedtea and with a recommendation from Andrew Hughes we came up with a script to make a more Sun like JDK layout. Michael had luck on Intel but I had no luck on PPC. There are some classes that conflict and you will see that tools is stripped out of the classes.jar. You can modify it and give it a try. Make sure your build points to this JDK. Eric On Fri, Mar 26, 2010 at 9:28 PM, Kent R. Spillner wrote: > Howdy- > > > Are you using the correct version of jibx? > > *shrug* > > Is JIBX still necessary? Some web pages state JIBX is no longer needed to > build the BSD port; for example, this page (linked from the wiki at > http://wikis.sun.com/display/OpenJDK/BSDPort): > > > http://www.javarants.com/2009/11/01/building-openjdk-1-7-0-for-mac-os-x-10-6-snow-leopard/ > > Best, > Kent > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100327/f127d174/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: create_jre_macosx.sh Type: application/x-sh Size: 1704 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100327/f127d174/create_jre_macosx.sh From mvfranz at gmail.com Sat Mar 27 20:52:14 2010 From: mvfranz at gmail.com (Michael Franz) Date: Sat, 27 Mar 2010 23:52:14 -0400 Subject: Bootstrapping with Apple's JDK 6 on Snow Leopard In-Reply-To: <1269639265.549127924@192.168.2.228> References: <1269639265.549127924@192.168.2.228> Message-ID: On Fri, Mar 26, 2010 at 5:34 PM, Kent R. Spillner wrote: > Howdy- > > Is anyone successfully building a 64-bit version of the latest source on > Snow Leopard with Apple's JDK 6? I can build a 32-bit version using the > Soylatte v1.0.3 32-bit binaries, but I can't successfully build any version > of OpenJDK using Apple's JDK 6. > > I tried following along with > http://justanapplication.wordpress.com/2009/11/17/bootstrapping-openjdk-7-on-snow-leopard/without success (see below). After patching > com.sun.tools.javac.jvm.ClassReader.java to fully qualify both references to > com.sun.tools.javac.jvm.ClassFile.Version, my langtools build fails during > the -def-genstubs Ant target because of an apparent API inconsistency > between Apple's com.sun.tools.javac.tree.JCTree and what OpenJDK expects. > > Might it be possible to work around this problem by pruning the list of > jars on the bootclasspath when invoking Apple's javac, or prepending the > OpenJDK build output directory containing JCTree to the bootclasspath? Are > there any Make variables I can use to explicitly override the bootclasspath? > > Here is a link to the portfile I put together for IcedTea 7 6 months ago. If you look at the post extract there are commands that work around some of the issues you have encountered. This was for JDK 5, but will probably be similar for JDK 6. http://trac.macports.org/attachment/ticket/21500/Portfile. I have not looked at this in probably 5 months as I have had limited free time. Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100327/f56029cf/attachment.html From mvfranz at gmail.com Sun Mar 28 16:24:09 2010 From: mvfranz at gmail.com (Michael Franz) Date: Sun, 28 Mar 2010 19:24:09 -0400 Subject: Bootstrapping with Apple's JDK 6 on Snow Leopard In-Reply-To: References: <1269639265.549127924@192.168.2.228> Message-ID: Kent, I did some experimenting with this process. I was able to build OpenJDK using Apple's JDK and an older version of OpenJDK7. The older version you can get from here http://landonf.bikemonkey.org/2008/08/index.html The process that I followed is based on the same process you used. Where it is different is that I created a script to create a standard JDK layout using Apple's JDK 1.6, applied small patches to langtools. The older JDK is used only to run GenStubs. Where ever you install this JDK change the entry I created in langtools/make/build.properties 'alt.java.home'. Once this built, I used it to build the JDK again (I used two different repos for this). I built it a second time so that I was not running any of my patches - as they are only needed to work around limitation in Apple's JDK. Hope this works for you. Michael On Sat, Mar 27, 2010 at 11:52 PM, Michael Franz wrote: > > > On Fri, Mar 26, 2010 at 5:34 PM, Kent R. Spillner wrote: > >> Howdy- >> >> Is anyone successfully building a 64-bit version of the latest source on >> Snow Leopard with Apple's JDK 6? I can build a 32-bit version using the >> Soylatte v1.0.3 32-bit binaries, but I can't successfully build any version >> of OpenJDK using Apple's JDK 6. >> >> I tried following along with >> http://justanapplication.wordpress.com/2009/11/17/bootstrapping-openjdk-7-on-snow-leopard/without success (see below). After patching >> com.sun.tools.javac.jvm.ClassReader.java to fully qualify both references to >> com.sun.tools.javac.jvm.ClassFile.Version, my langtools build fails during >> the -def-genstubs Ant target because of an apparent API inconsistency >> between Apple's com.sun.tools.javac.tree.JCTree and what OpenJDK expects. >> >> Might it be possible to work around this problem by pruning the list of >> jars on the bootclasspath when invoking Apple's javac, or prepending the >> OpenJDK build output directory containing JCTree to the bootclasspath? Are >> there any Make variables I can use to explicitly override the bootclasspath? >> >> > Here is a link to the portfile I put together for IcedTea 7 6 months ago. > If you look at the post extract there are commands that work around some of > the issues you have encountered. This was for JDK 5, but will probably be > similar for JDK 6. > http://trac.macports.org/attachment/ticket/21500/Portfile . > > I have not looked at this in probably 5 months as I have had limited free > time. > > Michael > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100328/5795878e/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: create_jdk_structure.sh Type: application/x-sh Size: 873 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100328/5795878e/create_jdk_structure.sh -------------- next part -------------- A non-text attachment was scrubbed... Name: langools-applejdk-build.patch Type: application/octet-stream Size: 3021 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100328/5795878e/langools-applejdk-build.patch