envoy-openssl icon indicating copy to clipboard operation
envoy-openssl copied to clipboard

[s390x] Build failed on s390x for bssl-compat

Open vasudev-chavan1 opened this issue 2 years ago • 2 comments

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

vasudev-chavan1 avatar Dec 06 '23 10:12 vasudev-chavan1

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.

twghu avatar Jan 08 '24 05:01 twghu

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

surenderky avatar Jun 26 '24 08:06 surenderky