NetBSD-Java archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wip/jdk15 and NetBSD 5



On Fri, 6 Mar 2009, Geert Hendrickx wrote:

On Fri, Mar 06, 2009 at 12:58:03PM +0000, David Brownlee wrote:
        wip/jdk15 should now build and run on NetBSD 5 - for anyone
        interested in a somewhat old but functional JVM :)


Trying to build wip/jdk15 on NetBSD 5.0 amd64, I get the following error in
hotspot/src/os_cpu/bsd_amd64/vm/os_bsd_amd64.cpp on line 610:

'block_on_serialize_page_trap' is not a member of 'os'

After simply commenting out that line, the build continues for a while and
then breaks at:

/scratch/pkgsrc/work/wip/jdk15/work/control/build/bsd-amd64/bin/java -classpath 
../../../tools/CompileProperties CompileProperties 
../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties 
/scratch/pkgsrc/work/wip/jdk15/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java
dl failure on line 730Error: failed 
/scratch/pkgsrc/work/wip/jdk15/work/control/build/bsd-amd64/lib/amd64/server/libjvm.so, 
because /usr/lib/libstdc++.so.6: Undefined PLT symbol "_Unwind_GetIP" (symnum = 
158)
gmake[6]: *** 
[/scratch/pkgsrc/work/wip/jdk15/work/control/build/bsd-amd64/gensrc/com/sun/tools/javac/resources/compiler.java]
 Error 6

        Hmm... I assume adding -lgcc_s to LINK_LIB in vm.make doesn't
        help? (I don't have any amd64 boxes to test)

--
                David/absolute       -- www.NetBSD.org: No hype required --


Home | Main Index | Thread Index | Old Index