envoyproxy / envoy-openssl

Envoy OpenSSL extensions
Apache License 2.0
44 stars 38 forks source link

[s390x] Build failed on s390x for bssl-compat #130

Open vasudev-chavan1 opened 7 months ago

vasudev-chavan1 commented 7 months ago

Hi All,

We are facing build issue on s390x and please find the below error and we faced this while building "bssl-compat". Let me know if we have any s390x specific build steps.

[  3%] Building CXX object CMakeFiles/utests-boring.dir/source/test/test_x509.cc.o
In file included from /root/envoy-openssl/bssl-compat/source/test/test_x509.cc:7:
/root/envoy-openssl/bssl-compat/build/source/crypto/test/test_util.h:29:10: fatal error: '../internal.h' file not found
#include "../internal.h"
         ^~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/utests-boring.dir/build.make:384: CMakeFiles/utests-boring.dir/source/test/test_x509.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:168: CMakeFiles/utests-boring.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
twghu commented 6 months ago

This problem is related to BoringSSL not building on S390. BoringSSL is build for compatibility testing. This is a known problem and is being reviewed.

surenderky commented 1 week ago

This issue is fixed with this PR https://github.com/envoyproxy/envoy-openssl/pull/166