Hard to get a complete build successful: OpenSSL is failing

  • Hi,

    as above described, since i am building master for some weeks it is hard to get a complete build without failing of OpenSSL. From some investigation it could be critical for OpenSSL to build multithreaded. It is not impossible to build master for me, but i need some complete build rerun. Here the last output of my compile error:

    i am building on 4.9.14-200.fc25.x86_64 Fedora. My disk is not running out of space.

    If you need more infos, please let me know. Thank you!

    Edited once, last by dreamer (April 14, 2017 at 10:59 AM).

  • Hi,
    I am also unable to rebuild the toolchain for openssl from the git head?

    (Build machine is x86_64 Ubuntu 16.04)

    make[4]: Entering directory '/home/flintjr/src/http://LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/openssl-1.0.2k/.x86_64-linux-gnu/engines/ccgost'

    ../../libcrypto.so: file not recognized: File truncated
    collect2: error: ld returned 1 exit status
    make[4]: *** [../../Makefile.shared:167: link_o.gnu] Error 1

    flintjr@gila99:~/src/LibreELEC.tv$ file ./build.LibreELEC-Generic.x86_64-9.0-devel/openssl-1.0.2k/.x86_64-linux-gnu/libcrypto.so.1.0.0
    ./build.LibreELEC-Generic.x86_64-9.0-devel/openssl-1.0.2k/.x86_64-linux-gnu/libcrypto.so.1.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=588ad9d5d03451c512e0b59944b46b5fbebc703b, not stripped

  • If you are trying to rebuild after switching to openssl you should just wipe out the build directory and start fresh.

  • I confirm.

    Have this bug - "../../libcrypto.so: file not recognized: File truncated"

    Add "MAKEFLAGS="-j1" and compiled ok.

    May be need change package.mk, add this by default ?