make use-clang=true lzma=$(pwd)/../lzma${LZMA} openjdk=$(pwd)/../${OPENJDK}-image openjdk-src=$(pwd)/../${OPENJDK}-src
--You received this message because you are subscribed to the Google Groups "Avian" group.
To unsubscribe from this group and stop receiving emails from it, send an email to avian+un...@googlegroups.com.
To post to this group, send email to av...@googlegroups.com.
Visit this group at http://groups.google.com/group/avian.
For more options, visit https://groups.google.com/d/optout.
compiling build/ios-i386-bootimage-openjdk-src/openjdk/solaris/native/java/lang/java_props_macosx-openjdk.o
patching file openjdk/java_props_macosx.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 38 (offset 1 line).
build/ios-i386-bootimage-openjdk-src/openjdk/java_props_macosx.c:31:10: fatal error:
'Security/AuthSession.h' file not found
#include <Security/AuthSession.h>
^
1 error generated.
make[1]: *** [build/ios-i386-bootimage-openjdk-src/openjdk/solaris/native/java/lang/java_props_macosx-openjdk.o] Error 1
make: *** [make-vm] Error 2
Josh, when I try to build hello-ios using openjdk-src for ARM, I get a crash due to an assertion failure at https://github.com/ReadyTalk/avian/blob/master/src/codegen/compiler.cpp#L1222. Any chance your recent refactoring might have something to do with it?
bootimage-generator -cp build/stage2 -bootimage build/bootimage-bin.o \
-codeimage build/codeimage-bin.o
make: *** [build/bootimage-bin.o] Abort trap: 6
make: *** Deleting file `build/bootimage-bin.o'
It's maybe unrelated. But what is this caused by?
Starting server on 127.0.0.1:80
java/lang/NoSuchMethodError: getDefault ()Ljava/util/TimeZone; not found in java/util/TimeZone
at org/eclipse/jetty/util/DateCache.<init> (line 88)
at org/eclipse/jetty/util/log/StdErrLog.<clinit> (line 68)
at org/eclipse/jetty/util/log/Log.initStandardLogging (line 185)
at org/eclipse/jetty/util/log/Log.initialized (line 168)
at org/eclipse/jetty/util/log/Log.getLogger (line 435)
at org/eclipse/jetty/util/log/Log.getLogger (line 425)
at org/eclipse/jetty/util/component/AbstractLifeCycle.<clinit> (line 33)
at Hello.startServer (line 43)
at Hello.<init> (line 29)
Are you using openjdk= and openjdk-src= options? That's how I'm reproducing it.
--
Are you running in debug mode? The expect is only enabled there. Just to be sure, I did a clean (debug) build and reproduced the new problem.
Either way, I'll work up a PR with a cleaned-up version of that.
Undefined symbols for architecture i386:
"_setUserHome", referenced from:
_GetJavaProperties in build_ios-i386-bootimage-openjdk-src_openjdk_solaris_native_java_lang_java_props_md-openjdk.o
ld: symbol(s) not found for architecture i386
void setUserHome(java_props_t *sprops)
{
// ignore
}
ios i386 builds ok. But now I get this at runtime:
java/lang/AssertionError: java.lang.ClassNotFoundException: sun/nio/fs/MacOSXFileSystemProvider
at sun/nio/fs/DefaultFileSystemProvider$1.run (line 49)
at sun/nio/fs/DefaultFileSystemProvider$1.run (line 43)
at java/security/AccessController.doPrivileged (native)
at sun/nio/fs/DefaultFileSystemProvider.createProvider (line 42)
at sun/nio/fs/DefaultFileSystemProvider.create (line 72)
at java/nio/file/FileSystems
...
caused by: java/lang/ClassNotFoundException: sun/nio/fs/MacOSXFileSystemProvider
Ben
Starting server on 127.0.0.1:80
2014-07-24 11:58:18.624:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT
2014-07-24 11:58:18.631:WARN:oejuc.AbstractLifeCycle:FAILED SelectChann...@0.0.0.0:80: java.net.SocketException: Permission denied
java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:292)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at Hello.startServer(Hello.java:59)
at Hello.<init>(Hello.java:31)
2014-07-24 11:58:18.632:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.server.Server@2af4acf: java.net.SocketException: Permission denied
java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:292)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at Hello.startServer(Hello.java:59)
at Hello.<init>(Hello.java:31)
java/net/SocketException: Permission denied
at sun/nio/ch/Net.bind0 (native)
at sun/nio/ch/Net.bind (line 444)
at sun/nio/ch/Net.bind (line 436)
at sun/nio/ch/ServerSocketChannelImpl.bind (line 214)
at sun/nio/ch/ServerSocketAdaptor.bind (line 74)
at org/eclipse/jetty/server/nio/SelectChannelConnector.open (line 187)
at org/eclipse/jetty/server/AbstractConnector.doStart (line 316)
at org/eclipse/jetty/server/nio/SelectChannelConnector.doStart (line 265)
at org/eclipse/jetty/util/component/AbstractLifeCycle.start (line 64)
at org/eclipse/jetty/server/Server.doStart (line 292)
at org/eclipse/jetty/util/component/AbstractLifeCycle.start (line 64)
at Hello.startServer (line 59)
at Hello.<init> (line 31)
2014-07-24 11:58:18.633 hello[53235:60b] Application windows are expected to have a root view controller at the end of application launch
2014-07-24 18:21:57.579:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT
2014-07-24 18:21:57.587:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@30cd7dd: java.lang.UnsatisfiedLinkError: sun/nio/ch/KQueueArrayWrapper.initStructSizes()V
java.lang.UnsatisfiedLinkError: sun/nio/ch/KQueueArrayWrapper.initStructSizes()V
at sun.nio.ch.KQueueArrayWrapper.initStructSizes(Native Method)
at sun.nio.ch.KQueueArrayWrapper.<clinit>(KQueueArrayWrapper.java:90)
at sun.nio.ch.KQueueSelectorImpl.<init>(KQueueSelectorImpl.java:87)
at sun.nio.ch.KQueueSelectorProvider.openSelector(KQueueSelectorProvider.java:42)
at java.nio.channels.Selector.open(Selector.java:227)
at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java:416)