I've been having a strange problem compiling openssl, either 1.0.1 or 1.0.2 from master.
Building for generic using a Deb 9 build host gives me:
making install in tools...
make[2]: Entering directory '/media/build/sam/http://LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2.5/openssl-1.0.2l/.x86_64-libreelec-linux-gnu/tools'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[2]: Leaving directory '/media/build/sam/http://LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2.5/openssl-1.0.2l/.x86_64-libreelec-linux-gnu/tools'
installing libcrypto.a
installing libssl.a
installing libcrypto.so.1.0.0
installing libssl.so.1.0.0
Segmentation fault
make[1]: *** [Makefile:552: install_sw] Error 139
make[1]: Leaving directory '/media/build/sam/http://LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2.5/openssl-1.0.2l/.x86_64-libreelec-linux-gnu'
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 2
I don't really understand what is failing exactly, and Google isn't helping me at the moment.
Thanks