Closed
Description
I'm trying to build a native image for netty / Vert.x which makes use of the native EPoll library (netty-transport-native-epoll
).
The image generation is however failing with error:
Error: Must not have a started Thread in the image heap.
Full Log:
https://gist.github.com/Jotschi/c9ba9e54fed1a7bdb6d1acf4c1f1aaa4
I think this is similar to the error in this issue:
#365
A very basic reproducer can be found in the netty-native-epoll branch:
https://github.com/Jotschi/vertx-graalvm-native-image-test/tree/netty-native-epoll
Native Libs are for linux-amd64 only.
I'm not sure how the JNIConfigurationFiles should actually be used. I added the native classes and all native methods. Let me know whether this is actually needed.