Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openssl: fix mips64 abi detection when not cross compiling #165746

Merged
merged 1 commit into from Apr 11, 2022
Merged

openssl: fix mips64 abi detection when not cross compiling #165746

merged 1 commit into from Apr 11, 2022

Commits on Apr 11, 2022

  1. openssl: specify the ABI explicitly on mips64

    When *not* cross-compiling, OpenSSL will not attempt to detect the
    host ABI.  For mips64, the OpenSSL authors have chosen to assume that
    the n32 ABI is used.
    
    Since nixpkgs knows the correct ABI based on stdenv.hostPlatform,
    let's pass this information to OpenSSL explicitly.
    
    At the moment (bootstrappable) nixpkgs on mips64 can only be used with
    the n64 ABI due to the fact that boost-context (required by nix) does
    not support the n32 ABI.  Without this commit the openssl expression
    can be cross-compiled to a mips64 host, but a mips64 host cannot
    self-compile the expression due to OpenSSL's incorrect assumption.
    
    #165746 (review)
    Adam Joseph committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    77d6781 View commit details
    Browse the repository at this point in the history