linux-on-ibm-z / docs

A collection of instructions and tutorials to help you get your favorite software up and running on Linux on z
147 stars 58 forks source link

netty-tcnative is not working as expected #27

Open ghost opened 5 years ago

ghost commented 5 years ago

We are trying to build netty-tcnative 1.1.33 on s390x platform. We built netty-tcnative 1.1.33 on s390x using OpenJDK-1.8 to get boringssl-static jar. We were able to build after few changes as given https://github.com/linux-on-ibm-z/docs/wiki/Building-netty-tcnative (Unknown processor, and Unknown target CPU). Though boring-ssl Jar bundled with logstash:5.5.1, but communication is not getting established between Filebeat and Logstash. Filebeat is throwing tls:ServerkeyExchange Error

In the mean while we came to know that netty uses BoringSSL which does not support Big Endian where as s390x is a Big Endian architecture. BoringSSL requires the architecture be little-endian. The compilation is not an issue but we do not get the desired results.

Is there any other library we can use to overcome the TLS issue? Can you please suggest how to go further on this ?

cwsolee commented 5 years ago

U mentioned "build after few changes", can u let me know what changes u need to apply tp get it built and what distro are u using?